linux启动libvirtd失败原因之libdevmapper.so

报错:libvirtd: relocation error: libvirtd: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference
解决:yum -y upgrade device-mapper-libs(epel源,阿里的yum源或者remi源)
或者到/usr/lib/libvirtd目录下删除libdevmapper.so也可以解决,但后期启动虚拟机实例时可能会出错,因为libdevpapper.so的作用是,管理虚拟机实例的逻辑卷.

软件包:libdevmapper-dev(2:1.02.155-2)
Linux Kernel Device Mapper header files
The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management) Team’s implementation of a minimalistic kernel-space driver that handles volume management, while keeping knowledge of the underlying device layout in user-space. This makes it useful for not only LVM, but software raid, and other drivers that create “virtual” block devices.

This package contains the (user-space) header files for accessing the device-mapper; it allow usage of the device-mapper through a clean, consistent interface (as opposed to through kernel ioctls).

libdevpapper是LVM(Linux逻辑卷管理)团队实现的一个最小内核空间驱动程序,它管理逻辑卷,同时不改变用户空间中底层存储设备。这不仅对LVM有用,而且对软件RAID和其他创建“虚拟”块设备的驱动程序也有用。

此包包含用于访问映射设备(即虚拟磁盘lvm,raid)的(用户空间)头文件;它允许通过一致的接口(而不是通过内核ioctls)使用映射设备。

发布了13 篇原创文章 · 获赞 6 · 访问量 8787

猜你喜欢

转载自blog.csdn.net/qq_26227841/article/details/88552222