[Gluster-users] client side afr problems?

William Hanwoody hanwoody at gmail.com
Sun Dec 7 08:43:52 UTC 2008


I have 3 servers(10.44.6.19/10.44.6.20/10.44.6.24).

server1:10.44.6.19
server2:10.44.6.20
client:10.44.6.24

in client 10.44.6.24:
#mount -t glusterfs  /etc/glusterfs/glusterfs-client.vol /mnt/gluster
# cd /mnt/gluster
# echo a > a
Then I can see file (a) in both server1(10.44.6.19) and server2(10.44.6.20).

in server2:10.44.6.20
#rm a
Then I cannot find file (a) in client. This is a problem?

in server2:10.44.6.20
# killall glusterfs
and I create some files in client:10.44.6.24.
in server2:10.44.6.20
# glusterfs -f /etc/glusterfs/glusterfs-server.vol
# ls -l
total 40
-rw-r--r-- 1 root root 9 Jan  1  1970 a.txt
-rw-r--r-- 1 root root 2 Jan  1  1970 b
-rw-r--r-- 1 root root 2 Jan  1  1970 c
-rw-r--r-- 1 root root 2 Jan  1  1970 d
-rw-r--r-- 1 root root 6 Jan  1  1970 e.txt

why file's mtime is  "Jan 1 1970"? but ctime is ok. This is a problem?


The following is my software enviroments.

# uname -a
Linux mars24 2.6.18-53.1.21.el5PAE #1 SMP Tue May 20 10:03:06 EDT 2008 i686 
i686 i386 GNU/Linux
# rpm -aq|grep gluster
glusterfs-1.3.12-1


## servers' configuration in 10.44.6.19/20
volume brick-mirror
  type storage/posix
  option directory /data1/gluster
end-volume
volume server
  type protocol/server
  option transport-type tcp/server
  option auth.ip.brick-mirror.allow *
  subvolumes brick-mirror 
end-volume

## client's configuration in 10.44.6.24
volume remote2-mirror
  type protocol/client
  option transport-type tcp/client
  option remote-host 10.43.6.20
  option remote-subvolume brick-mirror
end-volume

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

volume afr0
  type cluster/afr
  subvolumes remote2-mirror remote1-mirror
end-volume






More information about the Gluster-users mailing list