pvdisplay.1m (2012 03)
p
pvdisplay(1M) pvdisplay(1M)
Block The block number relative to the physical volume.
Status The current status of the block: free
, used, structure, spared,or
unknown
Offset The offset of the block relative to the logical volume.
LV Name The block device path name of the logical volume to which the block is
allocated.
Display With -l Option
If
-l is specified, pvdisplay
displays "LVM_Disk=yes" if the physical volume specified by pv_path is
under LVM control. If the physical volume is not under LVM control, it displays "LVM_Disk=no" instead.
If
-u option is specified along with the
-l option and the disk specified in pv_path is controlled by LVM,
pvdisplay displays the starting and ending block number of the user data on the disk in 1KB blocks.
If the pv_path is a bootable physical volume,
pvdisplay displays Bootable=yes; otherwise, it
displays
Bootable=no. The format is as follows.
LVM_Disk=yes:Data_Start=
value
:Data_End=value:Bootable=value
The
pvdisplay command returns 1 if any of the physical volumes specified are under LVM control; oth-
erwise it returns 0.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If
LANG is not specified or is null, it defaults to "C" (see lang (5)).
If any internationalization variable contains an invalid setting, all internationalization variables default
to "C" (see environ (5)).
EXAMPLES
Display the status and characteristics of a physical volume:
pvdisplay /dev/dsk/c1t0d0
Display the status, characteristics, and allocation map of a physical volume:
pvdisplay -v /dev/dsk/c2t0d0
Check whether the physical volume belongs to LVM:
pvdisplay -l /dev/dsk/c2t0d0
Check if the physical volume has relocated blocks:
pvdisplay -d /dev/dsk/c2t0d0
WARNINGS
The information about the LVM’s Proactive Polling for alternate links of a physical volume will be
displayed only if the kernel has been updated to support this functionality.
SEE ALSO
lvdisplay(1M), pvchange(1M), pvcreate(1M), vgdisplay(1M), intro(7), lvm(7).
HP-UX 11i Version 3: March 2012 − 5 − Hewlett-Packard Company 5