mounts hanging during shutdown of system

Joel Hammer Joel at HammersHome.com
Mon Dec 3 17:41:05 GMT 2001


I have a similar line in my network script, for the same reason.
THIS problem is different. I cannot umount those shares after the windows
machine goes down, no matter what commands I try.
Joel
On Mon, Dec 03, 2001 at 02:49:01PM -0800, Bill Parker wrote:
> 
> Joel,
> 
> 	I used to have the same problem with smbfs type mounts hanging
> until I modified /etc/rc.d/init.d/network to add in the following
> line(s):
> 
> stop)
>   [ -x /sbin/ifconfig ] || exit 5
> 
>   # unmount all smbfs shares (usually /mnt/server1) <--- added this
>   umount /mnt/server1 <--- added this (could be cleaner)
> 
>   # try to get rid of NFS-mounts etc...   
>   /etc/rc.d/init.d/netmount stop all force 
> 
> -Bill




More information about the samba mailing list