Hi all,
I stopped receiving notifications from my gateway so I went to the website to check on the nodes. The site was not reachable neither remotely nor locally so I thought the RPi had flunked. I rebooted it and all started working OK for a min but then it stopped again. I opened a terminal and started the gateway again just to see what would pop up on the console, and I saw there's an error I had never seen before. See the attached screenshot... any ideas of what this may be???
Thanks!
Oscar
So it seems that this is more a linux problem than a gateway thing. For some reason I have no clue about, my file system became read only so I can't write into the database. Based on the error I got, I'm reading some threads online trying to figure out what's up. Would anyone have any help here?
Thanks!
Huh... so, this is clearly an issue of me not knowing enough linux to be playing with this.
Google eventually sent me HERE (http://"https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=33660") and I tried the command:
fsck.ext4 -yf /dev/mmcblk0p7
And that plus a reboot did it.
I really don't know what any of the lines in the screenshot means, so any insight from any of the more linux savvy friends here would be great. Just so I know if this is due to anything I did or if I can expect to see this sometime again in the future, etc..
You did check on partition.
with SD cards, you can only have problems from then on. What i'm saying is, your SD card might be going bad, backup data and try to get new SD card
Thanks Luka, sounds like a good idea. It's kind of weird, though. This SD Card has been used for like... 3 months or so. Do they last only this long?
They can vary a lot, it's the same problem as there is (was) with hard drives, few years ago, seagate had far worse disks then others. I think here is the same, it is just that I don't know of any long term test on SD cards & there are so many different capacities and who makes them and so on... kinda impossible to test. Best recommendation would be to get from brand name, someone that makes memory as their primary product or one that is selling SD cards for a long time.
Endurance of flash has very wide span, I had one of my SD cards also failed in less then 1y with gateway, which has SD in use ALL the time.
There was also a request to Felix, so that auto backup could be made, but for now, you have to do it yourself