2.4. Filesystem Configuration

The first subsection below describes filesystem issues that must be considered when planning a Linux FailSafe system. The second subsection gives an example of an XFS filesystem configuration on a Linux FailSafe system. The third subsection explains the aspects of the configuration that must be specified for a Linux FailSafe system.

2.4.1. Planning Filesystems

The Linux FailSafe software supports the automatic failover of filesystem including XFS, ext2fs, and reiserfs on shared disks. Shared disks must be either mirrored or RAID storage systems that are shared between the nodes in the two-node Linux FailSafe cluster.

The following are special issues that you need to be aware of when you are working with filesystems on shared disks in a Linux FailSafe cluster:

The resource name of a resource of the filesystem resource type is the mount point of the filesystem.

Note: When clients are actively writing to a Linux FailSafe NFS filesystem during failover of filesystems, data corruption can occur unless filesystems are exported with the mode sync. This mode requires that local mounts of the filesystems use the sync mount mode as well. Using sync affects performance considerably.

2.4.2. Example Filesystem Configuration

Continuing with the example configuration from the Section 2.2.2, say that volumes A and B have XFS filesystems on them:

2.4.3. Configuration Parameters for Filesystems

Table 2-2, lists a label and configuration parameters for each filesystem.

Table 2-2. Filesystem Configuration Parameters

Resource Attribute

/sharedA

/sharedB

Comments

monitoring-level

2

2

There are two types of monitoring:

1 – checks /etc/mtab file

2 – checks if the filesystem is mounted using stat command

volume-name

volA

volB

The label of the logical volume on which the filesystem was created.

mode

rw,noauto

rw,noauto,wsync

The mount options used to mount the filesystem. This is specified the same as the options for the mount command or other filesystems listed in /etc/fstab.

See Section 3.5, for information about creating XFS filesystems.