volume client-ns type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host 192.168.13.2 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a response # from server for each request option remote-subvolume name_space # name of the remote volume end-volume volume client11 type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host 192.168.13.2 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a response # from server for each request option remote-subvolume brick1 # name of the remote volume end-volume volume client12 type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host 192.168.13.2 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a response # from server for each request option remote-subvolume brick2 # name of the remote volume end-volume volume client21 type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host 192.168.13.4 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a response # from server for each request option remote-subvolume brick1 # name of the remote volume end-volume volume client22 type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host 192.168.13.4 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a response # from server for each request option remote-subvolume brick2 # name of the remote volume end-volume volume client31 type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host 192.168.13.5 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a response # from server for each request option remote-subvolume brick1 # name of the remote volume end-volume volume client32 type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host 192.168.13.5 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a response # from server for each request option remote-subvolume brick2 # name of the remote volume end-volume volume client41 type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host 192.168.13.7 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a response # from server for each request option remote-subvolume brick1 # name of the remote volume end-volume volume client42 type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host 192.168.13.7 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a response # from server for each request option remote-subvolume brick2 # name of the remote volume end-volume volume afr1 type cluster/afr subvolumes client11 client21 option debug off # turns on detailed debug messages # in log by default is debugging off option self-heal on # turn off self healing default is on end-volume volume afr2 type cluster/afr subvolumes client31 client41 option debug off # turns on detailed debug messages # in log by default is debugging off option self-heal on # turn off self healing default is on end-volume volume afr3 type cluster/afr subvolumes client12 client22 option debug off # turns on detailed debug messages # in log by default is debugging off option self-heal on # turn off self healing default is on end-volume volume afr4 type cluster/afr subvolumes client32 client42 option debug off # turns on detailed debug messages # in log by default is debugging off option self-heal on # turn off self healing default is on end-volume volume stripe1 type cluster/stripe option block-size 1MB #default size is 128KB subvolumes afr1 afr2 end-volume volume stripe2 type cluster/stripe option block-size 1MB #default size is 128KB subvolumes afr3 afr4 end-volume volume bricks type cluster/unify subvolumes stripe1 stripe2 option namespace client-ns option scheduler rr end-volume ### Add io-threads feature volume iot type performance/io-threads option thread-count 1 # deault is 1 option cache-size 16MB #64MB subvolumes bricks #stripe #afr #bricks end-volume ### Add readahead feature volume readahead type performance/read-ahead option page-size 1MB # unit in bytes option page-count 4 # cache per file = (page-count x page-size) subvolumes iot end-volume ### Add IO-Cache feature volume iocache type performance/io-cache option page-size 256KB option page-count 8 subvolumes readahead end-volume ### Add writeback feature volume writeback type performance/write-behind option aggregate-size 1MB #option flush-behind off option window-size 3MB # default is 0bytes # option flush-behind on # default is 'off' subvolumes iocache end-volume