Hi - I used the following command in order to build the config files: ~# glusterfs-volgen --name store1 --raid 1 gl1:/export/nunki gl2:/export/nunki Part of the generated glusterfs.vol (iocache translotor): volume iocache type performance/io-cache option cache-size `grep 'MemTotal' /proc/meminfo | awk '{print $2 * 0.2 / 1024}' | cut -f1 -d.`MB option cache-timeout 1 subvolumes readahead end-volume On some localized systems where the decimal separator is a comma, the cache-size is not configurated. Here is the log: [2010-03-26 09:46:04] E [xlator.c:309:_volume_option_value_validate] iocache: invalid size format "1600,32MB" in "option cache-size" [2010-03-26 09:46:04] E [glusterfsd.c:568:_xlator_graph_init] iocache: validating translator failed [2010-03-26 09:46:04] E [glusterfsd.c:1382:main] glusterfs: translator initialization failed. exiting Suggestion: replace by something like this: option cache-size `grep 'MemTotal' /proc/meminfo | awk '{printf "%dMB\n", $2 * 0.2 / 1024}'` Best regards, -- olecam
PATCH: http://patches.gluster.com/patch/3040 in master (Fix backtick evaluation bug in cache-size)
PATCH: http://patches.gluster.com/patch/3042 in release-2.0 (Fix backtick evaluation bug in cache-size)
PATCH: http://patches.gluster.com/patch/3041 in release-3.0 (Fix backtick evaluation bug in cache-size)