]> git.proxmox.com Git - ceph.git/blob - ceph/src/script/crash_bdev.sh
add subtree-ish sources for 12.0.3
[ceph.git] / 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