Reduce LVM
Reduce the size of /storage Directory from 10GB to 8GB which is mounted via LVM(Backup the Data before reduce/extend).
#umount /storage
#e2fsck -f /dev/vgsvk/lvsvk
#resize2fs /dev/vgsvk/lvsvk 8G
#lvreduce -L 8G /dev/vgsvk/lvsvk
#mount -a --- If u have a fstab entry
Extend LVM
Reduce the size of /storage Directory from 8GB to 10GB which is mounted via LVM.
#umount /storage
#e2fsck -f /dev/vgsvk/lvsvk#lvextend -L 10G /dev/vgsvk/lvsvk#resize2fs /dev/vgsvk/lvsvk
#mount -a --- If u have a fstab entry
Reduce the size of /storage Directory from 10GB to 8GB which is mounted via LVM(Backup the Data before reduce/extend).
#umount /storage
#e2fsck -f /dev/vgsvk/lvsvk
#resize2fs /dev/vgsvk/lvsvk 8G
#lvreduce -L 8G /dev/vgsvk/lvsvk
#mount -a --- If u have a fstab entry
Extend LVM
Reduce the size of /storage Directory from 8GB to 10GB which is mounted via LVM.
#umount /storage
#e2fsck -f /dev/vgsvk/lvsvk#lvextend -L 10G /dev/vgsvk/lvsvk#resize2fs /dev/vgsvk/lvsvk
#mount -a --- If u have a fstab entry