Page 1 of 1

How to Setup Swap on ZFS Pool

Posted: 09 Sep 2015 00:10
by richardp
Hi All,

Brand new to NAS4Free. Using a basic old PC with only 1GB of RAM. I haven't setup swap on my usb os drive but want to know how I can setup a swap file on the ZFS pool I have created as I cannot seem to find any clear information on how to do this? Do I need to create a volume or dataset and somehow point to that for swap?

Thanks in advance

Re: How to Setup Swap on ZFS Pool

Posted: 09 Sep 2015 01:21
by Parkcomm
"Disk / ZFS / Volumes / Volume" - call it Swap for convenience

"System / Advanced / Swap"

Select device and in the device put "/dev/zvol/poolname/Swap"

Ba da bing

Re: How to Setup Swap on ZFS Pool

Posted: 09 Sep 2015 01:58
by richardp
Ah excellent thank you! It is now showing up as swap space in my system information screen!

Re: How to Setup Swap on ZFS Pool

Posted: 09 Sep 2015 03:46
by Parkcomm
Glad to be of service