1833873 Members
2871 Online
110063 Solutions
New Discussion

.nfs file

 
SOLVED
Go to solution

.nfs file

Hi there,
Some files named like .nfs(andsom numbers following that) is being created Under my NFSmounted directory.
(and very big in size),

Any idea about what causes this?

thanks..
it's all a game
5 REPLIES 5
John Dvorchak
Honored Contributor

Re: .nfs file

When you say "nfs mounted directory" does that mean that your machine is mounting a filesystem from some other machine, or the other way around? Who owns the files? One the owner is determined, I would query that person.
If it has wheels or a skirt, you can't afford it.
S.K. Chan
Honored Contributor

Re: .nfs file

What happened is if someone deleted a file (that's still being accessed or open by some process/application) that was NFS mounted from a FS, that file will be renamed to .nfsXXXXX . This file will remain on your system until the application that opens it at the first place terminate. Sometimes this doesn't happen, meaning the .nfsXXXX remains even though the process that access to it has ended. In such case you can simply delete that file. It is best that you find out what's the nature of that file, checking the content may give you a hint and which process is likely to access to it so that you can terminate that process to close the file, then delete that file.
Armin Kunaschik
Esteemed Contributor

Re: .nfs file

Hi there,

I saw this on HP-UX 11.00 mounting Netapp-Filer.
The problem appeared mostly when Java programs where used so the application seems to be somewhat involved... but not only.
But updating to the latest NFS patchlevel (and Ontap on Netapp)
reduced the problem, even though it did not completely remove it.
We ended up in a root cronjob that deletes the files.

If there's a better solution, please tell me! :-)

Armin
And now for something completely different...
IT Response
Esteemed Contributor
Solution

Re: .nfs file

Hi,

Heres a good explanation of that from the ITRC Knowledge Base, document i.d. KBAN00000887

Re: .nfs file

Thanks to all,
I think I've fixed the problem...
regards...
it's all a game