Monday to Saturday 9:00–19:00, Sunday closedFree pickup anywhere in Germany · drop-off in Berlin and Hamburg

NAS and RAID

RAID 1 mirror out of sync: which disk holds the right data?

A mirror is the simplest RAID: two disks with the same content. It is also the RAID where a wrong decision does the most damage in the shortest time. If the two halves have drifted apart and the system rebuilds in the wrong direction, the old disk overwrites the current one in a few hours.

Published 2 min readBy Mirush Murataj

Cover of the RecDati guide: RAID 1 mirror out of sync: which disk holds the right data?
A mirror can run on one disk for months without anyone noticing.

In short

  • A mirror can run on one disk for months without anyone noticing.
  • If the old disk comes back, the controller may take it as the source.
  • Find the current disk by its timestamps and logs before any rebuild.

How a mirror drifts apart

When one disk of a RAID 1 fails, the system keeps running on the other. The warning goes to an e-mail address nobody reads, or a beep in a server room nobody visits. Weeks later, the second disk fails too. Someone restarts the server, the first disk spins up again, and the system runs on the old half. Or both disks are present, and the controller has to decide which one is current.

Why the decision is not obvious

Controllers and software RAID decide based on counters or timestamps in their metadata. If the metadata of the current disk is damaged, or the old disk was the last one to be written by a failed boot attempt, the choice can be wrong. Windows dynamic disks, Linux mdadm and hardware controllers each behave differently.

How to find the current disk

  • Check the logs of the system for the date when the mirror became degraded.
  • If the controller shows disk states, note which disk was "offline", "failed" or "missing" first.
  • Compare the newest files: an e-mail archive, a database log or an accounting file shows the last day on which each disk was written.

Do this only on copies or in read-only mode. Connecting each disk alone to a PC is fine only if the PC does not try to repair, initialise or "resynchronise" anything.

What not to do

  • Do not start a resync if you are not sure which side is the source.
  • Do not put a new disk in before the current half has been saved.
  • Do not run chkdsk or fsck on one half to "make it readable".

In the lab

Both disks are copied. The lab compares the metadata and the file system journals of both copies, and identifies the more recent one. If the current disk has defects, missing blocks can sometimes be taken from the older copy, as long as they were not changed in between. You get the current data, with a list of what could only be filled from the older state.

More on mirrors: RAID 1 (mirroring) data recovery. If a hardware controller is involved: RAID controller replaced and "foreign configuration" found: import or not?.

Frequently asked questions

Is a RAID 1 a backup?

No. It protects against a disk failure, not against deletion, ransomware or a wrong rebuild. Keep a separate backup.

The rebuild already ran in the wrong direction. Is everything lost?

Not always. If it was stopped early, the end of the disk may still hold current data. Switch off at once.

Can I use one half of the mirror in a normal PC?

Often yes, read-only. Hardware RAID can reserve space at the start or end of the disk, so the partition may not be found directly.

Official sources and useful links

Are these files business-critical?

Stop every repair attempt that writes to the disks. The lab diagnosis is free and you receive a fixed price before anything is done.

Request a free diagnosis RAID 1 (mirroring) data recovery

Switch the device off, leave it as it is and let the lab have a look first.

Get a price