Longhorn volume recovery

Longhorn salvage must select a usable replica generation without deleting the only complete volume history.

A Kubernetes Longhorn volume can become faulted after simultaneous replica failure, node loss, disk latency, unexpected expansion, or engine trouble. Failed replicas may contain different snapshot-chain histories.

Understand the symptom

Each Longhorn replica stores a chain whose head and snapshots represent a particular point in volume history.

WHY

What is happening

Automatic salvage may choose a reusable replica, but ambiguous or corrupted replicas require generation comparison. Rebuilding from the wrong head can make a consistent older copy preferable to a newer damaged one.

What you may see

Symptoms that change the recovery path.

01

Volume state is Faulted

No replica is currently accepted for service.

02

All replicas show failed

One or more may still contain usable data on node disks.

03

Attach repeatedly fails

Engine or replica geometry cannot form a working chain.

04

Problem followed node eviction or expansion

Replica metadata and actual files may disagree.

Protect the source

Actions that can make the situation worse.

01

Deleting failed replicas removes evidence

A failed object may be the newest usable generation.

02

Upgrade can clean unusable replicas

Longhorn warns against upgrading faulted volumes.

03

Filesystem repair hides storage damage

A mounted volume may still be assembled from an incomplete chain.

Do this now

Safe steps before evaluation.

01

Scale down the workload

Stop pod writes and attachment retries.

02

Export Kubernetes objects

Save volume, replica, engine, node, setting, and event data.

03

Copy every replica directory

Preserve head, snapshot, metadata, and checksum files.

04

Retain backup targets

Freeze retention and protect external backups or DR volumes.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Replica-generation comparison

NEPFOSYS maps heads, snapshots, sizes, and failure timestamps.

02

Protected chain assembly

Candidate replicas are tested from copies.

03

Filesystem and application checks

The best volume state is mounted read-only and validated separately.

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 salvage do?

It tries to select usable failed replica data to bring a faulted volume back.

Should I delete error replicas?

Not before copying and comparing them; they may contain unique recent blocks.

Can a Longhorn backup replace replica recovery?

Yes if it is complete and recent enough, but preserve both backup and replica sources before choosing.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case