NFS and Mac OS X Server

Lance Westerhoff lance at quantumbioinc.com
Fri Sep 14 13:03:13 PDT 2007


Hi Mike-

On Sep 14, 2007, at 1:09 PM, Mike Mackovitch wrote:

> On Fri, Sep 14, 2007 at 11:22:00AM -0400, Lance Westerhoff wrote:
>>
>> The plot thickens!  So once I successfully delete the directory by  
>> logging
>> into the osx_server, anything further done to this now-non-existent
>> directory (such as trying to create a file/directory with the same  
>> name)
>> yields a "Stale NFS" or "File exists" error.  So from the beginning:
>>
>> [user at rh_client ~]$ rm -rf directory/
>> rm: cannot remove directory `directory/': Device or resource busy
>
> I can't say that I've ever seen that particular error.
> It would be interesting to see if that error code is being
> explicitly returned by the server (or if it's something the
> client is coming up with).


It happens more times then it does not when it comes to directories.   
I'm actually beginning to wonder if it might be a problem with the  
clients in general.  In fact, I went ahead and updated one of them  
using RH's handy-dandy (and expensive) update tool, and sure enough,  
the problems seem to be disappearing on that machine...I just did the  
update so I don't really want to go all the way yet and update the  
entire group.  The update included a new version of autofs which  
might take care of the whole set of issues since one of the problems  
of the old autofs was invalidation of mount points (another problem I  
certainly saw!) and as far as I can tell, this version now works.

That problem has gone away for this particular client (so no more  
static /etc/fstab entries) and I am able to rm the directories that  
the other client was unable to address.

I'm checking out some other tests before I update them all.

-Lance



More information about the MacOSX-admin mailing list