[vox-tech] stale NFS file (was: binary equivalence of two directories)

Peter Jay Salzman p at dirac.org
Thu Mar 17 08:42:52 PST 2005


On Thu 17 Mar 05,  8:03 AM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> said:
> On Thu, 17 Mar 2005, Peter Jay Salzman wrote:
> 
> [...]
> 
> > Another question (with my tail between my legs).
> > 
> > When I do this, I get many "Stale NFS file handle" messaages:
> > 
> >    $ diff -r project2/ /dvd/
> >    diff: project2/Getting Started with Corel Painter 8/data/movies/chap05: Stale NFS file handle
> >    diff: project2/Getting Started with Corel Painter 8/data/movies/chap06: Stale NFS file handle
> >    ...
> >    diff: project2/Intermediate Flash MX 2004/CD 1/Xtras: Stale NFS file handle
> >    diff: project2/Intermediate Flash MX 2004/CD 2: Stale NFS file handle
> >    diff: project2/Intermediate Flash MX 2004/readme.txt: Stale NFS file handle
> >    diff: project2/Learning Access 2003/PC Exercise: Stale NFS file handle
> >    diff: project2/Learning Access 2003/readme.txt: Stale NFS file handle
> > 
> > 
> > The DVD in question is on satan.  The directory
> > 
> >    /E/documentation/Videos/Lynda.com/project2/
> > 
> > is on lucifer, but NFS mounted onto satan.  All in all, the dvd has about
> > 4.1 GB on it, so the amount of data is non-trivial.
> > 
> > Does anyone know why this is happening?
> 
> Did you google this?

That's a silly question.

> You don't mention unmounting the NFS share on satan
> and remounting it... Google hits indicate that anytime the lucifer NFS
> service goes down (reboot?) the mounted share on satan will go stale.

Already tried that.  Didn't work.   In fact:

   p at satan$ diff -r project2/ /dvd/
   diff: project2/Home and Small Office Networking/data/movies/chap05:
         Stale NFS file handle
   (snip)
   diff: project2/Intermediate Flash MX 2004/CD 2/Xtras: Stale NFS file handle
   diff: project2/Learning Access 2003/PC Exercise: Stale NFS file handle
   diff: project2/Learning Access 2003/readme.txt: Stale NFS file handle

   p at satan$ head -1 project2/Learning\ Access\ 2003/readme.txt 
   Lynda.com.Learning.Microsoft.Access.2003-CFE            

Any file that diff reported "Stale NFS file handle", I can cat, edit, play,
etc.  All the files are accessible from satan when I do something to them.

However, when I diff -r them, I get these Stale NFS file handle errors.

Lucifer is a very fast machine.  Satan is a relatively slow machine.  The
data is going over a LAN anyhow.   Could it be some kind of synchronization
between when data is sent by the foreign machine and when it's processed by
diff?

I don't even know how to diagnose the cause.

Pete

-- 
Save Star Trek Enterprise from extinction: http://www.saveenterprise.com

GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D


More information about the vox-tech mailing list