Transfer HaOS from Truenas to linux NAS server

I am looking for a possibility to transfer my Truenas with HaOS to a server where is can run HaOS and Truenas side by side to be able to use the PCI and USB and BT for HaOS together with Truenas.

if be any other NAS/linux server, instead of HaOs as a sub of Truenas.

Because HaOs in a container or VM is limiting my option to use Interfaces/sensors in HaOs running on Truenas.

TrueNAS is best on bare metal but if you want to attempt to run it as a VM on something like Proxmox, you have to do it as a ‘production’ setup. Pass through of the entire disk controller and black listing it so Proxmox will not touch it and cause corruption.

VIRTUAL

1 Like

HaOS (and HaOs) looks an awful lot like HAOS, or Home Assistant Operating System. But that wouldn’t be in a container; if you’re running HAOS under TrueNAS, it’d be as a VM.

OTOH, if you’re running Home Assistant without HAOS, the acronym of “HaOS” (regardless of capitalization) is at best misleading. So how, exactly, are you running Home Assistant?

i had freenas running and as it switched to truenas scale i installed the HaOS versiojn from the Truenas “app-store” and copied the settings from my RPI HaOS version and it ran instantly.

now i encounter the hurdle that i cannot install the Supervisor function, when trying to install i get the following message.

“ note that this integration cannot be installed on Home Assistant Container. Home Assistant Container is a standalone container-based installation of Home Assistant Core.”

No, you didn’t. You installed Home Assistant from the app store. HAOS, as I wrote above, would be either in a VM or on standalone hardware.

Really, the simplest thing for you to do would be to install HAOS in a VM under TrueNAS. That will include the Supervisor function, you can pass through USB and/or PCIe devices to it, etc. I’m not a huge fan of TrueNAS’ virtualization features, but if you don’t otherwise have a need for a hypervisor, TrueNAS is adequate for this purpose. A few threads that would be relevant to this:

1 Like

Thanks, I will study it and try to setup the VM, Nas part is no heavy on load on processor. but my ZFS cache shows 24 GiB which out of total 32 GiB memory +/- 4 GiB is free.

will assiginging/allocating 8 GiB memory for the VM reduce the ZFS cache to 16 GiB and show in the dasboard ? and how will the reduction influence performance ?

You installed the limited feature container setup.

Save the configuration.
Install full size HAOS VM.
Restore haos config to full VM.

Does your Home Assistant config need 8 GB of RAM? That seems unlikely. Any RAM used by the VM won’t be available to TrueNAS, but that’s true when it’s running in a container as well.