HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
p
pvdisplay(1M) pvdisplay(1M)
NAME
pvdisplay - display information about physical volumes in LVM volume group
SYNOPSIS
/usr/sbin/pvdisplay
[-v][-d][
-b BlockList] pv_path ...
/usr/sbin/pvdisplay -l
pv_path ...
/usr/sbin/pvdisplay -F
[-d][-v
] pv_path ...
DESCRIPTION
The
pvdisplay command displays information about each physical volume specified by a pv_path param-
eter.
Options
pvdisplay recognizes the following options:
pv_path The block device path name of a physical volume.
-b BlockList For each block in BlockList, display information about the block. BlockList is a
comma separated list of blocks in
DEV_BSIZE units.
-d For each physical volume, display the offset to the start of the user data in 1024 byte
blocks from the beginning of the PV, specify if pv_path is a bootable physical volume,
and display the number of bad blocks that were relocated. These details are displayed
in addition to other information.
-F Produce a compact listing of fields described in Compact Listing (-F Option). The out-
put is a list of colon separated fields formatted as key
=value[,value...].
-l Check whether pv_path refers to a disk device under HP Logical Volume Manager
(LVM) control.
-v For each physical volume, display the logical volumes that have extents allocated on
the physical volume and the usage of all the physical extents.
Display Without -v Option
If you omit the -v option, pvdisplay displays the characteristics of each physical volume specified by
pv_path:
--- Physical volumes ---
PV Name
The block device path name of the physical volume
VG Name The path name of the volume group
PV Status State of the physical volume (NOTE: spare physical volumes are only
relevant if you have installed HP MirrorDisk/UX software):
available
The physical volume is available and is not a spare physical volume.
available/data spared
The physical volume is available. However, its data still resides on an
active spare.
available/active spare
The physical volume is available and is an active spare physical
volume. (An active spare is a spare that has taken over for a failed
physical volume.)
available/standby spare
The physical volume is a spare, "standing by" in case of a failure on
any other physical volume in this volume group. It can only be used to
capture data from a failed physical volume.
unavailable
The physical volume is unavailable and is not a spare physical volume.
unavailable/data spared
The physical volume is unavailable. However, its data now resides on
192 Hewlett-Packard Company − 1 − HP-UX 11i Version 3: February 2007