[sheepdog] [PATCH v2 0/7] md: add hot-plug and hot-unplug support

Liu Yuan namei.unix at gmail.com
Wed Apr 3 04:19:32 CEST 2013


On 04/03/2013 10:07 AM, MORITA Kazutaka wrote:
> I ran the followng script:
> 
> ==
> for i in 0 1 2; do
>     ./sheep/sheep /store/$i/,/store/$i/d0,/store/$i/d1 -z $i -p 700$i
> done
> 
> sleep 1
> ./collie/collie cluster format -c 2
> ./collie/collie vdi create test 200M -P
> 
> rm -rf /store/0/d0
> rm -rf /store/1/d0
> ./collie/collie vdi check test
> ==
> 
> then got the below result.
> 
>   using backend farm store
>   FATAL: failed to read, Invalid error code
> 
> I'm not sure which patch is the root cause yet.

This is the right behavior. You have 2 copies and you remove two disks
on the different node, so some copies of the same object might get lost.
I get following error message of your script:

using backend farm store
Failed to read object 7c2b250000002e No object found
FATAL: read 7c2b250000002e failed

Thanks,
Yuan



More information about the sheepdog mailing list