Passthrough OMV HDD Storage

homey5555

New Member
Jan 28, 2024
2
0
1
I have a working system with OMV VM and passing through two HDD for a ZFS pool (mirror). I have added a PCIe sata controller and passed it through to the OMV VM in the hopes of expanding my pool. Can I just move the HDDs to the new controller without exporting/importing the pool? Any precautions I would need to take. Since the controller is passing through the disks, do I need to remove the HDD passthrough from proxmox using qm unlink command?
 

Attachments

  • Capture.JPG
    Capture.JPG
    58.7 KB · Views: 13
Depends on how you want to passthrough the disks. Looks like you previously pseudo-passthroughed the individual disks via disk passthrough using "qm set". Looks like you now want to do real passthrough using PCI passthrough of a whole HBA?
When moving the disks to the new HBA ZFS should be able to find them. But your VM won't be ble to start with the disks missing, so you would need to remove scsi1 and scsi2.
Not sure if you need to change some OMV settings as you are now working with real disks instead of only virtual disks that you used earlier. Sector sizes of your disks will now be different (512B/4K of the rewal disks instead of 512B/512B of the virtual disks) and your disks will have different names.
 
Last edited:
Depends on how you want to passthrough the disks. Looks like you previously pseudo-passthroughed the individual disks via disk passthrough using "qm set". Looks like you now want to do real passthrough using PCI passthrough of a whole HBA?
When moving the disks to the new HBA ZFS should be able to find them. But your VM won't be ble to start with the disks missing, so you would need to remove scsi1 and scsi2.
Not sure if you need to change some OMV settings as you are now working with real disks instead of only virtual disks that you used earlier. Sector sizes of your disks will now be different (512B/4K of the rewal disks instead of 512B/512B of the virtual disks) and your disks will have different names.
Yes, I will be passing through the newly added HBA. I can remove the scsi 1 and 2 to allow vm startup, I just don't want to lose data or have to redo shared folders by moving the disks to the HBA. I had a corrupt pool and had to rebuild the entire system from scratch and prefer not to do that again. I didn't have a backup at the time. Only fix was to wipe the drives after copying everything but the corrupt files to a spare hard drive.