Wipe LVM metadata from a device so it returns to a plain block device and can be reused. 30.06.2026 | reading time: 2 min Use pvremove to erase LVM labels on a physical volume so the kernel and LVM no longer treat the device as part of a volume group; this is the last step when decommissioning or repurposing disks. Quick real-world example Follow these commands to inspect, remove and verify a physical volume: ```bash # show physical volumes pvs PV VG Fmt Attr PSize PFree /dev/sdb1 vg01 lvm2 a-- 100.00g 0 # remove LVM label pvremove /dev/sdb1 Labels on physical volume "/dev/sdb1" successfully wiped. # confirm removal pvs PV VG Fmt Attr PSize PFree (no physical volume found) ``` What to watch for Do not run pvremove on a device that still holds active logical volumes; first migrate data with `pvmove` or remove the PV from its volume group with `vgreduce`, and always check `pvs` and `vgdisplay` before proceeding; use `pvremove --force` only when you understand the risk and have backups. Additional practical tips pvremove clears LVM metadata but may leave other signatures on the block device, so follow up with `wipefs -a` or a targeted `dd` if you need a completely clean block device; remember pvremove is provided by the lvm2 package and typically requires root privileges. Next steps After pvremove the device behaves like any other raw block device and can be partitioned, formatted, or reused for another LVM PV with `pvcreate`; practice these steps in a safe lab before touching production disks and document every change. Join Bits & Bytes Academy First class LINUX exam preparation. storage filesystem utilities Dieser Artikel wurde mithilfe von KI erstellt.