The main.cf file can be modified to reflect the desired mount point options. For example, the Concurrent I/O option (cio) option can be added to the MountOptions manually and will work to mount Enhanced Journal File Systems (jfs2) in AIX. This is shown in the example below:
A minimum set of options for a mount option with cio is listed below:
Mount vcsmount (
MountPoint = "/vcsmount"
BlockDevice = "/dev/fslv00"
FSType = jfs2
MountOpt = cio
FsckOpt = "-y"
...
)
This has been tested in the lab to work for VCS mount of jfs2 filesystem:
# mount
node mounted mounted over vfs date options
-------- --------------- --------------- ------ ------------ ---------------
/dev/hd4 / jfs2 Feb 08 16:54 rw,log=/dev/hd8
/dev/hd2 /usr jfs2 Feb 08 16:54 rw,log=/dev/hd8
/dev/hd9var /var jfs2 Feb 08 16:54 rw,log=/dev/hd8
/dev/hd3 /tmp jfs2 Feb 08 16:54 rw,log=/dev/hd8
/dev/fwdump /var/adm/ras/platform jfs2 Feb 08 16:55 rw,log=/dev/hd8
/dev/hd1 /home jfs2 Feb 08 16:55 rw,log=/dev/hd8
/proc /proc procfs Feb 08 16:55 rw
/dev/hd10opt /opt jfs2 Feb 08 16:55 rw,log=/dev/hd8
/dev/fslv00 /vcsmount jfs2 Feb 24 12:22 rw,cio,log=/dev/loglv00
You may want to use all the mount options listed during a normal mount.
Example: rw,cio,log=/dev/loglv00
# /opt/VRTSvcs/bin/hastatus -sum
-- SYSTEM STATE
-- System State Frozen
A sys-4 RUNNING 0
A sys-1 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
...
B mountsg sys-4 Y N ONLINE
B mountsg sys-1 Y N OFFLINE
...
Procedure to manually edit the main.cf file without disruptions to normal operations. This procedure requires a stop of the entire cluster, as the edited configuration file needs to be propagated to all nodes.
- Freeze ServiceGroups.
- From a Command Prompt, stop the entire cluster with hastop -all -force
- Open the main.cf file in an editor add the MountOpt line and change FSType to jfs2 (as above).
- From a Command Prompt, start the entire cluster with hastart -all (run this on the node where you edited the main.cf file, so it starts first and propagates the changes to the other nodes.)
- Unfreeze the ServiceGroups.
Continue operations normally.
Applies To
This was tested on AIX 5.3 using VCS 5.1.