How to see information about Linux (LVM) volume groups (vg)

Fig.03: How to see information about LVM volume groups (vg)

Fig.03: How to see information about LVM volume groups (vg)

To see or display information about LVM volume groups and attributes of volume groups, use any one of the following command:
$ sudo vgs
Sample outputs:

  VG              #PV #LV #SN Attr   VSize  VFree 
  ubuntu-box-1-vg   1   2   0 wz--n- 39.52g 36.00m

OR
$ sudo vgdisplay
Sample outputs:

  --- Volume group ---
  VG Name               ubuntu-box-1-vg
  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               39.52 GiB
  PE Size               4.00 MiB
  Total PE              10117
  Alloc PE / Size       10108 / 39.48 GiB
  Free  PE / Size       9 / 36.00 MiB
  VG UUID               Txwum8-ZJdW-9BgK-9U1E-Ll5f-DeTv-DR86Yd

Examples and usage: How to add an extra second hard drive on Linux LVM and increase the size of storage