[Gluster-devel] AFR problem with 2.0rc4
nicolas prochazka
prochazka.nicolas at gmail.com
Tue Mar 17 10:15:30 UTC 2009
Hello guys,
strange problem :
with rc4, afr synchronisation seems to be not work :
- If i copy a file on mount gluster, all is ok on all servers
- if i add a new server in gluster, this server create my files ( 10G
size ) , it's appear on XFS as 10G file but file does not contains
original, just some octets,
then gluster do not synchronise, perhaps because the size is same.
regards,
NP
volume brickless
type storage/posix
option directory /mnt/disks/export
end-volume
volume brickthread
type features/posix-locks
option mandatory-locks on # enables mandatory locking on all files
subvolumes brickless
end-volume
volume brick
type performance/io-threads
option thread-count 4
subvolumes brickthread
end-volume
volume server
type protocol/server
subvolumes brick
option transport-type tcp
option auth.addr.brick.allow 10.98.98.*
end-volume
-------------------------------------------
volume brick_10.98.98.1
type protocol/client
option transport-type tcp/client
option transport-timeout 120
option remote-host 10.98.98.1
option remote-subvolume brick
end-volume
volume brick_10.98.98.2
type protocol/client
option transport-type tcp/client
option transport-timeout 120
option remote-host 10.98.98.2
option remote-subvolume brick
end-volume
volume last
type cluster/replicate
subvolumes brick_10.98.98.1 brick_10.98.98.2
option read-subvolume brick_10.98.98.1
option favorite-child brick_10.98.98.1
end-volume
volume iothreads
type performance/io-threads
option thread-count 4
subvolumes last
end-volume
volume io-cache
type performance/io-cache
option cache-size 2048MB # default is 32MB
option page-size 128KB #128KB is default option
option cache-timeout 2 # default is 1
subvolumes iothreads
end-volume
volume writebehind
type performance/write-behind
option aggregate-size 128KB # default is 0bytes
option window-size 512KB
option flush-behind off # default is 'off'
subvolumes io-cache
end-volume
More information about the Gluster-devel
mailing list