[Gluster-devel] Weird AFR behaviour with combination of local storage bricks and remote volumes
Sam Douglas
sam.douglas32 at gmail.com
Wed Dec 12 00:42:26 UTC 2007
Hello
With both 1.3.7 and TLA:
I have a test AFR setup along the lines of:
###
volume brickA
type storage/posix
option directory /stuff/brickA
end-volume
volume clientA
type protocol/client
option transport-type tcp/client
option remote-host 10.0.0.1 # On some other system
option remote-subvolume brickA
end-volume
volume afrA
type cluster/afr
option replicate *:2
subvolumes brickA clientA
end-volume
volume server
# exports brickA and afrA
end-volume
###
When a client mounts the AFR volume, files are not created on the
storage/posix volume, only on the client volume. Symlink, mknod etc.
still work.
Adding a debug/trace over the storage/posix shows that lookup and symlink fops
are being called on the brick, but no readv/writev and open calls.
If another protocol/client translator is added that connects to the
exported storage
volume via the server, then everything works as expected.
Any clues?
-- Sam Douglas
More information about the Gluster-devel
mailing list