XCP-ng VDI recovery

A missing XCP-ng storage repository can hide intact virtual disks behind broken attachment or VDI-chain metadata.

An SR can disappear after storage loss, an interrupted upgrade, host-pool trouble, LVM metadata damage, or a failed snapshot merge. A VDI may still exist on storage even when XAPI no longer presents a usable chain.

Understand the symptom

Presentation metadata and guest blocks must agree before a VDI is safe to mount.

WHY

What is happening

XCP-ng can store VDIs as VHD chains or other backend-specific layouts. Parent-child relationships, allocation tables, snapshots, and backend metadata determine which blocks form the current disk; a visible leaf alone may be incomplete.

What you may see

Symptoms that change the recovery path.

01

SR is detached or unplugged

Hosts cannot attach the expected storage repository.

02

VDI is orphaned

Storage contains a disk object that inventory does not connect to a VM.

03

Snapshot chain errors

A parent, child, or coalesce operation cannot be resolved.

04

VM starts with an old disk state

The wrong VDI generation may have been attached.

Protect the source

Actions that can make the situation worse.

01

SR creation can initialize metadata

Reusing the storage can obscure the prior repository.

02

Coalesce rewrites chains

A failed merge may remove the only complete combination of blocks.

03

Mounting guests read-write changes evidence

Boot and filesystem journals immediately update the disk.

Do this now

Safe steps before evaluation.

01

Disable cleanup and coalesce jobs

Hold automated changes while the chain is inventoried.

02

Export pool and XAPI records

Save UUIDs, PBDs, VM mappings, task history, and logs.

03

Copy every chain member

Preserve descriptors, parents, children, and backend metadata together.

04

Record storage topology

Document hosts, paths, LUNs, volume groups, and access credentials.

NEPFOSYS process

How a data-first evaluation proceeds.

01

SR and chain mapping

NEPFOSYS correlates XAPI records with the physical backend and VDI generations.

02

Protected acquisition

Unique metadata and disk extents are copied before reconstruction.

03

Guest-disk assembly

A coherent virtual disk is built and files are validated without booting the source.

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 an orphaned VDI still contain current data?

Yes. Inventory loss does not prove the backing blocks are gone.

Should I scan the SR as a normal filesystem?

Not until its backend layout and VDI chain have been preserved and understood.

Can I delete old snapshots to simplify recovery?

No. A snapshot that looks old may be a required parent for the current disk.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case