栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

KVM创建快照失败 “Operation not supported: internal snapshots of a VM with pflash based firmware

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

KVM创建快照失败 “Operation not supported: internal snapshots of a VM with pflash based firmware

KVM创建快照失败 “Operation not supported: internal snapshots of a VM with pflash based firmware are not supported”
KVM/QEMU创建虚拟机快照时,报如下错误:

Operation not supported: internal snapshots of a VM with pflash based firmware are not supported

解决办法:

1. 进入宿主机,并切入到root用户

2. 运行命令“virsh list”,查找虚拟机名称

3. 运行命令,编辑虚拟机配置文件

# virsh edit Test_VirtualMachine_NAME

1)搜索关键字“loader”,定位到需要修改字段所在的行

2)将字段“type=pflash”修改为“type=rom”,保存":wq!"

4. 关闭虚拟机:

# virsh shutdown Test_VirtualMachine_NAME

5. 启动虚拟机:

# virsh start Test_VirtualMachine_NAME

6. 查看虚拟机配置文件type,是否已修改为“rom”

# virsh dumpxml Test_VirtualMachine_NAME | grep loader

7. 再次创建虚拟机快照成功!

注意:
如果使用泰山服务器,他使用的是utfi的方式创建的虚拟机,是不支持快照的,会出现这个错误 不要想去修改他的启动方式,他的官方文档上说可以试试外部快照,但是一定要看你的逻辑卷的类型是vda。还是hda,如果是vda是不能做外部快照的

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/324048.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号