diff options
-rwxr-xr-x | ctdb/config/events.d/60.nfs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ctdb/config/events.d/60.nfs b/ctdb/config/events.d/60.nfs index 6736a9c8c0..c0207eeaed 100755 --- a/ctdb/config/events.d/60.nfs +++ b/ctdb/config/events.d/60.nfs @@ -47,6 +47,13 @@ case "$1" in ;; monitor) + # and that its directories are available + [ "$CTDB_NFS_SKIP_SHARE_CHECK" = "yes" ] || { + exportfs | grep -v '^#' | grep '^/' | + sed -e 's/[[:space:]]\+[^[:space:]]*$//' | + ctdb_check_directories + } || exit $? + if ctdb_service_needs_reconfigure ; then ctdb_service_reconfigure exit 0 @@ -105,13 +112,6 @@ case "$1" in fi } - # and that its directories are available - [ "$CTDB_NFS_SKIP_SHARE_CHECK" = "yes" ] || { - exportfs | grep -v '^#' | grep '^/' | - sed -e 's/[[:space:]]\+[^[:space:]]*$//' | - ctdb_check_directories - } || exit $? - # check that lockd responds to rpc requests if ctdb_check_rpc "LOCKD" 100021 1 >/dev/null ; then (service_name="lockd"; ctdb_counter_init) |