seabass Posted September 28, 2022 Share Posted September 28, 2022 I have two disks in my array that are showing errors. One was in pre-fail and the other is "FAILING NOW." I accidentally swapped out the pre-fail drive first and it is rebuilding data, I still have the drive that it replaced. How can I return that drive to its original spot in the array so I can rebuild the one that is "failing now?" seabass-diagnostics-20220927-2200.zip Quote Link to comment
JorgeB Posted September 28, 2022 Share Posted September 28, 2022 Was anything written to the array after the rebuild started? This includes docker/libvirt images if they are in the array. Quote Link to comment
seabass Posted September 28, 2022 Author Share Posted September 28, 2022 Yes I noticed some activity. Didn't realize that my docker containers were still running, shut them down as soon as I realized. Quote Link to comment
JorgeB Posted September 28, 2022 Share Posted September 28, 2022 In that case it's not possible to rebuild the other disk since parity will no longer be valid with it, which disk is this? 12 hours ago, seabass said: other is "FAILING NOW." Quote Link to comment
seabass Posted September 28, 2022 Author Share Posted September 28, 2022 (edited) That is disk 4 which is still in the array. I have disabled any shares from writing to it, shut down docker and vm manager, in hopes this will minimize more problems. I have also copied most of the data on disk 4 to disk 5 using unbalance. A bonehead move on my part, realizing now that I should have swapped it out and let it rebuild. Learning the hard way I guess. So, I am thinking my best course of action now is to let the rebuild finish and overwrite any corrupt data from the original disk; is there any way to integrity check before going this route? What would you recommend? Edited September 28, 2022 by seabass Quote Link to comment
Solution JorgeB Posted September 28, 2022 Solution Share Posted September 28, 2022 10 minutes ago, seabass said: is there any way to integrity check before going this route? You'd need to have existing checksums, or be using btrfs, you can still try to rebuild disk4 instead, either way there will likely be some corruption, but depending on how much changed in the array it might be less that this, if the disk is really bad. You can also try ddrescue instead. Quote Link to comment
seabass Posted September 28, 2022 Author Share Posted September 28, 2022 Ok, I give that a go. Right now I'm just waiting for the rebuild of disk 2 to finish. Should I try ddrescue on disk 2 before touching disk 4 or replace/rebuild it first? Quote Link to comment
seabass Posted October 20, 2022 Author Share Posted October 20, 2022 I actually just dealt with the issue, nothing critical would have been lost. So, far I have not encountered any issues. Thanks for the assist. 1 Quote Link to comment
JorgeB Posted October 20, 2022 Share Posted October 20, 2022 Sorry, missed the previous post, glad it's OK. 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.