From: Vinit Agnihotri Date: Fri, 27 Oct 2023 06:07:47 +0000 (-0700) Subject: ctdb-doc: Put NFS in grace on startipreallocate X-Git-Tag: tdb-1.4.11~1509 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3294e552690afe2e7b5fae03e684542d45cc5ce;p=thirdparty%2Fsamba.git ctdb-doc: Put NFS in grace on startipreallocate Signed-off-by: Vinit Agnihotri Reviewed-by: Martin Schwenke Reviewed-by: Volker Lendecke --- diff --git a/ctdb/doc/examples/nfs-ganesha-callout b/ctdb/doc/examples/nfs-ganesha-callout index 1605202c77b..870772bfe16 100755 --- a/ctdb/doc/examples/nfs-ganesha-callout +++ b/ctdb/doc/examples/nfs-ganesha-callout @@ -267,6 +267,11 @@ grace_period() fi } +nfs_startipreallocate() +{ + grace_period "0:" +} + nfs_releaseip() { _ip="$2" @@ -329,6 +334,7 @@ startup stop start check +startipreallocate releaseip takeip monitor-list-shares @@ -346,11 +352,12 @@ startup) nfs_startup ;; stop) service_stop "$1" ;; start) service_start "$1" ;; check) service_check "$1" ;; +startipreallocate) nfs_startipreallocate ;; releaseip) nfs_releaseip "$@" ;; takeip) nfs_takeip "$@" ;; monitor-list-shares) nfs_monitor_list_shares ;; register) nfs_register ;; -monitor-pre|monitor-post|releaseip-pre|takeip-pre|startipreallocate) +monitor-pre|monitor-post|releaseip-pre|takeip-pre) # Not required/implemented : ;;