pve网卡直通错误,失联打不开解决方案,不用重新安装pve(The PVE network card has a direct error. The solution cannot be opened when the connection is lost. There is no need to reinstall PVE)

解决思路:关闭虚拟机,不要虚拟机在pve系统重启后自动启动,pve重新启动成功后,到管理界面删除网卡直通

把pve这台服务器,插上显示器,键盘,用管理员账户进入

查看虚拟机

1 qm list

输出显示

1 VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
2 100 DS918 running 4096 0.12 9660

这里主要是 100 即虚拟机id

关闭虚拟机

1 qm stop 100

关闭虚拟机自动启动

qm set 100 -onboot 0

重启服务器

1 reboot

重启完成后,浏览器进入pve管理界面,把虚拟机直通的网卡删除。

————————

Solution: shut down the virtual machine. Do not start the virtual machine automatically after the PVE system is restarted. After the PVE is restarted successfully, go to the management interface to delete the network card

Plug the PVE server into the monitor and keyboard and enter it with the administrator account

View virtual machines

1 qm list

Output display

1 VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
2 100 DS918 running 4096 0.12 9660

Here, 100 is the virtual machine ID

Virtual machine shutdown

1 qm stop 100

Turn off virtual machine auto start

qm set 100 -onboot 0

Restart the server

1 reboot

After the restart, the browser enters the PVE management interface and deletes the network card of the virtual machine.