Move freestanding Truenas Core into a Proxmox VM

Found one thread but it was going the other way… Currently have Core running on server by itself… works great but would like to do a bit more with the server…

Is it feasible to back up my Core Config…
Install Proxmox on the server
Create a VM and then install Truenas Core into that VM…
restore my config file into that install…
and my pools/data etc all be there??

Make sense?
Thanks

Current sys
Supermicro X11SSM-F-O
Xeon E3-1270
32GB ECC Ram
Main pool is Z2 with 5 8TB disks…

Or… to add to… should I upgrade/migrate from Core to Scale?
Really have nothing specific planned… this is a home setup running NAS for storage and Plex server…
Just seems like I can do more with the hardware… and it does appear Scale has quite a few more apps to play with…

Yes, IF

If your storage pool disk drives are connected to an HBA, preferably LSI, and you pass-through that HBA to the TN CORE VM. Using a virtual disk drive for the boot pool is fine, but the storage pool must be passed at the controller level. Disk passthrough won’t work and lead to data loss with high probability.

EDIT: just now reading your second question - possibly just switch to SCALE and use its “Apps” feature and if necessary VMs instead of Proxmox.

Thanks…
currently all drives are directly individually SATA connected to the Mobo…

if that makes a difference

In that case you cannot run any TN virtualised.

So maybe SCALE with its apps and VMs fits your bill.

1 Like

You may be able to pass through the whole sata controller.

But then you wouldn’t be able to use sata in proxmox.

In which case you may want to add an LSI HBA… and connect your truenas drives to that, and pass that through.

Or… pass through the whole SATA controller to the VM and install Proxmox on a USB SSD. Proxmox itself doesn’t really need to a fast drive I think… the problem is the VM store though. It may not be a good idea to store the VM on that USB drive also, though TrueNAS VM likely doesn’t require much performance, so it may be doable.

That being said, the point of Proxmox is for a hypervisor after all, so yeah that may not be feasible for other VM’s especially if OP plans to use ZFS. ZFS on Proxmox tends to demand a lot of sync write performance, which even normal consumer SSD’s suck at… learned that the hard way.

Thanks for all the info… my bad as I wasn’t aware as to how the hardware had to be separate… Will rethink
Probably just migrate to Scale… and maybe just build a MiniPC server to play with Proxmox and other things like that…
Thanks for the direction all!

I just found this thread. Am in same boat, want to use all 8 sata ports for a zpool tho, so I bought a nvme pcie adapter and added a nvme ssd into it directly with proxmox installed to it. That will host truenas and some other vm’s and the onboard sata controller will be passed with direct io to the vm.

Hope it’ll work

Whether it works and works reliably depends very much on the adapter you have purchased.

The safe, reliable and simple solution is a HBA card with IT firmware - not RAID!

Personally, I have resisted any temptation to run anything more than a jail with Jellyfin and a second jail with URBackup on my NAS. I’m still on CORE and will stay there as it does everything I need very reliably.
For playing about and other things, a stack of Lenovo Thinkcentre Tiny machines make a great Proxmox cluster and have all the storage on the TrueNAS server at their disposal.

I’ve not drunk the hyper-converged kool-aid, viewing it more as a way to put all my eggs in one basket, which is something I try to avoid. For example, my Home Assistant installation runs on a dedicated mini-PC. That way I can still control my lights while other machines are down.

Sure, you can make great use of hyper-converged systems, but to have any reliability and fault tolerance, you need very expensive hardware.

It’s a good plan if you get a separate HBA. I’m running my TrueNAS SCALE in a Proxmox hosted VM. The server is a SuperMicro Mobo with 128GB of ECC Ram, pretty hefty for single TrueNAS. So I installed Proxmox and LSI HBA with 6 2TB SSD’s that I now use with a TrueNAS VM. The VM is using 2 mirrored virtual disks for the boot-pool and I runt the 6 SSD’s as a raidz1 pool. My NAS runs great and I’m abled to utilize the server as I wish by creating other VM’s. I suppose I could do all that with a bare metal TrueNAS but I’ve decided to use TrueNAS for just storage and have the flexibility of Proxmox.

Well I added PCI Directly :

When I added it, it recognized the attached SATA device (old boot device of my TrueNas Core).
Can I run into any trouble with such setup? Haven’t find really any problematic posts.