kvm 删除storagepool 时出错 cannot remove config for extral

实验环境: vmware上centos7 虚拟机

如下图,停止extral storage pool后,点击删除,出现错误,显示:cannot remove config for extral

原因:之前删掉了/etc/libvirt/storage/下面的extral.xml, 这是extral的Storage Pool 配置文件

解决方法:新建/etc/libvirt/storage/extral.xml,内容跟原来的大致一样。

<pool type="dir">
  <name>extral</name>
  <target>
    <path>/volume</path>
  </target>
</pool>

之后就可以执行删除等操作。

Storage Pool参考文档: http://libvirt.org/storage.html

猜你喜欢

转载自blog.csdn.net/Man_In_The_Night/article/details/86504106