Added (more) passthrough disks to VM, unclean shutdown/termination

molotch

New Member
Jun 6, 2025
2
0
1
Hello,

I would some help trying to figure out why my VM terminated uncleanly.

Background, I have a VM with two passthrough USB disks I'm running ZFS on. I ran that setup on metal with Ubuntu since 2021, very stable. Two months ago I migrated to Proxmox and run the same VM in Proxmox but with passthrough disks. Also very stable, not had a single problem.

Now I wanted to grow my ZFS pool and bought two larger (original 2x12TB, new 2x22TB) external USB disks. I added one at a time to my Proxmox host and passed it through to the VM. I added the disk to the ZFS two disk mirror I already had and it started resilvering the new three way mirror. After an hour or so while resilvering the VM shuts down uncleanly. I restarted it and it resumed and this time it finished without a problem. Added the second disc and did the same thing, finished without a problem.

I was about to detach the old disks to only run on my new ones. So I logged in over SSH to the VM and it freezes after a few mins when I'm connected. I remember that was the case on the first freeze too, I was logged in over the terminal, I stopped doing that when the resilvering finished, then I just connected shortly to run zpool status to see how far the resilvering had gone.

After the second freeze/termination I restarted and logged in to dump logs and while doing that it froze and terminated again.

So now my question is, how should I go about and debug this. It's clearly an issue with the new discs and maybe compounded by being connected over SSH. But it would be nice to figure out what is the root problem and how to fix it.

I found this post https://forum.proxmox.com/threads/vms-shutting-down-unexpectedly.96267/ so I attached the filtered journalctl -e, dmesg output and full pveversion -v and qm config <vm> info.

Old disks are connected to USB 7-2 and 5-2, new disks are 3-1 and 5-1.4. Second new disk (5-1.4) is connected through a USB hub. But I don't think that is the problem since the first (3-1) is connected to a USB port on the host and it still froze/terminated the first time.

Any help appreciated.

br,

Molotch
 

Attachments

Last edited:
I disconnected the old discs and connected the new discs in the ports used by the old discs. So far it seems quite stable. This will probably solve my problem but still would be interesting to know more about the error.