[ale] LVM on iscsi for cluster

Brian Pitts brian at polibyte.com
Tue Jan 25 23:53:06 EST 2011


On 01/25/2011 01:32 PM, Robert Coggins wrote:
> Good day all,
> 
> I am working on creating an HA cluster for mysql.  Right now I have 2 
> nodes pointing to an iscsi target.  Both nodes see my linux LVM 
> partition as /dev/sdb1.  On node a I did the pvcreate, vgcreate, and 
> lvcreate.  On node a and b I see the pv, vg and lv when doing pvscan, 
> vgscan and lvscan or displays.  However, I can only make the lvm on node 
> a active (using vgchange -ay and lvchange -ay).  however when I try the 
> same on node b I get "Command failed with status code 5" and I do this 
> when the lvm is unavailable on node a.  Any ideas?

What device is hosting your iscsi target? If it can do snapshots (or if
you don't need snapshots), then don't use LVM.

-- 
All the best,
Brian Pitts


More information about the Ale mailing list