]> arthur.barton.de Git - ocf-ra.git/blobdiff - OCFS2_DRBD
OCFS2_DRBD: mount ocfs2 filesystems with "noatime" option
[ocf-ra.git] / OCFS2_DRBD
index 851edeaf56c04b3f8c86187233cd217b88fe7e85..9ab7a5da5f0377aa7a948ee8cfc36438a562485f 100755 (executable)
@@ -71,7 +71,7 @@ This Resource Agent starts and stops OCFS2 file systems located on DRBD devices.
 <action name="stop" timeout="90" />
 <action name="monitor" timeout="20" interval="30" depth="0" start-delay="10" />
 <action name="meta-data" timeout="5" />
-<action name="verify-all" timeout="30" />
+<action name="validate-all" timeout="30" />
 </actions>
 </resource-agent>
 END
@@ -89,7 +89,8 @@ ClusterFS_start() {
        if [ $? -ne 0 ]; then
                return $OCF_ERR_GENERIC
        fi
-       mount -t ocfs2 "$OCF_RESKEY_drbd_dev" "$OCF_RESKEY_mountpoint"
+       mount -t ocfs2 -o noatime \
+               "$OCF_RESKEY_drbd_dev" "$OCF_RESKEY_mountpoint"
        if [ $? -ne 0 ]; then
                return $OCF_ERR_GENERIC
        fi