On Fedora 35, and I can reproduce your case,

# modprobe nbd nbds_max=3 && ls -l /dev/nbd* | wc -l
3
# modprobe -r nbd
# modprobe nbd nbds_max=42 && ls -l /dev/nbd* | wc -l
42




--
Rabin


On Sun, 12 Dec 2021 at 18:01, Valery Reznic <valery_rez...@yahoo.com> wrote:

> Hello.
> 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 nbds_max=16
> When I load nbd with nbds_max=32 - same thing, 8 nbd devices.
>
> But loading nbd with nbds_max<= 7 works like expected.
>
> Looks like there is a limit somewhere.
>
> I looked in the udev rules, in logs, but so far found nothing of interest.
> Do you have any idea what it can be and how investigate the issue?
>
> Valery
> _______________________________________________
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to