Re: umount -f /nfsmount hangs

From: Trond Myklebust
Date: Thu Aug 19 2004 - 16:27:38 EST


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?

Cheers,
Trond
-
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/