Red Hat Bugzilla – Bug 59037
showmount <host> displays hosts that are no longer using exports
Last modified: 2005-10-31 17:00:50 EST
Description of Problem:
showmount returns the hostname for a client that
no longer has the
exported directory mounted.
Jan 29 14:00:55 iccthedral
rpc.mountd: authenticated unmount request from 172.16.47.172:886 for /opt/mp3
Jan 29 14:01:00 iccthedral rpc.mountd: dump request from 172.16.45.101
29 14:01:12 iccthedral rpc.mountd: dump request from
[benl@iccthedral benl]$ showmount
(dhcpd172 has address
checking the mounted filesystems on dhcpd172 confirms that
indeed umounted the exported filesystem from the server
number of selected component (if applicable):
Which kernel is this?
Showmount consults the file /var/lib/nfs/rmtab to determine which clients are
mounting partitions from the server. It looks like this file has become
/var/lib/nfs/rmtab is supposed to be updated whenever a mount/umount request
takes place, but can become corrupted if the client has a partition mounted from
the server and reboots without explicitly unmounting it.
Try clearing out the rmtab file, and let me know if the problem reoccurs.
OK. I must not have unmounted the filesystem before shutting down...
I'm closing as NOTABUG since I can't reproduce this using the steps
you provide above.
/var/lib/nfs/rmtab is updated as expected when the 'unmount' command is issued
on the client. showmount *does* reflect this.