virtualize disks

Indirectelex

Member
May 26, 2021
95
11
13
35
Canada
Hey there,
I got TrueNAS on proxmox but I can't find my HDD from TrueNAS. I am aware that I should add some hardware to my VM but if I add some I risk to freeze Proxmox itself please any guidance or similar past topic will be welcomed.
 
hi,

I got TrueNAS on proxmox but I can't find my HDD from TrueNAS.
what do you mean?

I am aware that I should add some hardware to my VM but if I add some I risk to freeze Proxmox itself please any guidance or similar past topic will be welcomed.
why would it freeze proxmox?

do you want to add extra virtual disks to your VM?
or do you want to passthrough your existing physical disk into the VM?
 
  • Like
Reactions: Indirectelex
hi,


what do you mean?


why would it freeze proxmox?

do you want to add extra virtual disks to your VM?
or do you want to passthrough your existing physical disk into the VM?

Yes I want to passthrough my existing physical disk into the VM without a HBA Controller... I think this is why it freeze
 
If you want a real passthrough where TrueNAS can physically access the drives directly using PCI passthrough to passthrough a HBA with all drives attached to that is the only possible option.

If you don't care about a real passthrough there is the option to "passthrough" single drives using "qm set". But this is no real passthrough and virtio is still virtualizing in between so TrueNAS can only see virtual drives..but these virtual drives will contain whats on the physical disk. But because it is still virtualized you get the virtualization overhead from virtio and there might be some complications (for example that this virtual disk will be 512B blocksize even if your physical drive is 4K blocksize). I wouldn't want to run a ZFS with important data ontop of a "qm set" passthrough...
 
Last edited:
  • Like
Reactions: Indirectelex
If you want a real passthrough where TrueNAS can physically access the drives directly using PCI passthrough to passthrough a HBA with all drives attached to that is the only possible option.

If you don't care about a real passthrough there is the option to "passthrough" single drives using "qm set". But this is no real passthrough and virtio is still virtualizing in between so TrueNAS can only see virtual drives..but these virtual drives will contain whats on the physical disk. But because it is still virtualized you get the virtualization overhead from virtio and there might be some complications (for example that this virtual disk will be 512B blocksize even if your physical drive is 4K blocksize). I wouldn't want to run a ZFS with important data ontop of a "qm set" passthrough...
Hi,
Thanks for your answer, so can you tell me what kind of 8x ports HBA do you recommend?
 
If you got a free electrical PCIe 8x slot and you only want to use HDDs and not SSDs on that HBA the best bang for the buck is a second hand rebranded LSI 9211-8i raid card that you flash into IT mode. There are several tutorials out there like this one for the Dell PERC H310. You get such a card for 20-50$. But its only PCIe 2.0 8x so only around 300MB/s for each SATA port if all are busy at the same time. So for SSDs you might want one of the newer LSI HBAs with PCIe 3.0 8x but these cost second hand over 100$.
 
Last edited:
If you got a free electrical PCIe 8x slot and you only want to use HDDs and not SSDs on that HBA the best bang for the buck is a second hand rebranded LSI 9211-8i raid card that you flash into IT mode. There are several tutorials out there like this one for the Dell PERC H310. You get such a card for 20-50$. But its only PCIe 2.0 8x so only around 300MB/s for each SATA port if all are busy at the same time. So for SSDs you might want one of the newer LSI HBAs with PCIe 3.0 8x but these cost second hand over 100$.

Yeah, the cheapest second hand are above 100$. That look to be the only option available for me if I want to install a bare metal home lab, its going to cost around 500$ and most of the cards are from China (like this : https://www.newegg.ca/p/0ZK-08UH-05...SI_HBA PCI-Express-_-9SIAN8UBUV3520-_-Product ).
 
Yes, should be fine to connect 8x SATA HDDs or SSDs using ZFS and should provide full performance.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!