You didn’t mention the version of TrueNAS or if you use encryption. How are the disks are attached to these machines? It is best to post detailed information on your system(s) so we can catch anything before you attempt migration. Your smart array controller may be a problem. I don’t know what the setting options are on those.
AVOID USB
What’s all the noise about HBA’s, and why can’t I use a RAID controller?
That just leaves sorting out the storage controller and if it is set to allow direct access to tthe disks, like a HBA flashed to ‘IT mode’. We just don’t want any hardware RAID interfering as it can cause problems with ZFS. Users have lost pools because of it.
If your controller has a ‘write cache’ installed, it may be best to remove it, also.
I guess I will have to add each of the disks first, and then import the pool that’s on them?
Also very interesting re. also transferring the SSD, but while I do have TrueNAS itself on an SSD in the Gen7, one possible problem with putting that SSD in the Gen8 is booting; I currently have to use an internal USB stick in the Gen8, for booting the Almalinux (also installed on an SSD, with 4 HDDs in the bays) that it’s currently running.
I think the Gen8 would likely fail to boot from the SSD transferred from the Gen7, and I don’t know how I could then cause it to boot that SSD via an internal USB stick instead.
It shouldn’t matter if it’s connected via usb or sata. But just in case keep a backup of your config. That way if it doesn’t boot you can simply reinstall truenas, import your config and you should be good.
Yes, before each update you’re asked if you want to back up the config file (including the secret seeds for encryption) or you can do it manually under sytem → advanced options → top right corner “manage configuration” there you can download a config backup or upload a saved config file.
I installed TrueNAS on an SSD connected to port 5 (“SATA ODD”) of the Gen8, and it was able to boot from that while there were no HDDs installed in the bays.
But with HDDs installed, it failed to boot from “drive C:” and nothing I do with the BIOS settings will make it boot from the SSD.
Previously (as I mentioned above), I had Almalinux installed on the Gen8, and had booted the OS SSD via an internal USB stick, which had the bootloader (/boot) on it; the Almalinux install allowed this to be done, however the TrueNAS install only provides the option to boot the OS via the SSD it’s installed on.
So, I connected the TrueNAS SSD to the internal USB port instead, via a USB-SATA adapter, and now the Gen8 does boot from the SSD.
But I now get the warning from TrueNAS: “‘boot-pool’ is consuming USB devices ‘sdd’ which is not recommended.”
How much of an issue is using USB for the TrueNAS OS? I had assumed that this really relates to using USB for ZFS pool data drives (as the linked post/article above suggests), but how much of a risk is it to use USB for the OS SSD?
And, is the problem with USB related to the USB interface, or the actual USB flash drive medium? (considering that I’m actually using an SSD, not a USB drive).
The Problem is related to actual usb flash drives, not ssds connected via usb. Starting somewhere with truenas 12.X (can’t remember the exact version), truenas started to write more data to the boot pool, which in return lead to thumb drives to wear out faster, leading to more failed boot drives
I think it’s when the “System Dataset” became a thing that writes started to wear out USB sticks.
To this day I still don’t understand what the System Dataset is doing or why it is constantly be written to. You might say “logging”, but the syslogs are decoupled from the System Dataset.