HP-UX Reference (11i v2 03/08) - 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
[-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
.
-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 Access permission: read-only or read/write.
LV Status State of the logical volume:
available/stale Available but contains physical extents that are not
current.
available/syncd Available and synchronized.
available Available but the stale or synchronized state can-
not be confidently determined because both Mirror
Write Cache and Mirror Consistency Recovery are
turned off.
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
mirror consistency recovery during volume group activation:
MWC Recover mirror consistency by using the Mirror Write Cache and
Mirror 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. Implies that Mirror Write Cache is off.
Schedule Striped, sequential or parallel scheduling policy. Striped policy is by default
parallel scheduling for mirrored I/O.
Section 1M−−394 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: August 2003