HP CIFS Server 3.0f Release Notes version A.02.03 for HP-UX 11i v3 (December 2006)
New and Changed Features in Version A.02.03
This release contains the following new enhancements and changes:
CIFS File System Module (CFSM) for Concurrent NFS Client Access
The HP CIFS Server implements the CIFS File System Module (CFSM) that allows CIFS file locks to inter-operate
with accesses from NFS clients and other HP-UX processes. CFSM is a stackable file system module that can
be stacked with other file system modules for use on physical file systems (like VxFS, HFS). Enabling this
functionality prevents the possibility of file corruption due to concurrent file accesses from both CIFS clients
and NFS clients, and allows for performance enhancing opportunistic locks to be safely used. All the locks
(CIFS record locks, share mode locks and opportunistic locks) that are granted to CIFS clients are enforced
by CFSM. NFS clients and other local users can then concurrently access files with CIFS clients with no risk
of file corruption, even with opportunistic locking turned on.
To use CFSM, you must configure the following parameters in smb.conf properly. They can be configured
globally or on a per-share basis. The global parameter values are used by default for all shares. The share
specific parameters can override the global parameters on individual shares.
• locking: This boolean variable controls whether locking will be performed by the server in response
to lock requests from the client. You must set this option to yes (the default setting).
• posix locking: The SMBD daemon maintains the database of CIFS file locks obtained by SMB
clients. This boolean variable controls whether the CIFS Server maps the CIFS file locks to POSIX locks.
You must set this option to yes (the default setting).
• share modes: This boolean parameter controls whether to enable or disable the honoring of the share
modes during a file open. These modes are used by clients to gain exclusive read or write access to a
file. You must set this option to yes (the default setting).
• kernel oplocks: This is a boolean variable. If set to yes, HP-UX processes and NFS clients can
concurretly access files with CIFS clients with no risk of file corruption when opportunistic locking is
turned on. You must set to yes if oplocks is turned on. Both kernel oplocks and oplocks are
turned on by default.
To add CFSM to a file system, the file system must first be unmounted. Once the file system is unmounted,
execute the mount command with the "-o stackfs=cfsmtemplate" option to stack and mount the file
system.
NOTE: Once CFSM has been added to a file system, future updates to the HP CIFS Server product will
require a system reboot or alternatively, you must follow an update process described in the "CIFS File
System Module (CFSM) Support" chapter in the
HP CIFS Server Administrator's Guide
.
For detailed information about CIFS File System Module support, refer to the “CIFS File System Module
(CFSM) Support” chapter in the
HP CIFS Server Administrator's Guide.
CFSM Tracing
The CIFS File System module provides diagnostic functionality to trace the CFSM activities by sending trace
messages to a log file. All CFSM tracing is controlled through the cfsmutil command.
You can use the cfsmutil command to set CFSM tracing, tracing level, tracing log file and maximum
tracing log file size. For detailed information on how to use this command, refer to the “CIFS File System
Module (CFSM) Support” chapter in the
HP CIFS Server Administrator's Guide.
or the cfsmutil man page.
The trace messages may be useful to understand the actions CFSM takes and HP support people may need
this data to diagnose problems. However, enabling CFSM tracing will greatly reduce the performance of
any file system using CFSM. Hence, it is best to leave tracing turned off, unless it is needed to diagnose a
suspected problem.
Winbind Supports Non-blocking, Asynchronous Functionality
This release of winbind supports an almost completely non-blocking, asynchronous request/reply
implementation (with the exception of user and group enumeration). With this new enhancement, winbind
provides better scalability in large domain environments and on high latency networks.
6