1.

How To Reduce Or Shrink The Size Of Lvm Partition ?

Answer»

Below are the logical Steps to reduce size of LVM partition :

­Umount the FILESYSTEM using umount command, ­USE resize2fs command ,
e.g resiz2fs /dev/mapper/myvg­mylv 10G ­Now use the lvreduce command ,
e.g lvreduce ­L 10G /dev/mapper/myvgmylv 

Above Command will shrink the size & will make the filesystem size 10GB.

Below are the logical Steps to reduce size of LVM partition :

­Umount the filesystem using umount command, ­use resize2fs command ,
e.g resiz2fs /dev/mapper/myvg­mylv 10G ­Now use the lvreduce command ,
e.g lvreduce ­L 10G /dev/mapper/myvgmylv 

Above Command will shrink the size & will make the filesystem size 10GB.



Discussion

No Comment Found