VERITAS Storage Foundation 4.1 Cluster File System HP Serviceguard Storage Management Suite Extracts, December 2005
CFS Administration
78 Installation and Administration Guide
Growing a Cluster File System
There is a master node for CVM as well as a primary for CFS. When growing a file system,
you grow the volume from the CVM master, and then grow the file system from the CFS
primary. The CVM master and the CFS primary can be two different nodes. To determine
the primary file system in a cluster, enter:
# fsclustadm –v showprimary mount_point
To determine if the current node is the master CVM node, enter:
# vxdctl -c mode
To actually increase the size of the file system, run the following two commands. On the
master CVM node, enter:
# vxassist –g shared_disk_group growto volume_name newlength
On the CFS primary, enter:
# fsadm –F vxfs –b newsize –r device_name mount_point
The fstab File
In the /etc/fstab file, do not specify any cluster file systems to mount-at-boot because
mounts initiated from fstab occur before cluster configuration begins. For cluster
mounts, use the SG configuration file to determine which file systems to enable
following a reboot.
Distributing the Load on a Cluster
Distributing the workload in a cluster provides performance and failover advantages.
Because each cluster mounted file system can have a different node as its primary, CFS lets
you easily distribute the load in a cluster.
For example, if you have eight file systems and four nodes, designating two file systems
per node as the primary would be beneficial. Primaryship is determined by which node
first mounts the file system. You can also use the fsclustadm to designate a CFS
primary. The fsclustadm setprimary command can also define the order in which
primaryship is assumed if the current primary fails. After setup, the policy is in effect as
long as one or more nodes in the cluster have the file system mounted.