Extend Logical Volume

How to extend LVM volume to use free space

pvcreate /dev/sdXY
vgextend <VolumeGroupName> /dev/sdXY
lvextend -l +100%FREE /dev/<VolumeGroupName>/<LogicalVolumeName>
resize2fs /dev/<VolumeGroupName>/<LogicalVolumeName>

Revision #3
Created 28 February 2024 13:57:08 by Suraj
Updated 28 February 2024 14:45:30 by Suraj