Re: Found duplicate PVs

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

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?

If the LVM PVs sit on the RAID1 array instead of the member drives, then
you'll get duplicate PVs if you're scanning the member drives themselves
instead of the entire array.  You need to scan the RAID1 array (and of
course it needs to be assembled before you do the scan).

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

(And this is probably just a special case of the "broken (split) RAID1
mirror" possibility that Bryn was talking about.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIoYamS5vET1Wea5wRAzqpAJ4lLzECth88MHROD6T2mahDqMn0jgCfTfPR
1O2q8f2jZnocvQ1VkPCsIHg=
=ygT4
-----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