oplocks
Glenn MacGregor
gtm at oracom.com
Tue Sep 12 18:21:15 GMT 2000
Hi All,
I don't seem to be able to subscrube to the samba list because I am on
ht esamba-ntdom list, so can you please respond directly to me.
I have put up a share for the accounting people where tey store the
quickbooks files. When one person accesses the file everything is
fine. smbstatus looks like this:
Locked files:
Pid DenyMode R/W Oplock Name
--------------------------------------------------
2216 DENY_NONE RDWR EXCLUSIVE+BATCH
/usr1/oracom/accounting/Quickbooks 2000/Active/New QB.QBI Tue Sep 12
13:03:07 2000
2216 DENY_NONE RDWR EXCLUSIVE+BATCH
/usr1/oracom/accounting/Quickbooks 2000/Active/New QB.QBW Tue Sep 12
13:03:06 2000
notice the Quickbooks stuff has the exclusive+batch oplock. Now when
someone else tries to access the file (which is allowed, it worked when
I had the files on an NT workstation) they get an error saying it is not
a quickbooks file, and the smbstatus follows:
Locked files:
Pid DenyMode R/W Oplock Name
--------------------------------------------------
2216 DENY_NONE RDWR EXCLUSIVE+BATCH
/usr1/oracom/accounting/Quickbooks 2000/Active/New QB.QBI Tue Sep 12
13:03:07 2000
2229 DENY_ALL RDWR EXCLUSIVE+BATCH
/usr1/oracom/accounting/Quickbooks 2000/Active/INET/_License.tmp Tue
Sep 12 13:07:33 2000
2229 DENY_NONE RDONLY NONE
/usr1/oracom/accounting/Quickbooks 2000/Active/New QB.QBW Tue Sep 12
13:07:33 2000
2216 DENY_NONE RDWR NONE
/usr1/oracom/accounting/Quickbooks 2000/Active/New QB.QBW Tue Sep 12
13:03:06 2000
Another smbstatus later in time:
Locked files:
Pid DenyMode R/W Oplock Name
--------------------------------------------------
2318 DENY_NONE RDWR NONE
/usr1/oracom/accounting/Quickbooks 2000/Active/New QB.QBI Tue Sep 12
13:11:51 2000
2328 DENY_NONE RDWR NONE
/usr1/oracom/accounting/Quickbooks 2000/Active/New QB.QBW Tue Sep 12
13:14:01 2000
2318 DENY_NONE RDWR NONE
/usr1/oracom/accounting/Quickbooks 2000/Active/New QB.QBW Tue Sep 12
13:11:50 2000
So we have no oplocks and everything is read write.
Any help would be great.
Thanks
Glenn
--
Glenn MacGregor
Director of Services
Oracom, Inc.
http://www.oracom.com
Tel. +1 978.557.5710 Ext. 302
Fax +1 978.557.5716
More information about the samba
mailing list