Tag Archives: LVM

Adding a new HDD to the existing VG

Sometimes you need to extend the existing volume group to be able to add free space to the logical volumes in there.

Look at this situation:

[root@localhost ~]# vgs data
 VG #PV #LV #SN Attr VSize VFree
 data 1 1 0 wz--n- 39.99g 0

Continue reading

Extend a Logical Volume to 100% of Volume Group

To extend a logical volume (LV) named ´logs` to the whole space of the volume group (VG) named ´data` execute the following command:

# lvextend -l 100%VG /dev/data/logs