/etc/init.d/glusterfs restart for CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

&:-)



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux