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