- Need to repair metadata on
physical volumeonline which is corrupted or zeroed.
- Unable to recreate a
PV labelon an exiting device.
# pvcreate --uuid NgIQIH-irp3-ncrC-yNYg-hTsH-LF1c-6iUd7E --restorefile /etc/lvm/backup/testvg /dev/vdb -ff WARNING: Couldn't find device with uuid NgIQIH-irp3-ncrC-yNYg-hTsH-LF1c-6iUd7E. Can't open /dev/vdb exclusively. Mounted filesystem? Can't open /dev/vdb exclusively. Mounted filesystem?
- Red Hat Enterprise Linux 8.2
- lvm2-2.03.09-5.el8 or higher.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.