Blog Archives

Increase swap space in linux

Show current swap size with free command # free -g Add 10G space to swap volume # lvresize -L +10G /dev/mapper/vg1-swap Switching off swap space with following command; # swapoff -v /dev/mapper/vg1-swap Make new swap space with increased volume # mkswap /dev/mapper/vg1-swap Switch

Posted in Uncategorized