- Joined
- Jul 3, 2015
- Messages
- 926
Hi All,
I've been trawling through lots of threads both inside and outside of the freenas forums to get my answer but Im still none the wiser.
Everything I've learned about ZFS tells me that you shouldn't use partitions and you should give it whole disks. However by default freenas creates a 2GB swap file/partition on every disk added to the pool. There also seems to be some concern about having your swap file spread across all the disks in the pool although Im not 100% sure if these concerns are valid?
The reason I ask is I like the idea of using glabel to name all my disks before I create a pool but freenas doesn't allow you to do this. The only way is to create a pool from the CLI after naming your disks and then exporting it to then import it via freenas UI. However this doesn't create the swap partition and gives ZFS the whole disk.
I'd be interested to hear your thoughts on this and if anyone has had any practical experience of creating a pool this way and running it without a swap file. Most of the storage systems I use have 64GB of RAM or more so do I really need a swap?
Appreciate your thoughts.
I've been trawling through lots of threads both inside and outside of the freenas forums to get my answer but Im still none the wiser.
Everything I've learned about ZFS tells me that you shouldn't use partitions and you should give it whole disks. However by default freenas creates a 2GB swap file/partition on every disk added to the pool. There also seems to be some concern about having your swap file spread across all the disks in the pool although Im not 100% sure if these concerns are valid?
The reason I ask is I like the idea of using glabel to name all my disks before I create a pool but freenas doesn't allow you to do this. The only way is to create a pool from the CLI after naming your disks and then exporting it to then import it via freenas UI. However this doesn't create the swap partition and gives ZFS the whole disk.
I'd be interested to hear your thoughts on this and if anyone has had any practical experience of creating a pool this way and running it without a swap file. Most of the storage systems I use have 64GB of RAM or more so do I really need a swap?
Appreciate your thoughts.