2020-07-21 19:45:10 +00:00
|
|
|
# lvs
|
|
|
|
|
2021-03-08 14:25:12 -05:00
|
|
|
> Display information about logical volumes.
|
|
|
|
> See also: `lvm`.
|
2024-06-18 18:03:28 +02:00
|
|
|
> More information: <https://manned.org/lvs>.
|
2020-07-21 19:45:10 +00:00
|
|
|
|
|
|
|
- Display information about logical volumes:
|
|
|
|
|
|
|
|
`lvs`
|
|
|
|
|
|
|
|
- Display all logical volumes:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`lvs {{[-a|--all]}}`
|
2020-07-21 19:45:10 +00:00
|
|
|
|
|
|
|
- Change default display to show more details:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`lvs {{[-v|--verbose]}}`
|
2020-07-21 19:45:10 +00:00
|
|
|
|
|
|
|
- Display only specific fields:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`lvs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}`
|
2020-07-21 19:45:10 +00:00
|
|
|
|
|
|
|
- Append field to default display:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`lvs {{[-o|--options]}} +{{field_name}}`
|
2020-07-21 19:45:10 +00:00
|
|
|
|
|
|
|
- Suppress heading line:
|
|
|
|
|
|
|
|
`lvs --noheadings`
|
|
|
|
|
|
|
|
- Use a separator to separate fields:
|
|
|
|
|
|
|
|
`lvs --separator {{=}}`
|