Extending a Logical Volume

There are two steps to extend a logical volume.

1. To Extend the logical volume

lvextend -L+1G /dev/VolGroup00/LogVol06

2. To Expand the File System

resize2fs /dev/VolGroup00/LogVol06

To Display how much un-assigned Volume Group

vgdisplay

— Volume group —
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 9
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 7
Open LV 7
Max PV 0
Cur PV 1
Act PV 1
VG Size 232.50 GB
PE Size 32.00 MB
Total PE 7440
Alloc PE / Size 3934 / 122.94 GB
Free PE / Size 3506 / 109.56 GB
VG UUID lXSKxs-552n-VZ03-NsYv-c3qV-FZ3W-ONeIGD

Leave a Reply