• How to add new disk?
    mount /dev/ad4/ /mnt/ - not work. –--> mount: /dev/ad4 : Invalid argument
    pfsense 2.0.3

  • Rebel Alliance Developer Netgate

    Is that disk formatted at all?

    Wipe the disk's old partitions

    dd if=/dev/zero of=/dev/ad4 count=2 bs=1k

    Give it a basic partition table

    fdisk -BI ad4

    Give it a disk label

    bsdlabel -w ad4s1

    Format the partition

    newfs -L myextradrive -U /dev/ad4s1

    Mount it

    mount -t ufs /dev/ufs/myextradrive /mnt

    You can then add a line for that to /etc/fstab to make it come back at bootup.  (At least on a full install, NanoBSD isn't quite that easy)

  • Thanks, it works.
    but i can't do automount

    /dev/ufs/pfsense0 / ufs ro,sync,noatime 1 1
    /dev/ufs/cf /cf ufs ro,sync,noatime 1 1
    /dev/ufs/ad4 /mnt ufs rw,sync,noatime 1 1

    in dmesg no errors
    mount -a work properly

    P.S. Sorry for my bad english