diff --git a/lib/ceph b/lib/ceph index 77b5726df1..a6b8cc8b57 100644 --- a/lib/ceph +++ b/lib/ceph @@ -142,8 +142,8 @@ function cleanup_ceph_remote { } function cleanup_ceph_embedded { - sudo pkill -f ceph-mon - sudo pkill -f ceph-osd + sudo killall -w -9 ceph-mon + sudo killall -w -9 ceph-osd sudo rm -rf ${CEPH_DATA_DIR}/*/* if egrep -q ${CEPH_DATA_DIR} /proc/mounts; then sudo umount ${CEPH_DATA_DIR}