GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 'Interesting' NFS problem
Operating System - HP-UX
1844404
Members
3530
Online
110233
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
Forums
Discussions
Discussions
Discussions
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
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
02-02-2007 02:51 AM
02-02-2007 02:51 AM
'Interesting' NFS problem
I've got a really 'interesting' NFS problem that I've found a work-around for, but the workaround is rather a bit of a bodge.
HostA is my NFS server. Host B is my NFS client.
HostA runs program ProgA which creates a file, FileA on a local disk.
It then calls "remsh HostB ProgB". ProgB then tries to open FileA across the NFS link.
This results in the following error message (on HostA):
Error: Cannot open file FileA - Stale NFS file handle (error=70)
Now, if I put a 25 second delay between the file being created and the remsh command, ProgB successfully opens FileA and all is well. If I reduce the delay to 20 seconds, I still get the same stale file handle error. This isn't really a viable work-around.
The work-around/bodge is to put the following command before the remsh in ProgA:
remsh HostB ls -l FileA.
This generates the error:
FileA not found
But progB then runs successfully.
If anyone can explain what's happening here, I'd be grateful.
If anyone can propose a 'proper' solution, I'd be even more grateful.
Thanks,
Gary
HostA is my NFS server. Host B is my NFS client.
HostA runs program ProgA which creates a file, FileA on a local disk.
It then calls "remsh HostB ProgB". ProgB then tries to open FileA across the NFS link.
This results in the following error message (on HostA):
Error: Cannot open file FileA - Stale NFS file handle (error=70)
Now, if I put a 25 second delay between the file being created and the remsh command, ProgB successfully opens FileA and all is well. If I reduce the delay to 20 seconds, I still get the same stale file handle error. This isn't really a viable work-around.
The work-around/bodge is to put the following command before the remsh in ProgA:
remsh HostB ls -l FileA.
This generates the error:
FileA not found
But progB then runs successfully.
If anyone can explain what's happening here, I'd be grateful.
If anyone can propose a 'proper' solution, I'd be even more grateful.
Thanks,
Gary
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2007 03:11 AM
02-02-2007 03:11 AM
Re: 'Interesting' NFS problem
Almost certainly, NFS is working as designed. You are the "victim" of attribute caching. Essentially there is a tradeoff of performance vs. latency and for you latency is more important. The good bews is that you can control this. Do a man mount_nfs and pay attention to the sections describing the noac, nocto, acdirmax, acdirmin, acregmax, acregmin, and actimeo mount options.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2007 03:23 AM
02-02-2007 03:23 AM
Re: 'Interesting' NFS problem
Thanks for the pointer Clay.
The week-end begins in 7 minutes, so I'll follow this up on Monday.
Cheers,
Gary
The week-end begins in 7 minutes, so I'll follow this up on Monday.
Cheers,
Gary
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP