Solved

Opportunistic Locking on Solaris.  Does it exist?

Posted on 2001-07-25
3
273 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
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 20

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now