Proxmox, Freenas from disk to whole HBA?

unf0rg0tt3n

Dabbler
Joined
Jan 3, 2020
Messages
40
Hey guys,

Currently I have running a proxmox server with dual xeon e5-2680v2, 256Gb ram and plenty of storage (plenty for me).
I also have freenas running on that server and currently the disks are passed through directly by using “disk by-id”
The disks are all connected to a HBA which isn’t something manageable like in enterprise servers.
Everything is working well, but how do I change the disk by id to just passing through the PCI-e device? Because when I try to it just shows up no drives.
  • What are the advantages of the pci-e device against loose disks?
  • Is there any at all?
  • Does it fix my smart values inside freenas
  • Also… does it fix the hotplug function which my drive bays has?
Lots of questions I know! But thanks in common!
Cheers :smile:
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
  • What are the advantages of the pci-e device against loose disks?
  • Is there any at all?
  • Does it fix my smart values inside freenas
  • Also… does it fix the hotplug function which my drive bays has?
Yes, SMART access is something that giving the PCI card to the VM will deliver. It may (I would say probably will) fix the hot-plug story too.

how do I change the disk by id to just passing through the PCI-e device? Because when I try to it just shows up no drives.
You may find that you will need to rebuild the pool... I'm not sure what the disk by ID is actually doing in FreeNAS, but maybe it's putting a container inside the disk which FreeNAS doesn't normally see via the hypervisor.
 

unf0rg0tt3n

Dabbler
Joined
Jan 3, 2020
Messages
40
Yes, SMART access is something that giving the PCI card to the VM will deliver. It may (I would say probably will) fix the hot-plug story too.


You may find that you will need to rebuild the pool... I'm not sure what the disk by ID is actually doing in FreeNAS, but maybe it's putting a container inside the disk which FreeNAS doesn't normally see via the hypervisor.
Thanks!

Disk by ID passes the full disk to freenas.

How can I best rebuild the pool without the loss of data?
Also will passing through the HBA give more performance too?
 

Evertb1

Guru
Joined
May 31, 2016
Messages
700
How can I best rebuild the pool without the loss of data?
You can't. To rebuild the pool you need to destroy it first. And ofcourse the data is gone then. You wil need to copy the data before rebuilding the pool.
 
Top