Btrfs scrub recovery

An uncorrectable Btrfs scrub error means no trusted duplicate was available for at least one damaged block.

Btrfs scrub reads allocated data and metadata, verifies checksums, and uses another valid replica when the selected RAID profile provides one. An uncorrectable result can be limited to named files or can involve trees required to mount the filesystem.

Understand the symptom

Checksum evidence must be mapped to redundancy, device health, and affected objects.

WHY

What is happening

Btrfs can use different profiles for data, metadata, and system chunks. A pool described as RAID1 may still contain single-profile ranges, and both replicas can return different bad content. Recovery identifies the damaged extents and protects readable copies before any rewrite-heavy maintenance.

What you may see

Symptoms that change the recovery path.

01

Uncorrectable error count rises

Scrub could not repair one or more checksum failures.

02

Named files are reported

The damage may be limited to specific extents while the volume remains mounted.

03

Metadata errors appear

Tree blocks fail checksum or structural validation.

04

One device shows read errors

Media, cabling, power, or the storage path may be unstable.

Protect the source

Actions that can make the situation worse.

01

Balance rewrites allocation

It can move large amounts of data through an already unstable member set.

02

Deleting a damaged file loses mapping evidence

Record inode, path, snapshot, and extent information first.

03

A replacement can start new writes

Resync activity may stress weak members and change surviving copies.

Do this now

Safe steps before evaluation.

01

Save scrub and kernel output

Keep totals, device statistics, paths, logical addresses, and timestamps.

02

Stop nonessential writes

Pause services, snapshots, cleanup, and automated maintenance.

03

Label and preserve every device

Keep failed, removed, replacement, and cache devices with the original topology.

04

Copy readable priority data

Use separate storage and record any files that fail verification.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Pool and error mapping

NEPFOSYS correlates profiles, chunks, device state, checksums, and reported paths.

02

Protected acquisition

Unstable members and readable replicas are preserved before reconstruction.

03

File validation

Recovered files are checked against checksums, application structure, snapshots, and customer priorities.

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.

Does scrub repair every Btrfs error?

No. It can repair only when a valid redundant copy exists and remains readable.

Should I run btrfs check --repair?

Not on the only copy. It modifies metadata and should follow imaging and a review of the exact failure.

Can snapshots contain a good copy?

Possibly, but snapshots can share damaged extents. Preserve them and validate their content rather than assuming independence.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case