this post was submitted on 21 Mar 2024
3 points (100.0% liked)

raspberrypi

3273 readers
2 users here now

Community about the single-board computers, micro-controllers and related projects.

https://www.raspberrypi.com/

Other RaspberryPi communities on Lemmy

founded 4 years ago
MODERATORS
3
submitted 8 months ago* (last edited 8 months ago) by HumanPenguin to c/raspberrypi@lemmy.ml
 

Hi again folks.

I am looking at a small project. Once again for my boat.

As this one really has very little need to write. Just regular temperature logging with time from multiple sources.

I am considering setting the pie to store all temporary files in memory. Running the main os from the SD card. And just using an extra USB storage for logging temps etc.

This should hopefully leave the system needing very little maintainance. With just the USB flash drive prown to wearing out every couple of years.

I'd be greatfull for any links to folks who have set up similar systems.

Or other ideas on safe low maintainance ways of running a pi zero os.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Nawor3565@lemmy.blahaj.zone 4 points 8 months ago (1 children)

That setup is probably perfectly adequate. You can configure the OS to set the MicroSD to read-only mode, which would decrease the chance of corruption to near zero. According to this page:

Just run sudo raspi-config from the terminal then go into "Performance Options" and select "Enable/disable read-only file system". You can do that again to enable writes if you ever need to change a config option or update the software.

[โ€“] HumanPenguin 1 points 8 months ago

Thanks for sharing.