[sheepdog-users] Snapshot and used space

MORITA Kazutaka morita.kazutaka at gmail.com
Fri Mar 22 02:04:45 CET 2013


At Thu, 21 Mar 2013 21:14:23 +0100,
Valerio Pachera wrote:
> 
> - Shutdown guest and remove the snapshot
> root at sheepdog001:~# collie vdi list
>   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
>   wheezy       0   10 GB  1.8 GB  0.0 MB 2013-03-20 17:02   9533ed
> 2
>   squeeze      0   10 GB  188 MB  1.6 GB 2013-03-21 11:21   a34c73     2

1.6 GB data of the squeeze vdi is regarded as shared one in the
internal sheepdog even after you remove the snapshot.  That means that
writing data to the area causes copy-on-write.

As you say, all the data of the squeeze vdi should be included in
'Used' in the above example, but current sheepdog doesn't do it - it's
a future work.

Thanks,

Kazutaka



More information about the sheepdog-users mailing list