Increase primary swap.
If you are using logical volumes, you may want to first attempt
to extend the disk space allocated for the primary swap logical
volume using the lvextend
command or SAM. However, you will only succeed if disk space (physical
extents) contiguous with the existing swap space is still available,
which is unlikely. You must reboot the system for the changes to
take effect.
If contiguous disk space is not available, you will need to
create a new contiguous logical volume for primary swap within the
root volume group, the volume group that contains the root logical
volume. You do not need to designate a specific disk. For example:
lvcreate -C y -L 48 -r n -n pswap /dev/vgroot |
After creating a logical volume that will be used as primary
swap, you will need to use lvlnboot(1M):
lvlnboot -s /dev/vgroot/pswap |