Logical volume management is a widely-used technique for deploying logical rather than physical storage. With LVM, "logical" partitions can span across physical hard drives and can be resized (unlike traditional ext3 "raw" partitions). A physical disk is divided into one or more physical volumes (Pvs), and logical volume groups (VGs) are created by combining PVs as shown in the following picture. Notice the VGs can be an aggregate of PVs from multiple physical disks.
Usefull commands:
1) pvscan
This command scans all disks for physical volumes.
# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/sda3" of VG "system_vg" [7.49 GB / 0 free]
pvscan -- ACTIVE PV "/dev/sdb" of VG "software_vg" [27.99 GB / 0 free]
pvscan -- ACTIVE PV "/dev/sdc" of VG "software_vg" [8.96 GB / 0 free]
pvscan -- ACTIVE PV "/dev/sdd" of VG "software_vg" [46.55 GB / 36.51 GB free]
pvscan -- total: 4 [91.03 GB] / in use: 4 [91.03 GB] / in no VG: 0 [0]
2) pvdisplay
This command displays attributes of volume groups.
# vgdisplay system_vg
--- Volume group ---
VG Name system_vg
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 256
Cur LV 12
Open LV 11
MAX LV Size 255.99 GB
Max PV 256
Cur PV 1
Act PV 1
VG Size 7.49 GB
PE Size 4 MB
Total PE 1918
Alloc PE / Size 1918 / 7.49 GB
Free PE / Size 0 / 0
VG UUID eJAhF8-Ztnp-X6Bn-k4LN-t7Uw-5N2O-qXQv40
3) lvdispla
This command displays attributes of a logical volume.
# lvdisplay /dev/system_vg/home_lv
--- Logical volume ---
LV Name /dev/system_vg/home_lv
VG Name system_vg
LV Write Access read/write
LV Status available
LV # 2
# open 1
LV Size 500 MB
Current LE 125
Allocated LE 125
Allocation next free
Read ahead sectors 1024
Block device 58:1