- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS Locking: HP-UX/Linux
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
07-18-2001 08:03 AM
07-18-2001 08:03 AM
NFS Locking: HP-UX/Linux
I have a Linux file server, running kernel version 2.4, and a HP-UX client (11.00), using AutoFS (NFS PV3).
When my software (IC446, Cadence) on the HP-UX machine tries to execute a flock command, it receives the error ENOLCK. (Meaning that the System lock table is full... too many files have file locks on them etc. [See errno(2) for ENOLCK (HP man pages)].)
Things work with HP-UX client/server, but when I bring the Linux server in, that's when the problems start.
It there an equivilent mount option "no_lock" that exists under Linux for HP-UX? The "no_lock" option, to my understanding, forces the client to not use locking, which in turn, causes flock to return no error, without the file really being locked.
Could anyone shed any light on this?
Thanks in advance... --anc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2001 10:56 PM
07-18-2001 10:56 PM
Re: NFS Locking: HP-UX/Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2001 04:30 AM
07-20-2001 04:30 AM
Re: NFS Locking: HP-UX/Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 03:20 AM
06-19-2002 03:20 AM
Re: NFS Locking: HP-UX/Linux
Ciao
Klaus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 03:44 AM
06-19-2002 03:44 AM
Re: NFS Locking: HP-UX/Linux
Hi,
I would think that the sofware is calling
lockf and not flock.
Even if there was a "lo_lock" option for the
hp-ux mount command I am sure that would
not be a solution to your problem.
When a program uses file-locking you must
assume that it is needed. So disabling
file-locking while the software thinks it is
using it is no solution.
I advise you to write a small c-program
to test the file-locking mechanisme between
Linux and HP-UX.
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 06:59 AM
06-20-2002 06:59 AM
Re: NFS Locking: HP-UX/Linux
The original posting for this was in July, 2001.
However I have thought about a couple of things. Assuming all the usual attempts have been made to clear up NFS file locking issues, for example as noted in http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb27a5220af9bd5118ff10090279cd0f9,00.html
then I would suggest trying to use the undocumented -C parameter on the HP-UX rpc.lockd, to see if that clears up the issue. The -C flag is required to correct an HP-UX behavior in certain lock NLM_CANCEL case.
Hope that helps,
-> Brian Hackley