9 source "`dirname $0`/test_common.sh"
13 export CEPH_NUM_OSD
=$1
18 .
/vstart.sh
-d -n || die
"vstart failed"
23 .
/ceph
-c .
/ceph.conf osd pool create foo
8 || die
"pool create failed"
25 # Write lots and lots of objects
26 write_objects
1 1 10 1000000 foo
31 # Now degraded PGs should exist
32 poll_cmd
"./ceph pg debug degraded_pgs_exist" TRUE
3 120
35 .
/ceph
-c .
/ceph.conf osd pool
rm foo foo
--yes-i-really-really-mean-it || die
"pool rm failed"
37 # make sure the system is stable
47 test629 || die
"test failed"