[Linux-cluster] how can I share a logical volume?

nch underscore_dot at yahoo.com
Tue Apr 15 20:21:16 UTC 2008


  The gnbd approach seems to fit, although don't quite undestand why this approach is better than the one I started with.
  However, I upgraded to kernel 2.6.24, cluster-2.03.00, ais, ... and followed instructions described in doc/min-gfs.txt in  ftp://sources.redhat.com/pub/cluster/releases/cluster-2.03.00.tar.gz.
  I reached the point in which I could gfs_mkfs, but I could not mount the new fs cause it complains about insufficient number of journals (I tried 2 and 4 journals) while having only one cluster node and the gnbd server.

  Kind regards

----- Original Message ----
From: Andrew A. Neuschwander <andrew at ntsg.umt.edu>
To: linux clustering <linux-cluster at redhat.com>
Sent: Tuesday, April 15, 2008 5:06:30 PM
Subject: Re: [Linux-cluster] how can I share a logical volume?

Did you setup the node with the storage as a gnbd server and the other
nodes as gnbd clients? I think this is what you want in order for the
nodes to all have block level access to the storage for clvmd and dlm to
run on top of.

-A
-- 
Andrew A. Neuschwander, RHCE
Linux Systems/Software Engineer
College of Forestry and Conservation
The University of Montana
http://www.ntsg.umt.edu
andrew at ntsg.umt.edu - 406.243.6310

On Tue, April 15, 2008 12:22 am, nch wrote:
> No, I can't see the logical volumes on the other nodes. vgscan doesn't
> show any, nor I can find any new devices in /dev.
> As I couldn't find docs/examples on this particular point, I really don't
> know what to expect.
> I'm trying with different types of logical volumes (stripped, mirrored),
> but didn't make a difference.
> For the moment, I'm running all the stuff on virtual machines, could this
> be an issue?
> For the moment I'm using a minimal cluster.conf, in which I just declare
> the nodes. Should I add specific configurations to it?
>
> Lots of thanks.
>
> ----- Original Message ----
> From: Shawn Hood <shawnlhood at gmail.com>
> To: linux clustering <linux-cluster at redhat.com>
> Sent: Tuesday, April 15, 2008 2:06:07 AM
> Subject: Re: [Linux-cluster] how can I share a logical volume?
>
> As far as I know, you should be able to at least SEE the logical
> volume as long as there is a path to the physical volumes on the other
> nodes.  Are you able to see the same block devices (eg /dev/sd?) on
> the other nodes?
>
> Shawn Hood
>
>
>
> 2008/4/14 nch <underscore_dot at yahoo.com>:
>>
>> Hello, everybody.
>>
>> I'm trying to run a cluster with 3 nodes. One of them would share
>> storage
>> with the other two using GFS and DLM (kernel 2.4.18-6).
>> I was able to start ccsd, cman, fenced and clvmd in all nodes. I've
>> defined
>> a logical volume in the storage node and was able to gfs_mkfs, activate
>> it
>> locally and mount it, but I don't know how to make it available/visible
>> to
>> the other two nodes.
>> Do you know how to do this?
>> I've followed instruction given in
>> http://sources.redhat.com/cluster/doc/usage.txt (except for setting
>> locking_type=2).
>>
>> Many thanks.
>>
>>

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






      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080415/1a831655/attachment.htm>


More information about the Linux-cluster mailing list