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!'