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

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Aug 20 07:09:20 CEST 2012


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



More information about the sheepdog mailing list