|
|
|
@ -280,7 +280,7 @@ public class SetVolume {
|
|
|
|
|
if (new VolumeInfo().getVolumeStatus(volumeName).equals("Stopped")) {
|
|
|
|
|
log.error("3502 the volume is already stoped");
|
|
|
|
|
System.out.println("3502 the volume is already stoped");
|
|
|
|
|
return -1;
|
|
|
|
|
return 0;
|
|
|
|
|
} else {
|
|
|
|
|
String command = "echo -e \"y\"| gluster volume stop " + volumeName;
|
|
|
|
|
List<String> reStrings = Constant.ganymedSSH.execCmdWaitAcquiescent(command);
|
|
|
|
|