You are on page 1of 2

4/25/2019 4.2.2.

Displaying Physical Volumes

C U S T O M E R (https://access.redhat.com/)
P O R TA L

 4.2.2. Displaying Physical Volumes

There are three commands you can use to display properties of LVM physical volume
pvscan.

The pvs command provides physical volume information in a configurable form, displ
 volume. The pvs command provides a great deal of format control, and is useful for s
using the pvs command to customize your output, see Section 4.9, “Customized Rep
(custom_report.html).

nage The pvdisplay command provides a verbose multi-line output for each physical volum
properties (size, extents, volume group, etc.) in a fixed format.

The following example shows the output of the pvdisplay command for a single phys
wnloa

# pvdisplay --- Physical volume --- PV Name /dev/sdc1 VG Name new_vg PV Si


usable 3.40 MB Allocatable yes PE Size (KByte) 4096 Total PE 4388 Free PE
PV UUID Joqlch-yWSj-kuEn-IdwM-01S9-XO8M-mcpsVe
tain

The pvscan command scans all supported LVM block devices in the system for physi

port
The following command shows all physical devices found:

 # pvscan PV /dev/sdb2 VG vg0 lvm2 [964.00 MB / 0 free] PV /dev/sdc1 VG vg0


428.00 MB free] PV /dev/sdc2 lvm2 [964.84 MB] Total: 3 [2.83 GB] / in use
VG: 1 [964.84 MB]

You can define a filter in the lvm.conf so that this command will avoid scanning spec
information on using filters to control which devices are scanned, see Section 4.6, “C
Scans with Filters” (lvm_filters.html).

We use cookies on our websites to deliver our online services. Details about how we use cookies and

how you may disable them are set out in our Privacy Statement
(//www.redhat.com/en/about/privacy-policy#cookies). By using this website you agree to our use
of cookies. 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Cluster_Logical_Volume_Manager/physvol_display.html 1/2
4/25/2019 4.2.2. Displaying Physical Volumes

All systems operational (https://status.redhat.com)


C U S T O M E R (https://access.redhat.com/)
P O R TA L

Privacy Statement
(http://www.redhat.com/en/about/privacy-policy)

 Customer Portal Terms of Use


(https://access.redhat.com/help/terms/)

 All Policies and Guidelines


(http://www.redhat.com/en/about/all-policies-
guidelines)
 Copyright © 2019 Red Hat, Inc.

nage

wnloa

tain

port

We use cookies on our websites to deliver our online services. Details about how we use cookies and

how you may disable them are set out in our Privacy Statement
(//www.redhat.com/en/about/privacy-policy#cookies). By using this website you agree to our use
of cookies. 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Cluster_Logical_Volume_Manager/physvol_display.html 2/2

You might also like