when i run it with : usr/local/sbin/glusterfs --log-level=DEBUG --log-file=/tmpsafe/client.log.gluster -N -s 10.98.98.1 /mnt/vdisk/
there's no error on 10.98.98.1 to mount ( 10.98.98.1 and 10.98.98.10) in afr mode.
volume 10.98.98.1
type protocol/client
option transport-type tcp/client
option remote-host 10.98.98.1
option transport.socket.nodelay on
option remote-subvolume brick
end-volume
volume 10.98.98.10
type protocol/client
option transport-type tcp/client
option remote-host 10.98.98.10
option transport.socket.nodelay on
option remote-subvolume brick
end-volume
# ------------- Create Brick Replicate definition
volume last0
type cluster/replicate
subvolumes 10.98.98.1 10.98.98.10
end-volume
# ------------- Create Distribute definition
volume last
type cluster/distribute
subvolumes last0
end-volume
volume iothreads
type performance/io-threads
option thread-count 8
subvolumes last
end-volume
volume io-cache
type performance/io-cache
option cache-size 2GB # default is 32MB
option cache-timeout 5 # default is 1
subvolumes iothreads
end-volume
volume writebehind
type performance/write-behind
option cache-size 4MB
subvolumes io-cache
end-volume