Migrate from TrueNAS Core to vanilla FreeBSD

Switched off TrueNAS, now running vanilla FreeBSD on my NAS! 🄳
Congrats!

I completed work on my Ansible collection, which I shared here (and also published to Ansible Galaxy) and also recently managed my own migration to vanilla FreeBSD 15.1, away from a very-far-from-trivial TrueNAS CORE deployment, and I just couldn't be happier!

I am, for the time being, maintaining the possibility of booting back into TrueNAS should I find a need to, but I can only imagine that once my upgrade to 15.2 is complete and validated, I'll feel comfortable enough to consider this migration a complete success and, therefore, to finish cleaning up every remaining bit of TrueNAS off my system (deleting its datasets, renaming the boot pool, upgrading all pools, etc.), after, of course, having paid the necessary and ritual respects to that OS which did serve me pretty well for many years.
 
Using Sylve in place of now dead TrueNAS CORE makes a lot of sense - web GUI for managing ZFS pools/datasets/snapshots along with (already implemented or planned) NFS/SMB/other sharing ... not to mention VMs and Jails and even clustering.

Unfortunately zVault - https://zvault.io/ - as much as I liked the idea - I believe stopped the development since some time.

One of my friends uses latest zVault as his home NAS - along with at least two VMs - one for HomeAssistant and something else that I do not remember - and it still works like a charm w/o any issues - but no new releases will make this a problem in the future.

He initially 'upgraded' to TrueNAS Scale as GUI suggested - but he only got instability and problems - so he asked me what to do - I suggested zVault as it was quite 'alive' back then - but in the future I will suggest (and probably help him with migration) to Sylve.
Sylve is sweet.

Homelab is now 2 sylve nodes, all VMs/jails on one, cron:ed zfs snapshots and syncios/victorialogs for snapshot backup to second node.

Creates grandpa-father-child snapshots with 3 months retention with snaps every hour. Works exactly like Netapp did when I had those at work.

To top it off I stuck extra nics in the sylve nodes so transfers go via a SAN on those extra nics, keeping the rest of the network clean.

Using Victorialogs to inspect ok/error and queries that with grafana.

The only thing missing is hot failover in sylve. As it is now it’s warm failover, ie stop/start.

Also I have a qnap on samba used to store documents and pictures for the users in the network, I just added nfs to those shares and added them to syncios and bam, backup done. No need for a jail/vm/physical to run a nas. And, yes, the qnap is dual homed as well.

Grafana picked up the status for the backup immediately as well

/grandpa
 
Congrats! Are you using WebZFS to manage your pools?

I am working on a blog series as I convert:

Part 0 was inital planning for the project
Part 1 was creating a separate FreeBSD15.1 boot env on my zVault NAS
Part 2 was booting in to the new BE, initial setup of the 15.1 BE and copying or creating files
Part 3 was provisioning the BE and installing webzfs, and getting it ready to take over
Part 4 will be to import the data pool, datasets, and start setting up the zfs housekeeping like snapshots and replication
Part 5 will be setting up nfs. I don't use iSCSI or smb in my use case as everything is either FreeBSD or linux.

I am also looking at incorporating jmpalacios ansible setup as well.
I'm glad my comments reached you! I can only hope my work is useful to others pursuing a similar goal; and, if so, that our various ideas on how to approach it can serve as cross-pollination.
 
I'm glad my comments reached you! I can only hope my work is useful to others pursuing a similar goal; and, if so, that our various ideas on how to approach it can serve as cross-pollination.
Agreed. Happy to work with any of y'all that are pursuing this goal.

It will make me so happy to be out from under the spectre of appliances and middleware. I have a Core box at work, that the middlewared will "just die." This can get really obnoxious because when the middleware dies, it takes any scheduled replications with it. And now that ixsystems has "disappeared" Core, it's time to go...
 
Agreed. Happy to work with any of y'all that are pursuing this goal.
If you're looking to use any aspect/role in my collection to complete your migration, but it doesn't quite suite your needs, please feel most free to discuss it and, if applicable, submit merge requests, ideas, etc.
 
Back
Top