JazzHands Posted January 3, 2023 Share Posted January 3, 2023 (edited) It may sound like a bit of an oxymoronic question, but I'd like to swap out an older drive with a new higher capacity one in my single parity disk protected array. Rebuild will take about 16 hours, but it will be interrupted with a power outage. Server has a UPS and shuts down gracefully. Will a graceful shut down and start up cause a rebuild to restart from the beginning? Or can it resume? Edited January 6, 2023 by JazzHands Solved Quote Link to comment
Solution JorgeB Posted January 3, 2023 Solution Share Posted January 3, 2023 10 minutes ago, JazzHands said: Will a graceful shut down and start up cause a rebuild to restart from the beginning? This Quote Link to comment
JazzHands Posted January 3, 2023 Author Share Posted January 3, 2023 6 minutes ago, JorgeB said: This Sorry, I didn't understand, is that a yes? Quote Link to comment
Kilrah Posted January 3, 2023 Share Posted January 3, 2023 Since you asked 2 questions in one line... Rebuild can't be interrupted without starting over from the beginning. So wait until after your power cut to make the swap. Quote Link to comment
JazzHands Posted January 3, 2023 Author Share Posted January 3, 2023 3 minutes ago, Kilrah said: Since you asked 2 questions in one line... Rebuild can't be interrupted without starting over from the beginning. So wait until after your power cut to make the swap. Power cuts happen on average every 8-12 hours and have been for 6 months (South Africa). My UPS only provides about 40 minutes of runtime during a parity check, so I assume it's about the same when rebuilding. I'll have to make a plan to find a window long enough for a rebuild. Quote Link to comment
itimpi Posted January 3, 2023 Share Posted January 3, 2023 If you install the Parity Check Tuning plugin then it has an option to restart array operations from last point reached on next boot as long as your UPS allows your Unraid server to do a tidy shutdown. 1 Quote Link to comment
JazzHands Posted January 5, 2023 Author Share Posted January 5, 2023 On 1/4/2023 at 12:24 AM, itimpi said: If you install the Parity Check Tuning plugin then it has an option to restart array operations from last point reached on next boot as long as your UPS allows your Unraid server to do a tidy shutdown. This is working. The only downside is that when power is restored, the array needs to be manually started. Started about 2200 last night, had a power outage at 0200-0430. Array wasn't started automatically. Manually starting it caused the rebuild to resume. 5 hours to go, not counting another 2 hour outage. Quote Link to comment
itimpi Posted January 5, 2023 Share Posted January 5, 2023 5 minutes ago, JazzHands said: This is working. The only downside is that when power is restored, the array needs to be manually started. Started about 2200 last night, had a power outage at 0200-0430. Array wasn't started automatically. Manually starting it caused the rebuild to resume. 5 hours to go, not counting another 2 hour outage. Not sure that I can find a way around the array not auto-starting although I will put it on my list of things to look at. I think it is a change in behaviour from earlier releases of Unraid (but I am not sure), and regardless it looks like it is the behaviour of the current release and probably therefore the forthcoming 6.12 release. I would need to research both how I can tell the reason that Unraid is not honouring an auto-start, and then also how to start the array if everything looks OK so it may not be that easy to work around. Quote Link to comment
JazzHands Posted January 5, 2023 Author Share Posted January 5, 2023 Do you know if there is a notification if an array isn't auto-started? I have all notifications enabled, but don't recall seeing any. Quote Link to comment
itimpi Posted January 5, 2023 Share Posted January 5, 2023 4 minutes ago, JazzHands said: Do you know if there is a notification if an array isn't auto-started? I have all notifications enabled, but don't recall seeing any. Not that I know off. I think it is side-effect of the previous array operation being terminated early and Unraid deciding not to automatically restart it because of that. The core Unraid level will not realise the plugin can resume from the point previously reached. 1 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.