====== Logical Volume Manager (LVM) ======
===== Reducing Logical Volume =====
- Unmount Logical Volume (LV) containing the filesystem which you want to resize.# umount /dev/lv/home
- Check the filesystem with e2fsck first.# e2fsck -f /dev/lv/home
- Resize the filesystem.# resize2fs /dev/lv/home 9G
- Resize LV.# lvresize -L10G /dev/lv/home
- Check the status of the LV.# lvdisplay /dev/q/home
- Check and resize filesystem to the maximum size of LV.# e2fsck -f /dev/lv/home
# resize2fs /dev/lv/home
===== Growing Logical Volume =====
- Unmount LV containing the filesystem which you want to resize.# umount /dev/lv/data
- Check the filesystem with e2fsck first.# e2fsck -f /dev/lv/data
- Check the remaining free physical extents.# vgdisplay
- Resize the LV.# lvresize -L +50,01G /dev/lv/data
- Check and resize filesystem to the maximum size of LV.# e2fsck -f /dev/lv/data
# resize2fs /dev/lv/data