mirror of https://github.com/CrimsonTome/tldr.git
lvs: add page (#4205)
parent
f08dbe7da1
commit
4deb3d0916
|
@ -0,0 +1,32 @@
|
||||||
|
# lvs
|
||||||
|
|
||||||
|
> Display information about LVM logical volumes.
|
||||||
|
> More information: <https://www.man7.org/linux/man-pages/man8/lvs.8.html>.
|
||||||
|
|
||||||
|
- 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 {{=}}`
|
Loading…
Reference in New Issue