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

TrueNAS

577 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
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] jh0wlett@discuss.tchncs.de 2 points 10 months ago (4 children)

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.

[–] trilobite@lemdro.id 1 points 10 months ago (1 children)

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 10 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).

load more comments (2 replies)