Extending Swap on an LVM2 Logical Volume
In our example we assume /dev/VolGroup00/LogVol01 is the volume you want
to extend. To extend an LVM2 swap logical volume please
1. Disable the swapping for the associated logical volume:
to extend. To extend an LVM2 swap logical volume please
1. Disable the swapping for the associated logical volume:
- # swapoff -v /dev/VolGroup00/LogVol01
- # lvm lvresize /dev/VolGroup00/LogVol01 -L +256M
- # mkswap /dev/VolGroup00/LogVol01
- # swapon –va
- # cat /proc/swaps # free
Comments
Post a Comment