[sheepdog] [PATCH] dog/vdi: add data object reference support to vdi list command

Ruoyu liangry at ucweb.com
Tue Jul 15 05:53:49 CEST 2014


On 2014年07月15日 11:37, Liu Yuan wrote:
> On Tue, Jul 15, 2014 at 10:45:38AM +0800, Ruoyu wrote:
>> Once I found the error message in sheep.log:
>>
>> recover_replication_object(412) can not recover oid 3d211c0000025a
>>
>> And I do want to know the data object is referenced by which vdi
>> or vdis. It seems no command support it, so I create a new one.
>>
>> Usage: dog vdi list -o <oid>
> I think it would better put it under 'dog vdi object'
>
> by the way, dog vdi object map can't meet your requirement? Probably you need to
> modify it to support -o <oid>
dog vdi object map needs vdiname as an argument, but I don't know the 
vdiname.
Although I can extract the "vid" from object id, it is probably not the 
vdi id I want to get
because of COW.
>
> Thanks
> Yuan





More information about the sheepdog mailing list