[sheepdog-users] Testing snapshot-object-reclaim

Liu Yuan namei.unix at gmail.com
Mon Mar 10 04:01:34 CET 2014


On Fri, Mar 07, 2014 at 02:02:48PM +0100, Valerio Pachera wrote:
> I've been re-testing with
> Sheepdog daemon version 0.8.0_121_g7a46f95
> 
> This thime guest didn't five I/O errors.
> I still get error messages in sheep.log when removing snapshots and
> not all the space get released.
> 
> 
> dog vdi list
>   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
>   test         0   10 GB  2.3 GB  0.0 MB 2014-03-07 11:22   7c2b25    2:1
> 
> dog vdi list
>   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
> s test         1   10 GB  2.3 GB  0.0 MB 2014-03-07 11:22   7c2b25
> 2:1
> s test         2   10 GB  5.9 GB  304 MB 2014-03-07 11:25   7c2b26
> 2:1
> s test         3   10 GB  4.0 MB  6.2 GB 2014-03-07 11:31   7c2b27
> 2:1
> s test         4   10 GB  5.9 GB  336 MB 2014-03-07 11:31   7c2b28
> 2:1
> s test         5   10 GB  848 MB  5.4 GB 2014-03-07 11:35   7c2b29
> 2:1
>   test         0   10 GB  0.0 MB  6.2 GB 2014-03-07 11:35   7c2b2a    2:1
> 
> dog node info
> Id      Size    Used    Avail   Use%
>  0      233 GB  16 GB   216 GB    7%
>  1      452 GB  16 GB   436 GB    3%
>  2      500 GB  16 GB   483 GB    3%
> Total   1.2 TB  49 GB   1.1 TB    4%
> Total virtual image size        10 GB
> 
> 
> time for n in $(seq 1 5); do dog vdi delete -s $n test; done

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.

Thanks
Yuan



More information about the sheepdog-users mailing list