| Summary: | '--xlator-option' is not working | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Amar Tumballi <amarts> |
| Component: | core | Assignee: | Amar Tumballi <amarts> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | mainline | CC: | gluster-bugs, vraman |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
PATCH: http://patches.gluster.com/patch/3523 in master (allocate space for '\0' in string, while adding xlator-option) |
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.