How Do I Shrink a Volume Group in Linux?
Contents

How do I resize a volume group in Linux?

How to Extend Volume Group and Reduce Logical Volume

  1. To Create new partition Press n.
  2. Choose primary partition use p.
  3. Choose which number of partition to be selected to create the primary partition.
  4. Press 1 if any other disk available.
  5. Change the type using t.
  6. Type 8e to change the partition type to Linux LVM.

How do you reduce the volume of a group?

Reduce or Shrink a Volume Group

Start reducing the volume group by removing /dev/sdc1. Once the disk removed, We should see only one PV under vg01_data. If you need to remove multiple devices from a volume group we can use as follows. Below is an example to remove 5 disks from /dev/sdc1 to /dev/sdg1.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest