balena-io-modules / device-diagnostics

on-device diagnostics tool
9 stars 8 forks source link

Add file system healthcheck #310

Open 20k-ultra opened 2 years ago

20k-ultra commented 2 years ago

Using journalctl -n 10000 | grep "corrupt\|Data will be lost\|block allocation failed\|invalid magic\|dockerd: error -117\|EXT4-fs error\|error count since last fsck\|failed checksum\|checksum invalid\|Please run e2fsck\|I/O error" we should be able to provide a way to detect FS issues...paired with the local disk healthcheck this could easily confirm a bad SD card

jellyfish-bot commented 2 years ago

[20k-ultra] This issue has attached support thread https://jel.ly.fish/97b99e0f-dbbc-4510-a48c-e7f3c6ebe13a