Extend LVM Logical Volume
In situation where your LVM volume has free space for its logical volume to grow, you can expand the logical volume size. This guide shows you how to expand the LVM logical volume.
Check Volume Status
Check Volume Status
Before starting to extend a logical volume, it is always good to check the LVM volume status for available free space and label for correct LVM volume.
Extend Logical Volume
Extend Logical Volume
Now that you had confirms the information, you may extend it using lvextend
command. The command pattern is as follows:
$ lvextend -l +<size> -r /dev/<path-to-logical/volume>
Example:
$ lvextend -l +10G -r /dev/lvmVG01/localstore_root
That's all for expanding LVM logical volume.