Files
cheatsheet-tldr/tldr/linux/vgremove
2024-11-15 00:18:23 +00:00

30 lines
697 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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:
`vgremove --force {{volume_group}}`
- Set the debug level for detailed logging to level 2, (repeat `--debug` up to 6 times to increase the level):
`vgremove --debug --debug {{volume_group}}`
- Use a specific config setting to override defaults:
`vgremove --config '{{global/locking_type=1}}' {{volume_group}}`
- Display help text for usage information:
`vgremove --help`