### Export volume "brick" with the contents of "/home/export" directory. volume brick type storage/posix # POSIX FS translator option directory /BRICK # Export this directory end-volume volume brick-namespace type storage/posix # POSIX FS translator option directory /BRICK-namespace # Export this directory end-volume volume iothreads-brick # iothreads can give performance a boost type performance/io-threads option thread-count 8 subvolumes brick end-volume volume iothreads-brick-namespace # iothreads can give performance a boost type performance/io-threads option thread-count 8 subvolumes brick-namespace end-volume ### Add network serving capability to above brick. volume server type protocol/server option transport-type tcp/server # For TCP/IP transport # option bind-address 192.168.1.10 # Default is to listen on all interfaces # option listen-port 6997 # Default is 6996 # option client-volume-filename /etc/glusterfs/glusterfs-client.vol #subvolumes iothreads subvolumes iothreads-brick iothreads-brick-namespace # NOTE: Access to any volume through protocol/server is denied by # default. You need to explicitly grant access through # "auth" # option. option auth.ip.iothreads-brick.allow * # Allow access to "brick" volume option auth.ip.iothreads-brick-namespace.allow * # Allow access to "brick" volume end-volume