[Gluster-users] Bypass "gluster stop" y/n question (also, python api)

Jeff Darcy jdarcy at redhat.com
Mon Aug 5 16:16:05 UTC 2013


On 08/05/2013 12:07 PM, Nux! wrote:
> I'm trying to call "gluster stop volume" from a web page, but it keep asking
> me if I really want to stop it and expects "y" or "n" which makes things
> annoying. Is there any "-y"-like parameter we can use to bypass these
> questions?
>
> Also, is there any API for python so I don't have to run system commands?

gluster --mode=script volume stop vol1



More information about the Gluster-users mailing list