Jump to content

Array Unprotected After Drive Upgrade


Recommended Posts

Posted

I recently replaced a failing drive but now have a warning triangle next to the Start/Stop array button that shows that the array is unprotected. I tried the following but did was not able to unassign the new drive. I can only set it to no device but that shows as Too many wrong and/or missing disks next to the start array button. 

 

1. Stop the array.

2. Unassign the problem disk.

3. Start the array briefly, then stop it again.

4. Reassign the missing disk.

5. Start the array and the rebuild will start.

 

I am going to guess that his has something to do with the fact that I have an unassigned drive in the array. That happened a while ago when I went from 4 to 3 data drives now I guess that might be causing an issue. any help would be appreciated.

 

Capture.JPG.e83fd0662f97b42c817bbe9b6e932642.JPG

Posted

You havent gone from 4 to 3 drives correctly. Are you not able to plug in a 4th disk so disk 4 can rebuild and you can check you dint need any data on it before removing it correctly this time around?

Posted

I thought I followed the directions to shrink the array I did this several months ago. Whatever I did worked and I did not lose data, just wasn't able to get rid of the drive in the array. I guess that is causing an issue now.

 

Posted

Yes it was not finished. Personally to be safe I would start again by rebuilding the missing disk and following the instructions for removing a disk carefully again. I would also check what data is in the rebuild disk 4 to ensure its not required. 

Posted
49 minutes ago, Polhub said:

just wasn't able to get rid of the drive in the array.

Then it didn't work. You should have asked about it then.

 

There are 2 ways to shrink the array after making sure the disk is empty. The simplest is to New Config without the disk and rebuild parity. The other way is to clear the disk while it is in the array, then New Config without the disk and trust parity (since the clear disk has no effect on parity).

 

Either way New Config without the disk is necessary. You seem to have missed that somehow.

 

As far as Unraid is concerned, the disk is still part of the array whether or not it has any data, or whether or not it is missing or unassigned. In fact, Unraid has been emulating the missing disk all this time and you have been unprotected.

Posted
1 hour ago, Polhub said:

replaced a failing drive

In what way was it failing?

 

Go to Tools - Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post.

Posted

Last time I had to replace a disk it was a pain not having a spare slot to preclear so it decided to shrink the array so I would always have a slot to do so. Obviously this did not work as anticipated so I added the drive back into the array and the array is rebuilding as I type. After this I will need to shrink the array so I can get rid of the drive as it is failing.

 

Thanks for all the help.

tower-diagnostics-20200623-0957.zip

Posted
7 hours ago, Polhub said:

Replaced SDG with SDD. 

sdX designations are ephemeral, since Unraid runs from RAM and essentially is reinstalled on every boot. Use the drive's serial number to refer to the drives, as that shouldn't change.

  • Like 1
Posted

There is a serious lack of willing info from the OP in this thread. I feel I am more concerned for his data than he is. Im not even sure how replacing a drive on an unprotected unraid array  with a missing disk would have even worked. 

Posted

It has been more that 6 months since I shrunk the array. I used the information on the Wiki and followed the directions for The "Remove Drives Then Rebuild Parity" Method. I must have missed something in the process because I maintained 4 drives instead of the 3 I was wanting. Fortunately I was unable to find any missing data. I have added the drive back into the array and all is well except I now have 4 drives in the array again.  

Posted
1 hour ago, Polhub said:

the Wiki and followed the directions for The "Remove Drives Then Rebuild Parity" Method. I must have missed something in the process

https://wiki.unraid.net/Shrink_array#:~:text=The "Remove Drives Then Rebuild Parity" Method,-For removing one&text=This method does not keep,remaining drives and their contents.

 

Maybe it was this part of step 7:

Quote

Return to the Main page, and check all assignments. If any are missing, correct them. Unassign the drive(s) you are removing. Double check all of the assignments, especially the parity drive(s)!

 

Posted

trurl, you are right, I think that is the step I missed. I will wait a bit to make sure all is well than I will shrink the drives and hopefully get it right. Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...