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

raspberrypi

3123 readers
1 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
 

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.

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 4 points 5 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.

[โ€“] [email protected] 1 points 5 months ago

Thanks for sharing.