A 256 GB microSD card at a surprisingly low price, a USB drive from a seller you know nothing about: the computer shows the promised capacity, the first files copy without error, and everything seems fine. Yet some storage devices report a size they do not have. A few gigabytes of real memory pass for hundreds, and data written beyond that point disappears without any error message. This article explains how the falsification works, which signs give it away, how to test a device with free tools, and what to do if files are already stored on it.

How a device can display a capacity it does not have

A computer does not measure the memory of a card or drive: it asks the device’s controller and takes the answer at face value. On a falsified device, the controller has been set up to declare a size larger than the memory chips actually present. The operating system then creates a volume of the advertised size, the file manager shows plenty of free space, and nothing signals the gap.

The problem shows up when writing. As long as the amount of data stays below the real capacity, everything behaves normally: files copy and read back. Beyond that, data is not kept properly. Depending on the device, it is lost or overwrites older files. The copy still finishes without error, and the flaw only appears when reading back: a truncated photo, a video that stops halfway, an archive that will not open.

Diagram of a falsified capacity: a horizontal bar represents the capacity shown by the computer (256 GB). The left part, coloured, is the real memory; the rest, dashed, is a fictitious capacity where written data is lost without any error. Below the bar, reading back succeeds in the real memory and fails in the fictitious area (truncated photo, video that stops, unreadable archive), while the copy finishes without any error message.

Signs that should raise suspicion

No single sign proves a device is falsified, but several together justify a test before any serious use.

  • A price far below comparable offers. A large capacity sold at a price that does not cover the cost of the chips is the most common signal.
  • An unknown seller or one with no track record. A recent shop with no clear contact details or detailed reviews calls for caution.
  • Irregular or very low speeds. A copy that starts fast then collapses, or throughput well below the class printed on the label.
  • Corrupted files beyond a certain volume. Everything works up to a certain amount of data, then recent files become unreadable or old files change content.
  • Approximate packaging or printing. Typos, misaligned logos, blurry text. This remains an indication only: a well-made imitation can look flawless, and a genuine product can have imperfect packaging.

Conversely, the capacity shown by the computer proves nothing, since it is exactly what the falsification alters. Only a test that writes and reads back the whole capacity gives a reliable answer.

What the SD Association logos and classes mean

The SD Association defines card families by capacity. According to its documentation, SDHC cards cover above 2 GB up to 32 GB (FAT32 by default), SDXC cards above 32 GB up to 2 TB (exFAT by default), and SDUC cards above 2 TB up to 128 TB. These benchmarks already allow a consistency check: a card sold as SDXC must exceed 32 GB, and a new card’s file system normally matches its family.

Speed symbols concern performance, not capacity. The SD Association describes them as indications of minimum write speed: Classes 2, 4, 6 and 10 (Class 10 corresponding to 10 MB/s minimum sequential write), UHS classes U1 and U3, and Video classes V6 to V90. The stated performance is only assured when the host device and the card use compatible symbols. A logo printed on a product is not proof of authenticity: it is easy to reproduce, and what counts is the actual measurement, on your own equipment.

Testing a device: a four-step method

Two free tools are widely used. Both rely on the same principle: fill the device with pseudorandom data, then read it back to check that it matches what was written.

  • H2testw (Windows only). A portable program that needs no installation, developed by an editor of the magazine c’t. It writes test files until the device is full, reads them back, and produces a report on real capacity and errors. Version 1.4 from 2008 still runs on Windows 10 and 11, according to the heise download page.
  • F3 (Fight Flash Fraud). Free software whose f3write and f3read tools can be used on Linux and macOS: f3write fills the mounted device with large files, and f3read checks that they are intact. On Linux, f3probe is faster because it writes only what is needed to test, but it works directly on the unmounted device, with administrator rights, and the project states that it destroys the data present.

One point not to overlook: these tests write across the whole capacity. They therefore overwrite what the device contains and, for some, require reformatting it beforehand. Hence the first step of the method.

Diagram of a four-step integrity test for an SD card or USB drive. Step 1:
  1. Back up first. If the device holds files, copy them elsewhere, because the test overwrites free space and may require formatting.
  2. Fill. Connect the device directly to the computer (a direct card reader rather than a dubious adapter) and start the full write: H2testw on Windows, f3write or f3probe on Linux, f3write on macOS.
  3. Read back. Let the tool compare the data read with the data written (H2testw does it in the same program, f3read is a second command). On a large, slow device, allow plenty of time and do not interrupt it.
  4. Read the verdict. A report with no errors and the expected capacity indicates a consistent device. Read-back errors, or a real capacity well below the advertised one, mean the device should no longer be used for data that matters.

Run the test as soon as the device arrives, before entrusting it with photos or documents. A device that passes the test is not eternal: a genuine card wears out and can fail, which is why the 3-2-1 backup rule is worth following.

Buying while limiting the risk

The safest option remains to buy from established retailers with clear contact details and an explicit returns policy, or directly from a distributor approved by the manufacturer. On a marketplace, favour an identified, long-standing seller, check that the “sold and shipped by” line names a known party, and read the negative reviews before the positive ones. Keep the proof of purchase: it lets you request a refund if the test reveals a gap.

For any use where a loss would hurt (family photos, videos of an event, work documents), a device bought new from a reliable source, tested on arrival, then backed up elsewhere, reduces the risk considerably. A very cheap device can serve to move an unimportant file, not to archive.

If data is already stored on a suspect device

The right reflex is to stop writing to the device and immediately copy whatever can be copied to another one. Do not run the full write test before you have recovered the essentials: it would overwrite what remains. Then check each copied file (a photo opened in full, a video played to the end), because a file that appears in the list is not necessarily intact.

Recovery is limited here by the very nature of the problem. Data written beyond the real capacity was never kept in memory, or was overwritten by later writes: no tool, software or laboratory, can retrieve information that no longer exists on the chips. What remains recoverable is what was written in the real area and has not been replaced since. An analysis as a logical fault can sometimes rebuild some of these files from a copy of the device, but nobody can guarantee how much before a diagnosis.

If the device has also been formatted or no longer mounts, our article on data recovery after formatting details the precautions to take, and the one on damaged USB drives covers the physical and logical failures of this type of device. For external USB storage, quick advice before any attempt limits the risk of making things worse.

As for the device itself, it is best no longer used for important data, even after reformatting to its real capacity as some tools offer: a component of uncertain origin offers no guarantee of reliability. Keep the test results (a screenshot of the report) and the proof of purchase, then contact the seller or the platform to request a refund or exchange. These objective elements make the process easier, and a report also helps other buyers.

A falsified device is not inevitable: a test of a few tens of minutes on arrival is enough to remove the doubt, and a second copy of important files protects as well against a counterfeit as against an ordinary failure.