Increasing Swap Space
Jump to navigation
Jump to search
AIX
Linux Swap in a Partition
Linux Swap in LVM
- Disable swap for the logical volume.
- # swapoff -v </dev/<volume group>/<swap logical volume>
- Resize the logical volume.
- # lvresize </dev/<volume group>/<swap logical volume> -L +<SIZE>G
- Format the new swap space.
- # mkswap </dev/<volume group>/<swap logical volume>
- Enable the swap space.
- # swapon -v </dev/<volume group>/<swap logical volume>