Trouble with AFR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello list

I am having problems with my GlusterFS setup (git version). I have two systems acting as GlusterFS server and client on the same time. I used AFR on the server side and the client used RRDNS to connect to the servers. But after having data loss with that setup I moved to client side AFR. The result however is the same. I loose data. I copy one file to the target directory and everything seams to be okay. But then for no reason the file on one of the clients just has 0 bytes size and after some while the other client has as well the file with 0 byte size.

Here the used configuration files:

Server:
-----
#######################################################
###  GlusterFS Server Volume Specification          ###
#######################################################

volume gfs-ds-posix
  type storage/posix
  option directory /mnt/glusterfs/vu-hosting
  # option o-direct off
  # option export-statfs-size yes
  # option mandate-attribute yes
  # option span-devices 1
end-volume

volume gfs-ds-locks
  type features/locks
  option mandatory-locks off
  subvolumes gfs-ds-posix
end-volume

volume gfs-ds-io-threads
  type performance/io-threads
  option thread-count 8
  subvolumes gfs-ds-locks
end-volume

volume gfs-ds-server
  type protocol/server
  option transport-type tcp
  option transport.socket.listen-port 6997
  option auth.addr.gfs-ds-locks.allow 192.168.0.*,127.0.0.1
  option auth.addr.gfs-ds-io-threads.allow 192.168.0.*,127.0.0.1
  subvolumes gfs-ds-io-threads
end-volume
-----


Client:
-----
#######################################################
###  GlusterFS Client Volume Specification          ###
#######################################################

#volume gfs-ds-fuse
#  type mount/fuse
#  option direct-io-mode on
#  option macfuse-local off
#  option mount-point /var/www/vu-hosting
#  option attribute-timeout 0.0
#  option entry-timeout 0.0
#end-volume

volume gfs-ds-vu-hosting-hermes
  type protocol/client
  option transport-type tcp
  # option username
  # option password
  option remote-host 192.168.0.70
  option remote-port 6997
  option remote-subvolume gfs-ds-io-threads
  option transport-timeout 10
  option ping-timeout 5
end-volume

volume gfs-ds-vu-hosting-tisiphone
  type protocol/client
  option transport-type tcp
  # option username
  # option password
  option remote-host 192.168.0.75
  option remote-port 6997
  option remote-subvolume gfs-ds-io-threads
  option transport-timeout 10
  option ping-timeout 5
end-volume

volume gfs-ds-replicate
  type cluster/replicate
  option data-self-heal on
  option metadata-self-heal on
  option entry-self-heal on
  # option read-subvolume
  # option favorite-child
  option data-change-log on
  option metadata-change-log on
  option entry-change-log on
  option data-lock-server-count 1
  option metadata-lock-server-count 1
  option entry-lock-server-count 1
  subvolumes gfs-ds-vu-hosting-hermes gfs-ds-vu-hosting-tisiphone
end-volume

volume gfs-ds-io-threads
  type performance/io-threads
  option thread-count 8
  subvolumes gfs-ds-replicate
end-volume

volume gfs-ds-write-behind
  type performance/write-behind
  option block-size 1MB
  option cache-size 4MB
  option flush-behind on
  # opiton disable-for-first-nbytes 1
  # option enable-O_SYNC false
  subvolumes gfs-ds-io-threads
end-volume

#volume gfs-ds-read-ahead
#  type performance/read-ahead
#  option page-size 65KB
#  option page-count 16
#  option force-atime-update off
#  subvolumes gfs-ds-write-behind
#end-volume

volume gfs-ds-io-cache
  type performance/io-cache
  option page-size 4KB
  option cache-size 64MB
  option priority *:0
  option cache-timeout 1
  # subvolumes gfs-ds-read-ahead
  subvolumes gfs-ds-write-behind
end-volume
-----


GlusterFS version is:
glusterfs 2.0.0git built on Mar 30 2009 05:38:42
Repository revision: git://git.sv.gnu.org/gluster.git
Copyright (c) 2006-2009 Z RESEARCH Inc. <http://www.zresearch.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General Public License.


How can I track down and resolve the issue? Any help would be appreciated.


Steve
-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss f?r nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux