Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    подключить раздел hdd

    Scheduled Pinned Locked Moved Russian
    2 Posts 2 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mons
      last edited by

      диск 160g с pfsense разбит при установке. Честно курил мануалы на протяжении 2 часов, но так ничего и не понял

      $ fdisk
      ******* Working on device /dev/ad2 *******
      parameters extracted from in-core disklabel are:
      cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)
      
      Figures below won't work with BIOS for partitions not in cyl 1
      parameters to be used for BIOS calculations are:
      cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)
      
      Media sector size is 512
      Warning: BIOS sector numbering starts with sector 1
      Information from DOS bootblock is:
      The data for partition 1 is:
      sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
          start 63, size 125829585 (61440 Meg), flag 80 (active)
      	beg: cyl 0/ head 1/ sector 1;
      	end: cyl 926/ head 15/ sector 63
      The data for partition 2 is:
      sysid 131 (0x83),(Linux native)
          start 125829648, size 186752160 (91187 Meg), flag 0
      	beg: cyl 927/ head 0/ sector 1;
      	end: cyl 852/ head 15/ sector 63
      The data for partition 3 is:
       <unused>The data for partition 4 is:
       <unused>*****************************
      $ fdisk -s
      /dev/ad2: 310101 cyl 16 hd 63 sec
      Part        Start        Size Type Flags
         1:          63   125829585 0xa5 0x80
         2:   125829648   186752160 0x83 0x00</unused></unused>
      
      $ disklabel /dev/ad2s1
      # /dev/ad2s1:
      8 partitions:
      #        size   offset    fstype   [fsize bsize bps/cpg]
        a: 121635265       16    4.2BSD     2048 16384 28552 
        b:  4194304 121635281      swap                    
        c: 125829585        0    unused        0     0         # "raw" part, don't edit
      

      скажите что нужно сделать, чтобы подключить раздел диска partition 2

      1 Reply Last reply Reply Quote 0
      • Z
        zar0ku1
        last edited by

        разбиваешь диск, прописываешь его в /etc/fstab (это для автомонтирования при загрузке)
        и монтируешь его, например mount /dev/ad2s1a /mnt/newHDD

        закрывайте темы, если ответ на ваш вопрос полон.
        если схема сложная - не поленитесь ее нарисовать

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.