HP CIFS Server 3.0f Administrator's Guide verison A.02.03

CFSM Implemented as Dynamically Loadable Kernel Modules (DLKMs)
CFSM is implemented as two Dynamically Loadable Kernel Modules (DLKMs). The main one is “cfsm. The
"cfsm" DLKM has a dependency on a second DLKM, "cfsmdr", the CFSM driver module. The "cfsmdr"
module is the one that supports tracing functionality, including the cfsmutil command support. Upon
loading, the "cfsmdr" module creates a device file, "/dev/cfsmdr", that the cfsmutil command uses.
Supported Kernel Module States
The CIFS File System Module supports the following kernel module states:
Auto: The module will be dynamically loaded at the first time it is used.
Static: The module is statically linked into the kernel.
Loaded: The module is dynamically loaded and running in the kernel.
Unused: The module is not loaded in the kernel.
By default, the kernel states for both cfsm and cfsmdr modules are set to auto. CFSM will be dynamically
loaded at the first time CFSM is used. You may use the kcmodule command to change the CFSM DLKM
states. HP highly recommends that you do not manually change the CFSM DLKM states unless you fully
understand the effects of any changes. Refer to man page kcmodule(1M) for details.
Procedures for Updating a New Version
If you want to use the CFSM feature on an HP-UX release 11i v3 system, each time you update to a newer
version of HP CIFS Server, it requires a system re-boot after the update is complete. To avoid a system re-boot,
you must perform the steps described below.
Steps Before Updating the HP CIFS Server
Use the following steps before updating the HP CIFS Server:
1. Use the umount command to unstack CFSM from any file system where it is stacked.
For example, the following command unstacks CFSM when unmounting the physical file system mounted
on /mnt:
umount /mnt
2. Use the following commands to set both cfsm and cfsmdr modules to the unused state:
kcmodule cfsmdr = unused
kcmodule cfsm = unused
Steps After Updating the HP CIFS Server
Use the following steps after the update of the HP CIFS Server is complete:
1. Use the following commands to set both cfsm and cfsmdr modules to the auto state:
kcmodule cfsmdr = auto
kcmodule cfsm = auto
2. Execute the mount command with the "-o stackfs=cfsmtemplate" option to stack and mount the
file system.
For example, the following command stacks CFSM onto the physical file system using the cfsmtemplate
template, when mounting the physical file system mounted on /mnt:
mount -F vxfs -o stackfs=cfsmtemplate /dev/dsk/c1t2d3 /mnt
150 CIFS File System Module (CFSM) Support