[Gluster-users] Non-interactive GlusterFS commands
Atin Mukherjee
amukherj at redhat.com
Sat Apr 11 07:06:49 UTC 2015
On 04/10/2015 09:15 PM, Ravishankar N wrote:
>
> On 04/10/2015 08:24 PM, Jesper Led Lauridsen TS Infra server wrote:
>> Thanks
>>
>> This is undocumented. At least I can't find it in man-pages or in
>> 'gluster help'. Is there a place I can find undocumented parameters -
>> > if there are any others?
>
> Well,
> https://github.com/GlusterFS/glusterfs/blob/master/cli/src/cli.c#L302
> seems to support the following:
>
> --version
> --print-logdir
> --print-statedumpdir
> --xml
> --wignore
> --mode = script/interactive
> --remote-host=
> --log-file=
> --log-level=
> --glusterd-sock=
glusterd-sock is for connecting to a specific glusterd instance.
> --secure-mgmt=
I need to check out what this option is for.
>
> I'll send a patch sometime to add them in gluster(8). I'm not sure
> myself what the last two options mean . :-\
> Thanks,
> Ravi
>>
>> Thanks again
>> Jesper
>>
>> -----Oprindelig meddelelse-----
>> Fra: gluster-users-bounces at gluster.org
>> [mailto:gluster-users-bounces at gluster.org] På vegne af Andreas Hollaus
>> Sendt: 10. april 2015 16:28
>> Til: Vijay Bellur; Ravishankar N
>> Cc: gluster-users at gluster.org
>> Emne: Re: [Gluster-users] Non-interactive GlusterFS commands
>>
>> Thanks! Exactly what I wanted. :-)
>>
>> Regards
>> Andreas
>>
>> On 04/10/15 16:19, Vijay Bellur wrote:
>>> On 04/10/2015 05:24 PM, Andreas Hollaus wrote:
>>>> Hi,
>>>>
>>>> Is there any way to disable the interaction required when running
>>>> 'gluster volume stop <vol>' (for instance)?
>>>> I know about pipes, but I'd prefer to avoid them in this case.
>>>>
>>> You can use --mode=script in conjunction with any gluster command to
>>> make it non-interactive.
>>>
>>> Regards,
>>> Vijay
>>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://www.gluster.org/mailman/listinfo/gluster-users
>>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
>
--
~Atin
More information about the Gluster-users
mailing list