Move to truenas scale

Hello, I’m thinking about switching from openmediavault to truenas scale, since there is now docker support.
I have 2 docker compose running on openmediavault, nextcloud aio and storj. Am I right in thinking that this should be done via dockge (but it’s a community, right?)? I have a truenas scale VM running to experiment with, but I haven’t really figured out how the dockers should work otherwise.

The setup includes 64GB ecc ram. 6x4TB raidz2 1x nvme 512GB and 1x ssd 1TB. The raid is now encrypted, but I would set it up again unencrypted.
Where is the best place to install the operating system? On the nvme or ssd? Unfortunately I have no way of running the operating system in a mirror because there is only 1 ssd or 1 nvme space.
Regarding backup of the operating system, I currently have Veeam installed to do a simple restore of the operating system. Does this work with TrueNAS too or is there another/better way.

In TrueNAS you save the configuration file. You download it from the UI.
Install in the new drive and upload the previously saved configuration.

NVMe is always better than SSD for an OS

On any cheap and small drive which use the interface you need least. (So typically your smallest NVMe drive, to keep all SATA ports for spinners.)
You don’t need to mirror the boot drive, or even back it up. Always keep a recent copy of the configuration file (under System>General) outside of the NAS. In case of need, reinstall, load the configuration file and you’re done.

It can be done any way you want. If you’re happy with OMV, pasting your compose.yaml files from OMV into Dockge is probably the way to go.

ECC :smiley: The raidz2 part is intriguing. Is it a ZFS pool from OMV? I have no idea how importable this is into TrueNAS.

This task is a no-brainier. Export the pool in OMV and import it in TrueNAS SCALE. Finally update the ZFS feature flags, for instructions for this task simply run zpool status -v on the imported pool.

1 Like

this I saw already, but is this not possible to automatic this process daily at midnight?

I think the best way is to delet it and creat a new one without encryption. Read already often, when something go wrong it’s very difficult to repair a encrypted zfs raid.

Look into @joeschmuck 's Multi-Report script to autosave the configuration for you.

1 Like
1 Like

I tried this on my test vm, but if I start the compose from the dockge the container start and with docker ps I can see the docker, but in the webui the doesen’t show

That’s a limitation of the current app system, there’s already a (afaik) accepted feature request to show apps, that were launched by portainer or dockge to be shown in the truenas gui.
See Display non-ix managed stacks and containers on apps screen

I’d also add that in 24.10.0, which will have a stable release before the end of the month, you can deploy your compose files directly within the TrueNAS UI, without using Dockage or Portainer. These apps will be manageable in the UI just like any other app.

Will the compose be editable?

Yes this bug from the RC has been fixed

2 Likes

thanks then I will wait till this is in the stable.

short question
Make it sense to install the os on the nvme and use the ssd for docker or is it better do use a dataset on the raid for docker?

If I’m understanding the question, it is generally always going to be better to run your apps on flash than spinning drives.

1 Like