Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Neil Brown
On Sunday March 13, [EMAIL PROTECTED] wrote: > > You'll rather want to ask Neil Brown about why subtree_check is still > the default for knfsd. He is the NFS server maintainer. Apathy? No-one has complained loudly enough or long enough or sent me a patch, and it simply isn't a priority for me. (a

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Daniel Jacobowitz
On Sun, Mar 13, 2005 at 07:50:09PM -0500, Trond Myklebust wrote: > Sorry, but you should _never_ have gotten an ESTALE error if the file > was not in use when you deleted the old copy of glibc. A fresh call to > open() will always result in a new lookup of the filehandle. > What may have happened i

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Trond Myklebust
su den 13.03.2005 Klokka 19:35 (-0500) skreiv Daniel Jacobowitz: > On Sun, Mar 13, 2005 at 03:42:29PM -0500, Trond Myklebust wrote: > > su den 13.03.2005 Klokka 15:04 (-0500) skreiv Daniel Jacobowitz: > > > > > I can't find any documentation about this, but it seems like the same > > > problem tha

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Daniel Jacobowitz
On Sun, Mar 13, 2005 at 03:42:29PM -0500, Trond Myklebust wrote: > su den 13.03.2005 Klokka 15:04 (-0500) skreiv Daniel Jacobowitz: > > > I can't find any documentation about this, but it seems like the same > > problem that has been causing me headaches lately; when I replace glibc > > from the s

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Trond Myklebust
su den 13.03.2005 Klokka 15:42 (-0500) skreiv Trond Myklebust: > No, that's a very different issue: you are violating the NFS cache > consistency rules if you are changing a file that is being held open by > other machines. > The correct way to do the above is to use GNU install with the '-b' > op

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Trond Myklebust
su den 13.03.2005 Klokka 15:04 (-0500) skreiv Daniel Jacobowitz: > I can't find any documentation about this, but it seems like the same > problem that has been causing me headaches lately; when I replace glibc > from the server side of an nfsroot, the client has a couple of > variously wrong read

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-13 Thread Daniel Jacobowitz
On Sun, Mar 13, 2005 at 12:04:27AM -0500, Trond Myklebust wrote: > lau den 12.03.2005 Klokka 03:56 (-0800) skreiv Junfeng Yang: > > Hi, > > > > We checked NFS on top of ext3 using FiSC (our file system model checker) > > and found a case where NFS stat cache can contain inconsistent entries. > >

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-12 Thread Junfeng Yang
> This is a known problem. Turn off the (default - grrr) subtree checking > export option on the server, and it will all work properly. The subtree > checking option violates the NFS standards for filehandle generation in > so many ways, that it isn't even funny. Thanks Trond. no_subtree_check fi

Re: [CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-12 Thread Trond Myklebust
lau den 12.03.2005 Klokka 03:56 (-0800) skreiv Junfeng Yang: > Hi, > > We checked NFS on top of ext3 using FiSC (our file system model checker) > and found a case where NFS stat cache can contain inconsistent entries. > > Basically, to trigger this inconsistency, just do the following steps: > 1.

[CHECKER] inconsistent NFS stat cache (NFS on ext3, 2.6.11)

2005-03-12 Thread Junfeng Yang
Hi, We checked NFS on top of ext3 using FiSC (our file system model checker) and found a case where NFS stat cache can contain inconsistent entries. Basically, to trigger this inconsistency, just do the following steps: 1. create a file A1, write a few bytes to it, so A1 is 4 words 2. create a h