Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Opportunistic Locking on Solaris.  Does it exist?

Posted on 2001-07-25
3
Medium Priority
?
283 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 200 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

916 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