[linux-lvm] lvm2 confused about double UUID

Christian Kujau lists at nerdbynature.de
Mon Jul 27 03:10:01 UTC 2009


On Sun, 26 Jul 2009 at 18:22, Christian Kujau wrote:
> Sure, if it turns out to be a (Ubuntu-)specific kernel/lvm2 issue, I'll do 
> so.

I've compiled the LVM2 tools from a current CVS checkout and I begin to 
think that the filter= parsing is possibly involved here. I changed the 
filter slightly to be more specific, and tried again:

  filter = [ "a|^/dev/sda.*$|", "a|^/dev/sdb.*$|", "r/.*/" ]

1) with LVM-2.02.26
  PV         VG   Fmt  Attr PSize   PFree   DevSize PV
  /dev/sda2  vg01 lvm2 a-   111.67G   6.56G 111.67G
  /dev/sdb1  vg02 lvm2 a-   931.46G 137.46G 931.46G

2) with LVM-2.02.50, using the same lvm.conf (according to strace)

  Found duplicate PV 1O2Tkq9Jy8VfuZuzFh1f6viVBDhcK6Vq: using /dev/sdc1 not /dev/sdb1
  PV         VG   Fmt  Attr PSize   PFree   DevSize PV
  /dev/sda2  vg01 lvm2 a-   111.67G   6.56G 111.67G
  /dev/sdc1  vg02 lvm2 a-   931.46G 181.46G 931.46G

So, can anybody comment if the filer above makes any sense at all?

Thanks in advance,
Christian.
-- 
BOFH excuse #281:

The co-locator cannot verify the frame-relay gateway to the ISDN server.




More information about the linux-lvm mailing list