1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 20:22:07 +02:00
tldr/pages/linux/pvremove.md
Shou-Chi Chen 42aecfb454
pvremove: add page (#14360)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-10-27 17:31:17 +01:00

24 lines
525 B
Markdown

# pvremove
> Remove LVM labels from physical volume(s).
> More information: <https://manned.org/pvremove>.
- 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}}`