Btrfs recovery

A Btrfs mount failure can involve checksummed metadata, missing devices and multiple filesystem roots.

Btrfs combines copy-on-write metadata, checksums, subvolumes, snapshots and optional multi-device profiles. A simple mount error may represent an incomplete device set, damaged tree roots or hardware I/O failure.

Understand the symptom

Btrfs stores multiple tree structures whose generations and checksums must agree.

WHY

What is happening

The filesystem tracks extents, checksums, directories, subvolumes and device membership through copy-on-write trees. RAID-like profiles can distribute metadata and data differently across members. Missing or stale devices, interrupted balance, bad sectors or damaged roots can prevent mounting even when many extents remain readable.

What you may see

Symptoms that change the recovery path.

01

Open_ctree or parent transid errors

Tree blocks may be unreadable, stale or inconsistent with the expected generation.

02

Missing-device mount failure

The filesystem expects one or more members that are absent, stale or misidentified.

03

Subvolumes or snapshots disappear

A particular root or path may be unavailable while other filesystem generations survive.

04

Checksum or I/O errors increase

Underlying hardware can prevent Btrfs from reading valid mirrored or alternate copies.

Protect the source

Actions that can make the situation worse.

01

btrfs check --repair writes metadata

Repair can make irreversible changes and is not a first recovery step.

02

Balance rewrites large regions

An unstable device set can deteriorate during broad redistribution.

03

Replacing the wrong device changes membership

Stale and current members must be identified before configuration changes.

Do this now

Safe steps before evaluation.

01

Unmount and stop services

Prevent containers, shares, databases and snapshots from writing to the filesystem.

02

Collect every member

Keep removed, failed, replacement and cache devices labeled with original positions.

03

Save logs and device output

Record kernel messages, filesystem show output, UUIDs and commands already attempted.

04

Image unstable hardware

Protect failing devices before attempting tree or device-set reconstruction.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Device-set mapping

NEPFOSYS identifies filesystem UUIDs, profiles, generations and the complete member set.

02

Member acquisition

Readable devices are imaged individually with errors and missing regions documented.

03

Virtual tree reconstruction

Surviving roots, subvolumes, snapshots, extents and checksums are evaluated away from the originals.

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 run btrfs check --repair?

Not on the only copy. It changes metadata and should be considered only after images and a clear recovery plan exist.

Can Btrfs recover from one missing disk?

It depends on the data and metadata profiles, which extents were stored on that member and the health of remaining devices.

Do snapshots guarantee recovery?

No. Snapshots share underlying extents and metadata; device or tree damage can affect multiple snapshots.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case