Bug 59037 - showmount <host> displays hosts that are no longer using exports
showmount <host> displays hosts that are no longer using exports
Product: Red Hat Linux
Classification: Retired
Component: nfs-utils (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Pete Zaitcev
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2002-01-29 14:16 EST by Ben Levenson
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-02-04 15:06:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ben Levenson 2002-01-29 14:16:50 EST
Description of Problem:
showmount returns the hostname for a client that
no longer has the 
exported directory mounted.

from /var/log/messages:
Jan 29 14:00:55 iccthedral 
rpc.mountd: authenticated unmount request from for /opt/mp3 
Jan 29 14:01:00 iccthedral rpc.mountd: dump request from
29 14:01:12 iccthedral rpc.mountd: dump request from

[benl@iccthedral benl]$ showmount
Hosts on 
(dhcpd172 has address

checking the mounted filesystems on dhcpd172 confirms that
it has 
indeed umounted the exported filesystem from the server
in question.

number of selected component (if applicable):
Comment 1 Bob Matthews 2002-01-29 14:24:29 EST
Which kernel is this?
Comment 2 Ben Levenson 2002-01-29 14:56:10 EST
Comment 3 Bob Matthews 2002-02-04 15:06:16 EST
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.
Comment 4 Ben Levenson 2002-02-20 11:25:25 EST
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.

Note You need to log in before you can comment on or make changes to this bug.