Attributes

Required attributes

Required attribute

Description

BlockDevice 

Block device for mount point. 

For LVM2, use the actual path to the volume. 

Type and dimension: string-scalar 

Examples: 

  • VxVM example

    "/dev/vx/dsk/myvcs_dg/myvol"

  • LVM2 example

    # ls -la /dev/ora_vg/ora_vol

    lrwxrwxrwx 1 root root 26 Apr 17 04:48 /dev/ora_vg/ora_vol -> /dev/mapper/ora_vg-ora_vol

    Use the path /dev/mapper/ora_vg-ora_vol for the BlockDevice attribute.

 

FsckOpt 

Mandatory for non-NFS mounts. 

Use this attribute to specify options for the fsck command. You must correctly set this attribute for local mounts. If the mount process fails, the fsck command is executed with the specified options before it attempts to remount the block device. Its value must include either -y or -n. Refer to the fsck manual page for more information. 

The -y argument enables the VxFS file systems to perform a log replay before a full fsck operation.  

For NFS mounts, the value of this attribute is not applicable and is ignored. 

Type and dimension: string-scalar 

VxFS example: -y 

 

FSType 

Type of file system.  

Supports vxfs, hfs, or nfs. 

Type and dimension: string-scalar 

Example: "nfs" 

 

MountPoint 

Directory for mount point. 

Type and dimension: string-scalar 

Example: "/campus1" 

 

VxFSMountLock 

This attribute is only applicable to vxfs file systems. This attribute controls a file system locking feature to prevent accidental unmounts.  

This attribute can take three values: 0, 1, or 2. 

VxFSMountLock=0 

The resource does not detect any changes to the lock when VCS reports that it is online after you set the value to zero. 

  • If the mount point is initially locked with the mntlock="VCS", the monitor agent function unlocks it.
  • If the mount point is initially locked with a key that is not equal to "VCS", the agent logs a message once.
  • If the mount point is initially not locked, no action is performed.

VxFSMountLock=1 

The resource does not detect changes to the lock when VCS reports it online after the value was set to one. VCS does not monitor the lock. 

  • If the mount point is initially locked with the mntlock="VCS", no action is performed.
  • If the mount point is initially locked with a key that is not equal to "VCS", the agent logs a message once.
  • If the mount point is initially not locked, the monitor agent function locks it with the mntlock="VCS"

VxFSMountLock=2 

When the value of the VxFSMountLock is 2, the file system is locked and the agent monitors any change to mntlock. 

  • If the mount point is locked with the mntlock="VCS", no action is performed.
  • If the mount point is initially locked with a key that is not equal to "VCS", the monitor agent function logs a message every monitor cycle.
  • If the mount point is not locked, the agent locks it with the mntlock="VCS".

Type and dimension: integer-scalar 

Default: 1 

 

Optional attributes

Optional attribute

Description

CkptUmount 

If the value of this attribute is 1, this attribute automatically unmounts VxFS checkpoints when the file system is unmounted. 

If the value of this attribute is 0, and checkpoints are mounted, then failover does not occur. 

Type and dimension: integer-scalar 

Default: 1 

 

MountOpt 

Options for the mount command. Refer to the mount manual page for more information. 

Type and dimension: string-scalar 

Example: "rw" 

 

Example: "grp1" 

 

Example: "usr1" 

 

Example: "0755" 

 

SecondLevelMonitor 

This attribute is only applicable to NFS client mounts. 

If the value of this attribute is 1, this attribute enables detailed monitoring of an NFS mounted file system. The agent executes the df -k command for the NFS mounted file system to detect network outage. 

Type and dimension: boolean-scalar 

Default: 0 

 

SecondLevelTimeout 

This attribute is only applicable to NFS client mounts. 

This attribute is the timeout (in seconds) for the SecondLevelMonitor attribute. This attribute is only functional when the value of the SecondLevelMonitor attribute is 1. The actual timeout value can be much smaller. This setting depends on how much time remains before it exceeds the MonitorTimeout interval. 

Type and dimension: integer-scalar 

Default: 30 

 

SnapUmount 

If the value of this attribute is 1, this attribute automatically unmounts VxFS snapshots when the file system is unmounted. 

If the value of this attribute is 0 and snapshots are mounted, then failover does not occur. 

Type and dimension: integer-scalar 

Default: 0