I am working with software raid in Linux. When I start the recovery of a raid array after a disk failure this task happens in background. /proc/mdstat should show the estimated time of recovery but it is not correct. In my case /proc/mdstat was showing estimated 15 hours but the recovery was done in around 10 hours. Is there a way to know exact time of execution of recovery daemon?
|
| |||||
feedback
|
migrated from stackoverflow.com Feb 2 at 3:32
This question came from our site for professional and enthusiast programmers.
|
You can run a simple script in the background that checks for the "rebuilding status" and dumps the time it's been waiting:
| |||||
feedback
|