Re: Can't unmount broken nfs mount

Karel Zak
2014-02-11T09:30:32Z

On Mon, Feb 10, 2014 at 06:25:05PM -0500, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Forwarding from debian bug #711183:
>
> User reports that a broken nfs mount has its mounted directory in
> /proc/mounts renamed from /foo to /foo\040(deleted) when an nfs mount
> is broken due to an unreachable server, and this prevents unmounting
> it since umount can not find "/foo" in /proc/mounts. Is this a kernel
> bug, or something that umount needs to work around?

I don't think this is a kernel bug, we already support "(deleted)" for
/proc/swaps in libmount. All we need is to improve libmount/src/tab_parse.c
to supports this suffix in mount tables too.

Karel

--
Karel Zak <kzak@redhat.com>