CFSMount agent

The CFSMount agent brings online, takes offline, and monitors a cluster file system mount point. The CFSMount agent executable is /opt/VRTSvcs/bin/CFSMount/CFSMountAgent. The type definition is in the /etc/VRTSvcs/conf/config/CFSTypes.cf file.

Table: CFSMount agent entry points describes the CFSMount agent entry points.

Table: CFSMount agent entry points

Entry Points

Description

Online

Mounts a block device or file system snapshot in cluster mode.

Offline

Unmounts the file system (doing a forced unmount if necessary).

Monitor

Determines if the file system is mounted. Checks mount status using the fsclustadm command.

Clean

A null operation for a cluster file system mount.

attr_change

Remounts file system with new mount option; sets new primary for file system; sets fsclustadm policy on file system.

Table: CFSMount agent attributes describes the CFSMount agent attributes.

Table: CFSMount agent attributes

Attributes

Type and Dimension

Definition

BlockDevice (required)

string-scalar

Block device for mount point.

MountPoint (required)

string-scalar

Directory for mount point.

NodeList

(required)

string-keylist

List of nodes on which to mount.

Policy (optional)

string-scalar

Node list for the primary file system selection policy.

MountOpt (optional)

string-scalar

Options for the mount command. To create a valid MountOpt attribute string:

  • Use VxFS type-specific options only.

  • Do not use the -o flag to specify the VxFS-specific options.

  • Do not use the -F vxfs file system type option.

  • The cluster option is not required.

  • Specify options in a comma-separated list as in these examples:

         ro
          ro,cluster
blkclear,mincache=closesync

MountType, Primary, SetPrimary, RemountRes, ForceOff (internal)

Not user configured used only by system.