Re: umount -f /nfsmount hangs
From: Martin J. Bligh
Date: Thu Aug 19 2004 - 16:54:07 EST
--On Thursday, August 19, 2004 17:26:31 -0400 Trond Myklebust <trond.myklebust@xxxxxxxxxx> wrote:
> På to , 19/08/2004 klokka 16:55, skreiv Martin J. Bligh:
>> NFS server has gone away, was mounted soft, intr:
>>
>> bvrgsa.ibm.com:/gsa/bvrgsa on /bvrgsa type nfs (rw,soft,intr,nfsvers=2,tcp,rsize=8192,wsize=8192,timeo=30,addr=9.47.56.70)
>>
>> but umount -f just hangs ... surely that's not the intended behaviour?
>> from Alt+SysRq+t:
>
> Works fine for me with 2.6.8.1 and the Fedora Core2 2.6.7-based kernel.
> If you physically turn off the server as opposed to just killing the
> nfsd processes, then it takes a bit longer than for the networking layer
> to time out the sock_release etc (isn't that under the control of the
> tcp_fin_timeout sysctl?), but AFAICS it does eventually get there.
>
> Are there any other details you're omitting?
Yeah, it did time out eventually and yes, the network got disconnected
rather than killing nfsd. I guess I was expecting -f to mean "Do it. Now" ...
However, the damned thing is still mounted as listed by "mount".
Viro pointed me to -l as well ... -f -l seems to work OK.
M.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/