- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: link-unlink problem with HP-UX NFS
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
11-20-2000 01:06 AM
11-20-2000 01:06 AM
link-unlink problem with HP-UX NFS
We have product which uses directory interface to talk other applications. The core design is given below:
Interface :
OUTGOING(dir)
|
|
----READY(dir)
|
|
-----PROCESSING(dir)
|
|
-----COMPLETED(dir)
Any file placed in the READY directory is moved to PROCESSING(using a link() to READY and unlink() from PROCESSING). Then is it opened and read. The file is closed when after some processing. Then this files is moved to COMPLETED(a link() to COMPLETED and unlink() from PROCESSING ).
Our product runs on HP-UX 10.20 and the 'other application' runs on different platforms.
Problem:
When our product is on Hp-UX10.20 and other application is running on HP-UX11.x
The second unlink(moving from PROCESSING to COMPLETED ) does not do the work. The call, however, returns success hence the error check is of no use.
This problem does not happen when we uses SunOS5.6 or HP-UX10.20. Also the same configuration which misbehaves in above testing, works well in some other machines.
Could any one through some light? Is there any patch that is required for NFS between HP-UX 11 and HP-UX 10.20?
Thanks and regards
jayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 02:33 AM
11-20-2000 02:33 AM
Re: link-unlink problem with HP-UX NFS
instead of link() and unlink() you can use on HP-UX rename()
See man rename
Perhaps this solves your problem.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2000 06:38 AM
11-20-2000 06:38 AM
Re: link-unlink problem with HP-UX NFS
You could try mounting the NFS-directory with option 'noac'.
Maybe the latest patch PHNE_22125 will fix this problem, but I am not sure (have made a call to HP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2000 01:47 AM
11-21-2000 01:47 AM
Re: link-unlink problem with HP-UX NFS
Possibly in the newer version of NFS there is a bug. But on mounting in the client side you can always say which version you want.
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2000 09:00 PM
11-21-2000 09:00 PM
Re: link-unlink problem with HP-UX NFS
There was a mistake in the question.
The file is opened when it is in the READY directory. Then it moved into PROCESSING then to COMPLETED. Descriptor is closed at this stage.
Regards
Jayan