[Gluster-users] AFR/Striping config

Mickey Mazarick
Sat, 14 Jun 2008 19:29:04 -0000

Has anyone gotten afr and stripe together successfully?
We have 6 servers and want to keep virtual machine images on a stripe
setup for speed and to evenly distribute files. Unfortunately our spec
is not mounting. Maybe I'm missing something though. We have afr/unify
working great.
 We are trying  a setup like:

Server1 + Server2 = AFR1
Server3 + Server4 = AFR2
Server5 + Server6 = AFR3

AFR1 + AFR2 + AFR3 = stripe



The error log:
TLA Repo Revision: glusterfs--mainline--2.5--patch-779
Time : 2008-06-14 15:17:54
Signal Number : 11

## REPRINT OF CLIENT VOL FILE ###

frame : type(0) op(0)
frame : type(0) op(0)

/lib64/tls/libc.so.6[0x3b28f2e2b0]
/usr/local/lib/glusterfs/1.3.9/xlator/cluster/afr.so(afr_setxattr+0x6e)[0x2aaaaabc3cae]
/usr/local/lib/glusterfs/1.3.9/xlator/cluster/stripe.so(notify+0x288)[0x2aaaaace2068]
/usr/local/lib/libglusterfs.so.0(default_notify+0x82)[0x2b93b72442b2]
/usr/local/lib/glusterfs/1.3.9/xlator/cluster/afr.so(notify+0xc1)[0x2aaaaabd2261]
/usr/local/lib/glusterfs/1.3.9/xlator/protocol/client.so(notify+0x680)[0x2aaaaaaba370]
/usr/local/lib/glusterfs/1.3.9/transport/ib-verbs/client.so[0x2aaaab0140be]
/lib64/tls/libpthread.so.0[0x3b29a06137]
/lib64/tls/libc.so.6(__clone+0x73)[0x3b28fc7113]
---------


Our client spec is below let me know if there is something wrong with
our config.
Thanks!


###/etc/glusterfs-mainclient2.vol.ibverbs
volume s1m1
 type protocol/client
 option transport-type ib-verbs/client
 option remote-port 6999
 option remote-host RTPST201
 option remote-subvolume main1
end-volume
volume s2m1
 type protocol/client
 option transport-type ib-verbs/client
 option remote-port 6999
 option remote-host RTPST202
 option remote-subvolume main1
end-volume
volume s3m1
 type protocol/client
 option transport-type ib-verbs/client
 option remote-port 6999
 option remote-host RTPST203
 option remote-subvolume main1
end-volume
volume s4m1
 type protocol/client
 option transport-type ib-verbs/client
 option remote-port 6999
 option remote-host RTPST204
 option remote-subvolume main1
end-volume
volume s5m1
 type protocol/client
 option transport-type ib-verbs/client
 option remote-port 6999
 option remote-host RTPST205
 option remote-subvolume main1
end-volume
volume s6m1
 type protocol/client
 option transport-type ib-verbs/client
 option remote-port 6999
 option remote-host RTPST206
 option remote-subvolume main1
end-volume

volume afr1
 type cluster/afr
 subvolumes s1m1 s2m1
end-volume
volume afr2
 type cluster/afr
 subvolumes s3m1 s4m1
end-volume
volume afr3
 type cluster/afr
 subvolumes s5m1 s6m1
end-volume

volume stripe
  type cluster/stripe
  option block-size *:128KB
  subvolumes afr1 afr2 afr3
end-volume


--