Navigation

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

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

    Russian
    2
    2
    1601
    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

        Products

        • Platform Overview
        • TNSR
        • pfSense
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy