6
submitted 1 year ago by loo@lemmy.world to c/truenas@programming.dev

Hi, I can't connect to my TrueNAS scale server anymore, not even through the webGUI due to me being stupid. It seems like I need to do a full reinstall and I'm very paranoid about losing data. What do I need to do so I can reinstall truenas without using data? Do I need to export my pools? I don't want to save my config, since it seems to be totally broken. Thanks in advance.

top 5 comments
sorted by: hot top controversial new old
[-] jh0wlett@discuss.tchncs.de 2 points 11 months ago

I'm not sure exactly what your setup is, if you have data in the OS pool that might be gone, unless you can boot the system from a stick and mount that disk to copy data over. Zpool export isn't strictly necessary.

If your data is in a different pool then it should be theoretically easy to just import that pool in a new install.

[-] loo@lemmy.world 2 points 11 months ago

Hi, thanks for the reply. I reinstalled truenas and everything was fine.

[-] jh0wlett@discuss.tchncs.de 2 points 11 months ago

Glad to hear! :)

[-] trilobite 1 points 11 months ago

This is good to know. I have my OS on nvram and my data pool on a disk array. If u lose a disk on the pool, zfs should take care of that. If I lose the os disk or is gets corrupt, then based on what u say above, it should be easy enough to reinstall Truenas scale on new nvram, import the pool and then import the last config file to setup all the shares which otherwise would have to be setup manually from scratch. Does that sound right?

[-] jh0wlett@discuss.tchncs.de 1 points 11 months ago

I'll be honest, I never tried it that way. But it should be possible. If you have the possibility, I'd advise to simulate that in a VM, then you'll know for sure! But basically importing zpools should even be OS agnostic, as it is an open standard that you can just install on any OS. I've heard stories about people even migrating pools from core to scale and vice versa, which is going from BSD (core) to scale (debian linux).

this post was submitted on 08 Nov 2023
6 points (100.0% liked)

TrueNAS

586 readers
1 users here now

Welcome to the unofficial TrueNAS community!

Here for all things TrueNAS whether you need help with your core, scale, or enterprise edition setups or if you just want to discuss random stuff pertaining to TrueNAS!

Useful Links:

TrueNAS:

Truecharts:

Main MOD: @Sleeping@programming.dev

founded 1 year ago
MODERATORS