Welcome to the Linux Foundation Forum!

Shrink the size of LVM partition

How to reduce or shrink the size of LVM partition?

Comments

  • Please follow the steps:

    Unmount the filesystem using unmount command,
    Use resize2fs command , e.g resiz2fs /dev/mapper/myvg-mylv 10G
    Now use the lvreduce command as lvreduce -L 10G /dev/mapper/myvg-mylv
    The above Command will shrink the size LVM partition and fixes the filesystem size to 10GB.Most in-depth, industry-led curriculum in linux.

  • @subhabrata This may help you to walk through LVM extending and reducing.

Categories

Upcoming Training