[linux-lvm] Altering a Physical Volume's UUID on SATA hard drives [solved]

Stuart D. Gathman stuart at bmsi.com
Sun Aug 19 23:51:49 UTC 2007

On Sat, 18 Aug 2007, A.Lizard wrote:

> I bit-copied a backup LVM disk using dd from a Knoppix LiveCD (based on 
> Debian) and wound up with duplicate volume and uuids, meaning I couldn't 
> mount both the main and backup volumes simultaneously at the same time for 
> subsequent backups. Of course, vgrename is ineffective to allow 
> simultaneous mounting without changing the uuids.

I would suggest copying (bitwise if desired) each LV individually to another
volume group with a different name (and UUID).  This gives you a lot more
flexibility with physical storage for primary vs backup volume groups.
Furthermore, your LV backup procedure can take snapshots of each LV first.

	      Stuart D. Gathman <stuart at bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

More information about the linux-lvm mailing list