Solved

Opportunistic Locking on Solaris.  Does it exist?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
prtdiag report hdd failure 10 135
ftpcommand 2 56
check unix curl command return value 7 83
How to clone solaris 10 machine 33 111
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.:

932 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

14 Experts available now in Live!

Get 1:1 Help Now