[sheepdog] [PATCH v2 0/7] md: add hot-plug and hot-unplug support
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Wed Apr 3 04:25:59 CEST 2013
At Wed, 03 Apr 2013 10:19:32 +0800,
Liu Yuan wrote:
>
> 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 got the same error even if I formatted with '-c 3', and, in either
way, returning 'Invalid error code' is wrong.
> I get following error message of your script:
>
> using backend farm store
> Failed to read object 7c2b250000002e No object found
> FATAL: read 7c2b250000002e failed
Seems that you don't reproduce the above problem.
Thanks,
Kazutaka
More information about the sheepdog
mailing list