June 22, 20206 yr 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.
June 22, 20206 yr 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?
June 22, 20206 yr Author 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.
June 22, 20206 yr 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.
June 22, 20206 yr Also which drive did you replace? Are you sure the data is still all on the one you replaced?
June 22, 20206 yr Community Expert 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.
June 22, 20206 yr Community Expert 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.
June 23, 20206 yr Author 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
June 23, 20206 yr No problem did you check the drive you replaced still had all the data? Which drive did you replace?
June 24, 20206 yr 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.
June 24, 20206 yr 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.
June 24, 20206 yr Author 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.
June 24, 20206 yr Community Expert 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)!
June 24, 20206 yr Author 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.
Archived
This topic is now archived and is closed to further replies.