HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

p
pvdisplay(1M) pvdisplay(1M)
NAME
pvdisplay - display information about physical volumes in LVM volume group(s).
SYNOPSIS
/usr/sbin/pvdisplay
[-v][-d][
-b BlockList] pv_path ...
/usr/sbin/pvdisplay -l
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.
-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 vOption
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 an active spare, and its data is avail-
able if the active spare is available.
HP-UX 11i Version 2: December 2007 Update 1 Hewlett-Packard Company 185