HP UX Common Internet File System (CIFS) Client/Server Software manual

Page 40

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 PC-NFS clients, and the CIFS/9000 client. Understanding how the various client platforms invoke file locking for homogenous and heterogeneous (mixed) client access is critical when designing and implementing a NAS or technical server configuration.

It is absolutely essential that HP sales force personnel understand the customer environment to determine if cross-platform file locking is a necessity. It is also essential that the customer understand that competitor’s claims of protection from non-locking NFS clients does not provide comprehensive data integrity, because if one non -locking NFS client can access a file, then two non-locking NFS clients can access a file, and no vendor can claim data integrity protection for two non -locking clients.

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 non-locking UNIX/NFS processes.

PC-NFS (as tested with WRQ) utilizes the Network Lock Manager to implement byte range locking. Thus, PC-NFS also is dependant upon the advisory locking protocol for concurrent file access, and cannot protect a locked file from access by a non-locking process.

CIFS/9000 implements all aspects of Windows file locking when file access is homogeneous, Windows-only access.

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

Image 40
Contents Eric Roseme Snsl Advanced Technology Center Version 1.03 SeptemberE0300 Legal Notices Copyright NoticesContents Introduction CIFS/9000 Product Overview File Locking Overview ACLPage File Locking Implementations Windows CifsPage Unix NFSPC NFS Mandatory Share Mode Locking Open Mode CIFS/9000 File Locking ImplementationPage Page Page Windows only Client Access Local File System CIFS/9000 File Locking Interoperability ExamplesPage Windows only Client Access NFS Mounted File System Page Windows and Unix Client Access Local File System Page Windows and Unix Client Access NFS Mounted File System Page UNIX/NFS PC-NFS Page Unix PC-NFS Page Clients Page Mandatory Share Mode Open Mode CIFS/9000 CIFS/9000 Locking SummaryByte Range Locking OplocksCIFS/9000 Competition Locking Summary Mandatory Share Mode Open Mode Network AppliancePage Mandatory Share Mode Open Mode EMC Celerra EMC CelerraPage Auspex NeTservices Mandatory Share Mode Open Mode Auspex NeTservicesPage Mandatory Share Mode Open Mode Veritas FSE Veritas File Server EditionLocking Summary Table EMCCIFS/9000 File Locking Interoperability Summary Page Smb.conf for Windows-Only Access Appendix a smb.conf ExamplesSmb.conf for Mixed-Mode Access Appendix B Sales Tool Locking Technology Examples Determine Locking RequirementByte Range Locking CIFS/NFS Open Mode Locking CIFS/NFS Open Mode Locking Competitor’s Claims for NFS Non-Locking Protection
Related manuals
Manual 21 pages 36.77 Kb