### file: client-volume.vol.sample ##################################### ### GlusterFS Client Volume File ## ##################################### #### 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 client type protocol/client option transport-type tcp # option transport-type unix # option transport-type ib-sdp option remote-host 127.0.0.1 # IP address of the remote brick # option transport.socket.remote-port 24016 # option transport-type rdma # option transport.rdma.remote-port 24016 # option transport.rdma.work-request-send-count 16 # option transport.rdma.work-request-recv-count 16 option remote-subvolume brick # name of the remote volume end-volume ### Add readahead feature #volume readahead # type performance/read-ahead # option page-count 2 # cache per file = (page-count x page-size) # subvolumes client #end-volume ### Add IO-Cache feature #volume iocache # type performance/io-cache # subvolumes readahead #end-volume ### Add writeback feature #volume writeback # type performance/write-behind # option window-size 2MB # option flush-behind off # subvolumes iocache #end-volume