Community
OpenEnergyMonitor

OpenEnergyMonitor Community

OverlayFS RaspberryPi read-only file system

Has anyone tried the overlayFS option now available via raspi-config, under performance section? It creates a read-only file system. Testing it here it seems to work.

A discussion on the raspberrypi forums:
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=253104&p=1549229#p1549117

based on this original script I believe:
https://github.com/ghollingworth/overlayfs

and useful information here:
https://yagrebu.net/unix/rpi-overlay.md

Note: When the overlay filesystem is in place your RPI will function as usual, but any data generated after startup is only saved in RAM and will be lost upon reboot.

It seems like a particularly useful way of creating basic gateway images with emonhub posting data to a remote server.

You need to enable it via raspi-config rather than the overlayfs commands described in the ghollingworth repo:

1 Like

No I haven’t, but I do now intend to do so soon, sounds like a good find :+1: :crossed_fingers:

I just googled “Gordon Hollingworth” as the name sounded familiar, he’s the Director of Software Engineering for Raspberry Pi so I would expect it to be pretty good!

1 Like