[linux-lvm] Having duplicate PV problems, think there's a bug in LVM2 md component detection

Luca Berra bluca at comedia.it
Mon Feb 28 21:38:56 UTC 2005


On Mon, Feb 28, 2005 at 03:39:59PM -0500, Ron Watkins wrote:
>Yes, I have two PVs with the same UUID.  The problem is that these PVs are 
>COMPONENTS OF an MD device.  So when pvcreate writes its superblock to md0, 
>it gets mirrored onto all the components of md0.  Later runs elicit much 
>complaining because /dev/hda and several /dev/sd devices now have the 
>'same' UUID.   They're SUPPOSED to, they're components of a RAID.
>
>LVM is supposed to detect this situation and not do that, but it doesn't 
>seem to be working for me.
>
i wonder if it is a problem with largefile access ?!?
which version of lvm2 are you using?
does debian patch it?
can you try stracing it an look for seeks, so we can see if it is
wrapping around somewhere?

L.

-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \




More information about the linux-lvm mailing list