I'm planning to move my OMV server into a VM on a larger server, under KVM/QEMU/Proxmox. I have several ext4 disks on the physical OMV serer, full of data, and I'd like to use them directly with the OMV VM for performance and recoverability reasons (if all else fails, pull the disk out, read it in another PC!)
I've set up a VM to test it and edited the qemu vm conf file to add the host path for an ext4 disk:
When I start OMV in that vm, it shows the disk - /dev/vda - and the filesystem - /dev/vda1. However, when I try to define a shared folder, there are no devices in the list to select from.
I've tried defining the disk by various forms of its path, as a partition and as a whole disk, and as vm device virtio2, scsi1, ide1. None of the combinations has made OMV show the disk for shared folder creation. Looking at the OMV VM from the shell, I don't see any entry in /etc/fstab or any mount point under /media for the passthrough disk.
I've tried running "omv-mkconf fstab" but that didn't change the fstab file. Something in OMV's config database doesn't seem to know that the disk exists, although parts of the UI do know.
What's gone wrong here? How can I get that disk to be properly available in OMV?