vgdisplay

Display LVM volume group information

TLDR

Display information about all volume groups
$ sudo vgdisplay
Display information about a specific volume group
$ sudo vgdisplay [vg1]

SYNOPSIS

vgdisplay [options] [volumegroup_...]

DESCRIPTION

vgdisplay shows detailed information about LVM volume groups including size, extent information, physical volumes, and logical volumes contained within.The output includes total size, physical extent size, number of physical and logical volumes, and allocation status. Use this to understand the structure and capacity of your LVM configuration.

PARAMETERS

-c, --colon

Output in colon-separated format
-s, --short
Short listing format
-v, --verbose
Verbose output with additional details
-A, --activevolumegroups
Show only active volume groups
--units _units_
Display sizes in specified units (b, s, k, m, g, t, p, e)
-C, --columns
Output in columns (similar to vgs)

INSTALL

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

CAVEATS

Requires root privileges. For scripting, consider using vgs with format options instead. Part of the LVM2 package.

SEE ALSO

lvm(8), vgs(8), vgchange(8), lvdisplay(8), pvdisplay(8)