Bug 222106 - autounmountd does not remove entries in /var/db/mounttab
Summary: autounmountd does not remove entries in /var/db/mounttab
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 11.1-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2017-09-06 16:46 UTC by Matthias Oestreicher
Modified: 2017-09-09 15:13 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Oestreicher 2017-09-06 16:46:34 UTC
NFS via autofs:

Using autofs to (un)mount NFS, the 'autounmountd' does
not remove entries from /var/db/mounttab (on client) and
/var/db/mountdtab (on nfs-server) when client
disconnects after timeout.

Then running 'mount' on the client shows nfs filesystem is no longer

But looking at 'showmount' on the server, shows client still connected
even if it isn't.

- map type makes no difference 
- mount options not changed from default

no problem though using "mount -t nfs ..." and "umount"
Then those entries are removed when unmounted.

Accessing the same nfs-server from a Fedora 26 or Debian 8
client via autofs (same autofs config as on FreeBSD) then the
entry on the server in /var/db/mountdtab is removed when client

This problem has existed since 10.3.

Also new setup server/client from scratch shows same

My 2nd thread on the forum, regarding this problem: