[sheepdog] [PATCH v4 02/10] collie: add -c for 'collie vdi create' to specify redundancy level for per-vdi

levin li levin108 at gmail.com
Mon Aug 20 09:05:19 CEST 2012


On 2012年08月20日 13:09, MORITA Kazutaka wrote:
> At Thu,  9 Aug 2012 13:27:37 +0800,
> levin li wrote:
>> @@ -1479,11 +1483,11 @@ out:
>>  static struct subcommand vdi_cmd[] = {
>>  	{"check", "<vdiname>", "saph", "check and repair image's consistency",
>>  	 NULL, SUBCMD_FLAG_NEED_NODELIST|SUBCMD_FLAG_NEED_THIRD_ARG, vdi_check},
>> -	{"create", "<vdiname> <size>", "Paph", "create an image",
>> +	{"create", "<vdiname> <size>", "Pcaph", "create an image",
>>  	 NULL, SUBCMD_FLAG_NEED_NODELIST|SUBCMD_FLAG_NEED_THIRD_ARG, vdi_create},
>> -	{"snapshot", "<vdiname>", "saph", "create a snapshot",
>> +	{"snapshot", "<vdiname>", "scaph", "create a snapshot",
> 
> 'vdi snapshot' makes existing objects snapshot ones.  To support '-c'
> option for the command, we need to modify the redundancy level of the
> already stored objects.  Is it what you expect?
> 
> Thanks,
> 
> Kazutaka
> 

Well, indeed, we should use the redundancy level of the base VDI

thanks,

levin



More information about the sheepdog mailing list