[linux-lvm] Remove a LUN from a LVM mirror cause logical volume not response

Matecki, Lukas Lukas.Matecki at lvr.de
Mon Oct 24 12:48:58 UTC 2011

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:

lvconvert -m1 vg<name>/lv<name> /dev/mapper/mpath0 --mirrorlog core

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 this system work or did i need to setup a mdadm device before pvcreate ?

Hope you can help me because Redhat can't... them sitting two weeks on this error / miss configuration without any solution...



More information about the linux-lvm mailing list