Problems Mounting Second Partition



  • When I installed pfSense, I created a second slice to use for the tFTP Storage and other misc. storage.  However, I cannot seem to mount it.

    
    [2.0.2-RELEASE][admin@watchguard.wx0ps.lan]/root(13): fdisk -s
    /dev/ad4: 155061 cyl 16 hd 63 sec
    Part        Start        Size Type Flags
       1:          63    20971377 0xa5 0x80
       2:    20971440   135330048 0xa5 0x00
    
    

    Slice #2, ad4s2, is what I'm trying to get mounted.  It "should" already be formatted freebsd.  The mount point "/vol2" was created.

    
    [2.0.2-RELEASE][admin@watchguard.wx0ps.lan]/root(14): mount -t u2fs /dev/ad4s2 /vol2
    mount: /dev/ad4s2 : Operation not supported by device
    [2.0.2-RELEASE][admin@watchguard.wx0ps.lan]/root(15): mount -t ufs /dev/ad4s2 /vol2
    mount: /dev/ad4s2 : Invalid argument
    [2.0.2-RELEASE][admin@watchguard.wx0ps.lan]/root(16): mount -t ufs -o ufstype=44bsd /dev/ad4s2 /vol2
    mount: /dev/ad4s2 mount option <ufstype>is unknown: Invalid argument</ufstype> 
    

    Anyone have any ideas?  Greatly appreciated!



  • @Eldak:

    Slice #2, ad4s2, is what I'm trying to get mounted.  It "should" already be formatted freebsd.  The mount point "/vol2" was created.

    You have the correct partition type (0xa5) but have you created a FreeBSD file system on that slice? From memory, you will need to put a FreeBSD label on the slice and specify the layout of the FreeBSD partitions. The FreeBSD handbook will give further details.



  • Was able to get this figured out.

    Looks like the file system was not formatted.  Ran "newfs" on it, and all is good in the world again.


Log in to reply