On 06/02/2012 11:36 PM, Christoph Hellwig wrote:

> Independent of any discussion on the rest of this series, does this one
> look okay to you?
> 


Failed the following script:
============================
#!/bin/bash

set -e

pkill -9 sheep
rm store/* -rf
# start three sheep daemons
for i in 0 1 2 3; do
    ./sheep/sheep -d /home/tailai.ly/sheepdog/store/$i -z $i -p 700$i -W
done

sleep 1
./collie/collie cluster format -c 2

# create a pre-allocated vdi
./collie/collie vdi create test0 200M
dd if=/dev/urandom | collie/collie vdi write test0 -p 7000 &
sleep 3

echo stop the one sheep
pkill -f "sheep -d /home/tailai.ly/sheepdog/store/1"
sleep 3
echo stop the one sheep
pkill -f "sheep -d /home/tailai.ly/sheepdog/store/2"
echo write data to the vdis

echo wait for object recovery to finish
for ((;;)); do
        if [ "$(pgrep collie)" ]; then
                sleep 1
        else
                break
        fi
done
# show md5sum of the vdi on each node
for i in 0 3; do
    ./collie/collie vdi read test0 -p 700$i | md5sum
done
==================

Thanks,
Yuan
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to