On Monday August 20, [email protected] wrote:
> (cc's to me appreciated)
>
> It would be really, really nice if "umount -f" against a hung NFS
> mount actually worked on Linux. As much as I hate Solaris, I
> consider it the gold standard in this case: If I say
> "umount -f /mount/that/is/hung" it just goes away, immediately, and
> anything still trying to use it dies (with EIO, I'm told).
Have you tried "umount -l"? How far is that from your requirements?
Alternately:
mount --move /problem/path /somewhere/else
umount -f /somewhere/else
umount -l /somewhere/else
might be a little closer to what you want.
Though I agree that it would be nice if we could convince all
subsequent requests to a server to fail EIO instead of just the
currently active ones. I'm not sure that just changing "umount -f" is
the right interface though.... Maybe if all the server handles
appeared in sysfs and have an attribute which you could set to cause
all requests to fail...
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]