diff --git a/ceph-osd-activate-all b/ceph-osd-activate-all index 581caa3..f86af92 100755 --- a/ceph-osd-activate-all +++ b/ceph-osd-activate-all @@ -20,7 +20,11 @@ for dev in $(fdisk -l | awk '$6 ~/Ceph/ { print $1 }'); do mkdir -p "$dir" mount "$dev" "$dir" - /etc/init.d/ceph start "osd.$id" + if [ -e /etc/monit ]; then + /opt/ungleich-tools/monit-ceph-create-start + else + /etc/init.d/ceph start "osd.$id" + fi done rmdir "$tmpdir"