October 9, 20196 yr Hey everyone, I recently had my first disk fail ever in UNRAID (shocker, as a long time user!). I removed the drive which was a 5TB Toshiba X300 drive, and replaced Disk 5 with another 5TB Toshiba X300 (different model number). I put assigned the new disk to the failed drive slot, however once parity rebuilt (~13 hrs or so), I am missing all of the data that was on the drive. Now I can try to hook up the old drive externally and copy the data back, but I was under the impression that when parity rebuilt, all of the data would have been restored to the new disk. Did I miss a step somewhere? Thanks for any/all help!
October 9, 20196 yr As long as you don't format the slot, all data should be rebuilt. If at any point in the process you selected the checkbox and formatted, you erased the emulated and rebuilt data.
October 9, 20196 yr BTW, how do you know the disk actually failed, and it wasn't a communication issue?
October 9, 20196 yr Author 25 minutes ago, jonathanm said: As long as you don't format the slot, all data should be rebuilt. If at any point in the process you selected the checkbox and formatted, you erased the emulated and rebuilt data. The only format I did was on the new disk assigned into that slot after the old disk was removed. Did that totally screw me? 24 minutes ago, jonathanm said: BTW, how do you know the disk actually failed, and it wasn't a communication issue? The disk was throwing errors like crazy, I hadn't been in UNRAID for a few days, and had about 94 errors pertaining to that disk.
October 9, 20196 yr 23 minutes ago, MrPotter said: The only format I did was on the new disk assigned into that slot after the old disk was removed. Did that totally screw me? Yes. Format is never a part of rebuild. The whole disk is rebuilt, with the existing format applied. If you apply a new format, it erases the old one. 24 minutes ago, MrPotter said: The disk was throwing errors like crazy, I hadn't been in UNRAID for a few days, and had about 94 errors pertaining to that disk. Doesn't mean the disk itself was bad, it could have been the cable or port. Not saying it wasn't the disk, just that a disk that is actually fine but can't talk to the host will show errors.
October 9, 20196 yr Author 1 minute ago, jonathanm said: Yes. Format is never a part of rebuild. The whole disk is rebuilt, with the existing format applied. If you apply a new format, it erases the old one. Doesn't mean the disk itself was bad, it could have been the cable or port. Not saying it wasn't the disk, just that a disk that is actually fine but can't talk to the host will show errors. So even though I took the old drive out, and clicked format on the new disk in the slot, that's what destroyed all the data? Shit, I wish I knew that or read more carefully. Lesson learned. Luckily I may still be able to access the XFS system on the old disk and copy data manually back to the new disk if it's not totally borked. Thanks for the clarification!
October 9, 20196 yr Here's hoping the drive errors were actually a bad or loosened SATA cable and all your data is intact on the old drive.
October 9, 20196 yr Author I'm not 10000% percent sure the drive had failed (I might have panicked). I'll review it externally when I get home from work today. Out of curiosity was there a section in the FAQ that says "DON'T FORMAT THE *NEW* DRIVE" before assigning to the old slot that I missed? If not, I think it might be beneficial to have it there so no one else makes the same stupid mistake I will never make again.
October 9, 20196 yr It's probably in the FAQ, but more importantly it requires you to see the warning before it will allow you to format the disk.
October 9, 20196 yr Author I think I definitely misunderstood that part then and thinking it was referencing the old drive. This is very good to know for the future. Thank's for the photo as well - I 100% remember seeing that.
October 9, 20196 yr 4 minutes ago, MrPotter said: I 100% remember seeing that. Ok, now that it's clear what happened, how can we keep it from happening to other users? It's happened before, and it seems to be an ongoing thing. What wording or changes with that warning could have prevented you from making that mistake?
October 9, 20196 yr Author I thought I always had to format the new drive. It was 10/10 an operator error on my part, and the warning was referencing not formatting an old drive. How any changes (such as a format) could impact a drive that was removed from the system didn't really "click" in my head.
Archived
This topic is now archived and is closed to further replies.