RE: adding volume to cluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Terry Davis
Sent: Monday, September 29, 2008 5:59 PM
To: linux-cluster@xxxxxxxxxx
Subject: 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?


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

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux