[sheepdog-users] Testing snapshot-object-reclaim

Valerio Pachera sirio81 at gmail.com
Mon Mar 31 10:46:38 CEST 2014


2014-03-30 16:08 GMT+02:00 Hitoshi Mitake <mitake.hitoshi at gmail.com>:
> Pushed rebased version.

Sheepdog daemon version 0.8.0_148_g6a9a209

root at test006:~/script# 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
root at test006:~/script# 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-31 09:47   7c2b25
2:1
root at test006:~/script# 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
root at test006:~/script# dog vdi snapshot test
root at test006:~/script# dog vdi snapshot test
root at test006:~/script# dog vdi snapshot test
root at test006:~/script# dog vdi snapshot test
root at test006:~/script# dog vdi snapshot test
root at test006:~/script# dog vdi snapshot test
root at test006:~/script# 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-31 09:47   7c2b25
2:1
s test         2   10 GB  5.9 GB  304 MB 2014-03-31 09:52   7c2b26
2:1
s test         3   10 GB  4.0 MB  6.2 GB 2014-03-31 09:59   7c2b27
2:1
s test         4   10 GB  5.9 GB  312 MB 2014-03-31 10:00   7c2b28
2:1
s test         5   10 GB  240 MB  6.0 GB 2014-03-31 10:02   7c2b29
2:1
s test         6   10 GB   80 MB  6.1 GB 2014-03-31 10:02   7c2b2a
2:1
  test         0   10 GB  0.0 MB  6.2 GB 2014-03-31 10:02   7c2b2b
2:1
root at test006:~/script# dog node info
Id      Size    Used    Avail   Use%
 0      233 GB  7.3 GB  225 GB    3%
 1      452 GB  7.3 GB  445 GB    1%
 2      500 GB  7.3 GB  492 GB    1%
Total   1.2 TB  22 GB   1.1 TB    1%

Total virtual image size        10 GB
root at test006:~/script# time for n in $(seq 1 6); do dog vdi delete -s
$n test; done

real    2m25.005s
user    0m0.000s
sys     0m0.000s
root at test006:~/script# dog vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
  test         0   10 GB  0.0 MB  6.2 GB 2014-03-31 10:02   7c2b2b
2:1
root at test006:~/script# dog node info
Id      Size    Used    Avail   Use%
 0      233 GB  3.2 GB  230 GB    1%
 1      452 GB  3.2 GB  449 GB    0%
 2      500 GB  3.2 GB  497 GB    0%
Total   1.2 TB  9.5 GB  1.1 TB    0%

Total virtual image size        10 GB
root at test006:~/script# dog vdi delete test
root at test006:~/script# dog node info
Id      Size    Used    Avail   Use%
 0      233 GB  251 MB  232 GB    0%
 1      452 GB  251 MB  452 GB    0%
 2      500 GB  251 MB  499 GB    0%
Total   1.2 TB  752 MB  1.2 TB    0%

Total virtual image size        0.0 MB


I'm going to try with other vdi to understand if it's just this file
that has some sort of issue.



More information about the sheepdog-users mailing list