[sheepdog-users] free space after snapshot removal

Valerio Pachera sirio81 at gmail.com
Thu Aug 29 14:32:09 CEST 2013


I open a new tread just to separate the tests I'm running on snapshots.

As we already know, removing snaphosts doesn't free space in the cluster.

Sheepdog daemon version 0.7.0_50_g8f659a2
QEMU emulator version 1.6.0 (devel)

root at test005:/usr/src/qemu# dog vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
  node1        0   10 GB  3.6 GB  0.0 MB 2013-08-27 16:11   232f14
2
  node2        0   10 GB  2.4 GB  0.0 MB 2013-08-27 16:11   23342d
2
s wheezy_template     1   10 GB  1.9 GB  0.0 MB 2013-08-29 14:12
5ddf88     2
s wheezy_template     2   10 GB  152 MB  1.9 GB 2013-08-29 14:19
5ddf8c     2
s wheezy_template     3   10 GB  520 MB  2.0 GB 2013-08-29 14:21
5ddf8d     2
s wheezy_template     4   10 GB  540 MB  2.4 GB 2013-08-29 14:22
5ddf8e     2
  wheezy_template     0   10 GB  1.1 GB  2.9 GB 2013-08-29 14:22
5ddf8f     2
  balance      0   10 GB  2.4 GB  0.0 MB 2013-08-27 16:11   98390b
2

root at test005:/usr/src/qemu# dog node info
Id      Size    Used    Avail   Use%
 0      931 GB  10 GB   921 GB    1%
 1      518 GB  7.8 GB  510 GB    1%
 2      518 GB  7.2 GB  510 GB    1%
Total   1.9 TB  25 GB   1.9 TB    1%
Total virtual image size        40 GB

root at test005:/usr/src/qemu# dog vdi delete -s 1 wheezy_template
root at test005:/usr/src/qemu# dog vdi delete -s 2 wheezy_template
root at test005:/usr/src/qemu# dog vdi delete -s 3 wheezy_template
root at test005:/usr/src/qemu# dog vdi delete -s 4 wheezy_template

root at test005:/usr/src/qemu# dog node info
Id      Size    Used    Avail   Use%
 0      931 GB  10 GB   921 GB    1%
 1      518 GB  7.8 GB  510 GB    1%
 2      518 GB  7.2 GB  510 GB    1%
Total   1.9 TB  25 GB   1.9 TB    1%
Total virtual image size        40 GB



More information about the sheepdog-users mailing list