NAME
vgs --- report information about volume groups
SYNOPSIS
vgs [-a|--all] [--aligned] [--binary] [--commandprofile ProfileName] [[--configreport ReportName] [-o|--options [+|-|#]Field1[,Field2...] [-O|--sort [+|-]Key1[,Key2...]] [-S|--select Selection] ...] [-d|--debug] [-h|-?|--help] [--ignorelockingfailure] [--ignoreskippedcluster] [--logonly] [--nameprefixes] [--noheadings] [--nosuffix] [-P|--partial] [--reportformat {basic|json}] [--rows] [--separator Separator] [--unbuffered] [--units hHbBsSkKmMgGtTpPeE] [--unquoted] [-v|--verbose] [--version] [VolumeGroupName [VolumeGroupName...]]
DESCRIPTION
vgs produces formatted output about volume groups.
OPTIONS
See lvm(8) for common options. --all List all volume groups. Equivalent to not specifying any volume groups. --aligned Use with --separator to align the output columns. --binary Use binary values "0" or "1" instead of descriptive literal values for columns that have exactly two valid values to report (not counting the "unknown" value which denotes that the value could not be determined). --configreport ReportName Make any subsequent -o, --options, -O, --sort or -S, --select to apply for ReportName where ReportName is either 'vg' for command's main report or 'log' for log report. If --configreport option is not used to identify a report, then command's main report is assumed. The log report is available only if enabled by log/report_command_log lvm.conf(5) setting or if --logonly option is used. --logonly Suppress the vgs report itself and display only log report on output. --nameprefixes Add an "LVM2_" prefix plus the field name to the output. Useful with --noheadings to produce a list of field=value pairs that can be used to set environment variables (for example, in udev(7) rules). --noheadings Suppress the headings line that is normally the first line of output. Useful if grepping the output. --nosuffix Suppress the suffix on output sizes. Use with --units (except h and H) if processing the output. -o, --options Comma-separated ordered list of columns. Precede the list with '+' to append to the current list of columns, '-' to remove from the current list of columns or '#' to compact given columns. The -o option can be repeated, providing several lists. These lists are evaluated from left to right. Use -o vg_all to select all volume group columns. Use -o help to view the full list of columns available. Column names include: vg_fmt, vg_uuid, vg_name, vg_attr, vg_size, vg_free, vg_sysid, vg_extent_size, vg_extent_count, vg_free_count, vg_profile, max_lv, max_pv, pv_count, lv_count, snap_count, vg_seqno, vg_tags, vg_mda_count, vg_mda_free, and vg_mda_size, vg_mda_used_count. Any "vg_" prefixes are optional. Columns mentioned in either pvs(8) or lvs(8) can also be chosen, but columns cannot be taken from both at the same time. The vg_attr bits are: 1 Permissions: (w)riteable, (r)ead-only 2 Resi(z)eable 3 E(x)ported 4 (p)artial: one or more physical volumes belonging to the volume group are missing from the system 5 Allocation policy: (c)ontiguous, c(l)ing, (n)ormal, (a)nywhere 6 (c)lustered, (s)hared -O, --sort Comma-separated ordered list of columns to sort by. Replaces the default selection. Precede any column with '-' for a reverse sort on that column. --rows Output columns as rows. -S, --select Selection Display only rows that match Selection criteria. All rows are displayed with the additional "selected" column (-o selected) showing 1 if the row matches the Selection and 0 otherwise. The Selection criteria are defined by specifying column names and their valid values (that can include reserved values) while making use of supported comparison operators. See lvm(8) and -S, --select description for more detailed information about constructing the Selection criteria. As a quick help and to see full list of column names that can be used in Selection including the list of reserved values and the set of supported selection operators, check the output of vgs -S help command. --separator Separator String to use to separate each column. Useful if grepping the output. --unbuffered Produce output immediately without sorting or aligning the columns properly. --units hHbBsSkKmMgGtTpPeE All sizes are output in these units: (h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes, (g)igabytes, (t)erabytes, (p)etabytes, (e)xabytes. Capitalise to use multiples of 1000 (S.I.) instead of 1024. Can also specify custom units e.g. --units 3M --unquoted When used with --nameprefixes, output values in the field=value pairs are not quoted.
SEE ALSO
lvm(8), vgdisplay(8), pvs(8), lvs(8)
More Linux Commands
manpages/boot.7.html
boot(7) - General description of boot sequence (Man Page)...
The boot sequence varies in details among systems but can be roughly divided to the following steps: (i) hardware boot, (ii) operating system (OS) loader, (iii)
manpages/fwrite_unlocked.3.html
fwrite_unlocked(3) - nonlocking stdio functions (Man Page)
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse
manpages/sasl_server_userdb_setpass_t.3.html
sasl_server_userdb_setpass_t(3) - UserDB Plaintext Password
sasl_server_userdb_setpass_t is used to store or change a plaintext password in the callback-suppliers user database. context context from the callback record u
manpages/ggzcore_h.3.html
ggzcore_h(3) - The interface for the ggzcore library used by
The interface for the ggzcore library used by GGZ clients. Define Documentation #define ggzcore_module_launch(m) ((int)(-1)) This attempts to launch the specifi
manpages/makedev.3.html
makedev(3) - manage a device number - Linux manual page.....
A device ID consists of two parts: a major ID, identifying the class of the device, and a minor ID, identifying a specific instance of a device in that class. A
manpages/XIntersectRegion.3.html
XIntersectRegion(3) - region arithmetic - Linux manual page
The XIntersectRegion function computes the intersection of two regions. The XUnionRegion function computes the union of two regions. The XUnionRectWithRegion fu
manpages/oocalc.1.html
oocalc(1) - LibreOffice office suite - Linux manual page....
LibreOffice (LO for short) is a multi-platform office productivity suite. It was derived from OpenOffice.org 3.3 Beta on September 28, 2010. libreoffice is a sh
manpages/Tcl_UtfAtIndex.3.html
Tcl_UtfAtIndex(3) - routines for manipulating UTF-8 strings
These routines convert between UTF-8 strings and Tcl_UniChars. A Tcl_UniChar is a Unicode character represented as an unsigned, fixed-size quantity. A UTF-8 cha
manpages/exiv2.1.html
exiv2(1) - Image metadata manipulation tool - Linux man page
exiv2 is a program to read and write Exif, IPTC and XMP image metadata and image comments. The following image formats are supported: exiv2.1 (Commands - Linux
manpages/rapper.1.html
rapper(1) - Raptor RDF parsing and serializing utility......
The rapper utility allows parsing of RDF content by the Raptor RDF parser toolkit emitting the results as RDF triples in a choice of syntaxes. The INPUT-URI can
manpages/zshexpn.1.html
zshexpn(1) - zsh expansion and substitution - Linux man page
The following types of expansions are performed in the indicated order in five steps: History Expansion This is performed only in interactive shells. Alias Expa
manpages/Tcl_FSGetNativePath.3.html
Tcl_FSGetNativePath(3) - procedures to interact with any fil
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta
