Hotplugging disks - How to auto load into a running guest?

newsplash

New Member
Mar 25, 2025
2
0
1
Hello,

I run Proxmox with 1 debian VM from an N100 box. I needed more storage, so I went and purchased a USB 3 to sata drive bay and 2 disks. I installed the disks and set them up without an issue into my debian vm, and then begun to test failures. If my drive bay loses power at any point, or if the USB connection is disconnected, the drives will show an input/output error in the vm. The drives will show back up in Proxmox, and are listed in the qm monitor for the vm under list block. The drives will only appear as useable in the vm after a reboot, which is not ideal. I reviewed the page for hotplugging in the documentation, and can confirm that the vm has the proper kernel modules loaded and running.

The workaround for this is to pass through the usb device for the drive bay, however I feel like that's against best practice. With the usb device method, the drives aren't as easy for me to monitor compared to thinpools.

Is there a way I can achieve setting up my 2 drives with lvm-thin while allowing them to recover if power is lost/usb is disconnected in my vm?

Thanks for any help.
 
USB3 with spinning drives is not stable for running a server, this is pretty well-known.

You might have better luck with e.g. a Samsung T7 (no moving parts), but YMMV.

If you want stable, you need to upgrade to something that supports either eSATA with port multiplier, more SATA ports, or an HBA in IT mode. Or setup a proper NAS and connect the proxmox server to that.
 
USB3 with spinning drives is not stable for running a server, this is pretty well-known.

You might have better luck with e.g. a Samsung T7 (no moving parts), but YMMV.

If you want stable, you need to upgrade to something that supports either eSATA with port multiplier, more SATA ports, or an HBA in IT mode. Or setup a proper NAS and connect the proxmox server to that.
I'm using SSDs - I understand the potential stability issues with USB which is why im trying to do what I'm aiming to do.