mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
da545ce3b4
The --binary option, if used, causes all the binary values reported in reporting commands to be displayed as "0" or "1" instead of descriptive literal values (value "unknown" is still used for values that could not be determined). Also, add report/binary_values_as_numeric lvm.conf option with the same functionality as the --binary option (the --binary option prevails if both --binary cmd option and report/binary_values_as_numeric lvm.conf option is used at the same time). The report/binary_values_as_numeric is also profilable. This makes it easier to use and check lvm reporting command output in scripts.
116 lines
3.1 KiB
Groff
116 lines
3.1 KiB
Groff
.TH VGDISPLAY 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
|
|
.SH NAME
|
|
vgdisplay \(em display attributes of volume groups
|
|
.SH SYNOPSIS
|
|
.B vgdisplay
|
|
.RB [ \-A | \-\-activevolumegroups ]
|
|
.RB [ \-c | \-\-colon ]
|
|
.RB [ \-\-commandprofile
|
|
.IR ProfileName ]
|
|
.RB [ \-s | \-\-short ]
|
|
.RB [ \-v | \-\-verbose ]
|
|
.RB [ \-d | \-\-debug ]
|
|
.RB [ \-h | \-\-help ]
|
|
.RB [ \-\-ignorelockingfailure ]
|
|
.RB [ \-\-ignoreskippedcluster ]
|
|
.RB [ \-\-nosuffix ]
|
|
.RB [ \-P | \-\-partial ]
|
|
.RB [ \-\-units
|
|
.IR hHbBsSkKmMgGtTpPeE ]
|
|
.RB [ \-\-version ]
|
|
.RI [ VolumeGroupName
|
|
.RI [ VolumeGroupName ...]]
|
|
.br
|
|
|
|
.br
|
|
.B vgdisplay
|
|
.BR \-C | \-\-columns
|
|
.RB [ \-\-aligned ]
|
|
.RB [ \-\-binary ]
|
|
.RB [ \-\-commandprofile
|
|
.IR ProfileName ]
|
|
.RB [ \-d | \-\-debug ]
|
|
.RB [ \-h | \-? | \-\-help ]
|
|
.RB [ \-\-ignorelockingfailure ]
|
|
.RB [ \-\-ignoreskippedcluster ]
|
|
.RB [ \-\-noheadings ]
|
|
.RB [ \-\-nosuffix ]
|
|
.RB [ \-o|\-\-options
|
|
.RI [ + ] Field1 [ ,Field2 ...]]
|
|
.RB [ \-O | \-\-sort
|
|
.RI [ + | \- ] Key1 [ , [ + | \- ] Key2 ...]]
|
|
.RB [ \-P | \-\-partial ]
|
|
.RB [ \-S | \-\-select
|
|
.IR Selection ]
|
|
.RB [ \-\-separator
|
|
.IR Separator ]
|
|
.RB [ \-\-unbuffered ]
|
|
.RB [ \-\-units
|
|
.IR hHbBsSkKmMgGtTpPeE ]
|
|
.RB [ \-v | \-\-verbose ]
|
|
.RB [ \-\-version ]
|
|
.RI [ VolumeGroupName
|
|
.RI [ VolumeGroupName ...]]
|
|
.SH DESCRIPTION
|
|
vgdisplay allows you to see the attributes of
|
|
.I VolumeGroupName
|
|
(or all volume groups if none is given) with it's physical and logical
|
|
volumes and their sizes etc.
|
|
.P
|
|
\fBvgs\fP(8) is an alternative that provides the same information
|
|
in the style of \fBps\fP(1).
|
|
.SH OPTIONS
|
|
See \fBlvm\fP(8) for common options.
|
|
.TP
|
|
.BR \-A ", " \-\-activevolumegroups
|
|
Only select the active volume groups. The volume group is considered active
|
|
if at least one of its logical volumes is active.
|
|
.TP
|
|
.BR \-C ", " \-\-columns
|
|
Display output in columns, the equivalent of \fBvgs\fP(8).
|
|
Options listed are the same as options given in \fPvgs\fP(8).
|
|
.TP
|
|
.BR \-c ", " \-\-colon
|
|
Generate colon separated output for easier parsing in scripts or programs.
|
|
N.B. \fBvgs\fP(8) provides considerably more control over the output.
|
|
.nf
|
|
|
|
The values are:
|
|
|
|
1 volume group name
|
|
2 volume group access
|
|
3 volume group status
|
|
4 internal volume group number
|
|
5 maximum number of logical volumes
|
|
6 current number of logical volumes
|
|
7 open count of all logical volumes in this volume group
|
|
8 maximum logical volume size
|
|
9 maximum number of physical volumes
|
|
10 current number of physical volumes
|
|
11 actual number of physical volumes
|
|
12 size of volume group in kilobytes
|
|
13 physical extent size
|
|
14 total number of physical extents for this volume group
|
|
15 allocated number of physical extents for this volume group
|
|
16 free number of physical extents for this volume group
|
|
17 uuid of volume group
|
|
|
|
.fi
|
|
.TP
|
|
.BR \-s ", " \-\-short
|
|
Give a short listing showing the existence of volume groups.
|
|
.TP
|
|
.BR \-v ", " \-\-verbose
|
|
Display verbose information containing long listings of physical
|
|
and logical volumes. If given twice, also display verbose runtime
|
|
information of vgdisplay's activities.
|
|
.TP
|
|
.B \-\-version
|
|
Display version and exit successfully.
|
|
.SH SEE ALSO
|
|
.BR lvm (8),
|
|
.BR vgs (8),
|
|
.BR pvcreate (8),
|
|
.BR vgcreate (8),
|
|
.BR lvcreate (8)
|