LVM (Logical Volume Manager) - Display LVM Volume Group details using the vgdisplay command

by
Jeremy Canfield |
Updated: June 02 2024
| LVM (Logical Volume Manager) articles
This assumes you are familiar with LVM (Logical Volume Manager). If not, check out my article Getting Started with LVM (Logical Volume Manager).
The vgdisplay command can be used to show the details of all of your LVM Volume Groups. Something like this should be returned.
[root@server1 ~]# vgdisplay
--- Volume group ---
VG Name datavg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size <25.00 GiB
PE Size 4.00 MiB
Total PE 6399
Alloc PE / Size 6375 / 24.90 GiB
Free PE / Size 24 / 96.00 MiB
VG UUID 3WU9Ms-Zo3j-EpMa-pATe-U78R-LcRL-tcM0m4
--- Volume group ---
VG Name rootvg
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 17
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 7
Open LV 7
Max PV 0
Cur PV 2
Act PV 2
VG Size 54.99 GiB
PE Size 4.00 MiB
Total PE 14078
Alloc PE / Size 11261 / <43.99 GiB
Free PE / Size 2817 / 11.00 GiB
VG UUID lXTHOm-BAff-igYk-5H3m-HL0J-77vt-ecphq0
Or, to display the details of a specific LVM Volume Group.
[root@server1 ~]# vgdisplay rootvg
--- Volume group ---
VG Name rootvg
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 17
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 7
Open LV 7
Max PV 0
Cur PV 2
Act PV 2
VG Size 54.99 GiB
PE Size 4.00 MiB
Total PE 14078
Alloc PE / Size 11261 / <43.99 GiB
Free PE / Size 2817 / 11.00 GiB
VG UUID lXTHOm-BAff-igYk-5H3m-HL0J-77vt-ecphq0
Did you find this article helpful?
If so, consider buying me a coffee over at