diff options
Diffstat (limited to 'ctdb/config')
-rwxr-xr-x | ctdb/config/events.d/61.nfstickle | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/config/events.d/61.nfstickle b/ctdb/config/events.d/61.nfstickle index 60c13bc61d..332d0062db 100755 --- a/ctdb/config/events.d/61.nfstickle +++ b/ctdb/config/events.d/61.nfstickle @@ -56,6 +56,11 @@ case $cmd in ;; monitor) + # always create these direcotries since NFS might be enabled at runtime + # and we dont want to restart ctdbd + mkdir -p $CTDB_BASE/state/nfstickle + mkdir -p $NFS_TICKLE_SHARED_DIRECTORY/`hostname` + mydir=$NFS_TICKLE_SHARED_DIRECTORY/`hostname` rm -f $mydir/* # record our connections to shared storage |