View LVM physical volumes using the PVDISPLAY command in Linux

Home > Search > Linux commands
  by

Let's take an example where there are three physical volumes in the volume group named MyVG.

 

The pvdisplay command is used to display the physical volumes in a volume group.

[root@server1 ~]# pvdisplay
--- Physical volume ---
  PV Name               /dev/sda1
  VG Name               MyVG
  PV Size               500 GB / not usable 79.0 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              4388
  Free PE               4375
  Allocated PE          13
  PV UUID               7016c299-b6b1-40ad-80f0-e4dd0b3def65

--- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               MyVG
  PV Size               500 GB / not usable 79.0 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              4388
  Free PE               4375
  Allocated PE          13
  PV UUID               7016c299-b6b1-40ad-80f0-e4dd0b3def66

--- Physical volume ---
  PV Name               /dev/sdc1
  VG Name               MyVG
  PV Size               500 GB / not usable 79.0 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              4388
  Free PE               4375
  Allocated PE          13
  PV UUID               7016c299-b6b1-40ad-80f0-e4dd0b3def67

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments