This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SD-card failure detection
#1
Hi,

After a power outage I discovered, that my LM4 (bought in 2015) only responded to ping and no TCP ports were open (stuck somewhere like 'give root password for maintenance'). From forum I found the recovery image instructions and using a new SD card I was able to get my LM4 back to life.
The original Samsung 4GB SD-card's 3rd partitions filesystem was severely damaged. Partition tables did exist, but e2fsck failed hard. Still I can see the directory listing for /storage/ and the current.db are there.
What puzzles me, is that the newest timestamps in /storage folder are from 2017... but I definetely changed some scripts in 2018. 
Could it be, that already then the filesystem was damaged and changed to read-only before I saved my script?  I can't figure out other ways, why the changes I made didn't appear in /storage/ folder files.

As the SD-cards may fail and same problem occur again, is there a way from LogicMachine GUI to discover such hardware issues?

Most of the stuff I restored from backup, which was 2 years old (not the latest version though). But just for clarification - what files should be rescued from SD-card, to get the latest configuration, which could be used to restore  (current.db looks to be most important)?

PS. What linux utility can handle the db file? It doesn't look to be a well known format.
I used strings command to get textual stuff from the file.

PPS. I can share a full dd image from the failed 4GB card in case it could be any useful (101MB dd img.gz).

After more that 4 years I'm still very happy and satisfied with LM4.
Using Lm4 with KNX, 1-wire and Modbus
Reply


Messages In This Thread
SD-card failure detection - by raunz - 11.08.2019, 13:16
RE: SD-card failure detection - by admin - 12.08.2019, 05:57
RE: SD-card failure detection - by raunz - 12.08.2019, 08:15

Forum Jump: