[Gluster-devel] File size equals zero on mirrored server

chris at velocityservers.com.au chris at velocityservers.com.au
Sat Oct 18 17:22:39 UTC 2008


Hi Guys,

I am currently having an issue when I try to copy a file to the 
glusterfs storage servers through a client,  on  one server it has the 
correct filesize and on the other it has a copy of the file as Zero.

For example i copied a file called community-4.2.iso to the glusterfs 
storage mount with cp -rf c0mmunity-4.2.iso /glusterfs.

It transferred the file correctly on Server with ip 192.168.1.106 and 
filesize of 498MB , however on server 192.168.1.10 it came up with a 
filesize of 0MB.

This is my configs:

Server 1/2:

# file: /etc/glusterfs/glusterfs-server.vol
volume brick
  type storage/posix
  option directory /data/export
end-volume

volume server
  type protocol/server
  option transport-type tcp/server
  option auth.ip.brick.allow *
  subvolumes brick
end-volume

Client Vol:

volume remote1
  type protocol/client
  option transport-type tcp/client
  option remote-host 192.168.1.106
  option remote-subvolume brick
end-volume

volume remote2
  type protocol/client
  option transport-type tcp/client
  option remote-host 192.168.1.10
  option remote-subvolume brick
end-volume

volume mirror0
  type cluster/afr
  subvolumes remote1 remote2
end-volume


Could you please let me know what you think is going on.






More information about the Gluster-devel mailing list