swap LV name: lvol.swap root_VG name: VolGroup00
Take LV from 24 to 32GB:
shut off swap: swapoff /dev/VolGroup00/lvol.swap
extend LV: lvextend -L32G /dev/VolGroup00/lvol.swap
make new swap: mkswap /dev/VolGroup00/lvol.swap (output should look like: Setting up swapspace
version 1, size = 34359734 kB )
turn swap back on: swapon /dev/VolGroup00/lvol.swap
double check with top or cat meminfo should show new swap size: Swap: 33554424k total, 0k used, 33554424k free
Thanks & Regards
Avinash Pillai
Email: avinashp25[AT]gmail[DOT]com
Comments