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

Andrew A. Neuschwander andrew at ntsg.umt.edu
Tue Apr 15 15:06:30 UTC 2008


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.
>>
>>




More information about the Linux-cluster mailing list