You are not logged in.

#1 2006-03-27 14:43:55

dogbait
Member
From: London, UK
Registered: 2005-03-26
Posts: 13

System hangs when unmount samba shares

When the system reaches 'Unmounting network filesystems', it hangs for several minutes, reporting for random shares:

'Could not umount /home/user/smbshare: Device or resource busy'

I looked at what other Linux boxes do in their network filesystem scripts and they run 'umount -l'.

However, when doing that with umount in Archlinux and -t smbfs I get:

usage: smbumount mountpoint

Why does the umount with archlinux call smbumount? And how can I use the lazy flag then to prevent my system from hanging on shutdown?

Offline

#2 2006-03-29 08:39:55

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: System hangs when unmount samba shares

You could also try "lsof | grep <busy device>" to see what process is still using your Samba share. After killing the process, the umount command should work fine.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2008-01-23 18:25:48

kamagurka
Member
From: Munich, Germany
Registered: 2006-02-20
Posts: 150
Website

Re: System hangs when unmount samba shares

I have pretty much the exact same problem. I can't umount my samba share because it's busy. I can't fuser it, because I get a statting error. And lsof reports that it can't stat the share either, so I don't get information why it's busy. Weee.


I always roll 20s on my disbelieve checks.
You better believe it.

Offline

Board footer

Powered by FluxBB