[sheepdog-users] How much spaces is used by snapshots?

Valerio Pachera sirio81 at gmail.com
Tue Aug 13 08:35:15 CEST 2013


2013/7/9 Liu Yuan <namei.unix at gmail.com>:
> Current algorithm only release space after all the snapshots and its clones are
> deleted. Kazutaka has a patch set in progress to release objects once they are
> not referenced by any snpashots & clone & working vdi. After this patch set get
> merged, deletion of snapshots will make effect of reduction of used space.

I tried now to delete 2 big snapshot and 1 small but I can't see space
getting freed.

# collie vdi list
...
s backup_data    13  1.0 TB  103 GB  352 GB 2013-07-20 08:15   c8d134
   2  lug21_081501
s backup_data    14  1.0 TB   60 MB  455 GB 2013-07-21 08:15   c8d135
   2  lug22_081501
s backup_data    15  1.0 TB  104 GB  357 GB 2013-07-22 08:15   c8d136
   2  lug23_081501
...

# collie node info
Id      Size    Used    Avail   Use%
 0      2.3 TB  1.7 TB  554 GB   76%
 1      2.4 TB  1.7 TB  766 GB   69%
 2      2.7 TB  2.1 TB  689 GB   75%
 3      2.3 TB  1.7 TB  544 GB   76%
Total   9.7 TB  7.2 TB  2.5 TB   74%
Total virtual image size        1.4 TB

# collie vdi delete -s 13 backup_data
# collie vdi delete -s 14 backup_data
# collie vdi delete -s 15 backup_data

# collie node info
Id      Size    Used    Avail   Use%
 0      2.3 TB  1.7 TB  554 GB   76%
 1      2.4 TB  1.7 TB  766 GB   69%
 2      2.7 TB  2.1 TB  689 GB   75%
 3      2.3 TB  1.7 TB  544 GB   76%
Total   9.7 TB  7.2 TB  2.5 TB   74%
Total virtual image size        1.4 TB

0.7.0_rc0_12_g2b526ef



More information about the sheepdog-users mailing list