无法在 KVM 中创建/访问存储池

无法在 KVM 中创建/访问存储池

我在 KVM 设置中使用存储池时遇到了麻烦。

每当我尝试在 virsh shell 中使用 pool-* 命令时,都会收到以下错误消息。

virsh # pool-list
error: Failed to get the number of active pools
error: this function is not supported by the connection driver: virConnectNumOfStoragePools

我的其余 virsh 命令似乎运行良好。我的 KVM 主机在 Centos 7 上运行。

答案1

我遇到了完全相同的错误。我想到的解决方案是,我需要先执行yum update。之后,我使用 重新启动了 libvirtd systemctl restart libvirtd

这解决了我的问题。所以现在我可以正常获得池列表。

我追溯到这个错误这导致我只需更新所有软件包。

相关内容