Thursday, December 8, 2011

How to increase swap space on OpenSolaris 2008.11

su - root # become root

swap -sh
# find out how big your swapdevice is

zfs get volsize rpool/swap
# find out how big your ZFS swapdevice is

zfs set volsize=2G rpool/swap
# enlarge it to (eg:) 2G, 2048M, however you wish to denote it

init 6
# reboot


No comments:

Post a Comment