Resolved - proxmox failed to start zfs-import-scan.service

arshadganja

New Member
Dec 30, 2025
3
0
1
I am a complete NOOB.
I was trying to do GPU passthrough to a VM and assigned the gpu device via WebUI.
Tried to restart the VM but Proxmox itself restarted on its own and now keeps giving this error at boot:

1767133036157.png

In recovery mode, I can get the following details:
1767133121019.png

1767133167770.png
1767133183634.png

1767133202598.png

Any help will be appreciated.
 
Issue was with sharing iGPU with a VM.
In recovery mode /etc/pve was empty because pmxcfs was not mounted. You can mount it locally long enough to edit configs:
mount -o remount,rw /
pmxcfs -l
ls /etc/pve/qemu-server

and then edit the VM that had passthrough:
nano /etc/pve/qemu-server/100.conf (100 =VMID)

Removed lines like:
  • hostpci0: ...
  • hostpci1: ...
    and also remove/disable:
  • onboot: 1 (or change to onboot: 0

And then rebooted. Fixed the issue like a charm

All was explained quite thoroughly by CHATGPT. I would have never figured it out on my own. Amazing times we live in.