From 42aecfb45472acbd9a68af9244df8e2b68e3f954 Mon Sep 17 00:00:00 2001 From: Shou-Chi Chen <87609690+jackiesogi@users.noreply.github.com> Date: Mon, 28 Oct 2024 00:31:17 +0800 Subject: [PATCH] pvremove: add page (#14360) Co-authored-by: Wiktor Perskawiec Co-authored-by: Juri Dispan Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/linux/pvremove.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/pvremove.md diff --git a/pages/linux/pvremove.md b/pages/linux/pvremove.md new file mode 100644 index 0000000000..5f94d19055 --- /dev/null +++ b/pages/linux/pvremove.md @@ -0,0 +1,24 @@ +# pvremove + +> Remove LVM labels from physical volume(s). +> More information: . + +- Remove a LVM label from a physical volume: + +`sudo pvremove {{/dev/sdXY}}` + +- Display detailed output during the operation: + +`sudo pvremove --verbose {{/dev/sdXY}}` + +- Remove a LVM label without asking for confirmation: + +`sudo pvremove --yes {{/dev/sdXY}}` + +- Forcefully remove a LVM label: + +`sudo pvremove --force {{/dev/sdXY}}` + +- Display output in JSON format: + +`sudo pvremove --reportformat json {{/dev/sdXY}}`