The value of the Operations attribute for this agent is OnOff.
AIX, HP-UX, and Solaris: For a file system, it 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.
For the NFS client, it mounts a remote NFS file system to a specified directory. The remote NFS file system is specified in the BlockDevice attribute.
Linux: Mounts a block device on the directory. If the mount process fails for non-nfs mounts, the agent attempts to run the fsck command on the device to remount the block device. If filesystem type is NFS, agent mounts the remote NFS file system to a specified directory. The remote NFS file system is specified in the BlockDevice attribute.
Determines if the file system or NFS client is mounted.
AIX and Solaris: Checks mount status using the stat
and statvfs
commands for the file system. Use the mount
comand for for the NFS client mount.
Terminates all ongoing resource actions and takes the resource offline—forcibly when necessary.
The Mount info agent function executes the command:
The output displays Mount resource information:
To initiate the info agent function, set the InfoInterval timing to a value greater than 0. In this example, the info agent function executes every 60 seconds:
hatype -modify Mount InfoInterval 60
The command to retrieve information about the Mount resource is: