Files
cheatsheet-tldr/tldr/linux/pvremove
2025-08-26 00:19:43 +00:00

30 lines
644 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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 {{[-v|--verbose]}} {{/dev/sdXY}}`
- Remove a LVM label without asking for confirmation:
`sudo pvremove {{[-y|--yes]}} {{/dev/sdXY}}`
- Forcefully remove a LVM label:
`sudo pvremove {{[-f|--force]}} {{/dev/sdXY}}`
- Display output in JSON format:
`sudo pvremove --reportformat json {{/dev/sdXY}}`