]> arthur.barton.de Git - ocf-ra.git/blobdiff - OCFS2_DRBD
OCFS2_DRBD: mount ocfs2 filesystems with "noatime" option
[ocf-ra.git] / OCFS2_DRBD
index 974b17119aba69ef5aecf3f61b1d97b035a91ed2..9ab7a5da5f0377aa7a948ee8cfc36438a562485f 100755 (executable)
@@ -60,9 +60,9 @@ This Resource Agent starts and stops OCFS2 file systems located on DRBD devices.
 <content type="string" default="" />
 </parameter>
 <parameter name="reload_cron" unique="1">
-<content type="boolean" default="0" />
-<shortdesc lang="en">Reload CRON configuration</shortdesc>
 <longdesc lang="en">Reload CRON configuration after mounting OCFS2 filesystem</longdesc>
+<shortdesc lang="en">Reload CRON configuration</shortdesc>
+<content type="boolean" default="0" />
 </parameter>
 </parameters>
 
@@ -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