[Gluster-users] Having some issues while copying files in glusterfs

Raja coksupp2 at spectrum.net.in
Tue Nov 25 05:56:11 UTC 2008


Hello All.

I am having some issues while copying files in glusterfs. The files 
seem to get copied fine, however I get tons of log errors.

I am doing a cp -p and each error repeats.

Version:
   glusterfs 1.3.6
   fuse-2.6.3-1.rf

Here's some debug log. Can anyone suggest what might be wrong?

root at w1-us# tail -f /var/log/glusterfs/glusterfs.log
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
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
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


Gluster Server Side Configuration

root at sf1-us ~# cat /etc/glusterfs/glusterfs-server.vol
## Define the stroage
volume fs1-storage
  type storage/posix                   # POSIX FS translator
  option directory /storage            # Export this directory
end-volume

volume iothreads                      #iothreads can give performance a
boost
   type performance/io-threads
   option thread-count 16
   subvolumes fs1-storage
end-volume

## Add network serving capability to above brick.
volume server
  type protocol/server
  option transport-type tcp/server     # For TCP/IP transport
  option listen-port 6996              # Default is 6996
  option client-volume-filename /var/log/glusterfs/client.vol
  subvolumes iothreads
  option auth.ip.iothreads.allow * # Allow access to "brick" volume
end-volume

Gluster Client Side Configuration

root at w1-us ~# cat /etc/glusterfs/glusterfs-client.vol

### Add client feature and attach to remote subvolume
volume client_211
  type protocol/client
  option transport-type tcp/client     # for TCP/IP transport
  option remote-host 10.10.1.211     # IP address of the remote brick
  option remote-port 6996              # default server port is 6996
  option remote-subvolume iothreads        # name of the remote volume
# option transport-timeout 4
end-volume

volume afrbricks
  type cluster/afr
  subvolumes  client_211
  option replicate *:1
  option self-heal on
end-volume

volume iothreads    #iothreads can give performance a boost
   type performance/io-threads
   option thread-count 8
   subvolumes afrbricks
end-volume

Regards,
Raja Krishnan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081125/c3e06283/attachment.html>


More information about the Gluster-users mailing list