I have a 2 node mirrored setup for gluster. I am trying to use booster for
my file I/O. For testing, I just tried writing a 1M file as follows:
node041 $ export GLUSTERFS_BOOSTER_FSTAB=/etc/glusterfs/booster.fstab
node041 $ LD_PRELOAD=/usr/lib64/glusterfs/glusterfs-booster.so dd
if=/dev/zero of=/mnt/gscratch/file1M bs=1M count=1
I see the following in my booster.log file. What am I doing wrong here
######################################################################
[2010-06-03 14:59:15] E [booster.c:414:vmp_open] booster: VMP open failed
[2010-06-03 14:59:15] E [booster.c:272:do_open] booster: Xattr
user.glusterfs-booster-volfile not found: Operation not supported
........
[2010-06-03 14:59:15] W [name.c:438:client_bind] node041-1: cannot bind inet
socket (12) to port less than 1024 (Permission denied)
######################################################################
Also, in the glusterfsd.log, I see the following
######################################################################
[2010-06-03 14:59:15] E [authenticate.c:234:gf_authenticate] auth: no
authentication module is interested in accepting remote-client
172.20.101.41:54984
[2010-06-03 14:59:15] E [server-protocol.c:5862:mop_setvolume]
server-ib-verbs: Cannot authenticate client from 172.20.101.41:54984
[2010-06-03 14:59:15] N [server-protocol.c:6788:notify] server-ib-verbs:
172.20.101.41:54983 disconnected
######################################################################
My booster.conf looks like this
######################################################################
/etc/glusterfs/glusterfs.vol /mnt/gscratch glusterfs
subvolume=node041-1,logfile=/tmp/booster.log,attr_timeout=0
######################################################################
Following is my glusterfsd.vol
######################################################################
volume posix1
type storage/posix
option directory /mnt/scratch
end-volume
volume locks1
type features/locks
subvolumes posix1
end-volume
volume brick1
type performance/io-threads
option thread-count 8
subvolumes locks1
end-volume
volume server-ib-verbs
type protocol/server
option transport-type ib-verbs
option auth.addr.brick1.allow *
option transport.ib-verbs.listen-port 6997
option transport.ib-verbs.port 1
subvolumes brick1
end-volume
######################################################################
Following is my gluster-client.vol
######################################################################
volume node042-1
type protocol/client
option transport-type ib-verbs
option remote-host node042
option transport.ib-verbs.port 1
option transport.remote-port 6997
option remote-subvolume brick1
end-volume
volume node041-1
type protocol/client
option transport-type ib-verbs
option remote-host node041
option transport.ib-verbs.port 1
option transport.remote-port 6997
option remote-subvolume brick1
end-volume
volume mirror-0
type cluster/replicate
subvolumes node041-1 node042-1
end-volume
volume readahead
type performance/read-ahead
option page-count 4
subvolumes mirror-0
end-volume
volume iocache
type performance/io-cache
option cache-size 1048MB
option cache-timeout 1
subvolumes readahead
end-volume
volume quickread
type performance/quick-read
option cache-timeout 1
option max-file-size 64kB
subvolumes iocache
end-volume
volume writebehind
type performance/write-behind
option cache-size 4MB
subvolumes quickread
end-volume
volume statprefetch
type performance/stat-prefetch
subvolumes writebehind
end-volume
######################################################################