## file auto generated by /bin/glusterfs-volgen (mount.vol)
# Cmd line:
# $ /bin/glusterfs-volgen --name repstore1 --raid 1 192.168.1.17:/fs/mail 192.168.1.16:/fs/mail

# RAID 1
# TRANSPORT-TYPE tcp
volume 192.168.1.17-1
    type protocol/client
    option transport-type tcp
    option remote-host 192.168.1.17
    option transport.socket.nodelay on
    option transport.remote-port 6996
    option remote-subvolume brick1
end-volume

volume 192.168.1.16-1
    type protocol/client
    option transport-type tcp
    option remote-host 192.168.1.16
    option transport.socket.nodelay on
    option transport.remote-port 6996
    option remote-subvolume brick1
end-volume

volume mirror-0
    type cluster/replicate
    option read-subvolume 192.168.1.16
    subvolumes 192.168.1.17-1 192.168.1.16-1
end-volume

volume readahead
    type performance/read-ahead
    option page-count 4
    subvolumes mirror-0
end-volume

volume iocache
    type performance/io-cache
    option cache-size `echo $(( $(grep 'MemTotal' /proc/meminfo | sed 's/[^0-9]//g') / 5120 ))`MB
    option cache-timeout 1
    subvolumes readahead
end-volume

volume quickread
    type performance/quick-read
    option cache-timeout 20
    option max-file-size 1024kB
    subvolumes iocache
#    subvolumes mirror-0
end-volume

volume writebehind
    type performance/write-behind
    option cache-size 12MB
    subvolumes quickread
end-volume

volume statprefetch
    type performance/stat-prefetch
    subvolumes writebehind
end-volume