HFS Plus catalog recovery

A corrupt HFS Plus catalog B-tree can lose the directory map while file extents remain on disk.

The HFS Plus catalog file is a B-tree containing file and folder names, hierarchy, IDs, metadata, and initial extent information. Damaged nodes can make directories disappear, produce invalid record counts, or prevent the volume from mounting.

Understand the symptom

The catalog is one of several special files that must agree about ownership and location.

WHY

What is happening

HFS Plus stores hierarchy in catalog B-tree records keyed by parent folder ID and name. Recovery compares header, index, leaf, map nodes, thread records, CNIDs, extents overflow, allocation bitmap, journal, and file content to rebuild paths while avoiding stale or duplicate records.

What you may see

Symptoms that change the recovery path.

01

Invalid catalog record or node

fsck_hfs reports B-tree node, key order, link, or record-count errors.

02

Volume will not mount

macOS cannot traverse the catalog to expose a consistent directory tree.

03

Folders vanish or duplicate

Catalog relationships no longer map names and parent IDs reliably.

04

Disk Utility repair loops

Each pass encounters additional tree or allocation inconsistencies.

Protect the source

Actions that can make the situation worse.

01

Catalog rebuild can discard ambiguous records

A consistent new tree may omit files whose hierarchy cannot be proven.

02

Repair can update allocation state

Blocks may be marked free or reassigned while older catalog evidence is lost.

03

Failing media can worsen during tree scans

Image unstable drives before reading every B-tree node and data extent.

Do this now

Safe steps before evaluation.

01

Stop repair and writes

Do not erase, reinstall, rebuild the catalog, or continue using the volume.

02

Capture exact errors

Save Disk Utility and fsck_hfs output, volume UUID, Mac model, failure trigger, and last working state.

03

Create a full-device image

Preserve partitioning, headers, journal, and every special file before reconstruction.

04

Keep encryption credentials

Retain valid passwords, recovery keys, and the original Mac hardware when FileVault is involved.

NEPFOSYS process

How a data-first evaluation proceeds.

01

B-tree structure analysis

NEPFOSYS maps catalog nodes, keys, CNIDs, threads, extents, and allocation evidence.

02

Hierarchy reconstruction

Surviving records and file content are correlated on the image without editing the source.

03

File and path verification

Recovered data is checked for readable content, forks, names, and reconstructed folder relationships.

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 is the HFS Plus catalog B-tree?

It is the special file that stores the volume's file and folder hierarchy, names, IDs, and key metadata.

Can Disk Utility rebuild it?

Sometimes it can restore consistency, but it may remove ambiguous records. Image the device first when the files matter.

Are file contents gone if the catalog is corrupt?

Not necessarily. Data extents may remain even when names and directory relationships need reconstruction.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case