[Linux-cluster] values for gnbd multipath dmsetup

brianu brianu at silvercash.com
Thu Aug 4 23:01:44 UTC 2005


Hello all,

 

We would like to use GFS and GNBD for a SAN setup, but I am having trouble
setting up the multipath. Currently I have three GNBD servers mounting the
storage and exporting the volumes, I read the information in the post from
the previous thread but I am having trouble finding the correct values to
echo into 

Dmsetup, example from the thread below:

https://www.redhat.com/archives/linux-cluster/2005-April/msg00062.html

 

I found references for

> echo "0 167772160  multipath 0 0 1 1 round-robin 0 2 1 251:0 1000 251:1
1000 " | dmsetup create dm0
>  (251:0 ist the major:minor id of /dev/gnbd0)

 

I can see the major:minor blockid and the size from /sys/block/gnbd0 & gnbd1
so my  attempt looks as so:

 

> echo "0 2293981184  multipath 0 0 1 1 round-robin 0 2 1 251:0 1000 251:1
1000 " | dmsetup create dm0
>  (251:0 ist the major:minor id of /dev/gnbd0)

 

Which gives me an error of:

Device-mapper ioctl cmd 9 failed: Invalid argument

 

What am I doing wrong? Also the vaules from above specifically the " 0 0 1 1
& 0 2 1" & "1000" from the previous post can someone clarify where these are
coming from?

 

We are using a vanilla kernel-2.6.12 with from kernel.org with the cluster
software from CVS stabile for 2.6.12, from the path provided at
sources.redhat.com/cluster.

 

Kernel Params:

CONFIG_DM_MULTIPATH=m

 

OS=CENTOS4

 

 

 

Brian Urrutia

System Administrator

Price Communications Inc.

 

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


More information about the Linux-cluster mailing list