How to see attributes of a Linux (LVM) physical volume (PV)

Fig.02: See attributes of a physical volume (PV)

Fig.02: See attributes of a physical volume (PV)

You need to use the pvdisplay allows you to see the attributes of one or more physical volumes like:

  1. Disk size
  2. Physical extent size
  3. Space used for the volume group descriptor area and more.

Type the following command:
$ sudo pvdisplay
Sample outputs:

  --- Physical volume ---
  PV Name               /dev/vda5
  VG Name               ubuntu-box-1-vg
  PV Size               39.52 GiB / not usable 2.00 MiB
  Allocatable           yes 
  PE Size               4.00 MiB
  Total PE              10117
  Free PE               9
  Allocated PE          10108
  PV UUID               uOQbSB-H1a8-KC9k-TkXA-6J7u-vBP7-jYPfyT

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