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 to Create New Partition Press N. Choose Primary...
Contents
How do I resize a volume group in Linux?
How to Extend Volume Group and Reduce Logical Volume
- To Create new partition Press n.
- Choose primary partition use p.
- Choose which number of partition to be selected to create the primary partition.
- Press 1 if any other disk available.
- Change the type using t.
- 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.