[Gluster-users] Non-interactive GlusterFS commands

Ravishankar N ravishankar at redhat.com
Fri Apr 10 14:21:02 UTC 2015



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)?

Yes, you can pass the `--mode=script` switch to the gluster commands.

-Ravi
> I know about pipes, but I'd prefer to avoid them in this case.
>
>
> Regards
> Andreas
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list