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.
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.