commands

vgs — Report volume groups

Report volume group capacity and free space; thin provisioning requires additional analysis. Use a fresh private workspace; live operations are VM-only.

Formal Syntax & Structure

linux syntaxlinux
vgs [OPTIONS] [VG ...]

Parameters & Attributes

NameTypeDescription
-ooptionSelect report fields
VGoperandOptional volume group

Return Value

exit status and output

Reports visible volume groups and requested capacity columns. Free group extents are not equivalent to free space within a mounted filesystem; inspect errors and discovery scope.

Working Example

Example Snippetlinux
vgs -o vg_name,vg_size,vg_free
Linux Reference