1.

Different steps to shrink or reduce the size of LVM partition?

Answer»

Different steps to shrink or reduce the size of LVM partition?
Below are the 3 common step to reduce the LVM partition size in Linux:-

(1)First we will USE Unmount command to Unmount the FILE system.

(2)In 2nd step we use resize2fs command as follows:-
resize2fs /dev/mapper/myvg-mylv 10G

(3)In last third step we use lvreduce command as below GIVEN format
lvreduce -L 20G /dev/mapper/myvg-mylv

As per above command we reduce the size of LVM partition and fix the size of file system to 20GB as in above command.



Discussion

No Comment Found