commands

pvs — Report physical volumes

Report physical volumes, their groups and allocation; output depends on discovery and privileges. Use a fresh private workspace; live operations are VM-only.

Formal Syntax & Structure

linux syntaxlinux
pvs [OPTIONS] [PV ...]

Parameters & Attributes

NameTypeDescription
-ooptionSelect report fields
PVoperandOptional selected physical volume

Return Value

exit status and output

Reports physical-volume names, group membership and requested capacity columns. An empty report may reflect no visible PVs; a successful report is not a storage-health check.

Working Example

Example Snippetlinux
pvs -o pv_name,vg_name,pv_size,pv_free
Linux Reference