[sheepdog-users] collie node kill and md, something wrong

Valerio Pachera sirio81 at gmail.com
Thu May 30 15:50:03 CEST 2013


Hi, after the successful test of cluster reweight of today, I tried
simply to kill one of the node.
Node 3 is the one started with a small disk and latered pluged the "big" disk.
I killed node 1, and after that, node 3 V-Nodes got the same value as
before the 'cluster rewight'

root at test005:~# collie node list
M   Id   Host:Port         V-Nodes       Zone
-    0   192.168.2.44:7000      64  738371776
-    1   192.168.2.45:7000      64  755148992
-    2   192.168.2.46:7000      64  771926208
-    3   192.168.2.47:7000      64  788703424


root at test005:~# collie node info
Id      Size    Used    Avail   Use%
 0      55 GB   4.1 GB  50 GB     7%
 1      55 GB   4.3 GB  50 GB     7%
 2      55 GB   5.0 GB  50 GB     9%
 3      55 GB   4.1 GB  50 GB     7%
Total   218 GB  17 GB   201 GB    8%
Total virtual image size        17 GB


root at test005:~# collie node md info --all
Id      Size    Used    Avail   Use%    Path
Node 0:
 0      50 GB   3.8 GB  46 GB     7%    /sheep/sda
 1      4.6 GB  304 MB  4.3 GB    6%    /sheep/sdb
Node 1:
 0      50 GB   4.0 GB  46 GB     7%    /sheep/sda
 1      4.6 GB  296 MB  4.3 GB    6%    /sheep/sdb
Node 2:
 0      50 GB   4.6 GB  45 GB     9%    /sheep/sda
 1      4.6 GB  348 MB  4.3 GB    7%    /sheep/sdb
Node 3:
 0      4.6 GB  376 MB  4.2 GB    7%    /sheep/sdb
 1      50 GB   3.7 GB  46 GB     7%    /sheep/sda

root at test004:~# collie node kill 1

root at test004:~# collie node list
M   Id   Host:Port         V-Nodes       Zone
-    0   192.168.2.44:7000      92  738371776
-    1   192.168.2.46:7000      92  771926208
-    2   192.168.2.47:7000       8  788703424

root at test007:~# collie node md info --all
Id      Size    Used    Avail   Use%    Path
Node 0:
 0      50 GB   8.0 GB  42 GB    15%    /sheep/sda
 1      4.6 GB  668 MB  4.0 GB   14%    /sheep/sdb
Node 1:
 0      50 GB   7.3 GB  43 GB    14%    /sheep/sda
 1      4.6 GB  652 MB  4.0 GB   13%    /sheep/sdb
Node 2:
 0      4.6 GB  48 MB   4.6 GB    1%    /sheep/sdb
 1      50 GB   888 MB  49 GB     1%    /sheep/sda

root at test004:~# collie node info
Id      Size    Used    Avail   Use%
 0      55 GB   8.6 GB  46 GB    15%
 1      55 GB   8.0 GB  47 GB    14%
 2      55 GB   936 MB  54 GB     1%
Total   164 GB  17 GB   146 GB   10%
Total virtual image size        17 GB



More information about the sheepdog-users mailing list