Re: Stale NFS handles on 2.4.2

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Sun Feb 25 2001 - 04:25:10 EST


On Saturday February 24, dfries@umr.edu wrote:
[problem summary: After restarting knfsd server on 2.4.2, client
                  reports Stale NFS file handle]

> On Sun, Feb 25, 2001 at 04:43:46PM +1100, Neil Brown wrote:
> > So check that /etc/exports contains the right info.
> > Check that /var/lib/nfs/rmtab lists the filesystems and clients that
> > you expect to have access, and then run "exportfs -av"
>
> checked, verified, re-exported, still Stale NFS file handle on client.
> I also used tcpdump on server and when I do ls on my home directory
> (this is where I see the Stale NFS message), it does not generate any
> network traffic. It can't be the server if the client isn't asking
> for it.

Verrry odd. I can see why you were suspecting a cache.
I'm probably going to have to palm this off to Trond, the NFS client
maintainer (are you listening Trond?) but could please confirm that
from the client you can:

 1/ ping server
 2/ rpcinfo -p server
 3/ showmount -e server
 4/ mount server:/exported/filesys /some/other/mount/point

If all of these work, them I am mistified. If one of these fails,
then that might point the way to further investigation.

NeilBrown

>
> > > Both server and client are running 2.4.2.
> > >
> > > I'ved tried `mount /home -o remount`, and reading lots of other
> > > directories to flush out that entry if it was in cache without any
> > > results.
> > >
> > > I was hopping to avoid unmounting, as I would have to shut about
> > > everything down to do that.
>
> --
> +---------------------------------+
> | David Fries |
> | dfries@umr.edu |
> +---------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 28 2001 - 21:00:09 EST