HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nfs lock question
Operating System - HP-UX
1834244
Members
1962
Online
110066
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
Go to solution
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
05-07-2008 05:04 PM
05-07-2008 05:04 PM
Hi everyone,
I setup a NFS server and 2 clients, they are both HP-UX 11.23. The file system exported from server can be mounted on clients without any issue. Then I did a test like this:
logon to both clients and edited the same file on the mounted file system at the same time; to my surprise, there is no error reported and I don't see any lock file under /var/statmon/sm in nfs server.
I think it is an error in the system. Am I right? In what situation, should I see a lock file? If it is an error, how can I fix it?
any comment is appreciated.
Thanks
Lorne
I setup a NFS server and 2 clients, they are both HP-UX 11.23. The file system exported from server can be mounted on clients without any issue. Then I did a test like this:
logon to both clients and edited the same file on the mounted file system at the same time; to my surprise, there is no error reported and I don't see any lock file under /var/statmon/sm in nfs server.
I think it is an error in the system. Am I right? In what situation, should I see a lock file? If it is an error, how can I fix it?
any comment is appreciated.
Thanks
Lorne
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2008 09:05 PM
05-07-2008 09:05 PM
Solution
Just about nothing is locked by default.
On Unix, you are suppose to use tools like rcs(1), and permissions, before you edit a file.
Some editors may tell you that the file has changed before you save it.
To get locks, the application must call lockf(2) or other fancier locks for databases.
On Unix, you are suppose to use tools like rcs(1), and permissions, before you edit a file.
Some editors may tell you that the file has changed before you save it.
To get locks, the application must call lockf(2) or other fancier locks for databases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 10:48 AM
05-08-2008 10:48 AM
Re: nfs lock question
Thanks!
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