this post was submitted on 23 Dec 2024
12 points (87.5% liked)

Selfhosted

40696 readers
450 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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?

top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 7 hours ago* (last edited 7 hours ago)

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.

[–] [email protected] 3 points 12 hours ago (2 children)

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.

[–] [email protected] 2 points 11 hours ago (2 children)

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

[–] [email protected] 5 points 11 hours ago

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

[–] [email protected] 1 points 11 hours ago (1 children)

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.

[–] [email protected] 1 points 11 hours ago (1 children)

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

[–] [email protected] 1 points 10 hours ago (1 children)

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.

[–] [email protected] 1 points 8 hours ago

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

[–] [email protected] 0 points 11 hours ago

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

[–] [email protected] 2 points 11 hours ago (1 children)

Have you got a recent copy of the configuration file?

[–] [email protected] 1 points 8 hours ago
[–] possiblylinux127 0 points 9 hours ago (1 children)

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.

[–] [email protected] 1 points 8 hours ago (1 children)

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

[–] possiblylinux127 1 points 7 hours ago

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