ceph/qa/mds/test_mdstable_failures.sh
2009-12-01 16:19:19 -08:00

13 lines
292 B
Bash

#!/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