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]#
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.