1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 12:55:23 +02:00
tldr/pages/linux/lvs.md

34 lines
579 B
Markdown
Raw Normal View History

2020-07-21 19:45:10 +00:00
# lvs
> Display information about logical volumes.
> See also: `lvm`.
> More information: <https://manned.org/lvs>.
2020-07-21 19:45:10 +00:00
- Display information about logical volumes:
`lvs`
- Display all logical volumes:
`lvs {{[-a|--all]}}`
2020-07-21 19:45:10 +00:00
- Change default display to show more details:
`lvs {{[-v|--verbose]}}`
2020-07-21 19:45:10 +00:00
- Display only specific fields:
`lvs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}`
2020-07-21 19:45:10 +00:00
- Append field to default display:
`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 {{=}}`