[OpenIndiana-discuss] NFS hidden files

Jose-Marcio Martins da Cruz jose.marcio.mc at gmail.com
Tue Jun 5 11:22:42 UTC 2012


Sorry for the top post...

These files shouldn't be accessed by daemons other than those daemons in the NFS system. If other 
daemons are doing so, they're not respecting the NFS rules of the game.

The only thing to do with these files is to remove them after after a system crash or similar event.

James Carlson wrote:
> 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"?
>




More information about the OpenIndiana-discuss mailing list