Pvdisplay

From LQWiki
Jump to navigation Jump to search

pvdisplay is the command to display information about physical volumes as used in LVM. The command is located in /sbin

 # pvdisplay
 --- Physical volume ---
 PV Name               /dev/sdb4
 VG Name               bulk
 PV Size               335.75 GB / not usable 4.96 MB
 Allocatable           yes
 PE Size (KByte)       32768
 Total PE              10744
 Free PE               944
 Allocated PE          9800
 PV UUID               qkTD8M-4TBI-BujC-aVCn-GuwF-EBov-JV4rF0

 --- Physical volume ---
 PV Name               /dev/sdc4
 VG Name               bulk
 PV Size               335.75 GB / not usable 4.96 MB
 Allocatable           yes (but full)
 PE Size (KByte)       32768
 Total PE              10744
 Free PE               0
 Allocated PE          10744
 PV UUID               12k5Je-4jmi-4zXJ-uFCC-JMsl-rd61-B8P7F2
 
 --- Physical volume ---
 PV Name               /dev/md1
 VG Name               raid
 PV Size               125.00 GB / not usable 2.19 MB
 Allocatable           yes
 PE Size (KByte)       32768
 Total PE              4000
 Free PE               240
 Allocated PE          3760
 PV UUID               23fBUN-N4sB-WukX-0F2r-utSr-A3Pp-LMFAHs 

 --- Physical volume ---
 PV Name               /dev/sda1
 VG Name               bck
 PV Size               931.51 GB / not usable 3.19 MB
 Allocatable           yes
 PE Size (KByte)       4096
 Total PE              238466
 Free PE               130
 Allocated PE          238336
 PV UUID               JWwDQV-9jWN-gj9R-UBJX-Wfmr-dx5k-doJF83