LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

vgs

Report LVM volume group information

TLDR

List volume groups
$ sudo vgs
copy
List all groups
$ sudo vgs -a
copy
Verbose output
$ sudo vgs -v
copy
Show specific fields
$ sudo vgs -o vg_name,vg_size,vg_free
copy
Append field
$ sudo vgs -o +field_name
copy
No headings
$ sudo vgs --noheadings
copy
Use separator
$ sudo vgs --separator =
copy

SYNOPSIS

vgs [OPTIONS] [VolumeGroupName...]

DESCRIPTION

vgs displays information about volume groups in a configurable table format. It shows group names, physical volumes count, logical volumes count, sizes, and free space.

PARAMETERS

-a, --all

Show all volume groups including incomplete ones
-v, --verbose
Increase verbosity and show additional details
-o, --options fields
Specify which fields to display
--noheadings
Suppress the heading line in output
--separator char
Use specified character as field separator
--units units
Display sizes in specified units

INSTALL

sudo apt install lvm2
copy
sudo dnf install lvm2
copy
sudo pacman -S lvm2
copy
sudo apk add lvm2
copy
sudo zypper install lvm2
copy
nix profile install nixpkgs#lvm2
copy

CAVEATS

Incomplete volume groups (missing physical volumes) are hidden by default; use -a to show them. Default output is human-readable; use formatting options for scripting.

HISTORY

vgs is part of LVM2, the Linux Logical Volume Manager.

SEE ALSO

lvm(8), vgdisplay(8), pvs(8), lvs(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid