Add a new variable : CTDB_NFS_SKIP_KNFSD_ALIVE_CHECK
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 11 Feb 2010 00:09:39 +0000 (11:09 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 11 Feb 2010 00:09:39 +0000 (11:09 +1100)
when set to "yes" this will skip checking if knfsd has hung or not.

bz59626

config/events.d/60.nfs

index 4d5494a9a86913f4edc5717130e27d4c0fe951f5..1eca005746882a7550def30450aafe48dd38803b 100755 (executable)
@@ -77,7 +77,9 @@ case "$1" in
 
 
        # check that NFS responds to rpc requests
-       ctdb_check_rpc "NFS" 100003 3
+       [ "$CTDB_NFS_SKIP_KNFSD_ALIVE_CHECK" = "yes" ] || {
+           ctdb_check_rpc "NFS" 100003 3
+       }
 
        # and that its directories are available
        [ "$CTDB_NFS_SKIP_SHARE_CHECK" = "yes" ] || {