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