11.08.2019, 13:16
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.
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