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