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

Page 19

Mandatory, Byte Range, and Opportunistic locking are all enabled by default, and should always be enabled for a Windows-only client access environment. They may be explicitly configured on a per-share basis by editing the smb.conf file:

[share_name]

share modes = yes <default config – shown for example only> locking = yes <default config – shown for example only> oplocks = yes

These locks are valid when client access is confined to a single CIFS/9000 server that is exclusively NFS mounting the remote file system. If another client is concurrently accessing a file from a different server, either locally or via a NFS mount, then mandatory share mode locks and oplocks are ineffective, because the local server smbd processes are not coordinating exclusive file access. UNIX byte range locking is propagated over NFS, so it will work over multiple NFS mounts. In these cases, disable oplocks, and enable share mode and byte range.

[share_name]

share modes = yes <default config – shown for example only> locking = yes <default config – shown for example only> oplocks = no

Note: It is not recommended to NFS mount a remote file system from the CIFS/9000 server for Windows client access. Performance could be affected.

19

Image 19
Contents Eric Roseme Snsl Advanced Technology Center Version 1.03 SeptemberE0300 Copyright Notices Legal NoticesContents Introduction CIFS/9000 Product Overview ACL File Locking OverviewPage Windows Cifs File Locking ImplementationsPage NFS UnixPC NFS CIFS/9000 File Locking Implementation Mandatory Share Mode Locking Open ModePage Page Page CIFS/9000 File Locking Interoperability Examples Windows only Client Access Local File SystemPage 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 Oplocks Mandatory Share Mode Open Mode CIFS/9000CIFS/9000 Locking Summary Byte Range LockingCIFS/9000 Competition Locking Summary Network Appliance Mandatory Share Mode Open ModePage EMC Celerra Mandatory Share Mode Open Mode EMC CelerraPage Mandatory Share Mode Open Mode Auspex NeTservices Auspex NeTservicesPage Veritas File Server Edition Mandatory Share Mode Open Mode Veritas FSEEMC Locking Summary TableCIFS/9000 File Locking Interoperability Summary Page Appendix a smb.conf Examples Smb.conf for Windows-Only AccessSmb.conf for Mixed-Mode Access Determine Locking Requirement Appendix B Sales Tool Locking Technology ExamplesByte 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