openSUSE 42.1升级时提示 multipath 未安装

( 1/36) 正在安装:kernel-default-4.1.27-24.1.x86_64 … 完毕 ]
附加的 rpm 输出:
Creating initrd: /boot/initrd-4.1.27-24-default
Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-4.1.27-24-default 4.1.27-24-default
dracut module ‘multipath’ will not be installed, because command ‘multipath’ could not be found!
dracut module ‘multipath’ will not be installed, because command ‘multipath’ could not be found!
*** Including module: bash ***
*** Including module: warpclock ***
*** Including module: i18n ***
Could not find FONT_MAP none!
*** Including module: ifcfg ***
*** Including module: drm ***
*** Including module: plymouth ***
*** Including module: kernel-modules ***
Omitting driver i2o_scsi
*** Including module: resume ***
*** Including module: rootfs-block ***
*** Including module: terminfo ***
*** Including module: udev-rules ***
Skipping udev rule: 91-permissions.rules
Skipping udev rule: 80-drivers-modprobe.rules
*** Including module: haveged ***
*** Including module: systemd ***
*** Including module: usrmount ***
*** Including module: base ***
*** Including module: fs-lib ***
*** Including module: shutdown ***
*** Including module: suse ***
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Hardlinking files ***
*** Hardlinking files done ***
*** Stripping files ***
*** Stripping files done ***
*** Generating early-microcode cpio image ***
*** Constructing GenuineIntel.bin ****
*** Store current command line parameters ***
Stored kernel commandline:
resume=UUID=747faa5b-fe83-45b9-a85b-e1c222300444
root=UUID=0a353135-70d6-46a9-9766-47855a5cfc6b rootflags=rw,relatime,data=ordered rootfstype=ext4
*** Creating image file ***
*** Creating image file done ***
Some kernel modules could not be included
This is not necessarily an error:
swap
Update bootloader…

请问这是什么原因, 可以修复吗

看你想怎么修复了…Device Mapper Multipathing 主要是集群用的,桌面不会用到… 我的 Tumbleweed 上默认也没有装 multipath-tools 这个包。

消除这个消息有三种方法:

  1. 不管它。都算不上错误。
  2. 装 multipath-tools 然后重新运行 sudo mkinitrd。不会有这个错误了,只是有点 overkill。
  3. sudo dracut -o ‘multipath lvm’ --rebuild --force /boot/initrd-4.1.27-24-default 重新制作 initrd。只不过把 multipath 和 lvm 模块省略了不往里加。

嗯,非常感谢。还有一个小问题麻烦女王大人,你平时都看些什么书啊。你回答的这些问题,平时应该去哪里看资料。