2025-03-14 21:59:59 -06:00
|
|
|
# vgs
|
|
|
|
|
|
|
|
|
|
> Display information about volume groups.
|
|
|
|
|
> See also: `lvm`.
|
|
|
|
|
> More information: <https://manned.org/vgs>.
|
|
|
|
|
|
|
|
|
|
- Display information about volume groups:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgs`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display all volume groups:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgs {{[-a|--all]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Change default display to show more details:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgs {{[-v|--verbose]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display only specific fields:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgs {{[-o|--options]}} {{field_name_1,field_name_2,...}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Append field to default display:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgs {{[-o|--options]}} +{{field_name}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Suppress heading line:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgs --noheadings`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Use separator to separate fields:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgs --separator =`
|