2020-07-12 14:58:06 +01:00
|
|
|
# vgs
|
|
|
|
|
2021-03-08 19:25:12 +00:00
|
|
|
> Display information about volume groups.
|
|
|
|
> See also: `lvm`.
|
2024-06-19 16:26:28 +01:00
|
|
|
> More information: <https://manned.org/vgs>.
|
2020-07-12 14:58:06 +01:00
|
|
|
|
|
|
|
- Display information about volume groups:
|
|
|
|
|
|
|
|
`vgs`
|
|
|
|
|
|
|
|
- Display all volume groups:
|
|
|
|
|
|
|
|
`vgs -a`
|
|
|
|
|
|
|
|
- Change default display to show more details:
|
|
|
|
|
|
|
|
`vgs -v`
|
|
|
|
|
|
|
|
- Display only specific fields:
|
|
|
|
|
|
|
|
`vgs -o {{field_name_1}},{{field_name_2}}`
|
|
|
|
|
|
|
|
- Append field to default display:
|
|
|
|
|
|
|
|
`vgs -o +{{field_name}}`
|
|
|
|
|
|
|
|
- Suppress heading line:
|
|
|
|
|
|
|
|
`vgs --noheadings`
|
|
|
|
|
|
|
|
- Use separator to separate fields:
|
|
|
|
|
|
|
|
`vgs --separator =`
|