iSCSI is a block-oriented storage protocol.
It doesn’t do locking. NTFS doesn’t do locking.
On Windows, cluster shared volumes (CSV) provide locking. So does Storage Spaces Direct (SSD). On Unix/Linux, it’s rpc.lockd and the file systems that support it.
SMB is a higher-level protocol that provides “operational locking” via a shared library (and in fact, on Unix/Linux it uses rpc.lockd to do so).
Suffice it to say, that unless that “cluster drive” is a CSV or a member of an SSD pool, there are no Windows locks getting in the way of the software.
--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ntsysadmin+...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/ntsysadmin/CAHBr%2B%2Bg%2BnkRBk3D%3DRx9MD8pUJ%3DAn9wUu3cdNNW-0qXqdPryRXg%40mail.gmail.com.
iSCSI is a block-oriented storage protocol.
It doesn’t do locking. NTFS doesn’t do locking.
On Windows, cluster shared volumes (CSV) provide locking. So does Storage Spaces Direct (SSD). On Unix/Linux, it’s rpc.lockd and the file systems that support it.
SMB is a higher-level protocol that provides “operational locking” via a shared library (and in fact, on Unix/Linux it uses rpc.lockd to do so).
Suffice it to say, that unless that “cluster drive” is a CSV or a member of an SSD pool, there are no Windows locks getting in the way of the software.
--
From: ntsys...@googlegroups.com <ntsys...@googlegroups.com> On Behalf Of Mike Leone
Sent: Thursday, August 7, 2025 12:58 PM
To: NTSysAdmin <ntsys...@googlegroups.com>
Subject: [ntsysadmin] Disable file locking on iSCSI drives
This confuses me. My devs are reporting a problem with some Oracle software they're using (the WCC product, apparently, the 12c version). And they say Oracle support is telling them:
"In 12c the content server handles all file locking. Any NAS or SAN should have drives mounted without the locking feature enabled. Please check and verify. "
I know about telling the OS about file locking configurations (such as in SMB protocol). But how would I turn off all file locking? Isn't that ... impossible? LOL
This would be on a cluster drive that is mounted via iSCSI. This would be WIn 2019.
--
Mike. Leone, <mailto:tur...@mike-leone.com>
PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Photo Gallery: <http://www.flickr.com/photos/mikeleonephotos>--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntsysadmin+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ntsysadmin/CAHBr%2B%2Bg%2BnkRBk3D%3DRx9MD8pUJ%3DAn9wUu3cdNNW-0qXqdPryRXg%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntsysadmin+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ntsysadmin/c3f21838bf52467aa93fe2aa733b1600%40smithcons.com.
You have SMB locking disabled:
EnableOplocks : False
But you also have CSVs enabled:
EnableSharedVolumes : Enabled
If you are sure the volume isn’t a CSV, then it’s a Nutanix question. And I can’t help you with that.
To view this discussion visit https://groups.google.com/d/msgid/ntsysadmin/CAHBr%2B%2Bj4Hm0176yj%2B_ioxmb22hF%2BcZ-_o16f6Z7DWd5goLeLog%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/ntsysadmin/9b3dc43daa934280b9cbdf0346211641%40smithcons.com.
I would interpret it that way too.
To view this discussion visit https://groups.google.com/d/msgid/ntsysadmin/CAHBr%2B%2BjKBC-k3zi6t7ReDd9pAmPevF1GNmUMY_6JXf2hj8vygw%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/ntsysadmin/770502c69d484d74917f55f5b3203bc4%40smithcons.com.
Hi
> iSCSI is a block-oriented storage protocol.
> It doesn’t do locking. NTFS doesn’t do locking.
Both do locking.
iSCSI uses SCSI reservations, which are required if you have shared LUNs. It is a mess, so vmware implemented other acceleration systems.
NTFS uses locking. Try to delete an open file.
SMB does locking too, in most cases without app intervention for caching: Oplocks, which usually are the mother of all network data corruptions. I saw elsewhere that they were disabled which is... misleading (that setting applies for SMB1 only).
I would check it on the share level (they cannot be disabled on SMB2/3):
get-smbshare <share>|fl -Property *
Search for Leasing Mode. Anything other than None means that Oplocks (and servers blocking each other) are active.
Best regards
Seve
Von: ntsys...@googlegroups.com <ntsys...@googlegroups.com>
Im Auftrag von Michael B. Smith
Gesendet: Donnerstag, 7. August 2025 20:22
An: ntsys...@googlegroups.com
Betreff: RE: [ntsysadmin] Disable file locking on iSCSI drives
-!-!-!- EXTERNAL EMAIL -!-!-!- This email originated from outside of SKAN. Do not click links or open attachments unless you recognize the sender and know the content is safe
To view this discussion visit https://groups.google.com/d/msgid/ntsysadmin/c3f21838bf52467aa93fe2aa733b1600%40smithcons.com.
I would check it on the share level (they cannot be disabled on SMB2/3):
get-smbshare <share>|fl -Property *
Search for Leasing Mode. Anything other than None means that Oplocks (and servers blocking each other) are active.
You have two iSCSI initiators, from two different computer systems, connected to a single volume – iSCSI will happily corrupt the volume.
You have two Windows computer connected to a single volume formatted via NTFS – NTFS will happily corrupt the volume.
To view this discussion visit https://groups.google.com/d/msgid/ntsysadmin/DBBP189MB13403C407F6564CDC64B1DFF832FA%40DBBP189MB1340.EURP189.PROD.OUTLOOK.COM.
You have two iSCSI initiators, from two different computer systems, connected to a single volume – iSCSI will happily corrupt the volume.
You have two Windows computer connected to a single volume formatted via NTFS – NTFS will happily corrupt the volume.
To view this discussion visit https://groups.google.com/d/msgid/ntsysadmin/b3994cfe53484f44ba5dc78d0ea369aa%40smithcons.com.