[Linux-cluster] RE: Can't create LV in 2-node cluster

michael.osullivan at auckland.ac.nz michael.osullivan at auckland.ac.nz
Wed Oct 8 16:00:16 UTC 2008


Hi Mark,

clvmd is running fine on both nodes. The result of "service clvmd status" is

clvmd (pid xxxxx) is running...
active volumes: LogVol00 LogVol01

The result of vgscan is

Reading all physical volumes. This may take a while...
Found volume group "iscsi_raid_vg" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2

I just can't create a logical volume either from the command line or using
system-config-lvm...

Thanks, Mike

    * From: "Mark Chaney" <macscr macscr com>
    * To: "'linux clustering'" <linux-cluster redhat com>
    * Subject: RE: [Linux-cluster] RE: Can't create LV in 2-node cluster
    * Date: Tue, 7 Oct 2008 14:24:43 -0500

So is clvmd running fine on both nodes? If its not, your not going to be
able to do anything with the shared storage. After you have verified its
running, do a vgscan. If you get any errors, you have to fix those first
before you can move ahead to worrying about the lv issues.

I am far from a cluster expert. Im actually having my own issues right now,
but I am just passing on some info that I have learned along the way.

-----Original Message-----
From: linux-cluster-bounces redhat com
[mailto:linux-cluster-bounces redhat com] On Behalf Of
michael osullivan auckland ac nz
Sent: Tuesday, October 07, 2008 2:10 PM
To: linux-cluster redhat com
Subject: [Linux-cluster] RE: Can't create LV in 2-node cluster

Hi Mark,

This is just an experimental cluster for now, not production, so 2-nodes
is sufficient (as long as it doesn't significantly alter the setup, which
I don;t think it does). I have two multi-pathed iSCSI targets for storage,
one each on two separate boxes. I have got this going previously on a
slightly different set-up elsewhere, but this is my next effort that
incorporates easy shutdown/startup of the storage and cluster. Except I
can't get the LV up and running...

Thanks, Mike

Date: Mon, 6 Oct 2008 11:03:57 -0500
From: "Mark Chaney" <macscr macscr com>
Subject: RE: [Linux-cluster] Can't create LV in 2-node cluster
To: "'linux clustering'" <linux-cluster redhat com>
Message-ID: <04cb01c927cd$24b23ed0$6e16bc70$ com>
Content-Type: text/plain;        charset="us-ascii"

What are you using for shared storage? Also, 2 node clusters are highly
discouraged from my experience and recommendations of others.

-----Original Message-----
From: linux-cluster-bounces redhat com
[mailto:linux-cluster-bounces redhat com] On Behalf Of
michael osullivan auckland ac nz
Sent: Monday, October 06, 2008 10:28 AM
To: linux-cluster redhat com
Subject: [Linux-cluster] Can't create LV in 2-node cluster

Hi everyone,

I have created a 2-node cluster and (after a little difficulty) created a
clustered volume group visible on both nodes. However, I can't create a
logical volume on either node. I get the following error:

Error locking on node <other node>: Error backing up metadata, can't find
VG for group #global
Aborting. Failed to activate new LV to wipe the start of it.

I have locking_type = 3 and locking_library = liblvm2clusterlock.so. The
metadata areas and sequence nos are the same using vgdisplay on both
nodes.

Can anyone help me create LVs? I am happy to provide any extra info needed.

Thanks, Mike



--
Linux-cluster mailing list
Linux-cluster redhat com
https://www.redhat.com/mailman/listinfo/linux-cluster







More information about the Linux-cluster mailing list