commands

lvs — Report logical volumes

Report logical volumes and attributes, not filesystem free capacity. Use a fresh private workspace; live operations are VM-only.

Formal Syntax & Structure

linux syntaxlinux
lvs [OPTIONS] [LV ...]

Parameters & Attributes

NameTypeDescription
-ooptionSelect report fields
LVoperandOptional logical volume

Return Value

exit status and output

Reports visible logical volumes and their selected attributes. Successful listing does not establish that their filesystems are mounted, healthy or have free space.

Working Example

Example Snippetlinux
lvs -o lv_name,vg_name,lv_size,lv_attr
Linux Reference