Veritas Storage Foundation 5.0 Cluster File System Administration Guide Extracts for HP Serviceguard Storage Management Suite, Second Edition, May 2008
Cluster File System Administration
Cluster File System Administration
Chapter 3
34
Cluster File System Administration
This section describes some of the major aspects of cluster file system administration
and the ways that it differs from single-host VxFS administration.
Cluster File System Commands
The CFS commands are:
• cfscluster—cluster configuration command
• cfsmntadm—adds, deletes, modifies, and sets policy on cluster mounted file systems
• cfsdgadm—adds or deletes shared disk groups to/from a cluster configuration
• cfsmount/cfsumount—mounts/unmounts a cluster file system on a shared volume
IMPORTANT Once disk group and mount point multi-node packages are created with HP
Serviceguard, it is critical to use the CFS commands, including cfsdgadm, cfsmntadm,
cfsmount, and cfsumount. If the HP-UX mount and umount commands are used, serious
problems such as writing to the local file system, instead of the cluster file system, could
occur. You must not use the HP-UX mount command to provide or remove access
to a shared file system in a CFS environment (for example, mount -ocluster,
dbed_chkptmount, or sfrac_chkptmount). These non-CFS commands could cause
conflicts with subsequent CFS command operations on the file system or the
Serviceguard packages. Use of HP-UX mount commands will not create an appropriate
multi-node package, which means cluster packages will not be aware of file system
changes. Instead, use the CFS commands - cfsmount or cfsumount.
The fsclustadm and fsadm commands are useful for configuring cluster file systems.
• fsclustadm
The fsclustadm command reports various attributes of a cluster file system. Using
fsclustadm you can show and set the primary node in a cluster, translate node IDs
to host names and vice versa, list all nodes that currently have a cluster mount of the
specified file system mount point, and determine whether a mount is a local or
cluster mount. The fsclustadm command operates from any node in a cluster on
which the file system is mounted, and can control the location of the primary for a
specified mount point.
See the fsclustadm(1M) manual page.
• fsadm
The fsadm command is designed to perform selected administration tasks on file
systems. It can be invoked from a primary or secondary node. These tasks may differ
between file system types. A special device file contains an unmounted file system. A
special file system could be a directory, if it provides online administration
capabilities. A directory must be the root of a mounted file system.
See the fsadm(1M) manual page.
• Running commands safely in a cluster environment