this post was submitted on 07 Aug 2023
246 points (99.2% liked)

linuxmemes

19849 readers
782 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] chinpokomon@lemmy.world 4 points 11 months ago (6 children)

This has happened several times to my Pi-Hole. Even with backups, trying to get my network back online still takes too long. I haven't found a good solution for resilience yet.

[–] DilipaEli@lemmy.world 4 points 11 months ago (2 children)

Try to use overlayfs under raspi-config, I've been running some raspberry pis for years with that (mostly on offsite locations where fixing dead sd cards is not possible)

Updating the pis is a little more work but in some use cases it's worth it

[–] chinpokomon@lemmy.world 2 points 11 months ago (1 children)

I think something like BTRFS might be a better solution as overlayfs seems to freeze the system image state. Something which is copy on write (COW) seems like it would be more resilient and still provide an RW file system. To do it right would probably be a combination of the two with the data partition BTRFS and the system image partition overlayfs.

[–] DilipaEli@lemmy.world 2 points 11 months ago

Yeah that sounds like a good solution. I think arch based pikvm does something similar. (no reboot necessary to enable rw)

For those pis that need to write stuff, I usually mount a network drive and use that while having the overlayfs enabled. So far haven't had any issues, only one pi died after 3 years due to faulty power supply.

load more comments (3 replies)