How Extend and Reduce Lvm in Linux?
Contents How Do I Extend My Lvm? Extend Lvm Manually Extend the Physical Drive Partition: Sudo Fdisk /Dev/Vda – Enter the Fdisk Tool to Modify /Dev/Vda. …...
Contents
How do I extend my LVM?
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.
Must Read
Can I shrink LVM?
Before being able to attempt to shrink the size of an LVM volume, you must first run a file system check on it. … Once the file system has been reduced, we can shrink the size of the logical volume with the lvreduce command. Reduce this to the size that you want the volume to be, as specified by the -L flag.