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

34 lines
545 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://man7.org/linux/man-pages/man8/lvs.8.html>.
2020-07-21 19:45:10 +00: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 {{=}}`