pvcreate fails with "Can only set uuid on one volume at once"

Solution Verified - Updated -

Issue

  • The pvcreate command 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content