>glusterfs по моему требует клиента, то есть два сервера+ клиент Конфиг клиента
volume remote1
type protocol/client
option transport-type tcp
option remote-host ubuntu.avto.krsn.ru # IP address of the remote brick
option remote-subvolume brick # name of the remote volume
end-volume
volume remote2
type protocol/client
option transport-type tcp
option remote-host test2.avto.krsn.ru
option remote-subvolume brick
end-volume
volume replicate
type cluster/replicate
subvolumes remote1 remote2
end-volume
volume writebehind
type performance/write-behind
option window-size 1MB
subvolumes replicate
end-volume
volume cache
type performance/io-cache
option cache-size 512MB
subvolumes writebehind
end-volume
Конфиг сервера
volume posix
type storage/posix # POSIX FS translator
option directory /home/data/export # Export this directory
end-volume
volume locks
type features/locks
subvolumes posix
end-volume
volume brick
type performance/io-threads
option thread-count 8
subvolumes locks
end-volume
volume server
type protocol/server
option transport-type tcp
subvolumes brick
option auth.addr.brick.allow 192.168.9.* # Allow access to "brick" volume
end-volume
Монтирую я таким образомЖ
mount -t glusterfs /etc/glusterfs/glusterfs.vol /mnt/shared
Если на одном сервере отключить службу gluster то каталог /mnt/shared не доступен. Это нормально?