Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 5.1

lvdisplay(8)


LVDISPLAY

LVDISPLAY

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
Examples
SEE ALSO

NAME

lvdisplay − display attributes of a logical volume

SYNOPSIS

lvdisplay [−c/−−colon] [−d/−−debug] [−h/−?/−−help] [−−ignorelockingfailure] [−−maps] [−P/−−partial] [−v/−−verbose] LogicalVolumePath [LogicalVolumePath...]

DESCRIPTION

lvdisplay allows you to see the attributes of a logical volume like size, read/write status, snapshot information etc.

lvs (8) is an alternative that provides the same information in the style of ps (1).

OPTIONS

See lvm for common options.
−c, −−colon

Generate colon separated output for easier parsing in scripts or programs. N.B. lvs (8) provides considerably more control over the output.

The values are:

* logical volume name
* volume group name
* logical volume access
* logical volume status
* internal logical volume number
* open count of logical volume
* logical volume size in kilobytes
* current logical extents associated to logical volume
* allocated logical extents of logical volume
* allocation policy of logical volume
* read ahead sectors of logical volume
* major device number of logical volume
* minor device number of logical volume

−m, −−maps

Display the mapping of logical extents to physical volumes and physical extents.

Examples

"lvdisplay -v /dev/vg00/lvol2" shows attributes of that logical volume. If snapshot logical volumes have been created for this original logical volume, this command shows a list of all snapshot logical volumes and their status (active or inactive) as well.

"lvdisplay /dev/vg00/snapshot" shows the attributes of this snapshot logical volume and also which original logical volume it is associated with.

SEE ALSO

lvm(8), lvcreate(8), lvscan(8)



lvdisplay(8)