Polhub Posted June 22, 2020 Posted June 22, 2020 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. Quote
PeteAsking Posted June 22, 2020 Posted June 22, 2020 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? Quote
Polhub Posted June 22, 2020 Author Posted June 22, 2020 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. Quote
PeteAsking Posted June 22, 2020 Posted June 22, 2020 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. Quote
PeteAsking Posted June 22, 2020 Posted June 22, 2020 Also which drive did you replace? Are you sure the data is still all on the one you replaced? Quote
trurl Posted June 22, 2020 Posted June 22, 2020 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. Quote
PeteAsking Posted June 22, 2020 Posted June 22, 2020 Im worried he has lost data on the replaced drive without realising it. Quote
trurl Posted June 22, 2020 Posted June 22, 2020 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. Quote
Polhub Posted June 23, 2020 Author Posted June 23, 2020 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 Quote
PeteAsking Posted June 23, 2020 Posted June 23, 2020 No problem did you check the drive you replaced still had all the data? Which drive did you replace? Quote
JonathanM Posted June 24, 2020 Posted June 24, 2020 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. 1 Quote
PeteAsking Posted June 24, 2020 Posted June 24, 2020 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. Quote
Polhub Posted June 24, 2020 Author Posted June 24, 2020 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. Quote
trurl Posted June 24, 2020 Posted June 24, 2020 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)! Quote
Polhub Posted June 24, 2020 Author Posted June 24, 2020 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. Quote
Recommended Posts
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.