Btrfs generation mismatch

A Btrfs parent transid error means one metadata pointer and the block it references disagree about history.

Btrfs records a generation in each tree block and in the parent pointer that references it. A parent transid verify failure means the expected and found generations differ, often after lost, misdirected, or incompletely persisted writes.

Understand the symptom

Generation checking prevents Btrfs from following a stale block as current metadata.

WHY

What is happening

The error reports a logical address plus wanted and found transaction IDs. A valid redundant metadata copy may allow scrub to correct the block; without one, the mismatch is permanent and salvage may require a read-only rescue mount or btrfs restore with results independently verified.

What you may see

Symptoms that change the recovery path.

01

Parent transid verify failed

The kernel log shows a logical block with wanted and found generations.

02

Filesystem mounts read-only

Btrfs protects the volume after detecting metadata inconsistency.

03

One subvolume will not open

The damaged tree may affect a limited root, snapshot, or directory branch.

04

Error followed power or storage loss

The lower layer may not have persisted related metadata writes in order.

Protect the source

Actions that can make the situation worse.

01

check --repair can make damage irreversible

Repair decisions with incomplete tree history can discard reachable metadata.

02

Scrub is not a substitute for a good replica

It can repair from another valid copy but cannot invent missing metadata.

03

Writable rescue mounts change transactions

New commits can overwrite evidence needed to compare older tree roots.

Do this now

Safe steps before evaluation.

01

Stop read-write mounts

Disable services, balance, defrag, scrub, snapshot deletion, and automatic mount retries.

02

Save the exact log

Capture device, logical address, wanted and found generations, tree errors, kernel version, and timeline.

03

Preserve every filesystem device

Keep all RAID-profile members, missing devices, replacements, and original order.

04

Image unstable storage

Protect failing drives before tree traversal or full-volume salvage.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Tree and replica mapping

NEPFOSYS identifies the affected logical block, tree, generation, and available metadata copies.

02

Read-only salvage

Candidate roots and rescue methods are evaluated on images without committing new transactions.

03

Content verification

Recovered subvolumes and files are checked because salvage can bypass normal checksum guarantees.

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.

What does parent transid mean?

It is the transaction generation the parent pointer expects the referenced tree block to contain.

Can scrub fix the error?

Only when a valid redundant copy exists and can be read; otherwise the missing metadata cannot be recreated automatically.

Should I run btrfs check --repair?

Not on the only copy. Preserve all devices and attempt read-only salvage before any write-based repair.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case