HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

l
lvdisplay(1M) lvdisplay(1M)
NAME
lvdisplay - display information about LVM logical volumes
SYNOPSIS
/usr/sbin/lvdisplay
[-F][-k][
-v] lv_path ...
Remarks
Mirrored disk information requires the installation of the optional HP MirrorDisk/UX software, which is
not included in the standard HP-UX operating system.
DESCRIPTION
The
lvdisplay command displays the characteristics and status of each logical volume specified by
lv_path.
Options and Arguments
lvdisplay recognizes the following options and arguments:
lv_path The block device path name of a logical volume, for example,
/dev/vg00/lvol1
.
-F Produce a compact listing of fields described in Compact Listing (-F Option). The output is
a list of colon separated fields formatted as key
=value[,value...].
-v For each logical volume, display the physical volume distribution, and the mapping of the
logical extents onto the physical extents of the physical volumes.
-k This option displays the same information as the -v option, except in the column where PV
Name
is displayed, the pvkey (Physical Volume Number in VG) will be displayed instead.
Use this option with the -v option.
Display Without -v Option
If you omit the -v option, lvdisplay displays the following information for each logical volume:
--- Logical volumes ---
LV Name
The block device path name of the logical volume.
VG Name The path name of the volume group.
LV Permission The access permission and quiesce mode: The access permission is either:
read-only or read/write . If the VG containing the LV is quiesced, the
quiesce mode is displayed on the same line. The quiesce mode is either:
read/write-quiesced
or write-quiesced.
LV Status State of the logical volume:
available/stale Available but contains physical extents that are not
current.
available/syncd Available with no stale extents.
unavailable Not available for use.
Mirror copies Number of physical extents beyond the original allocated for each logical extent;
i.e., the number of mirrors: 0, 1, or 2.
Consistency Recovery
Mode of mirror consistency recovery which determines how LVM performs mir-
ror consistency recovery during volume group activation:
MWC Recover mirror consistency by using the Mirror Write Cache and Mir-
ror Consistency Record. Implies that Mirror Write Cache is on.
NOMWC Recover mirror consistency by going through all logical extents and
copying data from a non-stale copy to the other mirror copies. Implies
that Mirror Write Cache is off.
NONE No mirror consistency recovery during volume group activation on
this logical volume following a system crash. The user of the logical
volume is responsible for ensuring mirror consistency. Implies that
Mirror Write Cache is off.
472 Hewlett-Packard Company 1 HP-UX 11i Version 3: February 2007