Re: NFS problem with showmount -a

From: Doug Freyburger (dfreybur_at_yahoo.com)
Date: 02/21/05


Date: 21 Feb 2005 12:03:40 -0800

Ashwini wrote:
>
> showmount -a 192.168.16.82
> this gives output as
> All mount points on ASHWINI:
> *:/home/ashwini/share
> *:/home/mac
> 127.0.0.1:*
> 192.168.16.81:*

Star? I hoped for /mnt/ashwini.

> But the problem we are facing is even if the client with IP address
> 192.168.16.81 unmounts the share using "umount command", still the
> showmount -a command shows that 192.168.16.81 client is connected..
>
> The command we are using to unmount the share on client's machine is
> "umount /mnt/ashwini"
>
> Can anybody tell us where are we going wrong??
> Is it the nfs service on the client's machine causing the problem??

/etc/rmtab maintains a list of client mounts minus client
umounts. So if five years ago some client mounted your
/tmp, crashed and was rebuild, that client is still in
/etc/rmtab. After all it never got the chance to do a
umount so it never got removed from /etc/rmtab.

At one point I took up flushing /etc/rmtab with /dev/null
at boot time before the NFS service was started on all of
my NFS servers. It worked okay until I worked up to over
a year of uptime on many of them. Uptime is now usually
limited by the regular patch cycle more than any other
item.



Relevant Pages

  • Re: recent nfs change causes autofs regression
    ... If the user asks for a new mount that is read-write, ... get it - ie we should not re-use the old client handles, ... everything needs to have the same flags), THOSE PEOPLE, who want the NEW ... or deleted on the server are now extended to also include the ...
    (Linux-Kernel)
  • Re: nfsmnthelp holding up server nfsd?
    ... client to mount a filesystem increments BADCALLS a bunch. ... the server to watch nfs request, only 1 or two nfs requests come ...
    (comp.unix.aix)
  • Re: NFS UDP mounts on RELENG_6?
    ... >> afterwards the access to the filesystem on the client stalls. ... >> as I mount the FS with a TCP mount everything works as expected. ... >> The mounts worked fine on UDP when the server was 5.4-STABLE. ... > I just copied some files from a NFS Server running ...
    (freebsd-stable)
  • Re: Another try at NFS mount.
    ... *" as a test to see if clients can mount it (trying to mount this ... First I made sure that the client and server can talk. ... Then I made sure that the NFS server is running. ...
    (Ubuntu)
  • Re: recent nfs change causes autofs regression
    ... If the user asks for a new mount that is read-write, ... get it - ie we should not re-use the old client handles, ... or deleted on the server are now extended to also include the ... OPEN when it could use cached opens. ...
    (Linux-Kernel)

Quantcast