<html>
<body>
<br>
Hello All.<br><br>
I am having some issues while copying files in glusterfs. The files seem
to get copied fine, however I get tons of log errors.<br><br>
I am doing a cp -p and each error repeats.<br><br>
Version:<br>
glusterfs 1.3.6 <br>
fuse-2.6.3-1.rf<br><br>
Here's some debug log. Can anyone suggest what might be wrong?<br><br>
root@w1-us# tail -f /var/log/glusterfs/glusterfs.log<br>
2008-11-19 19:36:43 E [afr.c:1130:afr_setxattr_cbk] afrbricks:
(path=/temp_pdf/122714140354/TS000008706.pdf child=client_211) op_ret=-1
op_errno=95<br>
2008-11-19 19:36:59 E [afr.c:1130:afr_setxattr_cbk] afrbricks:
(path=/temp_pdf/122714141882/TS000013173.pdf child=client_211) op_ret=-1
op_errno=95<br>
2008-11-19 19:37:14 E [afr.c:1130:afr_setxattr_cbk] afrbricks:
(path=/temp_pdf/122714143438/TS000012936.pdf child=client_211) op_ret=-1
op_errno=95<br><br>
<br>
<b>Gluster Server Side Configuration<br><br>
</b>root@sf1-us ~# cat /etc/glusterfs/glusterfs-server.vol<br>
## Define the stroage<br>
volume fs1-storage<br>
type
storage/posix
# POSIX FS translator<br>
option directory
/storage
# Export this directory<br>
end-volume<br><br>
volume
iothreads
#iothreads can give performance a<br>
boost<br>
type performance/io-threads<br>
option thread-count 16<br>
subvolumes fs1-storage<br>
end-volume<br><br>
## Add network serving capability to above brick.<br>
volume server<br>
type protocol/server<br>
option transport-type tcp/server # For
TCP/IP transport<br>
option listen-port
6996
# Default is 6996<br>
option client-volume-filename /var/log/glusterfs/client.vol<br>
subvolumes iothreads<br>
option auth.ip.iothreads.allow * # Allow access to
"brick" volume<br>
end-volume<br><br>
<b>Gluster Client Side Configuration<br><br>
</b>root@w1-us ~# cat /etc/glusterfs/glusterfs-client.vol<br><br>
### Add client feature and attach to remote subvolume<br>
volume client_211<br>
type protocol/client<br>
option transport-type tcp/client # for
TCP/IP transport<br>
option remote-host 10.10.1.211 # IP address
of the remote brick<br>
option remote-port
6996
# default server port is 6996<br>
option remote-subvolume
iothreads # name of the remote
volume<br>
# option transport-timeout 4<br>
end-volume<br><br>
volume afrbricks<br>
type cluster/afr<br>
subvolumes client_211<br>
option replicate *:1<br>
option self-heal on<br>
end-volume<br><br>
volume iothreads #iothreads can give performance a
boost<br>
type performance/io-threads<br>
option thread-count 8<br>
subvolumes afrbricks<br>
end-volume<br><br>
Regards,<br>
Raja Krishnan<br><br>
</body>
</html>