glusterfs-server.vol ### Export volume "brick" with the contents of "/home/export" directory. #volume brick-NameSpace #volume brick-NS # type storage/posix # POSIX FS translator # option directory /HDD/sda3/Nspace # Export this directory #end-volume #volume brick-NS # type features/posix-locks # option mandatory-locks on # subvolumes brick-NameSpace #end-volume volume brick0-lock type storage/posix option directory /HDD/1 end-volume volume brick0 type features/posix-locks option mandatory-locks on subvolumes brick0-lock end-volume volume brick1-lock type storage/posix option directory /HDD/2 end-volume volume brick1 type features/posix-locks option mandatory-locks on subvolumes brick1-lock end-volume ### Add network serving capability to above brick. volume server type protocol/server option transport-type tcp # option bind-address 192.168.1.10 # Default is to listen on all interfaces # option listen-port 6996 # Default is 6996 # option client-volume-filename /etc/glusterfs/glusterfs-client.vol subvolumes brick0 brick1 option auth.addr.brick0.allow 127.0.0.*,10.10.10.* # Allow access to "brick" volume option auth.addr.brick1.allow 127.0.0.*,10.10.10.* # option auth.addr.brick-NS.allow 127.0.0.*,10.10.10.* end-volume lines 1-48/48 (END)