• chinpokomon@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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
      link
      fedilink
      arrow-up
      2
      ·
      1 year 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.