[OpenIndiana-discuss] NFS hidden files
James Carlson
carlsonj at workingcode.com
Tue Jun 5 11:15:25 UTC 2012
Gabriele Bulfon wrote:
> Hi,
>
> On NFS mounted file systems I often happen to find daemons of the client complaining about the hidden .nfsxxx files appearing and disappearing.
> These are often annoying.
>
> Is there any way to let the server completely hide these files to the client, and just keep them on the server file system for his own duties?
No. They represent files that have been removed and are being held open
on the client. They're a required part of NFS to provide UNIX file
semantics, and the whole point of them is that they're *NOT* hidden from
the client. They wouldn't work at all if they were hidden.
Close the file, and the problem should go away, as the server will then
remove the .nfs file.
It's possible that if the system crashes, the files could be abandoned.
I suspect that's rarely the case. But you could use a cron job to find
them if you were concerned about it.
Have you tried a google search on ".nfs files"?
--
James Carlson 42.703N 71.076W <carlsonj at workingcode.com>
More information about the OpenIndiana-discuss
mailing list