NFS and Mac OS X Server
Lance Westerhoff
lance at quantumbioinc.com
Fri Sep 14 08:22:00 PDT 2007
Hi All-
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
osx_server:~ user$ rm -rf directory/
[user at rh_client ~]$ touch directory
touch: setting times of `directory': Stale NFS file handle
[user at rh_client ~]$ mkdir directory
mkdir: cannot create directory `directory': File exists
Thanks!
-Lance
On Sep 14, 2007, at 11:03 AM, Lance Westerhoff wrote:
> Hi All-
>
> So this is an annoying problem and I'm not sure how to address it.
>
> I have a Mac OS X Server 10.4 box serving as my home directory
> server to a bunch of clean-install "Red Hat Enterprise Linux Client
> release 5 (Tikanga)" clients. Using nfs, all of my users are
> mounted back to the OS X box for the home directories. Most of the
> time, all is well. But occasionally, I have strange errors. Here
> is one that is particularly annoying. While sitting on one of the
> clients and I try to delete a directory....I receive the following
> error. When I login to the server, I can delete the directory with
> no problem. What's going on? Thanks!
>
> [user at rh_client ~]$ rm -rf directory/
> rm: cannot remove directory `directory/': Device or resource busy
> osx_server:~ user$ rm -rf directory/
>
> SUCCESS!
>
> Currently, the directories are statically mounted on the rh_client
> box using the following fstab:
>
> [user at rh_client ~]$ grep osx_server /etc/fstab
> osx_server:/Users /Network/Servers/osx_server/Users
> nfs defaults 0 0
>
> Thank you for any insights you can provide!
>
> -Lance
>
>
More information about the MacOSX-admin
mailing list