Need help with recovering a system...
from Presi300@lemmy.world to selfhosted@lemmy.world on 23 Dec 14:48
https://lemmy.world/post/23454769

So today, my TrueNAS scale boot drive bit the bullet, throwing a “boot pool is read only error”/not showing up in the BIOS from time to time…

Now, usually that wouldn’t be a big deal except that I don’t have any images of that install and my ZFS pools aren’t exported…

What should I do?

#selfhosted

threaded - newest

MeepMorp@lemmy.world on 23 Dec 14:58 next collapse

You can just drop in a new boot drive and install from a usb. I do recommend setting up a boot pool mirror though. This way if one goes down, you have a spare that can be used to help recover more quickly.

just_another_person@lemmy.world on 23 Dec 15:08 next collapse

Yeah, if it’s ONLY a separate boot drive, the spanned volumes should still be in tact.

Presi300@lemmy.world on 23 Dec 15:12 collapse

So the fact that the ZFS pools aren’t exported isn’t an issue?

MeepMorp@lemmy.world on 23 Dec 15:14 next collapse

Yeah. As far as I understand it, exporting is more of a config thing. You can shut down your system asd boot it while missing drives (done this by accident) and boot while missing, and it’ll say there’s an issue with it. Shut down, pop the drives back in and you’re good to go on boot.

Presi300@lemmy.world on 23 Dec 15:17 collapse

But will the new install be able to pick them up?

MeepMorp@lemmy.world on 23 Dec 16:09 collapse

Oh I see now. You should be able to import them. Worst case is you can’t then you’re back where you are now. There shouldn’t be any data loss.

Presi300@lemmy.world on 23 Dec 18:39 collapse

I really don’t care about the configuration, as long as all the data is safe

MangoPenguin@lemmy.blahaj.zone on 23 Dec 15:26 collapse

It doesn’t matter, it might complain when you import but you can just override that.

Krill@feddit.uk on 23 Dec 15:37 next collapse

Have you got a recent copy of the configuration file?

Presi300@lemmy.world on 23 Dec 18:38 collapse

Nope

possiblylinux127@lemmy.zip on 23 Dec 17:55 next collapse

Export the configuration is step one. Step two is to replace the drive. You probably don’t need to reinstall but having the exported config will make it easier if you do.

MeepMorp@lemmy.world on 23 Dec 18:30 collapse

I don’t think that’s possible if they don’t have a working boot drive.

possiblylinux127@lemmy.zip on 23 Dec 19:33 collapse

Oh I misread. They would need to do a ZFS only mount from a different device and then manually replace it.

kylian0087@lemmy.dbzer0.com on 23 Dec 19:57 collapse

Your data is safe. Worst case is that you need to do some reconfiguration of the system after you reinstalled it. You can import your existing data drives.