Wednesday, December 9, 2009

How to add swap space?

1.mkfile
eg:#mkfile 512m /data2/swapfile -->where /data2 is a
precarted directory and swapfile is the swapfile
automaticaly created.
2.swap - a /location_ofswap_file
#swap -a /data2/swapfile

For swap partition:
1.Create partition using format command. eg: c1d0s4
2.swap -a /dev/dsk/c*t*d*s*
#swap -a /dev/dsk/c1d0s4

No comments:

Post a Comment