FreeNAS Using External USB Hard drive formatted FAT32

Here is how to use an external hard drive on FreeNAS as a plain FAT32 drive.

1. create your partitions and format the drive

Show paritions:
gpart show da0

Delete existing partitions:
gpart delete -i 1 da0
gpart destroy da0

Create new partitions and format:
gpart create -s gpt da0 (create the span for the whole disk)
gpart add -t mbr da0 (create the slice (partition))
newfs_msdos -F32 /dev/da0p1 (format it as FAT32)

Mount the partition to an existing directory <mount point>.  For example: /mnt/usbhd:
mount -t msdosfs -o large /dev/da0p1 /mnt/usbhd

2. When you are done, just unmount the drive using:
umount <mount point>

That’s it!  Now you can stop searching through all of the Internet to find the answer 🙂

Author: sirspot

I write software, love my wife and kids, do various house projects, play video games when I have time, and could use a little more sleep