Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I check the health condition of an SD card?

When I want to check a hard drive, I can use SMART, how should I check an SD card? Is there a universal approach?

share|improve this question

SD cards are pretty much the worst kind of flash storage. They're fine for cameras that do large linear reads and writes to FAT format cards, and don't overwrite the same spot very often, but they wear out very quickly of you try to put a rootfs on them. I have a very unhappy card in a dev board to prove it.

I don't know of a way to monitor the card, but in my experience it'll be the files you use most that die first. On my card it was the apt files under /var (the ones that get updated every day) that developed faults.

If you need to use flash storage, USB drives are a faster and more reliable option.

EDIT: If you want to check a cards current state, plain old fsck is certainly a good start. Do not be tempted to do any sort of bad-blocks scan though as you'll only wear the card out sooner.

share|improve this answer
OK, but he already has an SD card and wants to check its condition. You don't address his question. – Kevin Apr 4 '12 at 21:27
Like I said, I don't know a way to monitor the condition. I will add a comment about scanning them though. – ams Apr 4 '12 at 21:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.