Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
40b5038c9c133e1fbe6cdb4c3010f9564e4803e2
[stor4nfv.git]
/
src
/
ceph
/
src
/
script
/
crash_bdev.sh
1
#!/bin/bash -ex
2
3
while true; do
4
./ceph daemon osd.0 config set bdev_inject_crash 2
5
sleep 5
6
tail -n 1000 out/osd.0.log | grep bdev_inject_crash || exit 1
7
./init-ceph start osd.0
8
sleep 20
9
done