Storage issue

Indirectelex

Member
May 26, 2021
95
11
13
35
Canada
Hey there,
I need to know how I can virtualized my drives to attached them to a VM like TrueNAS or OMV so they can use my drives for a local storage. Is there a way to transform ZFS into LVM, if so how and is it relevant to my issue? Thanks
Screenshot_100.jpg
 
I just built a machine where I virtualized FreeNAS/TrueNAS. What I needed to do was determine which SATA controller the drives were connected to and using PCI-e passthrough assign that controller to that VM.

I did try passing through the HDDs themselves but it was not allowing TrueNAS to see SMART data and so I moved to the PCI-e option and have not had any issues with the VM or other devices using the storage it provides.
 
  • Like
Reactions: Indirectelex
I just built a machine where I virtualized FreeNAS/TrueNAS. What I needed to do was determine which SATA controller the drives were connected to and using PCI-e passthrough assign that controller to that VM.

I did try passing through the HDDs themselves but it was not allowing TrueNAS to see SMART data and so I moved to the PCI-e option and have not had any issues with the VM or other devices using the storage it provides.
I think I've seen technotim doing this but he got a synology device recognized by proxmox. Please what you mean by SATA controller does it might be this :
 

Attachments

  • Screenshot_20.jpg
    Screenshot_20.jpg
    98.1 KB · Views: 5
Yes, those are what you need to sort out, I believe I have my notes somewhere but it was more for Proxmox than a VM. I did some google searching to find out the command to located which drives were on what controller, Ideally you want them all on 1. I only used 4 drives in the system so this was easy.

this might help you https://superuser.com/questions/1352337/how-to-tell-which-sata-controller-a-drive-is-using
hey thanks for your notes it took me 30 minutes to understand but now I know where to go with that. guess i can go further with that.
 
As soon as I assign the right PCI I got a connection timed out and I need to restart manually proxmox. Then when I launched a new VM without the PCIe I can access the OS. I think the ZFS reserved is for something.
 
Then you are passing through the controller used by your system, you need to have one that is separate from the one used by the system. How many SATA ports are on the board?
 
Thanks for your time,
I have 3x 5 pins SATA, 2x 4TB drives. I have a 1TB SSD where proxmox and my VMs are installed and I want OMV and True/FreeNAS to recognized my 4TB drives. Maybe Proxmox can only see my drives but I should set my 4TB drives as a LVM storage?
 

Attachments

  • 219979159_216085077190047_5413669231759160351_n.jpg
    219979159_216085077190047_5413669231759160351_n.jpg
    126.8 KB · Views: 7
  • 217345173_4308884295824465_4994045946075381728_n.jpg
    217345173_4308884295824465_4994045946075381728_n.jpg
    80.5 KB · Views: 7
  • 223015608_553244789179996_4936643984976661216_n.jpg
    223015608_553244789179996_4936643984976661216_n.jpg
    49.4 KB · Views: 7
Last edited:
Then you are passing through the controller used by your system, you need to have one that is separate from the one used by the system. How many SATA ports are on the board?
I don't understand when you say I need to separate from the controller used by my system. Please develop.
 
On your motherboard you will have a SATA data port, some have 4 some have 6 some have 8. Typically the larger number of ports the more controllers are used to keep bandwidth between each drive. My motherboard has 8 SATA connectors on the motherboard and has 2 controllers for them, so I was able to pass through 4 ports to a VM and leave the other 4 for my SSDs for Proxmox itself.
 

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!