Administering swap space

A standard Solaris swap space partition that is not under the control
of volume management software cannot be resized. However, you can add
swap space by using free space from another partition.

To create a swapfile:mkfilesizeswapfile

Here is an example to create an additional 512M swapfile:mkfile 512M /files0/swapfile

Add the swapfile to system swap space:
swap -a /files0/swapfile

Add an /etc/vfstab
entry to have the swapfile added after each reboot:/files0/swapfile
-
- swap
- no -Make sure to manually remove this /etc/vfstab entry if you ever
delete the additional swapfile with swap
-d.