Tutorial: How to Unmount Swap in Linux

Wednesday, August 14, 2013

Although we have increased the size of SWAP partition and even rebooting the computer all, the size of which is read by Linux remains as before. Apparently we must first unmount the SWAP this:
swapoff -a
Then re-create the SWAP partition so that all capacity is used:
mkswap /dev/mapper/vg_db-lv_swap
And the last step, enable back Swap:
swapon /dev/mapper/vg_db-lv_swap
Can check using the following command:
free -m

1 comment

 

Search This Blog

Follow My Twitter

Archives