[Linux-cluster] adding volume to cluster

Jeff Sturm jeff.sturm at eprize.com
Tue Sep 30 12:20:55 UTC 2008


If this volume group is to be shared by multiple hosts you need a
clustered volume group.
 
Make sure clvmd is running, that you've set the locking_type in lvm.conf
and and pass "-c y" arguments to vgcreate.


________________________________

	From: linux-cluster-bounces at redhat.com
[mailto:linux-cluster-bounces at redhat.com] On Behalf Of Terry Davis
	Sent: Monday, September 29, 2008 5:59 PM
	To: linux-cluster at redhat.com
	Subject: [Linux-cluster] adding volume to cluster
	
	
	Hello,
	
	I am having a heck of a time getting a volume to show up in my
cluster.  I have a feeling I am doing something wrong but this isn't the
first one I've added so I'm not sure where I got lucky before.  Here is
what I've done thus far in my 2 node RHEL5 cluster:
	
	1) Created my volume in my SAN and gave both nodes access to it
	2) on node A: created 4TB partition with parted and made a gpt
label
	3) on node A: pvcreate /dev/sdc1
	4) on node B: vgcreate vg_data01e /dev/sdc1
	5) on both nodes: vgchange -a y
	6) on node A: lvcreate -n lv_data01e vg_data01e
	
	I get the error:
	  Error locking on node omadvnfs01b: Volume group for uuid not
found: p9SfIjriPtXY33G1Yi3YdojvAAAzmAuwlOLqhVzX8mqL6goiVmUAgQZLGcDnX324
	  Error locking on node omadvnfs01a: Volume group for uuid not
found: p9SfIjriPtXY33G1Yi3YdojvAAAzmAuwlOLqhVzX8mqL6goiVmUAgQZLGcDnX324
	  Aborting. Failed to activate new LV to wipe the start of it.
	
	I tried restarting clvmd for good measure.  Still no luck.  What
am I doing wrong?
	
	
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080930/c832b941/attachment.htm>


More information about the Linux-cluster mailing list