Search code examples
monitoringstoragesd-carddisk

Is there a tools to see how many writes an SD card has left?


Is there tool capable of reading meta-information from an SD Card? Similar to what smartctl can do for normal hard drives?

Story: I have built a router for a public network, and it store all its logging information and database onto an SD card. After a year, the SD card stopped working. I assume it did too many writes and passed away. Now I want to replace it and build a tool that will alert me before the card dies,....


Solution

  • Nope. The "limited number of writes" is not a counter built in by malicious manufacturer, it's a failure mode. Unfortunately, there is no reliable way to tell "when will this component break" other than statistical, e.g. "this model from this manufacturer usually lasts for 10^x writes".