[sheepdog] [PATCH V2 4/4] collie: introduce '-o, --oid' option to 'collie vdi read' command

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Aug 23 15:25:52 CEST 2012


At Tue, 21 Aug 2012 22:09:43 +0800,
Yunkai Zhang wrote:
> 
> From: Yunkai Zhang <qiushu.zyk at taobao.com>
> 
> V2:
> - just do rebase
> ----------------- >8
> 
> This option is useful when we known the replicas of one object are different
> (for example: we have checked it by executing 'collie vdi check' command), and
> we want to export the specify replica of that object. It can help us to test
> wich replica is correct.
> 
> The format of this option is:
> $ collie vdi read --oid oid at host:port[,oid2 at host2:port2]... <vdiname>

What is the situation you want to specify the replica to be recovered?
If replica inconsistency happens, reading either of replicas is okay
from the point of view of block device semantic.

Thanks,

Kazutaka



More information about the sheepdog mailing list