this post was submitted on 23 Dec 2024
17 points (90.5% liked)

Selfhosted

40728 readers
633 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
[–] MeepMorp 5 points 2 days 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.

[–] Presi300 2 points 2 days ago (2 children)

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

[–] [email protected] 6 points 2 days ago

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

[–] MeepMorp 1 points 2 days 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.

[–] Presi300 1 points 2 days ago (1 children)

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

[–] MeepMorp 1 points 2 days 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.

[–] Presi300 1 points 1 day ago

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

[–] just_another_person 0 points 2 days ago

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

[–] [email protected] 3 points 1 day ago* (last edited 1 day 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] 2 points 2 days ago (1 children)

Have you got a recent copy of the configuration file?

[–] Presi300 1 points 1 day ago
[–] [email protected] 0 points 2 days 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.

[–] MeepMorp 1 points 1 day ago (1 children)

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

[–] [email protected] 1 points 1 day ago

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