VGDISPLAY(8)

NAME
vgdisplay - display attributes of volume groups

SYNOPSIS
vgdisplay [-A/--activevolumegroups] [-c/--colon] [-d/--debug] [-D/--disk] [-h/-?/--help] [-s/--short] [-v[v]/--verbose [--verbose]] [VolumeGroupName...]

DESCRIPTION
vgdisplay allows you to see the attributes of a volume group with it's physical and logical volumes and their sizes etc.

  OPTIONS

-A, --activevolumegroups
    Only select the active volume groups.

-c, --colon
    Generate colon seperated output to better parse it in scripts.
    The values are:
    * volume group name
    * volume group access
    * volume group status
    * internal volume group number
    * maximum number of logical volumes
    * current number of logical volumes
    * open count of all logical volumes in this volume group
    * maximum logical volume size
    * maximum number of physical volumes
    * current number of physical volumes
    * actual number of physical volumes
    * size of volume group in kilobyte
    * physical extent size
    * total number of physical extents for this volume group
    * allocated number of physical extents for this volume group
    * free number of physical extents for this volume group

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

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

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

-s, --short
    Give a short listing showing the existence of volume groups.

-v, --verbose
    Display verbose information containing long listings of physical and logical volumes.

-vv, --verbose --verbose
    Like -v with verbose runtime information of vgdisplay's activities.

DIAGNOSTICS
vgdisplay returns an exit state of 0 for success and > 0 for error:
1  error reading VGDA
2  volume group doesn't exist
3  not all physical volumes of volume group online
4  volume group not found
5  no volume groups found at all
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), pvcreate(8), vgcreate(8), lvcreate(8)

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