OpenEBS Mayastor recovery

A faulted Mayastor volume needs its pool devices, replica generations, and nexus history preserved before rebuild.

OpenEBS Mayastor places volume replicas on storage pools and exposes them through a nexus. Rebuilds copy data from a healthy child to a replacement, but the control plane must first know which replica contains the authoritative generation.

Understand the symptom

A replica marked online may still be older than the nexus generation last serving application writes.

WHY

What is happening

Mayastor can fault a nexus child after I/O errors and later rebuild a replica from a healthy source. If multiple nodes or pools fail, state reported by the control plane can lag physical devices. Recovery should compare replica UUIDs, pool membership, fault timestamps, rebuild progress, and application filesystem evidence before any source is selected.

What you may see

Symptoms that change the recovery path.

01

Volume is faulted or degraded

The nexus lacks enough healthy children to serve or meet replica policy.

02

Replica remains unknown or faulted

Its node, pool, device, or metadata cannot be reached safely.

03

Rebuild repeatedly restarts

The source, destination, network, or pool may be unstable.

04

PVC mounts with filesystem errors

Block availability returned but upper-layer state may still be inconsistent.

Protect the source

Actions that can make the situation worse.

01

Recreating a pool overwrites metadata

Existing replicas can become undiscoverable or destroyed.

02

Choosing a stale replica loses recent writes

Online status alone does not prove generation freshness.

03

Repeated rebuilds stress the only good source

A failing source can deteriorate during full-volume copying.

Do this now

Safe steps before evaluation.

01

Pause automation

Stop pool recreation, replica reduction, node drain, rebuild loops, and filesystem repair.

02

Image all pool devices

Preserve block devices and partition data before importing or modifying pools.

03

Export Kubernetes state

Save Mayastor objects, PVCs, PVs, StorageClasses, events, node identities, and logs.

04

Record replica chronology

Capture UUIDs, nexus children, faults, rebuild percentages, and application write timing.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Replica-generation map

NEPFOSYS correlates control-plane objects with physical pool and nexus state.

02

Protected block acquisition

Candidate replicas are cloned before import, rebuild, or filesystem repair.

03

Layered validation

Recovered volumes are checked at block, filesystem, database, and application levels.

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.

Can Mayastor rebuild a missing replica automatically?

Yes when a healthy authoritative source and suitable pool exist; preserve the source first after multiple failures.

Should I recreate a missing pool?

Not on the original device until its existing metadata and replicas are imaged.

Why validate the filesystem after the volume returns?

Block service may resume even though interrupted writes left the upper layer inconsistent.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case