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

NAS and RAID

RAID controller replaced and "foreign configuration" found: import or not?

A server is moved, a controller is replaced after a fault, or disks are put into a new chassis. On boot, the controller reports that it has found a "foreign configuration" and offers to import or clear it. This is one of the moments where a single key press decides whether the array comes back or has to be reconstructed in a lab.

Published 2 min readBy Mirush Murataj

Cover of the RecDati guide: RAID controller replaced and "foreign configuration" found: import or not?
A foreign configuration is the RAID layout stored on the disks themselves.

In short

  • A foreign configuration is the RAID layout stored on the disks themselves.
  • Importing reads it back. Clearing deletes it and often starts an initialisation.
  • If disks have different states, do not import before you know which ones are current.

What the message means

Hardware RAID controllers such as Dell PERC, HPE Smart Array or Broadcom MegaRAID store the configuration of the array twice: in the controller and in a reserved area on each disk. A new controller does not know the array yet. It finds the layout on the disks and calls it "foreign" because it did not create it itself.

When import is the right choice

  • All disks were working when the server was switched off.
  • They are in the same slots as before.
  • The new controller is of the same family and firmware generation.

In this case, importing the configuration usually brings the virtual disk back exactly as it was. Check the result read-only before starting the operating system: number of disks, RAID level, size and state of the virtual disk.

When you should stop

  • One disk had failed or was marked offline before the change.
  • The controller shows several foreign configurations, or ones with different states for the same array.
  • Disks were swapped between slots or servers.
  • The controller suggests a "clear", "initialise" or "create new virtual disk".

In these situations, the controller may import an older state of one disk and start a rebuild over the current data. Never choose "clear" while the data is still needed: it deletes the metadata, and some controllers follow it with an initialisation that overwrites the start of every disk.

What to note before any decision

WhatWhy
Slot number and serial of each diskThe order is part of the geometry
Controller model and firmware, old and newMetadata formats differ between generations
Controller log or TTY log, if availableShows when which disk dropped out
The screen with the foreign configurationPhoto of each page, before pressing a key

If the import went wrong

Switch the server off as soon as a rebuild or initialisation starts. The earlier it is stopped, the less is overwritten. In the lab, each disk is copied and the array is reconstructed in software, without the controller: stripe size, disk order, parity direction and start offset are calculated from the data itself.

More on arrays: RAID data recovery. For servers in general: server data recovery.

Frequently asked questions

Can I take the disks to a controller of another brand?

Not with the data intact. Each manufacturer stores its metadata differently. The lab, however, can read the array in software, independent of the brand.

The controller battery was empty. Does that matter?

Yes. With a write cache and no battery, the last writes may be missing. Mention it, because it affects the consistency check.

Is a software RAID affected in the same way?

The idea is the same: the layout is on the disks. Linux mdadm and Windows Storage Spaces have their own pitfalls, see the related articles.

Official sources and useful links

  • Dell Support: Official documentation for PowerEdge servers and PERC RAID controllers.
  • HPE Support Center: Official documentation for ProLiant servers and Smart Array / MR controllers.

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 data recovery

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

Get a price