git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7530a88
)
Add a new variable : CTDB_NFS_SKIP_KNFSD_ALIVE_CHECK
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 11 Feb 2010 00:09:39 +0000
(11:09 +1100)
committer
Ronnie 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
patch
|
blob
|
history
diff --git
a/config/events.d/60.nfs
b/config/events.d/60.nfs
index 4d5494a9a86913f4edc5717130e27d4c0fe951f5..1eca005746882a7550def30450aafe48dd38803b 100755
(executable)
--- a/
config/events.d/60.nfs
+++ b/
config/events.d/60.nfs
@@
-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" ] || {