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

Page 48

B.5

Competitor’s Claims for NFS Non-Locking Protection

Competitors claim to protect their CIFS clients from NFS clients that are not participating in the advisory locking protocol. Their claim is based upon their mechanism of comparing every NFS read and write operation with locking records in the Kernel Lock Manager (or similar lock manager). The KLM will record every outstanding lock that is held by a CIFS or NFS client. If a non -locking NFS client attempts a write to a file, the write location will be compared against lock records in the KLM. If that file is already locked, the operation will fail. This mechanism works well for that case. Howev er, the figure below illustrates how data integrity is at risk even with their protection mechanism:

1.If NFS clients B and/or C have a file cached (like in vi), a CIFS client or locking NFS client can lock the file. Since the KLM has no record of A or B access, it grants the lock. Now client A and/or B have “stale” data.

2.If one non-locking NFS client has access to a file, then two or more non-locking NFS clients have access to a file.

a.Client B can overwrite C causing data corruption

b.Client C can overwrite B causing data corruption.

An HP bid for a customer deal should not be won based upon this file locking issue. This file locking functionality does not provide any real protection from data corruption.

48

Image 48
Contents Version 1.03 September Eric Roseme Snsl Advanced Technology CenterE0300 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