1
0
mirror of https://github.com/ceph/ceph synced 2024-12-22 19:34:30 +00:00
ceph/qa/mds/test_mdstable_failures.sh

14 lines
358 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
pushd . ; cd $bindir ; ./ceph -c $conf mds tell \* injectargs "--mds_kill_mdstable_at $f" ; popd
2009-12-02 00:18:23 +00:00
sleep 1 # wait for mds command to go thru
2010-06-17 20:09:22 +00:00
bash -c "pushd . ; cd $bindir ; sleep 10 ; ./init-ceph -c $conf start mds ; popd" &
2009-12-02 00:18:23 +00:00
touch $f
ln $f $f.link
sleep 10
2009-12-02 00:18:23 +00:00
done