volumeglusterfs

How to stop Gluster volume forcely


according to $ gluster volume help
volume stop <VOLNAME> [force] - stop volume specified by <VOLNAME>

But even I run this accordingly.
$ gluster volume stop <VOLNAME> force
it still prompted me like
Stopping volume will make its data inaccessible. Do you want to continue? (y/n)

How could we skip this confirmation process?


Solution

  • Check whether this helps:

    echo 'y' | gluster volume stop force