2025-03-14 21:59:59 -06:00
|
|
|
# lvs
|
|
|
|
|
|
|
|
|
|
> Display information about logical volumes.
|
|
|
|
|
> See also: `lvm`.
|
|
|
|
|
> More information: <https://manned.org/lvs>.
|
|
|
|
|
|
|
|
|
|
- Display information about logical volumes:
|
|
|
|
|
|
|
|
|
|
`lvs`
|
|
|
|
|
|
|
|
|
|
- Display all logical volumes:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lvs {{[-a|--all]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Change default display to show more details:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lvs {{[-v|--verbose]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display only specific fields:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lvs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Append field to default display:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`lvs {{[-o|--options]}} +{{field_name}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Suppress heading line:
|
|
|
|
|
|
|
|
|
|
`lvs --noheadings`
|
|
|
|
|
|
|
|
|
|
- Use a separator to separate fields:
|
|
|
|
|
|
|
|
|
|
`lvs --separator {{=}}`
|