[sheepdog-users] Testing snapshot-object-reclaim

Liu Yuan namei.unix at gmail.com
Tue Mar 11 11:59:39 CET 2014


On Tue, Mar 11, 2014 at 10:36:29AM +0100, Valerio Pachera wrote:
> 2014-03-10 4:01 GMT+01:00 Liu Yuan <namei.unix at gmail.com>:
> > Just want to check when remove all the snapshots include base, is all allocated
> > space released? This is the bottom line that at least we can reclaim all the
> > space.
> 
> dog vdi list
>   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
>   test         0   10 GB   72 MB  6.2 GB 2014-03-07 11:35   7c2b2a    2:1
> 
> dog node list
>   Id   Host:Port         V-Nodes       Zone
>    0   192.168.10.4:7000        75   67807424
>    1   192.168.10.5:7000        147   84584640
>    2   192.168.10.6:7000        162  101361856
> 
> dog node info
> Id      Size    Used    Avail   Use%
>  0      233 GB  5.9 GB  227 GB    2%
>  1      452 GB  5.9 GB  446 GB    1%
>  2      500 GB  5.9 GB  494 GB    1%
> Total   1.2 TB  18 GB   1.1 TB    1%
> Total virtual image size        10 GB
> 
> dog vdi delete test
> 
> dog node info
> Id      Size    Used    Avail   Use%
>  0      233 GB  2.3 GB  230 GB    0%
>  1      452 GB  2.3 GB  450 GB    0%
>  2      500 GB  2.3 GB  497 GB    0%
> Total   1.2 TB  6.8 GB  1.2 TB    0%
> Total virtual image size        0.0 MB

Hi Hitoshi,

   Seems that this is a fatal problem need to be solved before merge, because
from Valerio test, delete all the snapshots and base don't free the space cleanly.
any idea?

Thanks
Yuan



More information about the sheepdog-users mailing list