- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lockf not working
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
04-20-2006 01:58 AM
04-20-2006 01:58 AM
lockf not working
I have mounted a filesystem from remote server by using NFS. My application is trying to do lockf against one file in this remote filesystem and it dowsn't seems to be working. Has anyone faced such issue before. I don't know actual error code as it is done by application.
TIA
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 02:09 AM
04-20-2006 02:09 AM
Re: lockf not working
For this to work, the remote filesystem need to be running NFS v4, which for HP-UX only ships for 11.23 11i v2.
NFS 3 is not capable of handling locks like this. See Dave Olker's NFS book for more on this.
A modern Linux box will support the NFS locking you need.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 02:13 AM
04-20-2006 02:13 AM
Re: lockf not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 02:24 AM
04-20-2006 02:24 AM
Re: lockf not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 02:24 AM
04-20-2006 02:24 AM
Re: lockf not working
Hi,
Thanks for reponses. I have exported this filesystem to two systems (ServerA and ServerB). Bothe ServerA and ServerB are accessing same remote filesystem and running same application. In one server lockf is working and application is starting properly, in the other it just hang, application does not start properly.
NFS server Unix ver is 11.11.
I have to assume the actual error till app support enables the application debug logging.
Months back it occured and a reboot of NFS client solved the problem, but now I don't want to adopt the same method.
All suggestions are welcomed.
TIA
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 02:40 AM
04-20-2006 02:40 AM