[Sheepdog] Drive snapshots and metadata

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Feb 4 19:46:14 CET 2011


On Sat, Feb 5, 2011 at 2:37 AM, MORITA Kazutaka
<morita.kazutaka at lab.ntt.co.jp> wrote:
>> Something else I'm contemplating is storage of metadata associated with
>> virtual drives, e.g. which user it belongs to, the user-provided drive name,
>> and other management layer properties on the drive. Is there a way I can tag
>> vdis in Sheepdog with a few short keys and values? (I know I could construct
>> a separate simple distributed database for this on top of the same corosync
>> backend as Sheepdog uses, but I'd like to avoid this if additional metadata
>> would naturally fit within Sheepdog as the total amount of metadata I'm
>> looking to store is very tiny!)
>
> It sounds good to me to have the feature in Sheepdog.  Storing
> something like accounting information is necessary feature for hosting
> use.  How about the following commands?
>
>  $ collie vdi setdata [key] [value]
>  $ collie vdi getdata [key]

Sorry, I didn't answer your question.  Currently, there is no way to have
additional metadata within Sheepdog.

Thanks,

Kazutaka



More information about the sheepdog mailing list