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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.