HP CIFS Server Administrator Guide Version A.02.04.04 (5070-6710, October 2011)

CFSM may be configured for all file systems with files shared through CIFS Server. Since the
performance impact of CFSM is minimal, this is the simplest way to eliminate the risk of file
corruption due to NFS or local user accesses.
Using CFSM with Other Stackable File System Modules
The CIFS File System Module (CFSM) is a stackable file system module that can be stacked with
other file system modules on physical file systems (like VxFS, HFS). The file system modules are
stacked onto the file system based on the order specified in an stack template file. The templates
are managed and defined through the use of the fstadm command.
The predefined CFSM template, cfsmtemplate, is usable for the most common installations
where CFSM is the only file system module stacked on top of the base file system. If more complex
file system stacks are needed (using more than one file system module simultaneously), use fstadm
to define one or more new file system module templates. Refer to the fstadm man page for details.
For example, the following command creates the cfsmtemplate template without specifying any
mount options:
fstadm create -t cfsm -n cfsmtemplate
fstadm command
This section briefly describes the fstadm command usage. For detailed information, refer to the
fstadm (1M) man page.
The fstadm command performs basic administrative operations on file system stack templates.
Operations include creating and deleting templates, listing all templates on the system, and
displaying the contents of templates.
File system stack templates are used to describe the structure of a file system module stack. They
contain information about the modules on a stack and the mount options for each module on the
stack.
All stack templates on a system reside in the system's stack template database. The only supported
way to access and edit templates in the system template database is to use the fstadm command.
Syntax
fstadm create [-o] -f filename [-n name]
fstadm create [-o] -t template_string -n name
fstadm list
fstadm display template_name
fstadm delete template_name
fstadm fdel template_name
fstadm help
Description
create-f | -t Creates a new template. This command takes the following two types of
input:
a text file that describes a template, specified with the -f option.
a string that describes a template directly in the command line, specified
with the -t option
The -t option cannot be used in conjunction with the -f option.
A template can contain information about the mount options to use at each
level of a stack. For information about the specific mount options that are
available for each stackable file system module, consult the man page for
the module itself.
138 CIFS File System Module (CFSM) Support