TECHNOLOGY

fio verification needs the write history it is checking

In this article
THE QUICK TAKE

Retain job identity, verification parameters and saved state with the test artifact; a mismatch is evidence to investigate, not automatic proof of failed media.

A mismatch can come from the expected history

A storage qualification run is interrupted, then a verify-only pass checks the entire configured file range. Some locations were never successfully written by the original run. A mismatch at those locations does not automatically establish that the medium corrupted data that had been durably stored.

The fio HOWTO defines verify-only as checking data against a previous invocation of the writing workload. The prior history and coverage boundary are part of the test artifact, not optional context that can be reconstructed from file size alone.

Preserve the generation of expected data

Retain the exact job, tool version, target identity, block sizes, offsets, randomization and verification method. fio verification headers include workload metadata, so a changed expectation can disagree even when the bytes on storage have not changed.

Keep each run’s data and state files together. Reusing a job name or a target pathname does not prove that a saved state belongs to the current artifact. Prevent unrelated writers from modifying the test range, and use disposable data rather than a live model cache for a write-verification exercise.

Bound interrupted-write coverage

The HOWTO describes saving write state and loading it for verification after a trigger. Without the appropriate state, a verification pass can cover the job’s configured range instead of only the known prior write boundary.

The inspected verification implementation validates state version and checksum before assigning it, then uses recorded issue and in-flight information to constrain checking. This describes the inspected source behavior, not a claim that an arbitrary installed binary has identical implementation.

Separate failed work and observed corruption

Retain original write errors, outstanding requests and synchronization outcomes. A location whose write failed or remained in flight has a different expectation from one known to have completed under the intended persistence contract. Do not turn an uncertain prior state into a confidently specified expected pattern.

Likewise, multiple overlapping writers can invalidate simple sequence expectations. Changing verification settings merely to make an error disappear can remove a useful check without explaining the original result. Preserve the first failure and review the documented option semantics.

Acceptance needs stated coverage

Accept a verification result only with its target, expected history, checked range and exclusions. Report unverified blocks separately from verified matches. The HOWTO also notes that some verify-only output can contain phantom write accounting even though no writes are issued, so counters must be interpreted under that mode.

Checksum scope explains why a matching subset does not certify an entire artifact. Completed-byte accounting explains the related distinction between configured work and actual progress.

Use the result for the right diagnosis

A reproducible mismatch under a valid expectation is strong evidence of a data-path problem requiring investigation. It still does not uniquely identify failed flash, a controller, host memory or software as the cause. Preserve the raw error, history and coverage rather than compressing every verify failure into a hardware verdict. That makes later isolation meaningful and prevents an incomplete interrupted write from masquerading as a media-reliability measurement.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles