Here is a link to my startup script - it will gracefully (or forcefully) umount 
the client GlusterFS mounts on startup, shutdown, or as called.

http://pastebin.com/5w5NDe8S

Just remove the /etc/init.d/glusterd stop logic, and you should be fine.

No comments on the coding ... "Dammit Martin, I'm DOCTOR not a PROGRAMMER!" :-)

James Burnash, Unix Engineering

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Whit Blauvelt
Sent: Friday, May 06, 2011 1:44 PM
To: Martin Schenker
Cc: [email protected]
Subject: [SPAM?] Re: [Gluster-users] Best practice to stop the Gluster CLIENT 
process?
Importance: Low

Martin,

Would it work to just umount the share that the client is working through?
That is, if you have

 mount -t glusterfs localhost:/blah /mnt/blah

then

 umount /mnt/blah

should get the client out of your way, right? Doesn't take it out of the
process list, but it should be concerned with your ext4 volume after that,
that I can see.

Whit

On Fri, May 06, 2011 at 06:15:14PM +0200, Martin Schenker wrote:
> Hi all!
> 
> What's the best way to stop the CLIENT process for Gluster?
> 
> We have dual systems, where the Gluster servers also act as clients, so
> both, glusterd and glusterfsd are running on the system.
> 
> Stopping the server app. works via "/etc/init.d/glusterd stop" but the
> client is stopped how? 
> 
> I need to unmount the filesystem from the server in order to do a fsck on
> the ext4 volume; we have the "needs_recovery" flag set. But the client is
> hogging it as well due to the log files being located on the volume (might
> be a good idea to log somewhere else...)
> 
> Any pointers welcome, I find it difficult to obtain "simple" instructions
> like this from the Gluster pages.
> 
> Even google doesn't help, sigh. Or I'm too blind...
> 
> Best, Martin
_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


DISCLAIMER: 
This e-mail, and any attachments thereto, is intended only for use by the 
addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient of this e-mail, 
you are hereby notified that any dissemination, distribution or copying of this 
e-mail, and any attachments thereto, is strictly prohibited. If you have 
received this in error, please immediately notify me and permanently delete the 
original and any copy of any e-mail and any printout thereof. E-mail 
transmission cannot be guaranteed to be secure or error-free. The sender 
therefore does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission. 
NOTICE REGARDING PRIVACY AND CONFIDENTIALITY Knight Capital Group may, at its 
discretion, monitor and review the content of all e-mail communications. 
http://www.knight.com
_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to