Start a Conversation

Solved!

Go to Solution

4273

May 20th, 2020 10:00

Problem with RAID. System not booting. Multiple disks showing Foreign.

I have a server with an H700 controller. This morning the server went down and it won't boot. There is one VD which was configured as RAID 6 with a hot spare. Looking at the Physical Disks I can see the hot spare is offline, there are three disks showing as Foreign and the remaining two disks are Online. Since the system is not booting and there are multiple disks showing Foreign my plan is to import the Foreign config.

Does this seem like a good plan? Any other options?RAID6.jpg

2.9K Posts

May 20th, 2020 14:00

Importing the foreign config would be necessary to bring the array back online and is perfectly safe in most all cases. I would recommend confirming that the drives are all otherwise health (not predicted to fail), then import.

16 Posts

May 20th, 2020 17:00

When I go to import the foreign config I get a warning about Offline disks. Since there is an offline disk I canceled the foreign config import and went to force the disk online. I then get a warning about data corruption if I force the disk online.

Should I force the disk online first or just import the foreign config?Import_Warning.JPGForce_disk_online_warning.JPG

Moderator

 • 

3.1K Posts

May 20th, 2020 18:00

Hi,

 

In foreign view, does the virtual disk properties as expected it is? 

 

The prompt when import foreign isn't on offline disk but offline virtual disk. So, it's better to confirm in foreign view, the configurations are as what you have configured, then import foreign. 

16 Posts

May 20th, 2020 20:00

Thank you for clarifying the foreign config import warning is for offline virtual disk. The foreign config does look correct. Unfortunately the virtual disk in my foreign config is showing offline. Does this mean I won't be able to import the foreign config? What should I do next?

Foreign_Config_Virtual_Disk_Offline.jpg

Moderator

 • 

3.1K Posts

May 21st, 2020 01:00

Hi,

 

The screenshot that you have, seems to be in VD Mgmt view. It should be showing virtual disk offline as there is foreign config. Can you proceed to Foreign View and import it, once you have confirmed the configuration is correct. 

16 Posts

May 21st, 2020 13:00

You are right that screenshot was from the wrong menu. I was able to import the foreign config from foreign view. I did get an error during the import but the good news is I have three disks online now and one rebuilding. I am going to wait for the disk to finish rebuilding and try to boot.Rebuild.JPGForeign_Config_Import_Failed.JPG

2.9K Posts

May 21st, 2020 13:00

If the array won't import, you'll need to look at restoring from backup. The controller log might specify why the import fails, but we won't have a way to do anything about it. 

 

Now there is another approach you can take. You can delete the array and lay down another with identical parameters and choose to *NOT* initialize. The initialization is what begins the blanking of the data blocks. I'd check on PD0 and confirm it's state, then move forward.

16 Posts

May 21st, 2020 14:00

I was thinking I should be ok at this point. This is a RAID 6 setup and one of the disks was used as a hotspare. I think PD0 was hotspare. So the VD should be able to run with a minimum of 3 disks. Additionally the controller appears to be rebuilding PD1 which must be possible using the parity from the 3 online disks. 

I am going to let PD1 finish rebuilding before booting to the operating system. If I can boot to the operating system I will clear the foreign config on PD5.

 

 

2.9K Posts

May 21st, 2020 14:00

I'd agree with that gameplan. Letting the rebuild complete isn't going to cost anything but time at the worst case, and if it pays off, save a fair amount.

16 Posts

May 25th, 2020 08:00

PD 1 finished rebuilding. I was able to boot to the OS afterward so that's a good sign. Next I chose to rebuild PD0. After rebuilding PD0 I found out I was wrong earlier about which disk was hotspare. PD5 was now showing as hotspare and attempting to take over for PD0. This didn't make sense to me as PD0 was showing online with no errors so I stopped the hotspare from replacing PD0. I actually just deleted the hotspare from the configuration because it kept trying to replace PD0. 

Anyway, now I have all 5 disks in the RAID 6 functioning and online. The operating system is booted. The only strange thing is the VD is doing a background initialization. I thought this was only done for a newly created VD?

2.9K Posts

May 25th, 2020 12:00

Generally speaking, yes, background initialization is most commonly seen with new virtual disks. If I were to hazard a guess to why we see one now, I'd expect it to be related to the VD falling to an offline state, like in your earlier screenshot. 

16 Posts

May 29th, 2020 09:00

Background initialization is done and everything is back to normal.

No Events found!

Top