
What Foreign Configuration Actually Means
Dell PERC controllers store RAID configuration in two places: the controller's onboard NVRAM and the SNIA Disk Data Format (DDF) metadata region on each physical disk. A Foreign Configuration prompt appears when these two records do not match.
- 1.Each physical disk in a PERC-managed array carries DDF metadata that describes the virtual disk geometry: RAID level, stripe size, drive ordering, and parity rotation.
- 2.The PERC controller also stores a copy of this configuration in its onboard NVRAM. On boot, the controller compares the two records.
- 3.If the DDF metadata on the disks does not match the controller's NVRAM, the controller flags the disks as "Foreign." This is a metadata mismatch, not a physical failure.
- 4.Common triggers: controller replacement, drives moved to a different server, firmware update that resets NVRAM, backplane cabling fault, or a drive that was offline and reinserted.
Controller replacement trigger: When a failed PERC controller is replaced with an identical model, the new unit's NVRAM is blank. It reads the DDF metadata on the existing drives and displays "Foreign Configuration(s) found on adapter. Press any key to continue, or C to load the configuration utility." The data on the drives is unchanged; the controller simply has no matching NVRAM record.
Clear vs. Import: Two Commands, Two Outcomes
The PERC BIOS presents two options: Import and Clear. Selecting the wrong one for your situation can make recovery orders of magnitude harder. The correct choice depends on why the configuration became foreign in the first place.
Import Foreign Configuration
Reads the DDF metadata from the physical disks and writes it into the controller's NVRAM.
When to use:
- ●Moving an intact, healthy array to a new server or replacement controller
- ●After a controller replacement where the original array was running without errors
Danger: Importing a stale drive that went offline days or weeks before a subsequent failure injects outdated parity blocks and an older DDF sequence number into the NVRAM, causing silent corruption across every stripe modified while the drive was absent.
Clear Foreign Configuration
Erases the DDF metadata from the disk, returning it to an "Unconfigured Good" or "Ready" state.
When to use:
- ●Preparing a single replacement drive to serve as a hot spare or rebuild target
- ●Removing a drive from a decommissioned array and reusing it in a different server
Danger: Clearing drives that belong to an existing array destroys the virtual disk routing. The controller can no longer assemble the array, and the data becomes inaccessible through the PERC interface.
If you are unsure which option to select, select neither. Exit the PERC BIOS without making changes. Document the controller model, firmware version, number of drives shown, and whether the foreign configuration appears as one group or multiple groups. Then contact a recovery lab before proceeding. The data is safe as long as neither Clear nor Import has been executed.
PERC H740P Array Split Bug
The PERC H740P has a documented firmware behavior where a cabling fault, backplane reset, or power supply event causes a single RAID volume to appear as two or more separate foreign configuration groups. This is a controller-side metadata parsing error, not a physical drive failure.
- 1.A 7-drive RAID 5 appears in the PERC BIOS as two foreign configuration groups: one with 5 drives and another with 2 drives. Only one array existed before the event.
- 2.Running "Import All" does not merge the two groups into the original array. Instead, the controller creates two separate incomplete virtual disks, neither of which contains a valid volume.
- 3.The perccli command
/c0/fall importalso fails to resolve the split, producing the same nested incomplete result. - 4.Recovery requires bypassing the PERC controller entirely. Each drive is imaged through an HBA in IT mode, the DDF metadata anchors are extracted from the raw disk images, and the original RAID geometry is reconstructed in software.
Split-group import failure: If the PERC BIOS detects multiple foreign configuration groups after a power event or controller reset, selecting "Import All" can split a single array into separate virtual disks, each containing only a subset of the original members. Neither virtual disk is mountable because each is missing drives. The Import operation overwrites the controller's NVRAM with the split geometry, making subsequent import attempts fail with "Foreign configuration page count exceeds maximum." At this point, the on-disk DDF metadata must be parsed directly to reconstruct the original array layout.
PERC H965i and NVMe Drive Visibility
The PERC H965i (Gen 15/16 PowerEdge servers) manages NVMe drives through the Broadcom MPI3 interface, which requires the mpi3mr kernel driver for OS-level passthrough. This creates unique challenges for foreign configuration recovery compared to SAS/SATA-based PERC controllers.
- 1.Standard recovery tools cannot see NVMe drives through the H965i controller. The drives are abstracted behind the MPI3 interface and do not appear as individual block devices without the correct passthrough configuration.
- 2.Replacing the H965i controller requires exact PCIe host connection matching. The H965i uses MCIO 8i connectors mapped to dual SlimSAS. If the cabling does not match, the drives report as completely absent rather than Foreign.
- 3.For recovery, U.2 and U.3 NVMe drives must be connected via direct PCIe NVMe interposers to an independent system, bypassing the H965i entirely. This allows raw sector-level imaging and DDF metadata extraction.
NVMe passthrough verification: NVMe drives behind a PERC H965i can be connected directly to a workstation via a U.2-to-PCIe adapter. If the drive appears as a standard NVMe block device and the SNIA DDF metadata at the end of the drive is readable with standard tools, the Foreign Configuration is a controller-side NVRAM issue. The drive data and metadata are both intact.
Secured Foreign Import Errors (SED/EKM)
PERC H755N and H965i controllers support Self-Encrypting Drives (SEDs) managed through Enterprise Key Management (EKM) or Local Key Management (LKM). When these drives are moved to a new controller, the Foreign Configuration prompt may include a "Secured Foreign Import" error, indicating a cryptographic key mismatch.
- 1.SEDs encrypt all data at the drive firmware level using a Media Encryption Key (MEK). The MEK itself is wrapped by an Authentication Key (AK) provided by the PERC controller.
- 2.When the controller is replaced, the new controller does not possess the AK. Without it, the drive refuses to unlock the MEK, and all reads return encrypted ciphertext.
- 3.If EKM was configured, the AK is stored in an external key management server. Importing the key from the EKM server to the replacement controller resolves the Secured Foreign Import error.
- 4.If LKM was used with a passphrase and the passphrase is lost, the data is cryptographically inaccessible. This is not a failure of the recovery process; it is the intended function of hardware encryption. No recovery lab can bypass SED encryption without the key.
Before replacing a PERC controller on SED-enabled arrays: verify that you have the EKM server credentials or LKM passphrase. Export the security key from the original controller via iDRAC or OMSA before removing it. Without the key, a controller replacement on SED-protected arrays results in permanent, unrecoverable data loss regardless of the physical state of the drives.
How We Recover Data from Foreign Configuration Arrays
Professional recovery bypasses the PERC controller entirely. We image each physical drive independently through write-blocked connections, extract the DDF metadata, and reconstruct the virtual disk geometry in software. The PERC controller never touches the drives again.
- 1.Remove all drives from the server. Label each drive with its physical bay position (bay 0, bay 1, etc.). Slot order is critical for reconstruction.
- 2.Connect each drive to a host bus adapter (HBA) running in IT mode, not a RAID controller. This prevents any automatic NVRAM background initialization or parity consistency checks.
- 3.Create sector-by-sector forensic images of each drive using PC-3000 or DeepSpar Disk Imager. If any drive has physical media damage (bad sectors, degraded heads), imaging captures the recoverable data before the drive deteriorates further.
- 4.Extract the SNIA DDF metadata blocks from each drive image. Dell PERC controllers use the SNIA DDF standard. The metadata region contains the virtual disk configuration record: RAID level, stripe size, drive ordering, parity rotation, and disk references.
- 5.Reconstruct the virtual disk geometry from the DDF records. Map the physical drive images into a virtual block device using the extracted parameters: stripe size, drive order, parity rotation pattern (left-symmetric for most Dell RAID 5 configurations), and start offset.
- 6.Mount the reconstructed virtual disk image and extract the file system. Verify data integrity by comparing file hashes and checking file system structures.
Why this works: The DDF metadata is written to each physical disk by the PERC controller. Even when the controller's NVRAM is corrupted, blank, or split into conflicting groups, the on-disk DDF records contain the complete array geometry. By reading these records directly from the drive images (bypassing the controller), we can reconstruct the array without any risk of the controller modifying data during the process.
Affected PERC Controller Models
Foreign Configuration issues can occur on any Dell PERC controller that uses SNIA DDF metadata. The specific failure modes and recovery approach vary by controller generation.
PERC H730 / H730P / H330 (Gen 13)
SAS 12Gb/s controllers. Standard DDF metadata format. Foreign Configuration issues typically resolve cleanly with Import if the array was healthy and no drives are stale. Recovery follows the standard offline DDF extraction procedure.
PERC H740P / H740P Mini (Gen 14)
SAS 12Gb/s with 8GB NV cache. Subject to the array split firmware behavior where a single virtual disk appears as multiple foreign configuration groups after a power or cabling event. Import All fails on split configurations. Recovery requires offline DDF reconstruction.
PERC H755N Front / H755N Rear (Gen 15)
SAS/SATA with optional SED support via EKM/LKM. Secured Foreign Import errors require the encryption key from the original controller or EKM server. Without the key, encrypted data is permanently inaccessible.
PERC H965i Front / H965i Rear (Gen 16)
NVMe-native controller using Broadcom MPI3 interface with MCIO 8i connectors. Drives are invisible to standard tools through the controller; recovery requires direct NVMe connection via PCIe interposers. Also supports SED with EKM/LKM.
Actions That Make Recovery Harder
The following actions are common responses to a Foreign Configuration prompt. Each one can convert a straightforward metadata mismatch into a complex or unrecoverable situation.
- ✕Clearing an array that should have been imported. Clear erases the DDF metadata from the disks. Once cleared, the controller has no record of the virtual disk geometry. Offline DDF extraction may still recover the data, but the metadata headers will be zeroed.
- ✕Importing a stale drive. A drive that went offline weeks before the current failure contains outdated DDF metadata with an older sequence number. Importing it overwrites the controller's NVRAM with stale geometry, corrupting every stripe that received writes while the drive was absent.
- ✕Running Full Initialization after an accidental Clear. Full Initialization writes zeroes to every sector of every drive in the new virtual disk. If the drives previously contained a cleared foreign array, Full Initialization destroys the user data. This is the one scenario where recovery becomes impossible.
- ✕Swapping drives between slots. The DDF metadata encodes each drive's position in the array. Rearranging drives changes the physical-to-logical mapping. If a subsequent Import succeeds, the controller may assemble the array with the wrong drive ordering, producing garbled data across all stripes.
- ✕Running filesystem repair tools (chkdsk, fsck). These tools assume the block device is consistent. On an incorrectly assembled or partially imported array, they interpret parity errors as filesystem corruption and delete valid directory entries.
Frequently Asked Questions
What does Foreign Configuration mean on a Dell PERC controller?
Should I select Clear or Import on my Dell PERC?
Why did my PERC H740P split my array into two foreign configurations?
What happens if I import a stale drive into a degraded array?
Why does my PERC H755N show Secured Foreign Import Error?
Related Recovery Services
Full RAID recovery service overview
Enterprise server recovery
Failed rebuild and parity errors
Recovering from degraded arrays
LSI/Broadcom MegaRAID offline VD recovery
Synology, QNAP, and other NAS units
Transparent cost breakdown
PERC showing Foreign Configuration?
Free evaluation. Write-blocked imaging. Offline DDF metadata reconstruction. No data, no fee.