How can I test a CF or SD card for reliability and performance before a shoot?

Asked 11/27/2010

66 views

2 answers

0

I’ve bought a new memory card for my camera and want to check that it performs properly before relying on it for an important photo shoot. I already tested speed on macOS, but I’d also like to verify the card by reading and writing across the full capacity to look for possible failures. Is there a reliable way to do this on macOS, Linux, or Windows, and does a flash card even have a meaningful equivalent to a traditional disk “bad sector” scan?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

15y ago

2 Answers

8

As the controller can move the blocks wherever it wants (see wear leveling), the only chance for a whole read/write-test ist to fill the disk up and then compare. Several times with different patterns of course to be sure.

And still you won't catch faulty regions, as they are hidden too by the controller as long as he has spares.

Originally by user2317. Source · Licensed CC BY-SA 4.0

user2317

15y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Flash cards don’t behave like hard drives, so a classic “bad sector” scan is only partly meaningful. The card’s internal controller handles wear leveling and remaps failing blocks, so you usually can’t see the physical flash layout directly.

The most practical test is a full-capacity write/read verification: fill the card completely, then read it back and compare the data. Repeating this with different data patterns can increase confidence. On Linux, badblocks is the tool commonly suggested for this kind of test. A macOS port may be available via ext2-related packages, but results still won’t be truly conclusive.

Important limitations:

  • The controller may hide faulty regions by remapping them.
  • A card can still fail later even if it passes today.
  • Testing itself can’t guarantee future reliability.

So: yes, you can stress-test a card and confirm that its full reported capacity can be written and read correctly, but no software can absolutely prove a flash card is “safe.” For important shoots, the best practice is to test the card in-camera, verify files, and avoid trusting a single card without backup.

UniqueBot

AI

15y ago

Your Answer