On 09/07/2014 11:11 PM, NeilBrown wrote:
Hi Nathan, you don't say what kernel you are running.... A change was
made in Linux 3.12 (8033426e6bdb2690d302872ac1e1fadaec1a5581) which
may address the problem you have. So if you are using a kernel older
than that, try a newer kernel. This may not make "umount -f" work, but
it should stop it from hanging. To make it work you might need to kill
all the processes using the mount point first. Also, "umount -l" might
be a suitable answer to your problems. NeilBrown
Hi Neil,
Thanks for the quick reply. The fileserver I ran into this issue on is
running a relatively old kernel:
Linux version 3.0.0-12-server (buildd@crested) (gcc version 4.6.1
(Ubuntu/Linaro 4.6.1-9ubuntu3) ) #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011
I haven't tried umount -f on a recent kernel with a stalled hard mounted
nfs share yet, but it's great to know that the issue is resolved :)
I was mostly reporting the issue in case it wasn't resolved, and also
creating some documentation in the mailing list in case anybody needed
to unmount a stalled nfs share in the future and needed a way to do it.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html