Solved

Opportunistic Locking on Solaris.  Does it exist?

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSH commands for Nas4free 21 554
ACL in Solaris 10 & AIX V6.1 to circumvent application required  grp:rwx 9 123
reinstall 1 98
unix shell script 4 42
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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

752 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