Read the statement by Michael Teeuw here.
Huge number of errors in log fills up HD
-
@sdetweil Looking into the SD card now, this is my first time with this type of issue. Is there a way to check if the card is corrupted or not? There seem to be some Windows utilities, and maybe some in the PI itself, but I’m not having tons of luck yet.
If it’s corrupted, is the standard practice to start over with a new SD card (reinstall RPI OS, restore MM backups, …), or are there ways to try and fix the existing card before it goes in the garbage? Like maybe reformatting the same card? Seeing as SD cards fail often, I hope there’s a consensus on what is the best course of action.
Thanks again.
-
@cpcode once the SD card fails, there is no recovery… I have lost 10 over the last 7 or 8 years.
far as I know there is no technique to discover the problem. there no write failed error produced , so the software ‘thinks’ all is good, when its not…
so you get random stuff all over the place…
and it only gets worse
-
@sdetweil Well that makes things easier, I’ll buy one or two more cards and start over. Really grateful for your help, this could have taken me way longer.
While I was troubleshooting I saw other threads about backups - I am comfortable backing up Magic Mirror, especially with your script, but is there a solid way to image an entire SD card (RPI and all) so in the future I could just push the image to a new SD? I saw the ‘dd’ command mentioned, but I don’t have another Unix system, just Windows.
-
@cpcode dd/image gets you the same thing
there are image creation tools for windows
-
@cpcode
Once your have your setup completed, to what you want. You can use Win32Diskimager to make a .img file that you can reinstall with balenaetcher or RaspberryPiImager. I went to USB devices or NVMe drives.
I use Sam’s backup mainly to save my config.js and custom.css files so I never loose the main settings to the Current MM I have running. The list of modules helps too.
I also keep a module folder backup BACKUP is so critical if you are using sd cards.