On 10/24/2011 01:48 PM, Matecki, Lukas wrote:
Second try this time with the right subject, sry Monday -.- Hallo List, We are using LVM with SAN and multipathd. I try to setup mirroring with LVM. So I do pv create on a mpath device. vgcreate, add the pv to the vg, create a lv and setup a mirror with this:
Bear in mind that if you are using multipath underneath a mirror then you will need to configure multipath to not queue I/O when all paths to a device fail (or to only do so for a limited number of retries).
Otherwise the system will queue all I/O and block accessing the side of the mirror on the failed SAN.
lvconvert -m1 vg<name>/lv<name> /dev/mapper/mpath0 --mirrorlog core
Using core may not be the best idea here since it will mean that you have to resynchronize the mirror every time it is activated.
My intention is to create a logical volume which can handle SAN Disk failure. But in this shown setup i get a error (unavailable logical volume) when one of the san LUNS is missing.
Can you paste the exact error you are getting? This doesn't sound like any LVM2 error message that I'm familiar with.
Regards, Bryn. _______________________________________________ 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/