Linux md generations

Different md event counts record different member histories, not merely cosmetic metadata.

The event counter advances when md metadata records array activity. A member that was absent, failed, partially rebuilt, or written independently can lag the active generation; the highest counter is useful evidence but not automatic proof that every block on that disk is authoritative.

Understand the symptom

Generation selection and data consistency must be evaluated together.

WHY

What is happening

Linux md metadata stores identity and state used during assembly. Write-intent bitmaps can limit resynchronization after a clean interruption, while failed rebuilds and multiple missing members create more complex histories. A forced start can immediately resync and overwrite the only newer blocks on another member.

What you may see

Symptoms that change the recovery path.

01

One member has fewer Events

It may have left the array before later writes.

02

Array is inactive or auto-assembly refuses

md detected an incomplete or inconsistent set.

03

Members show spare or faulty roles

The last recorded role differs from expected topology.

04

A rebuild was interrupted

Source and target can each contain different valid ranges.

Protect the source

Actions that can make the situation worse.

01

Forced assembly can start writes

Resync may begin as soon as the array becomes active.

02

Zeroing removes generation evidence

UUID, role, offset, and event history can be lost.

03

Highest events is not always globally newest

A member can have recent metadata but incomplete data after failure.

Do this now

Safe steps before evaluation.

01

Capture all superblocks

Use read-only examine output and save binary superblock regions where possible.

02

Record the incident sequence

Note failures, removals, replacements, rebuild percentage, and later host writes.

03

Disable automatic assembly

Prevent boot or udev from activating and resyncing the set.

04

Image every readable member

Preserve conflicting generations before testing combinations.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Timeline reconstruction

NEPFOSYS correlates events, roles, bitmaps, offsets, logs, and rebuild history.

02

Range-aware assembly

Candidate sources are evaluated by logical range on protected copies.

03

Filesystem verification

Metadata and representative files are checked before export.

A clear next step

Preserve the original device before another repair or recovery attempt.

Start a case with the exact symptoms, incident timeline, prior attempts, encryption details, and the files that matter most. NEPFOSYS will route the case to the appropriate DFW intake or nationwide mail-in path.

Start with a case review

Questions, answered

What customers ask before starting.

Should I always choose the highest event count?

No. It is important evidence, but partial rebuilds and failures can leave mixed validity across the disk.

Does --assemble --force change data?

Starting the array can trigger recovery or resync writes, so work from images.

Can a write-intent bitmap solve the mismatch?

It can identify ranges needing sync in some clean scenarios, but it does not resolve every split-generation failure.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case