Hitachi

For Linux(R) (x86) Systems HA Monitor Cluster Software


6.3.9 Setting the file system

Organization of this subsection

(1) File system in which HA Monitor is installed

Do not target the file system (/opt/hitachi/HAmon) in which HA Monitor is installed with specification of the nosuid option in the /etc/fstab file or with the mount command.

HA Monitor does not monitor file systems. Consider configuring HA Monitor in such a manner that an OS panic is issued when a file system error that might adversely affect job processing occurs so that hot standby processing can be performed quickly.

The example below shows a setting for /etc/fstab that issues an OS panic if an error occurs on the root disk (/). For details, see the OS documentation.

LABEL=/    /    ext4    errors=panic    1    1

(2) File system on a shared disk that is used by servers

If you use a file system on a shared disk, you must specify the file system settings described below for the OS.

(a) Setting that prohibits file system mounting during system startup

Because HA Monitor controls the mounting and unmounting of the file system, specify the setting in such a manner that the file system will not be mounted automatically during system startup. For details about how to specify this setting, see the OS documentation.

(b) File system type setting

When you specify the file system to be controlled by HA Monitor in the /etc/fstab file, make sure that the ignore option is not specified in the third field (file system type). If the ignore option is specified, the fsck command executed by HA Monitor might fail, making the file system unavailable.

(c) Settings related to the file system check time

If the fsck command needs time to check the file system, this will cause an increase in the time required for hot standby processing. To reduce the amount of time required for checking by the fsck command, evaluate implementing the following:

  • Perform hot standby processing only on files that are actually needed. Do not include any unneeded files.

  • Do not execute the fsck command automatically with the following settings:

    • Disabling the fsck command based on the mount count (maximum mount count)

    • Disabling the fsck command based on the interval (check interval)

(d) Settings for enabling external access by using the NFS

To externally access directories by using the NFS, specify the fsid option in the /etc/exports file. For details, see the documentation for the OS.