<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">On Fedora 35, and I can reproduce your case,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:monospace"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"># modprobe nbd nbds_max=3 && ls -l /dev/nbd* | wc -l</span><br>3<br>
</span></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:monospace"><span style="font-family:monospace"># <span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">modprobe -r nbd</span><br></span></span></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:monospace"><span style="font-family:monospace"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"># modprobe nbd nbds_max=42 && ls -l /dev/nbd* | wc -l</span><br>42<br>
<br><br></span></span></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:monospace"><span style="font-family:monospace"><br></span></span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br clear="all"></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-family:tahoma,sans-serif">--<br>Rabin</span></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 12 Dec 2021 at 18:01, Valery Reznic <<a href="mailto:valery_reznic@yahoo.com">valery_reznic@yahoo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div dir="ltr">Hello.</div><div dir="ltr">Recently I faced strange problem - when I load nbd module on my freshly installed fedora 35 x86-64 there are only 8 nbd devices nbd0 - nbd7, while modinfo shows <span>nbds_max=16</span></div><div dir="ltr"><span>When I load nbd with <span><span>nbds_max=</span></span>32 - same thing, 8 nbd devices.</span></div><div dir="ltr"><span><br></span></div><div dir="ltr"><span>But loading nbd with <span><span><span><span>nbds_max</span></span></span></span><= 7 works like expected.</span></div><div dir="ltr"><span><br></span></div><div dir="ltr"><span>Looks like there is a limit somewhere.</span></div><div dir="ltr"><span><br></span></div><div dir="ltr"><span>I looked in the udev rules, in logs, but so far found nothing of interest.<br></span></div><div dir="ltr"><span>Do you have any idea what it can be and how investigate the issue?</span></div><div dir="ltr"><br></div><div dir="ltr">Valery<br></div></div></div>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" rel="noreferrer" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</blockquote></div>