[sheepdog-users] vdi list: distinguish erasure-coded vdi from full replication
Liu Yuan
namei.unix at gmail.com
Tue Jan 21 09:03:38 CET 2014
On Tue, Jan 21, 2014 at 08:28:09AM +0100, Valerio Pachera wrote:
> Hi, it might have been discussed before.
>
> dog vdi create -c 3 fullReplication 1G
> dog vdi create -c 2:1 erasuredCoded 1G
> dog vdi list
> Name Id Size Used Shared Creation time VDI id Copies
> Tag
> erasuredCoded 0 1.0 GB 0.0 MB 0.0 MB 2014-01-21 08:25 841447
> 3
> fullReplication 0 1.0 GB 0.0 MB 0.0 MB 2014-01-21 08:25
> e2cbca 3
>
> Is there a way to know from vdi list if a vdi is using erasure coded schema?
I've sent a patch that will show actual redundancy like following:
dog: show actual redundancy scheme for 'vdi list'
With this patch, 'vdi list' will show actual redundancy as follow:
yliu at ubuntu-precise:~/sheepdog$ dog/dog vdi list
Name Id Size Used Shared Creation time VDI id Copies Tag
test 0 10 MB 0.0 MB 0.0 MB 2014-01-21 15:54 7c2b25 4:2
test1 0 20 MB 0.0 MB 0.0 MB 2014-01-21 15:59 fd32fc 3
Thanks
Yuan
More information about the sheepdog-users
mailing list