--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: mount: umount parser for /proc/mounts broken on stale nfs mount (gets renamed to "/mnt/point (deleted)")
- From: Florian Lohoff <f@zz.de>
- Date: Wed, 05 Jun 2013 11:11:29 +0200
- Message-id: <20130605091129.12658.91672.reportbug@p2.zz.de>
Package: mount
Version: 2.20.1-5.3
Severity: normal
Dear Maintainer,
* What led up to the situation?
Mount nfs - suspend/disable networking -> NFS Mount is broken, Server unreachable.
Kernel renames mountpoint to "/mnt/point (deleted)" (see fs/dcache.c in linux kernel)
which is a bug in itself.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Nothing - i found no way of unmounting the now broken NFS.
This is the result in /proc/mounts:
flo@p2:~$ cat /proc/mounts | grep nfs4
pobox:/scratch/local /scratch/pobox\040(deleted) nfs4 rw,nosuid,nodev,noexec,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.177.145,minorversion=0,local_lock=none,addr=192.168.177.1 0 0
Trying to unmount /scratch/pobox returns:
is not mounted (according to mtab)
because /etc/mtab is a link to /proc/mounts which
now contains garbage.
Trying to unmount "/scratch/pobox\040(deleted)"
returns the same.
There is no way to unmount the nfs share.
Flo
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mount depends on:
ii libblkid1 2.20.1-5.3
ii libc6 2.13-38
ii libmount1 2.20.1-5.3
ii libselinux1 2.1.9-5
ii libsepol1 2.1.4-3
mount recommends no packages.
Versions of packages mount suggests:
ii nfs-common 1:1.2.6-3
-- no debconf information
--- End Message ---