 |
Index for Section 8 |
|
 |
Alphabetical listing for L |
|
lvdisplay(8)
NAME
lvdisplay - Displays information about logical volumes
SYNOPSIS
/usr/sbin/lvdisplay [-v] LogicalVolumePath ...
DESCRIPTION
Note
This command is no longer supported on Digital UNIX systems.
Features formerly provided by the Logical Volume Manager (LVM)
are now provided by the Logical Storage Manager (LSM). Existing
LVM volumes must be migrated to LSM, using an encapsulation
process. For information about moving LVM volumes to LSM, see the
vollvmencap(8) reference page and the manual Logical Storage
Manager.
The lvdisplay command displays the characteristics and status of each
logical volume specified by the LogicalVolumePath parameter. If you use
the -v (verbose) option, the program displays physical volume (PV)
distribution information, and map information about the physical extents
that correspond to the logical extents of the logical volume(s).
If you enter the lvdisplay command without any flags, the program displays
information about the following characteristics:
LV Name: The name of the logical volume
VG Name: The name of the volume group
LV Permission:
The access permission: read-only or read-write
LV Status:
The state of the logical volume: available/stale,
available/syncd, or unavailable
Available/stale indicates that the logical volume is available
but contains physical extents that are not current.
Available/syncd indicates that the logical volume is available
and synchronized. Unavailable indicates that the logical volume
is not available for use.
Write verify:
The write verify state of the logical volume: on or off
Mirror Copies:
The number of physical extents allocated for each logical extent
Schedule: The sequential or parallel scheduling policy
Current LE:
The number of logical extents currently in the logical volume
Allocated PE:
The number of physical extents allocated to the logical volume
Bad Blocks:
The bad block relocation policy
Allocation:
The current allocation state: strict or non-strict A strict
allocation specifies that mirror copies for a logical extent are
not allocated on the same physical volume. A non-strict
allocation specifies that physical extents that belong to the
same logical extent can be allocated on the same physical volume.
If the allocation does not meet the criteria for strict, it is
considered to be non-strict.
FLAGS
-v Lists the map and the following additional information about the
distribution of the logical volume across the physical volumes of
the volume group.
Distribution of logical volume: lists the distribution of the
logical volume LogicalVolumePath within the volume group:
PV Name: The name of the physical volume to which the logical
extents are allocated
LE on PV: The number of logical extents that are allocated on the
physical volume
PE on PV: The number of physical extents that are allocated on
the physical volume
Logical extents: displays the following information for each logical
extent:
LE: The logical extent number
PV1: The physical volume name that corresponds to the
location of the first physical extent of the logical
extent
PE1: The first physical extent number allocated to the
logical extent
Status 1: The 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: The second physical extent number allocated to the
logical extent
Status 2: The status of the second physical extent: stale or
current
PV3: The physical volume name that corresponds to the
location of the third physical extent (second copy) of
the logical extent
PE3: The third physical extent number allocated to the
logical extent
Status 3: The status of the third physical extent: stale or
current
EXAMPLES
1. To display information about the logical volume, lv03, enter:
lvdisplay /dev/vg01/lv03
The program displays information about lv03, its logical and physical
extents, and the volume group to which it belongs.
2. To display all the available information about the logical volume,
lv03, enter:
lvdisplay -v /dev/vg01/lv03
The program displays the characteristics, status and distribution map
of lv03.
FILES
/usr/sbin/lvdisplay
Specifies the command path.
RELATED INFORMATION
Commands: lvchange(8), lvcreate(8), lvextend(8), lvreduce(8),
pvdisplay(8), vgdisplay(8)