HP UX Common Internet File System (CIFS) Client/Server Software manual Unix PC-NFS

Page 26

6.6WINDOWS AND PC-NFS CLIENT ACCESS – Local and NFS Mounted File Systems

Clients

Windows

UNIX

PC-NFS

CIFS/9000

Windows

CIFS/9000

NFS

File

The diagram above shows a Windows client and a PC-NFS client requesting concurrent file access on the CIFS/9000 server to a local and/or NFS mounted file system. The key issue for this configuration is that with PC-NFS, the locking interoperability is the same for a local or NFS mounted file system, and even for PC-NFS direct access to the NFS file server – as illustrated above.

PC-NFS implements Mandatory Share Mode (Open Mode) locking through the NFS Network Lock Manager. This allows PC-NFS to place and honor Mandatory Share Mode locks with other PC-NFS clients. CIFS/9000 has been enhanced to translate Windows

Mandatory Share Mode locks into byte range locks, thus providing locking interoperation with the UNIX/NFS advisory locking protocol and reducing the risk of data corruption. This enhancement works for PC-NFS because of the interoperation in the NLM. Windows applications expect mandatory share mode locking to be enabled, so share mode locking should remain enabled on the CIFS/9000 server.

Byte Range locking is implemented for concurrent Windows and PC-NFS access using the NFS NLM. Since NFS NLM byte range locking is advisory, Windows applications that are accessing the file must be properly coded to participate in the locking protocol. PC-NFS will propagate the Windows byte range lock over the PC-NFS mount. The cooperating CIFS/9000 smbd process actually calls the UNIX fcntl function to implement Windows client byte range locking. Thus, a Windows PC-NFS client accessing a file on a CIFS/9000 share using

26

Image 26
Contents E0300 Version 1.03 SeptemberEric Roseme Snsl Advanced Technology Center 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 Byte Range Locking Mandatory Share Mode Open Mode CIFS/9000CIFS/9000 Locking Summary 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