[Gluster-users] /etc/init.d/glusterfs restart for CentOS

Andrew McGill list2008 at lunch.za.net
Tue Nov 4 05:45:29 UTC 2008


On Tuesday 04 November 2008 02:20:50 m.c.wilkins at massey.ac.nz wrote:
> Hi,
>
> > stop() {
> >         echo -n $"Stopping $prog: "
> >         awk '($3 == "glusterfs" && /noauto/) { print $2 }' < /etc/fstab |
> >         while read MOUNTPOINT ; do
> >             umount -l $MOUNTPOINT
> >         done
> >         killproc /usr/sbin/glusterfsd
>
> do you really need this?  or is it just a precaution against something
> untoward happening?  i ask this, because when i do an umount, my
> glusterfsd dies anyway.
If glusterfsd is running as a server you need to kill it.  umount is 
sufficient for client only.

It is also not sufficient to kill the glusterfsd server, since that does not 
perform the umount for the kernel.

&:-)




More information about the Gluster-users mailing list