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=
--secure-mgmt=
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@xxxxxxxxxxx [mailto:gluster-users-bounces@xxxxxxxxxxx] På vegne af Andreas Hollaus
Sendt: 10. april 2015 16:28
Til: Vijay Bellur; Ravishankar N
Cc: gluster-users@xxxxxxxxxxx
Emne: Re: 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@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users