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
| Name | Type | Description |
|---|---|---|
| -o | option | Select report fields |
| VG | operand | Optional 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