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

chris at velocityservers.com.au chris at velocityservers.com.au
Sun Oct 19 00:08:29 UTC 2008


Glusterfs version 1.3.10

Krishna Srinivas wrote:
> Chris,
> Which glusterfs version are you using?
> Krishna
>
> On Sat, Oct 18, 2008 at 10:52 PM, chris at velocityservers.com.au
> <chris at velocityservers.com.au> wrote:
>   
>> 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.
>>
>>
>>
>> _______________________________________________
>> Gluster-devel mailing list
>> Gluster-devel at nongnu.org
>> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>>
>>     
>
>
>
>   





More information about the Gluster-devel mailing list