Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lvchange(1M)

lvcreate(1M)

lvextend(1M)

lvreduce(1M)

pvdisplay(1M)

vgdisplay(1M)

lvdisplay(1M)

Series 800 Only

NAME

lvdisplay − display information about logical volumes

SYNOPSIS

lvdisplay [-v] lv_path ... 

DESCRIPTION

lvdisplay displays the characteristics and status of each logical volume specified by the lv_path parameter.  If the -v (verbose) option is specified, lvdisplay displays physical volume (PV) distribution information, and map information about the physical extents that correspond to the logical extents of the logical volume or volumes. 

Command with no Options Specified

If the -v option is not specified, lvdisplay displays the following operating information:

LV Name: Name of the logical volume

VG Name: Name of the volume group

LV Permission:
Access permission: read-only or read-write

LV Status: State of the logical volume:

available/stale
Logical volume is available but contains physical extents that are not current.

available/syncd
Logical volume is available and synchronized.

available, Logical volume is available but the stale/syncd state cannot be confidently determined because the logical volumes have both the Mirror Write Cache and Mirror Consistency Recovery turned off. 

unavailable Logical volume is not available for use. 

Mirror Copies:
Number of physical extents beyond the original allocated for each logical extent; i.e., the number of mirrors: 1, 2 or 3.

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: Sequential or parallel scheduling policy

LV Size: Size of the logical volume in Mbytes. 

Current LE: Number of logical extents currently in the logical volume

Allocated PE:
Number of physical extents allocated to the logical volume

Bad Blocks: Bad block relocation policy

Allocation: Current allocation state:

non-strict non-strict/contiguous

strict strict/contiguous

PVG-strict PVG-strict/contiguous

strict allocation specifies that mirror copies for a logical extent are not allocated on the same physical volume. 

PVG-strict allocation specifies that mirror copies for a logical extent are not allocated on the same physical volume group. 

non-strict allocation specifies that physical extents that belong to the same logical extent can be allocated on the same physical volume or physical volume group. 

contiguous allocation specifies that physical extents are allocated in an ascending order without any gap between adjacent extents and that all physical extents of a given mirror are contained in a single physical volume. 

Command with −v Option Specified

When the -v option is specified, lvdisplay lists the map and additional information about the distribution of the logical volume across the physical volumes of the volume group. 

Distribution of logical volume:
Lists distribution of logical volume lv_path within the volume group. 

PV Name: Name of the physical volume to which the logical extents are allocated

LE on PV: Number of logical extents allocated on the physical volume

PE on PV: Number of physical extents allocated on the physical volume

Logical extents:
Displays the following information for each logical extent:

LE: Logical extent number

PV1: Physical volume name that corresponds to the location of the first physical extent of the logical extent

PE1: First physical extent number allocated to the logical extent

Status 1: Status of the first physical extent: stale or current

PV2: The physical volume name that corresponds to the location of the second physical extent (first copy) of the logical extent

PE2: Second physical extent number allocated to the logical extent

Status 2: Status of the second physical extent: stale or current

PV3: Physical volume name that corresponds to the location of the third physical extent (second copy) of the logical extent

PE3: Third physical extent number allocated to the logical extent

Status 3: Status of the third physical extent: stale or current

EXTERNAL INFLUENCES

Environment Variables

LANG determines the language in which messages are displayed. 

If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. 

If any internationalization variable contains an invalid setting, lvdisplay behaves as if all internationalization variables are set to "C".  See environ(5).

EXAMPLES

Display information about a logical volume:

lvdisplay /dev/vg01/lv03

Display all the available information about a logical volume, including the characteristics, status and distribution map:

lvdisplay -v /dev/vg01/lv03

SEE ALSO

lvchange(1M), lvcreate(1M), lvextend(1M), lvreduce(1M), pvdisplay(1M), vgdisplay(1M). 

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026