<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello<br></div><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Have you tried managing this resource by other means, like by using drbdtop or drbdadm commands ?<br>
<br>
Yes, drbdadm always say:<br>
<br>
no resources defined!<br>
<br>
despite the resource definition file is there:<br>
<br>
/var/lib/linstor.d/vm-100-disk-1.res<br></blockquote><div><br></div><div>That still means that you have misconfigured DRBD itself or at least the necessary linstor-resources.res <br></div><div><br></div><div>This is what my testsystems looks like:</div><div><br></div><div># cat /etc/drbd.conf</div><div>include "drbd.d/global_common.conf";<br>include "drbd.d/*.res";<br>include "/var/lib/drbd.d/*.res";<br></div><div><br></div><div># cat /etc/drbd.d/linstor-resources.res<br># This line was generated by linstor<br>include "/var/lib/linstor.d/*.res";</div><div><br></div><div># ls /var/lib/linstor.d<br>linstor_common.conf<br></div><div>testrsc.res<br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">please make sure that you have no typo in any of the mentioned config files.</div><div class="gmail_quote">you said that you already have some resource files in /var/lib/linstor.d (like my "testrsc.res"). If you have configured DRBD properly, you should see even with a stopped linstor something like</div><div class="gmail_quote"><br></div><div class="gmail_quote"># drbdadm status<br>testrsc role:Secondary<br> disk:UpToDate<br><br></div><div class="gmail_quote">or if (for whatever reason) someone stopped that resource (or all), you should at least have drbdadm find the corresponding .res file with</div><div class="gmail_quote"><br></div><div class="gmail_quote"># drbdadm dump testrsc<br></div><div class="gmail_quote"># resource testrsc on bravo: not ignored, not stacked<br># defined at /var/lib/linstor.d/testrsc.res:4<br>resource testrsc {<br> template-file /var/lib/linstor.d/linstor_common.conf;<br> on bravo {<br> node-id 0;<br> volume 0 {<br> device minor 1000;<br> disk /dev/scratch/testrsc_00000;<br> meta-disk internal;<br> }<br> }<br> net {<br> cram-hmac-alg sha1;<br> shared-secret "Eimjfr+S8G7e+HNDZMD7";<br> }<br>}<br><br><br></div><div class="gmail_quote"><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best regards,<br></div>Gabor Hernadi<br></div></div></div></div></div></div></div></div></div></div>