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?
Best
Pedro
2008/8/12 Bryn M. Reeves <bmr@redhat.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
That's exactly what I meant by a split/broken RAID1 mirror - either two
Bryan Kadzban wrote:
> Bryn M. Reeves wrote:
>>> broken (split) RAID1 mirror?
>
> Alternately, software RAID1 -- either a dm-raid type setup (most onboard
> "RAID controllers", and in fact almost every consumer "RAID" device) or
> md?
disks being presented as SCSI/ATA devices when they contain an array or
an array "controller" (fakeraid) using the wrong drivers. Unlikely to be
MD since LVM2 already performs MD component detection (enabled by
default iirc) and will use the MD device in preference to components.
Shouldn't be needed for MD devices - just make sure you have:
> You can control which devices get scanned by editing the "filter" option
> in /etc/lvm/lvm.conf -- you can make it only include the RAID array
> device (/dev/mapper/whatever or /dev/mdX), instead of the member drives
> (/dev/sdXY).
devices {
[...]
md_component_detection = 1
}
Somewhere in your lvm.conf. As you say, this is most common with dmraid
since the "controller" is just a regular ATA part with some BIOS goop
and a bit of metadata on the disks but you can get the same sort of
behavior with "real" RAID controllers in some cases.
Yup :)
> (And this is probably just a special case of the "broken (split) RAID1
> mirror" possibility that Bryn was talking about.)
Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFIoZK36YSQoMYUY94RAid3AKDFmEtVBuIBCKOhNJbsC70oVcRdzgCdFRQs
BjW8XPFFatq0y8GpER6GI+c=
=vplQ
-----END PGP SIGNATURE-----
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
_______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/