Hide Forgot
this command line option for glusterfs is very crucial to test the volume options. What is '--xlator-option'?: --xlator-option=VOLUME-NAME.OPTION=VALUE Add/override a translator option for a volume with specified value How to test: When this option works, we should get the below log in log files: root@supernova:~# glusterfs -f /home/amar/work/specs/unittest/dht.vol --xlator-option "dht.lookup-unhashed=yes" /mnt/export root@supernova:~# grep 'gf_add_cmdline_options' /var/log/glusterfs/mnt-export.log [2010-07-02 22:19:16.107146] W [graph.c:247:gf_add_cmdline_options] dht: adding option 'lookup-unhashed' for volume 'dht' with value 'yes' NOTE: this log comes only for the proper '<VOLUME-NAME>' option given.
PATCH: http://patches.gluster.com/patch/3523 in master (allocate space for '\0' in string, while adding xlator-option)