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

Re: [linux-lvm] Found duplicate PVs



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


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