Home » Questions » Computers [ Ask a new question ]

ZFS Hard Drive Configuration in FreeNAS

ZFS Hard Drive Configuration in FreeNAS

I've been messing around with FreeNAS installed on a USB Flash Drive for a week or so, just testing all the services and possible hard drive configurations utilizing ZFS. It's a pretty neat setup but it's finally time to create a permanent zpool.

Asked by: Guest | Views: 261
Total answers/comments: 1
Guest [Entry]

"The most simple way you could manage a zfs on all these drives of various sizes would be:

zpool create pool /dev/sd[abcdef]
zfs set dedup=on,copies=3,atime=off pool

Haven't tried dedup, but it seems like a cool feature. copies=3 tells zfs to store multiple copies of each file within the file system. ZFS will automatically put these copies on different disks, giving you the redundancy of raid. Not sure if this gives you the multiple-spindle performance increases of raid however. I would hope that it does. atime=off just gives a bit of read performance boost although it may break some /var/spool type things with mail. Finally - zfs checksums are on by default. I'd do this to get file level redundancy without having to go through the management headache of trying to turn all those drives into a raid by matching up partition sizes and sudh."