LVDISPLAY(8)

NAME
lvdisplay - display attributes of a logical volume

SYNOPSIS
lvdisplay [-c/--colon] [-d/--debug] [-D/--disk] [-h/-?/--help] [-v[v]/--verbose] LogicalVolumePath [LogicalVolumePath...]

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

  OPTIONS

-c, --colon
    Generate colon seperated output to better parse it in scripts.
    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 kilobyte
    * 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

-d, --debug
    Enables additional debugging output (if compiled with DEBUG).

-D, --disk
    Show attributes of the volume group descriptor array on disk(s). Without this switch they are derived from kernel space. Useful, if the volume group isn't active.

-h, -?, --help
    Print a usage message on standard output and exit successfully.

-v, --verbose
    Display the mapping of logical extents to physical volumes and physical extents.

-vv, --verbose --verbose
    Like -v with verbose runtime information.

Examples
"lvdisplay -v /dev/vg00/lvol2" shows attributes of that logical volume and it's mapping of logical to physical extents.

DIAGNOSTICS
lvdisplay returns an exit state of 0 for success or > 0 for error:
1  no logical volume name(s) on command line
95 driver/module not in kernel
96 invalid i/o protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line

See also
lvm(8), lvcreate(8), lvscan(8), lvmsadc(8),
lvmsar(8)

AUTHOR
Heinz Mauelshagen <linux-lvm@ez-darmstadt.telekom.de>