VM stopped on disconnecting USB hdd

spooky_ra

New Member
Feb 7, 2026
1
0
1
First of all, thank you very much for this fantastic product, Proxmox.

Everything is running smoothly for me except for one thing that I don't know how to fix.

The problem is as follows:
I have installed openmediavault 8 in a Debian VM. This is running normally without any problems. I regularly back up the data to an external USB hard drive. This is recognized, mounted, backed up, etc. as normal.

Then I unmount the hard drive, which also works as normal.
Code:
sync
umount /data/level3
cryptsetup luksClose /dev/mapper/level3 #Encrypted with luks2
eject /dev/sdc

When I then disconnect the hard drive from the USB port, the VM simply stops and I have to start it manually again.

In the VM, I find the following entry in the syslog:
Code:
2026-02-07T09:03:55+01:00 omv kernel: usb 3-1: USB disconnect, device number 2

After that, there are only entries from booting later.

I can't find any references to this problem in Proxmox either:
Code:
Feb 07 09:03:54 proxmox kernel: usb 2-1: USB disconnect, device number 3
Feb 07 09:03:55 proxmox QEMU[XYZ]: kvm: libusb_release_interface: -4 [NO_DEVICE]

After that, there are no entries except for other VMs.

The problem does not always appear on each disconnect. From 10 disconnects, it happens 3 time. And it also happens with different USB hdds (I change them weekly by rotating the hdds).

Does anyone know of a way to get closer to solving this problem?