OCFS2_DRBD: mount ocfs2 filesystems with "noatime" option master
authorAlexander Barton <alex@barton.de>
Mon, 25 Jan 2010 11:56:22 +0000 (12:56 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 25 Jan 2010 11:56:22 +0000 (12:56 +0100)
OCFS2_DRBD

index 241eb97..9ab7a5d 100755 (executable)
@@ -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