Metadata Sequence No 51
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 4
Max PV 0
Cur PV 2
Act PV 2
VG Size 20.04 GB
PE Size 4.00 MB
Total PE 5131
Alloc PE / Size 3140 / 12.27 GB
Free PE / Size 1991 / 7.78 GB
VG UUID 13X0pY-5Vnq-3KlU-7Qlu-sHUc-wrup-zsHipP
The VG UUID at the bottom is a unique ID number placed in the disk label of each PV to identify that it is part of this volume group.
If you have more than one VG present and only want to see information about a specific one, you can specify a volume group name as an argument to
To list the PVs present, use
# pvs
PV VG Fmt Attr PSize PFree
/dev/hdc3 main lvm2 a- 20.04G 7.77G
/dev/sdb1 main lvm2 a- 4.00M 4.00M
# pvdisplay
--- Physical volume ---
PV Name /dev/hdc3
VG Name main
PV Size 20.04 GB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 5130
Free PE 1990
Allocated PE 3140
PV UUID RL2wrh-WMgl-pyaR-bHt4-6dCv-23Fd-kX1gvT
--- Physical volume ---
PV Name /dev/sdb1
VG Name main
PV Size 4.00 MB / not usable 0
Allocatable yes
PE Size (KByte) 4096
Total PE 1
Free PE 1
Allocated PE 0
PV UUID HvryBh-kGrM-c10y-yw1v-u8W3-r2LN-5LrLrJ
In this case, there are two PVs present:
In a similar way, you can see logical volume information with
# lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
home main -wi-ao 1.00G
multimedia main owi-ao 512.00M
multimedia-snap main swi-a- 128.00M multimedia 0.02
root main -wi-ao 9.77G
swap main -wi-ao 1.00G
# lvdisplay
--- Logical volume ---
LV Name /dev/main/root
VG Name main
LV UUID LaQgYA-jiBr-G02i-y64m-90fT-viBp-TuZ9sC
LV Write Access read/write
LV Status available
# open 1
LV Size 9.77 GB
Current LE 2500
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
...(Lines snipped)...
--- Logical volume ---
LV Name /dev/main/multimedia
VG Name main
LV UUID f7zJvh-H21e-fSn7-llq3-Ryu1-p1FQ-PTAoNC
LV Write Access read/write
LV snapshot status source of
/dev/main/multimedia-snap [active]
LV Status available
# open 1
LV Size 512.00 MB
Current LE 128
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:3
--- Logical volume ---
LV Name /dev/main/multimedia-snap