Mount agent notes

The Mount agent has the following notes:

High availability fire drill

The high availability fire drill detects discrepancies between the VCS configuration and the underlying infrastructure on a node; discrepancies that might prevent a service group from going online on a specific node. For Mount resources, the high availability drill performs the following, it:

For more information about using the high availability fire drill see the Veritas Cluster Server User's Guide.

VxFS file system lock

If the mount option in the mount table output has the option mntlock="key", then it is locked with the key key. To verify if this option has a value of "key", run the mount command and review its output.

# mount

If the VxFS file system has "mntlock=key" in its mount options, then unmounting the file system fails.

You can unlock the file system with the fsadm command and then unmount it.

To unlock a lock, you can run the following command where key is the key's name and mount_point_name is the name of the mount point.

# /opt/VRTS/bin/fsadm -o mntunlock="key" mount_point_name

You can run the vxumount command with the option "mntunlock=key", for example:

# /opt/VRTS/bin/vxumount -o mntunlock=key mount_point_name

ZFS file system and pool creation example

If you want to use the Mount resource to monitor the ZFS file system, perform the following steps.

Create the tank storage pool and file system on the disk device c1t0d0 for example.

# zpool create tank c1t0d0

Create the home file system in tank.

# zfs create tank/home

Set the value of the MountPoint attribute to legacy.

# zfs set mountpoint=legacy tank/home

Set the Mount agent's attributes. The following is an example of this configuration's file.

Mount m1 (

MountPoint = "/mp1"

BlockDevice = "tank/home"

FSType = zfs

MountOpt = rw

FsckOpt = "-n"