2025-03-14 21:59:59 -06:00
|
|
|
# vgremove
|
|
|
|
|
|
|
|
|
|
> Remove volume group(s) in LVM.
|
|
|
|
|
> More information: <https://manned.org/vgremove>.
|
|
|
|
|
|
|
|
|
|
- Remove a volume group with confirmation:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgremove {{volume_group}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Forcefully remove a volume group without confirmation:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgremove {{[-f|--force]}} {{volume_group}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Set the debug level for detailed logging to level 2, (repeat `--debug` up to 6 times to increase the level):
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgremove {{[-d|--debug]}} {{[-d|--debug]}} {{volume_group}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Use a specific config setting to override defaults:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`sudo vgremove --config '{{global/locking_type=1}}' {{volume_group}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Display help:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`vgremove {{[-h|--help]}}`
|