From c675e0ae34af7b7572998c2477d39953bb4ab806 Mon Sep 17 00:00:00 2001 From: Shou-Chi Chen Date: Mon, 4 Nov 2024 20:55:19 +0800 Subject: [PATCH 1/4] vgremove: add page --- pages/linux/vgremove.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/vgremove.md diff --git a/pages/linux/vgremove.md b/pages/linux/vgremove.md new file mode 100644 index 00000000000000..a3674e56881c6b --- /dev/null +++ b/pages/linux/vgremove.md @@ -0,0 +1,24 @@ +# vgremove + +> Remove volume group(s) in LVM. +> More information: . + +- Remove a volume group with confirmation: + +`vgremove my_volume_group` + +- Forcefully remove a volume group without confirmation: + +`vgremove --force my_volume_group` + +- Set the debug level for detailed logging (level 2): + +`vgremove --debug 2 my_volume_group` + +- Use a specific config setting to override defaults: + +`vgremove --config 'global/locking_type=1' my_volume_group` + +- Display help text for usage information: + +`vgremove --help` From a7e6a5bf6d1c04456825f22ce79af2532543028c Mon Sep 17 00:00:00 2001 From: Shou-Chi Chen <87609690+jackiesogi@users.noreply.github.com> Date: Tue, 5 Nov 2024 01:20:37 +0800 Subject: [PATCH 2/4] Apply suggestions from code review Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/linux/vgremove.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/linux/vgremove.md b/pages/linux/vgremove.md index a3674e56881c6b..95eefd54f11961 100644 --- a/pages/linux/vgremove.md +++ b/pages/linux/vgremove.md @@ -1,23 +1,23 @@ # vgremove > Remove volume group(s) in LVM. -> More information: . +> More information: . - Remove a volume group with confirmation: -`vgremove my_volume_group` +`vgremove {{volume_group}}` - Forcefully remove a volume group without confirmation: -`vgremove --force my_volume_group` +`vgremove --force {{volume_group}}` - Set the debug level for detailed logging (level 2): -`vgremove --debug 2 my_volume_group` +`vgremove --debug 2 {{volume_group}}` - Use a specific config setting to override defaults: -`vgremove --config 'global/locking_type=1' my_volume_group` +`vgremove --config '{{global/locking_type=1}}' {{volume_group}}` - Display help text for usage information: From 8fc842b019a59b8fe7da32bc2d21ea5a5f6a4a3f Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Tue, 5 Nov 2024 03:16:37 +0100 Subject: [PATCH 3/4] Update vgremove.md Co-authored-by: Wiktor Perskawiec --- pages/linux/vgremove.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/vgremove.md b/pages/linux/vgremove.md index 95eefd54f11961..b93442ced3b694 100644 --- a/pages/linux/vgremove.md +++ b/pages/linux/vgremove.md @@ -1,7 +1,7 @@ # vgremove > Remove volume group(s) in LVM. -> More information: . +> More information: . - Remove a volume group with confirmation: From 8ffea1c8fece44cf6ed8140568814ac2eecd2798 Mon Sep 17 00:00:00 2001 From: Shou-Chi Chen <87609690+jackiesogi@users.noreply.github.com> Date: Thu, 14 Nov 2024 23:52:32 +0800 Subject: [PATCH 4/4] Update pages/linux/vgremove.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/linux/vgremove.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/vgremove.md b/pages/linux/vgremove.md index b93442ced3b694..584fa53b09b391 100644 --- a/pages/linux/vgremove.md +++ b/pages/linux/vgremove.md @@ -11,9 +11,9 @@ `vgremove --force {{volume_group}}` -- Set the debug level for detailed logging (level 2): +- Set the debug level for detailed logging to level 2, (repeat `--debug` up to 6 times to increase the level): -`vgremove --debug 2 {{volume_group}}` +`vgremove --debug --debug {{volume_group}}` - Use a specific config setting to override defaults: