Re: Found duplicate PVs

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

That's exactly what I meant by a split/broken RAID1 mirror - either two
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.

> 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).

Shouldn't be needed for MD devices - just make sure you have:

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.

> (And this is probably just a special case of the "broken (split) RAID1
> mirror" possibility that Bryn was talking about.)

Yup :)

Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

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/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux