pvcreate fails with "Can only set uuid on one volume at once"
Issue
- The
pvcreatecommand to recover a Physical Volume fails with "Can only set uuid on one volume at once":
pvcreate -uuid "abcdef-ghij-klmn-opqr-stuv-wxyz-123456" --restorefile /etc/lvm/archive/VolGroup00_00010.vg /dev/sda
Can only set uuid on one volume at once
Environment
- Red Hat Enterprise Linux 6
- LVM Logical Volume Manager
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.