[sheepdog-users] md plug works ! :-)

Valerio Pachera sirio81 at gmail.com
Fri May 3 15:28:11 CEST 2013


I just tried to add a partition of a second disk on a node by hot plug, and
seems to be working fine!

root at test007:~# collie node md info --all
Id      Size    Use     Path
Node 0:
 0      195 GB  4.9 GB  /mnt/sheepdog/obj
Node 1:
 0      195 GB  5.2 GB  /mnt/sheepdog/obj
Node 2:
 0      194 GB  6.2 GB  /mnt/sheepdog/obj
Node 3:
 0      194 GB  5.6 GB  /mnt/sheepdog/obj
root at test007:~# mount | grep sdb
root at test007:~# mount /dev/sdb2  /mnt/sdb2
root at test007:~# collie node md plug /mnt/sdb2
root at test007:~# collie node md info --all
Id      Size    Use     Path
Node 0:
 0      195 GB  4.9 GB  /mnt/sheepdog/obj
Node 1:
 0      195 GB  5.2 GB  /mnt/sheepdog/obj
Node 2:
 0      194 GB  6.2 GB  /mnt/sheepdog/obj
Node 3:
 0      195 GB  5.3 GB  /mnt/sheepdog/obj
 1      46 GB   324 MB  /mnt/sdb2
root at test007:~# collie node recovery
Nodes In Recovery:
  Id   Host:Port         V-Nodes       Zone
   3   192.168.2.47:7000      64  788703424
root at test007:~# ps aux | grep sheep
root      2757  2.1  2.4 152500 46816 ?        Sl   14:31   0:38 sheep
/mnt/sheepdog/
root      2758  0.0  0.0  83408   500 ?        Ss   14:31   0:00 sheep
/mnt/sheepdog/
root      2906  0.0  0.0   7848   836 pts/1    S+   15:02   0:00 grep sheep
root at test007:~# collie node md info --all
Id      Size    Use     Path
Node 0:
 0      195 GB  4.9 GB  /mnt/sheepdog/obj
Node 1:
 0      195 GB  5.2 GB  /mnt/sheepdog/obj
Node 2:
 0      194 GB  6.2 GB  /mnt/sheepdog/obj
Node 3:
 0      195 GB  4.4 GB  /mnt/sheepdog/obj
 1      45 GB   1.1 GB  /mnt/sdb2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20130503/bb887e44/attachment-0004.html>


More information about the sheepdog-users mailing list