Proxmox VE 7.0升级到Proxmox VE 7.1虚拟机重启失败

一单节点pve,版本为7.0,顺手刷了一下更新,升级到版本7.1。因为对其中的一个Centos 7虚拟机执行了yum update,重启此虚拟机,启动失败,尝试多次皆如此。

kvm: -drive file=/dev/pve/vm-102-disk-2,if=none,id=drive-scsi1,cache=writeback,format=raw,aio=io_uring,detect-zeroes=on: Unable to use io_uring: failed to init linux io_uring ring: Function not implemented

TASK ERROR: start failed: QEMU exited with code 1

型号上边的应用不多,又有备份,因此可以再保证其它数据安全的情况下进行各种排查和处理。

既然启动不了,从备份中找一个时间比较近的文件进行还原,勾选“唯一”,完成后试着启动这个还原来的虚拟机,还是一样的错误,不能启动。

再试着停止PVE中运行着的另外一个不重要的虚拟机,停止操作完成后,再在Proxmox VE Web管理后台点击“启动”,也不行了。进Proxmox VE宿主系统Debian,查看日志"/var/log/daemon.log,发现异常输出:

Jan 30 20:03:52 pve152 pvedaemon[37095]: VM 102 qmp command failed - VM 102 qmp command 'query-proxmox-support' failed - The command query-proxmox-support has not been found
Jan 30 20:03:53 pve152 pvestatd[2205]: VM 102 qmp command failed - VM 102 qmp command 'query-proxmox-support' failed - The command query-proxmox-support has not been found
Jan 30 20:03:53 pve152 pvedaemon[37095]: VM 102 qmp command failed - VM 102 qmp command 'query-proxmox-support' failed - The command query-proxmox-support has not been found
Jan 30 20:03:54 pve152 pvedaemon[37095]: VM 102 qmp command failed - VM 102 qmp command 'query-proxmox-support' failed - The command query-proxmox-support has not been found
Jan 30 20:03:55 pve152 pvedaemon[37095]: VM 102 qmp command failed - VM 102 qmp command 'query-proxmox-support' failed - The command query-proxmox-support has not been found
Jan 30 20:03:57 pve152 pvedaemon[37095]: VM 102 qmp command failed - VM 102 qmp command 'query-proxmox-support' failed - The command query-proxmox-support has not been found

发问题在某个Proxmox VE的qq群,有人回复,说需要对异步IO进行设置,其内容如下:

 可是Proxmox VE Web管理后台没这个选项可以选择或者输入,怎么办?试着直接编辑虚拟机配置文件101.conf,修改磁盘配置行,其完整内容如下:

scsi0: local-lvm:vm-102-disk-1,cache=writeback,size=50G,“Async IO”=threads

切换到Proxmox VE Web管理界面,哦豁,虚拟机硬件里,磁盘不见了,试着启动虚拟机,仍然不行。

先吃饭,休息一会,突然灵光一下,改了个东西,哈哈,虚拟机可以启动了。依照此法,把另外一个报错的“VM 102”也修改,重启也成功了。再查日志"/var/log/daemon.log",报错信息也消停了。

 

 

评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

4/5$全真龙门

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值