[sheepdog-users] Fwd: Object distribution not the best

Valerio Pachera sirio81 at gmail.com
Mon Oct 5 16:11:08 CEST 2015


Hi, I've been testing writing data and taking snapshot till getting the
cluster full.
My purpose was to check if I was able to remove old snapshot with the
cluster full, and it does work.
Anyway I notice another thing:

two nodes got only half of the used space!


This is a very small testing cluster but as you can see...

dog node list
  Id   Host:Port         V-Nodes       Zone
   0   192.168.2.44:7000         3  738371776
   1   192.168.2.45:7000         3  755148992
   2   192.168.2.46:7000         3  771926208
   3   192.168.2.47:7000         3  788703424

dog node info
Id      Size    Used    Avail   Use%
 0      8.6 GB  8.6 GB  0.0 MB  100%
 1      8.6 GB  8.6 GB  0.0 MB  100%
 2      8.9 GB  4.5 GB  4.3 GB   51%
 3      8.2 GB  4.1 GB  4.1 GB   49%
Total   34 GB   26 GB   8.4 GB   75%

dog vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies
Tag   Block Size Shift
s test         1   20 GB  1.0 GB  0.0 MB 2015-10-05 09:05   7c2b25
3                22
s test         2   20 GB  1.0 GB  0.0 MB 2015-10-05 09:08   7c2b26
3                22
s test         3   20 GB  1.0 GB  0.0 MB 2015-10-05 09:08   7c2b27
3                22
s test         4   20 GB  1.0 GB  0.0 MB 2015-10-05 09:09   7c2b28
3                22
s test         5   20 GB  1.0 GB  0.0 MB 2015-10-05 09:10   7c2b29
3                22
s test         6   20 GB  1.0 GB  0.0 MB 2015-10-05 09:10   7c2b2a
3                22
s test         7   20 GB  1.0 GB  0.0 MB 2015-10-05 09:11   7c2b2b
3                22
s test         8   20 GB  1.0 GB  0.0 MB 2015-10-05 09:12   7c2b2c
3                22
  test         0   20 GB  548 MB  480 MB 2015-10-05 09:12   7c2b2d
3                22



To test I used this bash script:

---
#!/bin/bash

while true
do
        dd if=/dev/zero bs=1M count=1024 | dog vdi write test || exit
        sync
        dog vdi snapshot test || exit
done
---


What do you think about it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20151005/dfa01146/attachment.html>


More information about the sheepdog-users mailing list