| ZFS Volume as swap device |
|
|
| Written by geekyS |
| Saturday, 20 December 2008 17:00 |
|
This Geekyfacts article explains the procedure to use zfs volume as swap device
Creating a ZFS volume of size 1gb [root@geekyfacts]# zfs create -V 1gb testpool/swapvol [root@geekyfacts]# zfs list
You should be seeing the block and raw device file now for the volume created
[root@geekyfacts]# ls /dev/zvol/{dsk,rdsk}/testpool/swapvol
[root@geekyfacts]# swap -a /dev/zvol/dsk/testpool/swapvol [root@geekyfacts]# swap -l
|
| Last Updated on Thursday, 01 January 2009 09:27 |

