### file: client-volume.spec.sample ############################################## ### GlusterFS Client Volume Specification ## ############################################## #### CONFIG FILE RULES: ### "#" is comment character. ### - Config file is case sensitive ### - Options within a volume block can be in any order. ### - Spaces or tabs are used as delimitter within a line. ### - Each option should end within a line. ### - Missing or commented fields will assume default values. ### - Blank/commented lines are allowed. ### - Sub-volumes should already be defined above before referring. ### Add client feature and attach to remote subvolume volume glfsd115-250GB-truecrypt type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host dell115 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a reply # from server for each request option remote-subvolume iothreads # name of the remote volume end-volume # on abit101 volume namespace-child type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host vm48 # IP address of the remote brick option remote-port 6996 # default server port is 6996 option remote-subvolume iothreads-brick-namespace # name of the remote volume end-volume volume glfsd48-750GB-101SATAp0 type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host vm48 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a reply # from server for each request option remote-subvolume iothreads-brick # name of the remote volume end-volume volume glfsd49-40GB-118IDEss type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host vm49 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a reply # from server for each request option remote-subvolume iothreads # name of the remote volume end-volume volume glfsd128-500GB-128IDEss type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host device128 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a reply # from server for each request option remote-subvolume iothreads # name of the remote volume end-volume volume glfsd129-750GB-IDEps type protocol/client option transport-type tcp/client # for TCP/IP transport option remote-host host129 # IP address of the remote brick # option remote-port 6996 # default server port is 6996 # option transport-timeout 30 # seconds to wait for a reply # from server for each request option remote-subvolume iothreads # name of the remote volume end-volume volume afr type cluster/afr subvolumes glfsd49-40GB-118IDEss glfsd48-750GB-101SATAp0 glfsd115-250GB-truecrypt glfsd128-500GB-128IDEss glfsd129-750GB-IDEps option replicate *:2 end-volume volume bricks type cluster/unify option namespace namespace-child # Additional "management" Brick subvolumes afr # Round Robin option scheduler rr # ALU #option scheduler alu #option alu.limits.min-free-disk 6GB #option alu.limits.max-open-files 10000 #option alu.order disk-usage:read-usage:write-usage:open-fles-usage:disk-speed-usage #option alu.disk-usage.entry-threshold 2GB #option alu.disk-usage.exit-threshold 60MB #option alu.open-files-usage.entry-threshold 1024 #option alu.open-files-usage.exit-threshold 32 #option alu.stat-refresh.interval 10sec end-volume ## Add writeback feature volume writeback type performance/write-behind option aggregate-size 131072 # unit in bytes subvolumes bricks end-volume ### Add readahead feature volume readahead type performance/read-ahead option page-size 65536 # unit in bytes option page-count 16 # cache per file = (page-count x page-size) subvolumes writeback end-volume ## Add stat-prefetch feature ## If you are not concerned about performance of interactive commands ## like "ls -l", you wouln't need this translator. # volume statprefetch # type performance/stat-prefetch # option cache-seconds 2 # timeout for stat cache # subvolumes readahead # end-volume # Try to get NFS re-export working, Do i need this? #volume server # type protocol/server # option transport-type tcp/server # For TCP/IP transport # subvolumes readahead # option auth.ip.readahead.allow * # Allow access to "brick" volume #end-volume