From 4147bbca912871106b46a8587bb4bf076025fbd4 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 19 Jun 2018 13:07:42 +0200 Subject: [PATCH] [osd remove] wait for monit to terminate --- ceph-osd-stop-remove | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ceph-osd-stop-remove b/ceph-osd-stop-remove index a8bb6bf..bb7578d 100755 --- a/ceph-osd-stop-remove +++ b/ceph-osd-stop-remove @@ -26,6 +26,8 @@ fi ceph osd crush remove $osd_name ceph osd rm $osd_name +# Sleep 5 to wait for monit to kill it +sleep 5 umount "$mountpath" echo 'TODO: remove from fstab!'