Your Question: How Do I Resize a Volume Group in Linux?
Contents How Do I Shrink a Volume Group in Linux? How to Shrink an Lvm Volume Safely on Linux Step 1: First Take a Full Backup of Your Filesystem. Step 2...
Contents
How do I shrink a volume group in Linux?
How to Shrink an LVM Volume Safely on Linux
- Step 1: First take a full backup of your filesystem.
- Step 2:Start and force a filesystem check.
- Step 3:Resize your filesystem before resize your Logical Volume.
- Step 4: Reduce LVM size.
- Step 5: Re-run resize2fs.
How do I resize a physical volume in Linux?
Extend LVM manually
- Extend the physical drive partition: sudo fdisk /dev/vda – Enter the fdisk tool to modify /dev/vda. …
- Modify (extend) the LVM: Tell LVM the physical partition size has changed: sudo pvresize /dev/vda1. …
- Resize the file system: sudo resize2fs /dev/COMPbase-vg/root.