[Gluster-users] Gluster CLI for non interactive mode

Vijay Bellur vbellur at redhat.com
Mon Jun 17 08:43:33 UTC 2013


On 06/14/2013 02:43 PM, Sejal1 S wrote:
> Hi All,
>
>
> I have installed Gluster ver 3.4 alpha on my Linux systems.
> Gluster CLI command for delete, stop operations prompt for user
> confirmation.
>
> I came across command parameter --mode=script to stop the prompt or
> confirmation messages.
> I tried */gluster> volume stop _home --mode=script/*
> but its failing with */Usage: volume stop <VOLNAME> [force] /*message*/./*

If you get into the readline mode through this:

gluster --mode=script,

you should not get a prompt for confirmation upon volume stop.

-Vijay





More information about the Gluster-users mailing list