Description of problem: Running "gluster volume stop gv0" not checking whether its actually running or not. It gives a promot to user, "Stopping volume will make its data inaccessible. Do you want to continue? (y/n)", irrespective of whether the volume is running or not. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a gluster volume and run it. 2. Stop the gluster volume. 3. Try running "gluster volume stop vol_name" 4. It doesn't check whether the volume is already stopped. Actual results: It doesn't check the status at first Expected results: It should check the status first. Additional info: Also, by mistake, if you give "yyes", then the prompt returns back. You need to re-run the command to actually stop the volume. Instead, it should keep the prompt and wait till the user enter yes/no/Yes/No/Y/N/y/n.
pre-release version is ambiguous and about to be removed as a choice. If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it.