[SCM] CTDB repository - branch master updated - ctdb-1.0.95-3-gf6e39d3
Ronnie Sahlberg
sahlberg at samba.org
Tue Oct 13 16:16:27 MDT 2009
The branch, master has been updated
via f6e39d35713475defaa08a623e194f3f2f8f7d53 (commit)
from 70e7781df1f118a0e2632a9c634f3fd388fa6c8c (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit f6e39d35713475defaa08a623e194f3f2f8f7d53
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Wed Oct 14 09:15:24 2009 +1100
always create the nfs state directories during the monitor event.
this allows us to configure and enable nfs at runtime without having to restart ctdbd
-----------------------------------------------------------------------
Summary of changes:
config/events.d/61.nfstickle | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/config/events.d/61.nfstickle b/config/events.d/61.nfstickle
index 60c13bc..332d006 100755
--- a/config/events.d/61.nfstickle
+++ b/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
--
CTDB repository
More information about the samba-cvs
mailing list