On 05/24/16 09:54, Christian Hesse wrote:
Christian Hesse <list@eworm.de> on Tue, 2016/05/24 14:35:
Hello everybody,
with my latest builds I see a regression on pxe boot with nbd. About 50% of boots fail. The nbd module is loaded, nbd-client attaches the device, but mount fails:
mount: you must specify the filesystem type ERROR; Failed to mount '/dev/nbd0' Falling back to interactive prompt You can try to fix the problem manually, log out when you are finished
A simple mount allows to continue boot:
mount /dev/nbd0 /run/archiso/bootmnt/ <Ctrl>-d
My guess is that linux 4.6 introduced a race condition. Any idea how to fix or handle this?
Looks like adding a boot parameter
nbd.nbds_max=2
fixes this (or makes it a lot less likely to happen). However this is still more of a workaround...
Hi Christian Did you try booting with earlymodules=nbd if goes better? Thanks for doing a good job here.