blob: da31b69b1fd0043891f1001acc6b0b0da9b29212 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env bash
set -ex
while true; do
./ceph daemon osd.0 config set bdev_inject_crash 2
sleep 5
tail -n 1000 out/osd.0.log | grep bdev_inject_crash || exit 1
./init-ceph start osd.0
sleep 20
done
|