<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">If you just want to shut down one
      server in a controlled way, go ahead and /bin/shutdown. <br>
      <br>
      Take a look at /etc/rc.d/rc0.d. glusterd and glusterfsd are both
      in there and stop will be run on each. There used to be a
      glusternfs service as well that would be stopped, but apparently
      it was decided that was overkill. Once the management daemon and
      the bricks are stopped, everything else will be killed in the
      normal kill order.<br>
      <br>
      If you just want to stop the bricks, you can use 'service
      glusterfsd stop'. If you just want to kill one brick, to replace a
      hard drive for instance, you can just kill the one glusterfsd
      process for that brick.<br>
      <br>
      To start a brick or bricks on that server after its process has
      been killed, 'gluster volume start $vol force' will start it
      again.<br>
      <br>
      On 02/26/2014 12:57 AM, Xavier Hernandez wrote:<br>
    </div>
    <blockquote cite="mid:530DAC7B.1090204@datalab.es" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      Hi Viktor,<br>
      <br>
      if you want to stop gluster completely in a controlled way:<br>
      <ul>
        <li>umount all current mounted volumes</li>
      </ul>
      <blockquote>this will stop the glusterfs process for the mount
        point.<br>
      </blockquote>
      <ul>
        <li>gluster volume stop &lt;volname&gt;</li>
      </ul>
      <blockquote>this will stop the glusterfsd processes for the bricks
        of the specified volume, the glusterfs process for NFS server of
        that volume (if enabled), and the glusterfs process
        corresponding to the self-heal daemon (if all volumes on the
        same server are stopped)<br>
      </blockquote>
      <ul>
        <li>service glusterd stop</li>
      </ul>
      <blockquote>this will stop the glusterd process<br>
      </blockquote>
      After these steps there shouldn't be any gluster process running
      on any server.<br>
      <br>
      If you only want to stop all processes from one server, I don't
      know any other way than manually killing gluster processes.<br>
      <br>
      Xavi<br>
      <br>
      El 26/02/14 03:33, Viktor Villafuerte ha escrit:<br>
      <blockquote cite="mid:20140226023337.GC19796@optusnet.com.au"
        type="cite">
        <pre wrap="">Ok.. so you claim this is a feature :)
So, how do you stop Gluster when you want to stop it then?

v

On Tue 25 Feb 2014 15:31:18, Joe Julian wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Why is that a problem? Having the ability to restart management daemon without interrupting clients is a common and useful thing.

On February 25, 2014 3:23:31 PM PST, Viktor Villafuerte <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:viktor.villafuerte@optusnet.com.au">&lt;viktor.villafuerte@optusnet.com.au&gt;</a> wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Hi,

I've got the same problem here. I did a completely new installation (no
upgrades) and when I do 'service glusterd stop' and after 'status' it
gives the same message. In the meantime there are other about 5
processes
glusterfsd + 4 x glusterfs
that are still running. I can issue 'service glusterfsd stop' which
stops the 'glusterfsd' process but the others stay running. In the logs
there are 'I' messages about bricks/hosts not being available.

It seems that I'm unable to stop gluster unless I start manually
killing
processes :(

v3.4.2-1 from Gluster/latest/RHEL6/6.5


Also there other problems I can see, but I won't confuse this post with
them..

v


On Tue 25 Feb 2014 11:20:09, Khoi Mai wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">When you tried gluster3.4.2-1. did you mean you upgraded it in place
</pre>
            </blockquote>
            <pre wrap="">while 
</pre>
            <blockquote type="cite">
              <pre wrap="">glusterd was running?  Are you missing glusterfs-libs, meaning it
</pre>
            </blockquote>
            <pre wrap="">didn't 
</pre>
            <blockquote type="cite">
              <pre wrap="">upgrade with all your other glusterfs packages?  Lastly, did you
</pre>
            </blockquote>
            <pre wrap="">reboot?
</pre>
            <blockquote type="cite">
              <pre wrap="">
Khoi Mai
Union Pacific Railroad
Distributed Engineering &amp; Architecture
Project Engineer



**

This email and any attachments may contain information that is
</pre>
            </blockquote>
            <pre wrap="">confidential and/or privileged for the sole use of the intended
recipient.  Any use, review, disclosure, copying, distribution or
reliance by others, and any forwarding of this email or its contents,
without the express permission of the sender is strictly prohibited by
law.  If you are not the intended recipient, please contact the sender
immediately, delete the e-mail and destroy all copies.
</pre>
            <blockquote type="cite">
              <pre wrap="">**
</pre>
            </blockquote>
            <blockquote type="cite">
              <pre wrap="">_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
            </blockquote>
            <pre wrap="">
-- 
Regards

Viktor Villafuerte
Optus Internet Engineering
t: 02 808-25265
_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
          </blockquote>
          <pre wrap="">-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
</pre>
        </blockquote>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>