Reinstalling Truenas without losing data

I didn’t described my hardware because that was not the point at first. But now the discussion is going somewhere else let me be a little more precise :

MotherBoard : Asrock J5040-ITX (4xSATA / 1xPCIe)
Drives : 2x128go SSD + 2x4To Iron Wolf HDD
PCI port : Realtek LAN 2.5GBs
RAM : 16Go DDR4 2400MHz (2x8)

It says that the motherboard has a M2 slot but already taken by a Wifi key, maybe i could replace it I don’t need Wifi. Found this :

I’ll have 6 SATA and would be perfect

Sorry to look dumb to you etorix and thank you so much to take some of your time to explain. I made this DIY NAS for that, fail and learn

Hardware is always relevant…

TrueNAS cannot even use WiFi, but a Key-E slot is not of much use. The JMB582 is a can of worms in itself, though in this case it might just be acceptable.

But spend first on drives to make that storage redundant.

What do you mean by that ? Don’t know this expression… You mean it’s crap ?

I Read that if I plug the two SSDs on that one, i won’t take advantage of the SSDs, it would like if my SSDs where just HDD right ?

Of course but I need SATA connectors to add them

Not necessarily, but some third party SATA controllers are known to be problematic. Investigating whether this specific JMB582 model belongs to the “acceptable” or to the “crap” category is another issue (creeping and crawling, as the content of the fisherman’s can of living baits).

Even assuming it were an “acceptable” controller, two SSDs on a PCIe 3.0x1 controller in a PCIe 2.0x1 is not going to break speed records.

Boot on a cheap SATA or NVMe drive in a corresponding USB adapter, four motherboard SATA ports for two 2-way mirrors, ix-applications on the storage pool, and your minimal NAS is set.

But first plug a monitor in and see why it doesn’t boot. I suspect that the order of drives changed, possibly due to the other SSD failing, and GRUB losts its marbles[2].


  1. entre « une autre paire de manches » et « une boîte de Pandore » ↩︎

  2. « a perdu les pédales » ↩︎

SO !

Finally got my hands on my server. Just try to start and see what’s happening on the monitor.

And I got a kernel panic right after it tries to boot

So I guess I just have to do a fresh install

Take the time to check the status and condition of your drives from the BIOS and/or from a live USB of something.

A Huge thanks everyone !!! Thanks to you I managed to reinstall truenas without losing a single Octet. The import of the data was a piece of cake and I could reinstall everything very Easily.

Etorix thank you so much, I keep in mind your advice, I already started to look at rearrange everything to be more eficient and more secure

2 Likes