Chapter 9 CIFS/9000 File Locking Interoperability Summary
A CIFS/9000 server can provide file storage (and printing) for Windows clients, UNIX clients, NFS and
It is absolutely essential that HP sales force personnel understand the customer environment to determine if
CIFS/9000 provides secure, comprehensive file locking for homogenous Windows client access
–either locally or over an NFS mount. Mixed client access requires knowledge of how the various client platform applications and file systems lock files to fully understand how they will interoperate. Based upon that knowledge, informed decisions can be made about how to configure the CIFS/9000 for mixed client access, or whether to allow mixed client access, or whether CIFS/9000 is the correct server platform to implement.
Windows utilizes 3 different file locking mechanisms:
Mandatory Share Mode (Open Mode) Locking
Byte Range Locking
Opportunistic Locking (Oplocks)
Windows clients unilaterally honor mandatory share mode (open mode) and byte range locking. Opportunistic locking allows Windows clients to cache files locally, thus enjoying a significant performance boost due to decreased network latency. Oplocks rely on the ability of an oplock break to notify the caching client that concurrent access has been requested from another client, therefore causing the original client to flush all cached data to the file server.
UNIX/NFS uses Byte Range locking to implement the advisory locking protocol. UNIX/NFS locking is not mandatory in most cases, and requires that other processes correctly implement the advisory locking protocol. Byte range locking in this case does not protect a file from
CIFS/9000 implements all aspects of Windows file locking when file access is homogeneous,
CIFS/9000 at first release provides interoperability between Windows, UNIX/NFS, and PC- NFS clients by implementing the byte range advisory locking protocol. CIFS/9000 will
40