LoftyDwarf Posted July 29, 2021 Share Posted July 29, 2021 I have single-parity a server that has had two simultaneous drive 'failures', only one of which has actually failed. One drive was redballed due to a SATA cable momentarily coming unplugged, and the other has actually had a hardware failure. The drive that is still good mounts fine, passes all SMART tests, I can access and recover the files, etc., but Unraid will not let me add it back into the array so I can rebuild the failed drive. Is there any way to force Unraid to re-enable the working disk without a rebuild, or replace it with a clone so I can attempt to rebuild the other drive? Or perhaps make a new config, tell Unraid that parity is correct, and rebuild the failed drive that way? I am well aware that having two simultaneous drive failures with single parity probably means the data is unrecoverable, but if I start a new config and rebuild parity it will certainly be lost forever. I am looking for a hail mary at this point. Even a solution that results in partial data loss I would still consider a success if it avoids losing all data on the broken drive. Quote Link to comment
trurl Posted July 29, 2021 Share Posted July 29, 2021 48 minutes ago, LoftyDwarf said: The drive that is still good mounts fine Do you mean you mounted the drive outside the array? Quote Link to comment
trurl Posted July 29, 2021 Share Posted July 29, 2021 Go to Tools-Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post in this thread. Quote Link to comment
LoftyDwarf Posted July 30, 2021 Author Share Posted July 30, 2021 5 hours ago, trurl said: Do you mean you mounted the drive outside the array? Yes, as an unassigned device. I also cloned the drive onto a spare for good measure. Both the drive and its clone are readable, but I have not written anything to either. Disk 6 (SDG) is the good drive that is disabled unmonster-diagnostics-20210729-2105.zip Quote Link to comment
trurl Posted July 30, 2021 Share Posted July 30, 2021 By mounting the disk outside the array you have made it slightly out-of-sync with parity, so there might be some corruption if you try to use it to rebuild another disk. But if you want to try see here: Quote Link to comment
LoftyDwarf Posted July 31, 2021 Author Share Posted July 31, 2021 Weird that I didn't find that post, because that is the exact same problem. I spent a while searching for an answer, but I guess I didn't use the right keywords. I followed the instructions there, but xfs_repair fails with error 117. I saw a lot of file names I recognized during the rebuild attempt and it put a lot of things into lost and found so I know at least some of my data is there, but it won't actually rebuild a mountable file system. This is progress at least! Quote Link to comment
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.