Expand your knowledge of hardware, software and supercomputing

Disk marked as Foreign or Bad?

Some times when you replace a disk you may find the new disk marked as “Foreign”. The “Foreign” state means the controller has detected a raid signature on this disk from a previous configuration. This will prevent you from using the disk before the foreign state is cleared out. In order to use the disk we can clear this attribute using the MegaCli tool.

Changing the status from Bad to good

 # MegaCli64 -PDMakeGood -PhysDrv [<enclosure#>:<slot#>] -a<# or ALL>
 [root@localhost MegaCli]# ./MegaCli64 -PDMakeGood -PhysDrv[252:0] -aALL
 Adapter: 0: EnclId-252 SlotId-0 state changed to Unconfigured-Good.
 Exit Code: 0x00
 [root@localhost MegaCli]#

Clear the foreign setting

 # MegaCli64 -CfgForeign -Clear -a<# or ALL>

 [root@localhost MegaCli]# ./MegaCli64 -CfgForeign -Clear -aALL
 Foreign configuration 0 is cleared on controller 0.
 Exit Code: 0x00
 [root@localhost MegaCli]#
Use our Breakin stress test and diagnostics tool to pinpoint hardware issues and component failures.
Check out our product catalog and use our Configurator to plan your next system and get a price estimate.

Request a Consultation from our team of HPC and AI Experts

Would you like to speak to one of our HPC or AI experts? We are here to help you. Submit your details, and we'll be in touch shortly.

  • This field is for validation purposes and should be left unchanged.