CAS E0535H05
虚拟机在线/离线扩容均失败:
1、虚拟机没有快照和多级镜像
2、qemu-img check磁盘文件未损坏
3、cas.log相关报错:
在线扩容:
2021-12-07 09:22:27 [ERROR] [Domain Request Processor Manager 5] [com.virtual.plat.server.virtualhost.DomainHandler::modifyDomain] null
com.virtual.plat.server.vm.vmm.HypervisorException: internal error: unable to execute QEMU command "block_resize": Can"t resize an image which has bitmaps
离线扩容:
2021-12-07 09:14:07 [ERROR] [Thread-7] [com.virtual.plat.server.RequestHandler::a] requestHandler: msg id is 0, waiting. countDown is 5
2021-12-07 09:14:07 [ERROR] [http-nio-8080-exec-219] [com.virtual.plat.server.vm.ssh.SecureShellManagerImpl::execCmd] Execute command Error Msg:ls: cannot access /var/lib/libvirt/qemu/save/Prod_DC-YC2.save: No such file or directory2021-12-07 09:22:27.358+0000: 121601: error : qemuMonitorJSONCheckError:392 : internal error: unable to execute QEMU command "block_resize": Can"t resize an image which has bitmaps
该问题在虚机进行过CBT增量备份时出现,为qemu 2.12版本bug,解决方法如下:
1、虚拟机关机,备份磁盘文件
2、qemu-img bitmap dump <filename>| less,记录bitmap信息
3、执行qemu-img bitmap rm <filename> <bitmap>删除磁盘上的bitmap
4、再次执行qemu-img bitmap dump <filename>查看是否删除干净
5、前台可正常扩容
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作