[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] same LV UUID after vgmerge



On Thu, May 19, 2005 at 11:58:09AM +0200, Magni Fabrizio wrote:
> Now the strange part: all the logical volumes have duplicated LV UUID.
 
What version of lvm?   (Run 'lvm version')

Looks like a bug: the vgmerge code checks for duplicate LV names 
but not duplicate UUIDs.

Is this still lvm1 metadata? (You didn't run 'vgconvert')

> Any idea how to solve this issue?

You're going to have to edit the UUIDs by hand:
  vgchange -an oradata1_a
  vgcfgbackup oradata1_a
Edit the UUIDs in /etc/lvm/backup/oradata1_a uuid making them all
different:

                lvol1 {
                        id = "000000-0000-0000-0000-0000-0000-000001"
becomes
                lvol1 {
                        id = "000000-0000-0000-0000-0000-0000-000002"
etc.

Then:
  vgcfgrestore oradata1_a
 
Alasdair
-- 
agk redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]