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