Dracut shows errors about 'nvmf' lately

This happens because you have nvme installed.

The basic logic is this.

  • Dracut finds nvme so tries to add nvmf to your initrd
  • The nvmf dracut module requires the network module
  • We blacklist the network module by default because most people don’t need network support and it makes the initrd quite a bit bigger
  • Since dracut wants to install nvmf but network is blacklisted it shows a non-fatal error

There are a few ways to deal with this:

  • Ignore it
  • Blacklist nvmf
  • Remove the blacklist on network