Bug 762776 (GLUSTER-1044) - '--xlator-option' is not working
Summary: '--xlator-option' is not working
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1044
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: All
low
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-02 18:13 UTC by Amar Tumballi
Modified: 2015-12-01 16:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Amar Tumballi 2010-07-02 18:13:34 UTC
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.

Comment 1 Anand Avati 2010-07-06 09:58:40 UTC
PATCH: http://patches.gluster.com/patch/3523 in master (allocate space for '\0' in string, while adding xlator-option)


Note You need to log in before you can comment on or make changes to this bug.