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 Administrator'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 mount locking is in use and has the 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 locked mount, run the following command where "key" is the lock identifier and mount_point_name is the file system mount point.

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

To unmount a file system mounted with locking, run the umount command with the option mntunlock="key", for example:

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

IPv6 usage notes

Review the following information for IPv6 use:

Bringing a Mount resource online in the WPAR

The Mount resource is brought online in the global environment by default (RunInContainer = 0). If you want to bring a mount resource online inside the WPAR, perform the following:

Selecting the attribute values for a Mount resource for the WPAR's root file system for NFS mounts

For NFS mounts, you can run the SecondLevelMonitor in a container if you configure the following:

The following are examples of relative and absolute paths:

For more information on the ContainerOpts resource attribute, and is RunInContainer and PassCInfo keys, refer to the Veritas Cluster Server Administrator's Guide.

Support for namefs file system

The Mount agent provides namefs file system support. You can manage the namefs file system as a Mount resource. Use namefs support to mount a file system in the global environment and share it in the WPAR. For namefs support, configure the FSType attribute to use a value of namefs.

Sample service group for the WPAR root on shared storage with a namefs file system when VCS manages the namefs file system as a Mount resource

Sample service group for the WPAR root on shared storage with a 
namefs file system when VCS manages the namefs file system as a 
Mount resource

Click the thumbnail above to view full-sized image.

The following is a sample configruation where you use the Mount resource to manage the namefs file system:

group namefssg (

SystemList = { sysA = 0, sysB = 1 }

ContainerInfo@sysA = { Name = wpar1, Type = WPAR, Enabled = 1 }

ContainerInfo@sysB = { Name = wpar1, Type = WPAR, Enabled = 1 }

)

Mount namefs_mnt_global_to_local (

MountPoint = "/wpars/wpar1/namefs_mnt"

BlockDevice = "/mnt1/m1"

FSType = namefs

)

WPAR w1 (

)

Mount base_mnt (

MountPoint = "/mnt1"

BlockDevice = "/dev/vx/dsk/tdg/tvol1"

FSType = vxfs

FsckOpt = "-y"

)

namefs_mnt_global_to_local requires w1

namefs_mnt_global_to_local requires base_mnt

Taking a group with the Mount resource offline can take several minutes if the file system is busy

When a file system has heavy I/O, the umount command can take several minutes to respond. However, the umount command temporarily deletes the mount point from mount command output while processing. Per IBM, this is the expected and supported behavior on AIX. The umount command's processing later puts the mount point back if the mount point is found busy. Meanwhile, the default OfflineTimeout value of the Mount agent can get exceeded, which in turn invokes the Clean agent function. The Clean function can find the mount point's entry absent from the mount command output and exit with success.

The unmounting, however, may not have happened yet. If unmounting did not occur, offlining resources below the Mount resource (for example the LVMVG or DiskGroup resources) can fail.

The Mount resource's Offline agent function then proceeds to unmount the mount point. After several attempts, the Clean scripts that clean the resources below the Mount resource succeed and the group goes offline.

See the Veritas Cluster Server Administrator's Guide for more information about the OfflineTimeout attribute.

Example 1

In this /etc/filesystems entry for a VxFS file system created on a VxVM volume, /mount_point is the mount point for the file system, /dev/vx/dsk/Diskgroup_name/Volume_name is the block device on which the file system is created, and vxfs is the file system type.

/etc/filesystems:

/mount_point:

dev = /dev/vx/dsk/Diskgroup_name/Volume_name

vfs = vxfs mount = false

check = false

Example 2

In this /etc/filesystems entry for a JFS file system created on an LVM logical volume, /mount_point2 is the mount point for the file system, /dev/LVMlogical_volume is the block device on which the file system is created, /dev/LVMlogical_volumelog is the log device for the file system automatically created by the crfs command, and jfs is the file system type.

/etc/filesystems:

/mount_point2:

dev = /dev/LVMlogical_volume

vfs = jfs

log = /dev/LVMlogical_volumelog

mount = false

check = false

Example 3

Use the crfs and mkfs commands to create file systems. VCS supports the following configurations for the Mount agent: