This is what I recommend you trying to achieve.
Run openhabian on sd card inserted in the PI.
Put another sd card in card reader into PI to mirror for failure.
Mount the SSD and get stuff that writes alot to move to SSD.
Do automated backup to SSD as well.
You probably already have all the hardware needed to achieve this or its cheap to do. This way if you have a failure you have multiple ways to recover.
Most statements on SD card wearout and filesystem corruption you can read about on this forum and the internet are missing the important points so I try to de-mystify and correct misconceptions with this post. It is constantly being updated and is meant to serve as a user reference. You probably got directed here by me or some other forum responder in response to a question or post of yours.
If you find any of the information contained herein to be incorrect please let me know.
Note I’m assumi…
I thouhgt I’d document the steps here, if any newbee like me would like to move off logs, persistence and still use the openhabian enabled frontail viewer:
1. Change the directory where logfiles are stored:
sudo nano /var/lib/openhab2/etc/org.ops4j.pax.logging.cfg
Change the below lines in the file:
log4j2.appender.out.fileName = /mnt/YOURDIRECTORY/openhab.log
log4j2.appender.out.filePattern = /mnt/YOURDIRECTORY/openhab.log.%i
log4j2.appender.event.fileName = /mnt/YOURDIRECTORY/events.log
lo…