initial code repo
[stor4nfv.git] / src / ceph / src / test / test_backfill.sh
diff --git a/src/ceph/src/test/test_backfill.sh b/src/ceph/src/test/test_backfill.sh
new file mode 100755 (executable)
index 0000000..3565724
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+TEST_POOL=rbd
+
+./stop.sh
+CEPH_NUM_OSD=3 ./vstart.sh -d -n -x -o 'osd min pg log entries = 5'
+./rados -p $TEST_POOL bench 15 write -b 4096
+./ceph osd out 0
+ ./init-ceph stop osd.0
+ ./ceph osd down 0
+./rados -p $TEST_POOL bench 600 write -b 4096