XFS multipath recovery

An XFS forced shutdown after path loss is a storage-stack incident before it is a filesystem repair job.

XFS can shut itself down after persistent I/O errors so that it does not continue changing metadata on unreliable storage. In SAN and multipath environments, one host may see a device disappear, return under another path, or expose a stale or incomplete LUN.

Understand the symptom

Path identity and write ordering must be correct before XFS metadata is interpreted.

WHY

What is happening

A failed path, device-mapper change, array failover, thin-LUN issue, or inconsistent presentation can produce I/O errors without proving that the XFS structures were originally corrupt. Recovery confirms that all paths reference the same current blocks before journal replay or copy-based analysis.

What you may see

Symptoms that change the recovery path.

01

Filesystem forced shutdown

XFS rejects new operations after storage errors.

02

Multipath map is incomplete

Expected paths are failed, missing, or changing state.

03

LUN returns under a new name

Device names changed while WWID or presentation must be verified.

04

Log replay fails

The filesystem cannot safely complete recent metadata transactions.

Protect the source

Actions that can make the situation worse.

01

Mounting from two hosts creates new conflicts

Uncoordinated access can compound corruption.

02

xfs_repair -L discards the log

Recent metadata transactions can be lost.

03

Using the wrong LUN snapshot gives a mixed generation

Application and filesystem state may no longer agree.

Do this now

Safe steps before evaluation.

01

Stop workloads and fence access

Prevent other initiators from mounting or writing the LUN.

02

Capture storage identity

Record WWIDs, paths, array serials, LUN numbers, size, and presentation.

03

Preserve the block device

Snapshot or image the correct LUN before repair.

04

Collect all logs

Keep kernel, multipath, HBA, array, cluster, LVM, and application events.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Stack verification

NEPFOSYS maps array, paths, device mapper, LVM, and XFS as one chain.

02

Image-based filesystem review

The journal, allocation groups, and damaged ranges are evaluated on protected copies.

03

Workload validation

Recovered files and databases are checked for internal consistency and requested recovery points.

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 restoring the SAN path fix XFS?

It may restore access, but the forced shutdown and any incomplete writes still require careful validation.

Should I mount with norecovery?

A read-only no-recovery mount can be diagnostic in some cases, but first preserve the correct LUN and storage context.

Is xfs_repair -L safe?

It intentionally clears the log and can lose recent metadata. Do not use it on the only copy.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case