[linux-lvm] Found duplicate PVs
Bryan Kadzban
bryan at kadzban.is-a-geek.net
Tue Aug 12 15:27:37 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Pedro Gonzalez Zamora wrote:
> The messages "Found duplicate PVs" disappear when I add this line in
> lvm.conf:
>
> filter = [ "a/sd[a-r]$/" , "r/.*/" ]
>
> But I don't know if it is a good solution?
Not likely, but it depends on your hardware setup -- it depends on what
exactly is on those disks.
If you're using fakeraid, then I'd reject sd.* and accept .* (which
would include the /dev/mapper/XXXX fakeraid DM device).
If you're using multipath, then I don't know -- follow the multipath docs.
If you're using LVM on md-raid, then it should be working properly by
default without this change (though md_component_detection must be set
to 1, so you may want to double-check that setting if your system is set
up like this).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIoavmS5vET1Wea5wRAxgxAJ0UO3Vkwudc77vS+46V5ER2uiXc+ACgvR2z
wx3Q8uYyUf/tEKAfKqeQUuo=
=TrGx
-----END PGP SIGNATURE-----
More information about the linux-lvm
mailing list