- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- .nfs files
Operating System - HP-UX
1819803
Members
3205
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 03:38 AM
тАО08-12-2004 03:38 AM
.nfs files
My software engineers are trying to install a new version of Mentor Graphics. When they do
".nfs_" executable files are being generated in the install directory.
Anyone know what they are and why the are being created?
".nfs_" executable files are being generated in the install directory.
Anyone know what they are and why the are being created?
Indecsion is the key to flexibility
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 03:54 AM
тАО08-12-2004 03:54 AM
Re: .nfs files
Hi Carl,
If you're referring to .nfs##### files, then I can tell you what these are. They are files that were being accessed by multiple NFS client processes at the time that one process tried to remove the file.
Here is a typical scenario:
Two processes, procA and procB, are running on an NFS client. procA begins accessing fileX. Then procB starts accessing fileX as well.
Now procA decides that it wants to delete fileX, so it issues a remove command. The kernel on the NFS client is smart enough to realize that it should not remove fileX in this case because procB still has references to it. Instead of sending a REMOVE call to the server, the client sends a RENAME call to change the name of the file to ".nfs#####".
The result of this RENAME call is that the file still exists on the server, so procB can continue accessing it, but any new process that comes along, say procC, will not find the original file in the directory.
Finally, when procB gives up all of its references to the .nfs##### file, the client's kernel sends a REMOVE to the server to delete this file.
That's how the files get created, and how they are supposed to be deleted. If you're finding .nfs##### files on your server after all of the client processes are gone then you may be seeing a known buffer cache problem that has been fixed.
PHKL_20335 has a fix for a problem:
( SR: 8606106466 DTS: JAGab75600)
Unlinked files within NFS filesystems sometimes leave behind .nfsXXX files which are unremovable until after the system is rebooted.
Bottom line, I would not go around deleting any .nfs##### files on the server willy nilly because you might be deleting a file that a remote NFS client process is still accessing, and that would cause the client to receive a STALE file handle error.
However, if you know that the .nfs##### files on the server are not being accessed by the client then and are remaining around, then I recommend you look into getting the latest NFS and VM/PM kernel patches installed on your system to address any known problems that result in .nfs##### files being mistakenly left around.
I hope this helps,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
If you're referring to .nfs##### files, then I can tell you what these are. They are files that were being accessed by multiple NFS client processes at the time that one process tried to remove the file.
Here is a typical scenario:
Two processes, procA and procB, are running on an NFS client. procA begins accessing fileX. Then procB starts accessing fileX as well.
Now procA decides that it wants to delete fileX, so it issues a remove command. The kernel on the NFS client is smart enough to realize that it should not remove fileX in this case because procB still has references to it. Instead of sending a REMOVE call to the server, the client sends a RENAME call to change the name of the file to ".nfs#####".
The result of this RENAME call is that the file still exists on the server, so procB can continue accessing it, but any new process that comes along, say procC, will not find the original file in the directory.
Finally, when procB gives up all of its references to the .nfs##### file, the client's kernel sends a REMOVE to the server to delete this file.
That's how the files get created, and how they are supposed to be deleted. If you're finding .nfs##### files on your server after all of the client processes are gone then you may be seeing a known buffer cache problem that has been fixed.
PHKL_20335 has a fix for a problem:
( SR: 8606106466 DTS: JAGab75600)
Unlinked files within NFS filesystems sometimes leave behind .nfsXXX files which are unremovable until after the system is rebooted.
Bottom line, I would not go around deleting any .nfs##### files on the server willy nilly because you might be deleting a file that a remote NFS client process is still accessing, and that would cause the client to receive a STALE file handle error.
However, if you know that the .nfs##### files on the server are not being accessed by the client then and are remaining around, then I recommend you look into getting the latest NFS and VM/PM kernel patches installed on your system to address any known problems that result in .nfs##### files being mistakenly left around.
I hope this helps,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 03:59 AM
тАО08-12-2004 03:59 AM
Re: .nfs files
Thanks, that is precisely what was happening.
Appreciate the quick response.
Appreciate the quick response.
Indecsion is the key to flexibility
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2004 04:57 AM
тАО08-12-2004 04:57 AM
Re: .nfs files
Hi Carl,
I'm glad I was able to help you.
One thing you might consider is marking my previous response as a "correct" answer so that other ITRC forum members experiencing this same .nfs##### file issue will know that this thread contains useful information that may help them resolve the same problem.
I know from years of supporting NFS that seeing .nfs##### files is a common issue, so this question will likely come up again in the future.
Just a thought...
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
I'm glad I was able to help you.
One thing you might consider is marking my previous response as a "correct" answer so that other ITRC forum members experiencing this same .nfs##### file issue will know that this thread contains useful information that may help them resolve the same problem.
I know from years of supporting NFS that seeing .nfs##### files is a common issue, so this question will likely come up again in the future.
Just a thought...
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP