exportfs reports two lines if the path is to long, but replace this in /etc/ctdb/events.d/60.nfs will help: old: # 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 $? new: # and that its directories are available [ "$CTDB_NFS_SKIP_SHARE_CHECK" = "yes" ] || { exportfs | grep '^/' | sed -e 's/[[:space:]]\+[^[:space:]]*$//' | ctdb_check_directories } || exit $?
Good catch - thanks! I am going to incorporate this. If you have (or set up) a git checkout of the ctdb.git repository (git://git.samba.org/sahlberg/ctdb.git), then you could attach this change as a git-formattet patch (git format-patch). Then you would get proper credits for the change! Cheers - Michael
I have brought the corresponding patch to master. This will be fixed in ctdb version 1.0.114