Solved

Opportunistic Locking on Solaris.  Does it exist?

Posted on 2001-07-25
3
280 Views
Last Modified: 2013-12-27
Does anyone know if there are any programs similar to optlock (Opportunistic Locking on Windows NT)
for Solaris or (UNIX in general).

0
Comment
Question by:jonnyblaze
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
WaltInBoston earned 50 total points
ID: 6331489
Nope, there are none -

OpLocks under CIFS depend at least in part upon the "statefulness" of CIFS - i.e. there is a CIFS primitive to perform open and close operations.

NFS has neither open or close primitives, and so locking is all "advisory" rather than mandatory. The unix level flock() / lockf() calls all rely on network lock manager processes (running on client and server) to co-ordinate locking state, and since locking is advisory, there is nothing to prevent clientB from ignoring the lock held by clientA and writing to the object.

0
 
LVL 21

Expert Comment

by:tfewster
ID: 8051540
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- Answered by WaltInBoston

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8100131
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question