Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 Bundled Agents Reference Guide   

Mount Agent

Brings online, takes offline, and monitors a file system mount point.

Entry Points

  • Online---Mounts a block device on the directory. If the mount process fails, the agent attempts to run the fsck command on the raw device to remount the block device.
  • Offline---Unmounts the file system.
  • Monitor---Determines if the file system is mounted.
  • Clean---Terminates all ongoing resource actions and takes the resource offline---forcibly when necessary.
  • Info---See description on

State Definitions

  • ONLINE---Indicates that the block device is mounted on the specified mount point.
  • OFFLINE---Indicates that the block device is not mounted on the specified mount point.
  • UNKNOWN---Indicates that a problem exists either with the configuration or the ability to determine the status of the resource.

Type Definition


type Mount (
        static str ArgList[] = { MountPoint, BlockDevice, FSType,
MountOpt, FsckOpt, SnapUmount, CkptUmount, SecondLevelMonitor,
        SecondLevelTimeout }

        str MountPoint
        str BlockDevice
        str FSType
        str MountOpt
        str FsckOpt
        int SnapUmount = 0
        int CkptUmount = 1
         boolean SecondLevelMonitor = 0
         int SecondLevelTimeout = 30
)

Required Attributes

Required Attribute Description, Type and Dimension, Default, and Example

BlockDevice

Device for mount point.

  • Type and dimension: string-scalar
  • Example:

  • "/dev/vx/dsk/campus-dg1/campus-vol1"
  • Example:

  • "/dev/vg02/lvol1"

FsckOpt

Options for fsck command. You must include -y or -n must as arguments to fsck for the resource to come online. The -y argument enables the VxFS file systems to perform a log replay before a full fsck operation. Refer to the manual page on the fsck command for more information.

FSType

Type of file system. Your choices are: vxfs, hfs, or nfs.

MountPoint

Directory for mount point.

 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 Bundled Agents Reference Guide  
VERITAS Software Corporation
www.veritas.com