pvdisplay.1m (2010 09)
p
pvdisplay(1M) pvdisplay(1M)
pv_name=value[,value ...]:vg_name=value:pv_status=value:
allocatable=value:vgda=value:cur_lv=value:pe_size=value:
total_pe=value:io_timeout=value:spared_from=value:
spared_to=value:autoswitch=value:proactive_polling=value
The format of Line 1, if
-d is specified, is as follows:
pv_name=value[,value ...]:vg_name=value:pv_status=value:
allocatable=value:vgda=value:cur_lv=value:pe_size=value:
total_pe=value:io_timeout=value:spared_from=value:
spared_to=value:autoswitch=value::data_start=value:
data_end=value:boot_disk=value:relocated_blocks=value:
proactive_polling=value
LINE 2
The format of Line 2 is as follows:
lv_name=value:le_of_lv=value:pe_for_lv=value
... The above line may be repeated with different values.
LINE n
The format of Line n is as follows:
pe=value:pe_status=value:lv=value:le=value
... The above line may be repeated with different values.
Display With -b Option
If
-b is specified, pvdisplay lists additional information for each block specified in BlockList .
--- Block Mapping ---
The use of blocks on pv_path , displayed in column format:
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:
4 Hewlett-Packard Company − 4 − HP-UX 11i Version 3: September 2010