[sheepdog-users] Testing snapshot-object-reclaim

Valerio Pachera sirio81 at gmail.com
Thu Feb 27 10:23:10 CET 2014


It seems to work fine.

I'm going to test also with erasure and again snapshots.

Here's what I did:

qemu-img convert -f qcow2 test.qcow2 sheepdog:test

dog node info
Id      Size    Used    Avail   Use%
 0      233 GB  1.1 GB  232 GB    0%
 1      452 GB  1.9 GB  450 GB    0%
 2      500 GB  1.7 GB  498 GB    0%
Total   1.2 TB  4.7 GB  1.2 TB    0%
Total virtual image size        10 GB

<convert more time the same vdi>

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-02-27 10:04   7c2b25
 2
  test5        0   10 GB  2.3 GB  0.0 MB 2014-02-27 10:16   fd2c30
 2
  test4        0   10 GB  2.3 GB  0.0 MB 2014-02-27 10:15   fd2de3
 2
  test1        0   10 GB  2.3 GB  0.0 MB 2014-02-27 10:12   fd32fc
 2
  test3        0   10 GB  2.3 GB  0.0 MB 2014-02-27 10:14   fd3662
 2
  test2        0   10 GB  2.3 GB  0.0 MB 2014-02-27 10:13   fd3815
 2

dog node info
Id      Size    Used    Avail   Use%
 0      233 GB  6.5 GB  226 GB    2%
 1      452 GB  11 GB   441 GB    2%
 2      500 GB  10 GB   489 GB    2%
Total   1.2 TB  28 GB   1.1 TB    2%
Total virtual image size        60 GB

<remove the all the vdi but 'test'>

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-02-27 10:04   7c2b25
 2

dog node info
Id      Size    Used    Avail   Use%
 0      233 GB  1.1 GB  232 GB    0%
 1      452 GB  1.9 GB  450 GB    0%
 2      500 GB  1.7 GB  498 GB    0%
Total   1.2 TB  4.7 GB  1.2 TB    0%

Total virtual image size        10 GB



More information about the sheepdog-users mailing list