Anyone know if this 2-layer LVM approach would kill performance (any more than a two layer approach of lvm->mdadm or mdadm->lvm)?
Hmm... Thinking about this further, I've been thinking of this 2-layer approach for striping and mirroring, but it looks like it might be more problematic for your case, where you really want multipath and mirroring. I'm not sure how to ensure that Fabric1VG/LVa and Fabric2VG/LVa are placed on the same PV blocks as the other one. When you create Fabric1VG/LVa it might end up on disks 0,1, and 2, but Fabric2VG/LVa might end up on disks 1, 2, and 3 (but by different paths). Anyone know any way to ensure that block placement is identical? Is the block allocation algorithm predictable and repeatable so that if you have two VGs with equal PVs in each, and you create LVs in the same order in each, they get the same PV mapping? Or is there a built-in randomness? You would likely be assured of the same failures, since a bad block on fabric 1 should also be a bad block on fabric 2, and a failed PV would fail in both LVs... Might work, if the placement routines are predictably defined.
-Ty! mathias herzog postfinance ch wrote:
[...]At that stage the md stuff is only ever accessed on a single node, and there's no problem.I will use GFS Filesystem with all cluster nodes up and running at the same time, sharing their disks. So my problem with the lvm2 mirroring feature still exists. Think I have to use the expensive and not easy configurable Continuous Access Solution to mirror directly on SAN fabric level... Mathias Sicherheitshinweis:Dieses E-Mail von PostFinance ist signiert. Weitere Informationen finden Sie unter: https://www.postfinance.ch/e-signature.Geben Sie Ihre Sicherheitselemente niemals Dritten bekannt. ------------------------------------------------------------------------ _______________________________________________ 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/
-- -===========================- Ty! Boyack NREL Unix Network Manager ty nrel colostate edu (970) 491-1186 -===========================-