<div dir="ltr"><div><div><div><div><div><div><div>This happens only if the cluster is started using md.<br></div>I explain it better:<br><br></div>My first test was with nodes using a single disk.<br></div>sheep daemon was run using only a folder:<br>
</div> sheep /mnt/sheepdog<br><br></div><div>After md plug a second disk,"ps aux | grep sheep" still shows<br></div></div> sheep /mnt/sheep<br></div><div>no matter how many other disks we plugged in.<br><br></div>
<div>After I added a second disk on a node I stopped the cluster to test how to start it using md, so<br></div><div> sheep /mnt/sheepdog,/mnt/sheepdog/obj/,/mnt/sdb1<br><br></div><div>Cluster strats fine.<br></div><div>Also hot plug works fine<br>
</div><div> collie node md unplug /mnt/sdb1<br></div><div>but if I try to unmount sdb1 I get <br><br>root@test004:~# umount /mnt/sdb1 <br>umount: /mnt/sdb1: device is busy.<br> (In some cases useful info about processes that use<br>
the device is found by lsof(8) or fuser(1))<br><br></div>root@test004:~# lsof /mnt/sdb1/<br>COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME<br>sheep 3056 root 17u REG 8,17 4198968 173 /mnt/sdb1/80a34c6700000000<br>
<br>root@test004:~# collie node md info<br>Id Size Use Path<br> 0 195 GB 4.9 GB /mnt/sheepdog/obj<br><br>root@test004:~# ps aux | grep sheep<br>root 3056 0.1 2.3 136456 45740 ? Sl 15:58 0:01 sheep /mnt/sheepdog/ /mnt/sheepdog/obj,/mnt/sdb1<br>
root 3057 0.0 0.0 83408 764 ? Ss 15:58 0:00 sheep /mnt/sheepdog/ /mnt/sheepdog/obj,/mnt/sdb1<br>root 3289 0.0 0.0 7848 840 pts/0 S+ 16:16 0:00 grep sheep<br><br></div>