ceph/qa/mds/test_mdstable_failures.sh

13 lines
292 B
Bash
Raw Normal View History

2009-12-02 00:18:23 +00:00
#!/bin/bash -x
for f in `seq 1 8`
do
echo testing failure point $f
$bindir/ceph -c $conf mds injectargs 0 "--mds_kill_mdstable_at $f"
sleep 1 # wait for mds command to go thru
pushd . ; cd $bindir ; ./init-ceph -c $conf start mds ; popd
touch $f
ln $f $f.link
done