Displaying Physical Volumes - Red Hat ENTERPRISE LINUX 5.1 - LVM ADMINISTRATION Manual

Table of Contents

Advertisement

Chapter 4. LVM Administration with CLI Commands
/dev/ram5
/dev/ram6
/dev/ram7
/dev/ram8
/dev/ram9
/dev/ram10
/dev/ram11
/dev/ram12
/dev/ram13
/dev/ram14
/dev/ram15
/dev/sdb
/dev/sdb1
/dev/sdc
/dev/sdc1
/dev/sdd
/dev/sdd1
7 disks
17 partitions
0 LVM physical volume whole disks
4 LVM physical volumes

4.2.2. Displaying Physical Volumes

There are three commands you can use to display properties of LVM physical volumes: pvs,
pvdisplay, and pvscan.
The pvs command provides physical volume information in a configurable form, displaying one line
per physical volume. The pvs command provides a great deal of format control, and is useful for
scripting. For information on using the pvs command to customize your output, see
"Customized Reporting for
The pvdisplay command provides a verbose multi-line output for each physical volume. It displays
physical properties (size, extents, volume group, etc.) in a fixed format.
The following example shows the output of the pvdisplay command for a single physical volume.
# pvdisplay
--- Physical volume ---
PV Name
VG Name
PV Size
Allocatable
PE Size (KByte)
Total PE
Free PE
Allocated PE
PV UUID
The pvscan command scans all supported LVM block devices in the system for physical volumes.
18
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
LVM".
/dev/sdc1
new_vg
17.14 GB / not usable 3.40 MB
yes
4096
4388
4375
13
Joqlch-yWSj-kuEn-IdwM-01S9-XO8M-mcpsVe
16.00 MB]
16.00 MB]
16.00 MB]
16.00 MB]
16.00 MB]
16.00 MB]
16.00 MB]
16.00 MB]
16.00 MB]
16.00 MB]
16.00 MB]
17.15 GB]
17.14 GB] LVM physical volume
17.15 GB]
17.14 GB] LVM physical volume
17.15 GB]
17.14 GB] LVM physical volume
Section 4.9,

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5.1 - LVM ADMINISTRATION and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Enterprise linux 5.1 cluster logical volume manager

Table of Contents