Date: Fri, 18 Oct 1996 00:55:09 -0500 (CDT) From: Karl Denninger <karl@Mcs.Net> To: michaelh@cet.co.jp (Michael Hancock) Cc: karl@Mcs.Net, freebsd-hackers@freebsd.org Subject: Re: NFS node: disappearing directory Message-ID: <199610180555.AAA11348@Jupiter.Mcs.Net> In-Reply-To: <Pine.SV4.3.93.961018143541.1217A-100000@parkplace.cet.co.jp> from "Michael Hancock" at Oct 18, 96 02:52:47 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > 1) When it fails, the up-movement works but the inode > > number is NOT seen in the FIRST component when the directory > > read is performed. (ie: the directory is > > "/user/contrib/swilson", the first component is 'swilson' > > and that is not found at the first "step-up". > > Is this remote /user mounted on local /user? This might not be relevant, > but it helps in understanding the execution path. Yes. > > Current speculation is that this is a vnode cache handling problem of some > > kind, where the vnode for the desired directory is being "flushed" but > > never reloaded into the cache. We're still investigating and searching for > > the root cause. > > But 3) says it does get reloaded. Sometimes. But if go to the "up-level" when it happens and do a "ls", you get a VERY short list (~10% of what's really there - right about 200 entries) > > An example: > > > > / - 755 > > /user - 755 > > /user/contrib - 711 > > /user/contrib/who-am-i - 700 > > > > The user is "who-am-i", and in that directory. > > > > getcwd() will return an error in this environment, as when it tries to READ > > /user/contrib to find the inode match for the "who-am-i" component it is > > unable to open that directory for this purpose. > > > > I'm doing a brain-search on ways to make it possible to protect things in > > this fashion and still have the getcwd() call succeed, but I don't know if > > its even possible. > > The above permissions work under SysV. Can you be in "who-am-i" and do a "pwd" and have it work? That does NOT work on BSD systems. -- -- Karl Denninger (karl@MCS.Net)| MCSNet - The Finest Internet Connectivity http://www.mcs.net/~karl | T1 from $600 monthly; speeds to DS-3 available | 23 Chicagoland Prefixes, 13 ISDN, much more Voice: [+1 312 803-MCS1 x219]| Email to "info@mcs.net" WWW: http://www.mcs.net/ Fax: [+1 312 248-9865] | Home of Chicago's only FULL Clarinet feed!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610180555.AAA11348>