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

Re: Unmount a busy NFS share

Frank Blendinger wrote:

> On Sun, Jun 18, 2006 at 03:10:56PM +0200, Bernd Schubert wrote:
>> >> Just try 'lsof |grep mothermole'.
>> > 
>> > This hangs, just as my try with fuser did.
>> Hmm, this sounds as if /mothermole is in your PATH, LD_LIBRARY_PATH or
>> whatever. Can you check this? If you don't find anything, try to strace
>> lsof and see where it hangs.
> No, it's definitely neither in my $PATH nor in my $LD_LIBRARY_PATH.



> So there are some system calls with /mothermole as argument, and then it

Where does /mothermole come from? Did you grep for mothermole
or /mothermole?

> hangs, as expected. Can I still somehow find out, which processes are
> waiting?

Usually lsof does the trick, something very odd is going on on this system.
You could still write your own script reading all the
links /proc/{proc_ids}/fd. Actually I thought lsof would do the same.


> It is really annoying that a NFS client can be brought into such
> troubles and there is no sensible way to resolve it.

Well, with recent kernels this shouldn't happen. Being in a theoretical
chemistry group and due to long term calculations we often also can't
simply reboot a system. In the past 2 years a reboot of linux clients was
usually only required when our failover server didn't taker over properly
(actually it didn't mount properly and then exported the wrong directory,
for the clients with their / from this server this caused some problems,
especially since we also enforce the fsid)


Reply to: