CaptainTivo Posted April 1, 2022 Share Posted April 1, 2022 I made a mistake and have a quick question: I forgot to stop automatic array start on boot and I accidentally booted with a drive not connected. Of course, it said "Disk missing" and did not start. I have since re-connected the drive but I can't remember if, once Unraid has found a drive missing, that it must rebuild parity. Will it notice that the drive is now connected and assume parity if valid? Is there any way to tell it to trust the parity? Or should I just reboot and let it rebuild parity? Thanks. Quote Link to comment
JonathanM Posted April 1, 2022 Share Posted April 1, 2022 Since Unraid was running with the missing disk, any writes to that slot updated parity, so the content on the physical disk is no longer in sync with what is emulated. You have 2 options, either throw away any changes to that slot, and rebuild parity from the missing disk, or update the physical disk to match what is emulated by rebuilding the disk. Either choice results in a lengthy rebuild process, your choice whether you want to throw away the data that was written to the emulated copy and revert to an unknown state on the disconnected drive. If the emulated drive is mounted and looks good, it's usually a better choice to rebuild the drive instead of rebuilding parity. All this assumes your drives are all perfectly healthy with solid connections, any failures while in this state will likely cause lost data. Quote Link to comment
CaptainTivo Posted April 2, 2022 Author Share Posted April 2, 2022 3 hours ago, JonathanM said: Since Unraid was running with the missing disk, any writes to that slot updated parity, so the content on the physical disk is no longer in sync with what is emulated. You have 2 options, either throw away any changes to that slot, and rebuild parity from the missing disk, or update the physical disk to match what is emulated by rebuilding the disk. Either choice results in a lengthy rebuild process, your choice whether you want to throw away the data that was written to the emulated copy and revert to an unknown state on the disconnected drive. If the emulated drive is mounted and looks good, it's usually a better choice to rebuild the drive instead of rebuilding parity. All this assumes your drives are all perfectly healthy with solid connections, any failures while in this state will likely cause lost data. Ok. I was wrong. I just looked at the screen shot that I made when it happened and the array was actually not started. It just showed a list of all the drive slots listing the drive numbers that are populated and the one drive that was missing. So, parity should be good and can just start the array now, right? Here's a screen shot of main now (after shutdown, re-attaching the disk and booting). Quote Link to comment
JorgeB Posted April 2, 2022 Share Posted April 2, 2022 3 hours ago, CaptainTivo said: So, parity should be good and can just start the array now, right? Yes, only if the array was started with a missing disk a rebuild would be required, you can also see that by looking a the disk status, all are green. Quote Link to comment
CaptainTivo Posted April 2, 2022 Author Share Posted April 2, 2022 10 hours ago, JorgeB said: Yes, only if the array was started with a missing disk a rebuild would be required, you can also see that by looking a the disk status, all are green. Right. Thanks. 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.