[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] LVM on iscsi for cluster
- Subject: [ale] LVM on iscsi for cluster
- From: brian at polibyte.com (Brian Pitts)
- Date: Tue, 25 Jan 2011 23:53:06 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
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