Reduce LVM
Reduce an LVM: consider the lvm size is 15G and want it to reduce to 10G
unmount the filesystem
#umount /mnt/pathtreduce
#e2fsck -ff /dev/vgname/lvname
#resize2fs /dev/vgname/lvname 10G (10G is the final size to which you want to reduce)
#lvreduce -l -5G /dev/vgname/lvname
#mount /dev/vgname/lvname /mnt/pathtreduce
Comments
Post a Comment