Hi guys
Is there a way to speed up the Rebuild of a failed RAID? It seems to me that the NAS puts a very low priority on rebuilding as it is telling me it will take about 3 Days to rebuild my 4 TB RAID 1. Is there a way to tell the NAS to speed it up? I get that it doesn't need to be fast when you build a new RAID but when you are recovering from a failed drive you do rather want your raid back up and running quick and not wait 3 days.
Thanks
Cedric
Speed up RAID Rebuild?
- basketballmail2
- Posts: 38
- youtube meble na wymiar Warszawa
- Joined: Sun Dec 29, 2013 11:03 pm
Speed up RAID Rebuild?
AS-606T: 3x WD 4.0TB RED RAID 5
- orion
- Posts: 3485
- Joined: Wed May 29, 2013 11:09 am
Re: Speed up RAID Rebuild?
You can try to increase the value /proc/sys/dev/raid/speed_limit_min which sets the minimum speed in KB / sec. Oh, you can use ssh to change the value by:
And it's better to make sure speed_limit_max value is higher than speed_limit_min.
Code: Select all
cat /proc/sys/dev/raid/speed_limit_min
echo 120000 > /proc/sys/dev/raid/speed_limit_min
- basketballmail2
- Posts: 38
- Joined: Sun Dec 29, 2013 11:03 pm
Re: Speed up RAID Rebuild?
Sweet thanks I'll give that a try as soon as I'm home from work! I see I really got to learn more linux to get the most out of my NAS experience
AS-606T: 3x WD 4.0TB RED RAID 5
- basketballmail2
- Posts: 38
- Joined: Sun Dec 29, 2013 11:03 pm
Re: Speed up RAID Rebuild?
Wow, what a speed increase Thanks! what if I put the max and min up even more than the 120000 do I risk crippling something or will I just eventually reach the max speed of the drive and that is it?
AS-606T: 3x WD 4.0TB RED RAID 5
- orion
- Posts: 3485
- Joined: Wed May 29, 2013 11:09 am
Re: Speed up RAID Rebuild?
That should reach the max speed of your drive (depends on your HDD type). It will utilize more CPU power and memory. That should be fine. Maybe, impact to the response speed of UI.
-
- Posts: 87
- Joined: Mon May 26, 2014 1:56 am
- Location: Denmark
- Contact:
Re: Speed up RAID Rebuild?
Nice info! I was wondering if my NAS was slow, rebuilding Raid1 with 75 MB/s and using this code i was able to see that the max speed is 200 MB/s so either my WD Red drives are slow or my AS-604T is slow.. I tried to set the max value to 25000 and the raid rebuild went down to 25 MB/s and set it up for 200000 then it hit back up on 75 MB/s...
AS-604T & AS-202T
-
- Posts: 39
- Joined: Sun Mar 31, 2013 4:40 am
Re: Speed up RAID Rebuild?
How are you accessing the NAS system files? I would like to do this too.
- orion
- Posts: 3485
- Joined: Wed May 29, 2013 11:09 am
Re: Speed up RAID Rebuild?
You should enable ssh service on NAS (ADM web -> Services -> terminal services / ssh). Then use ssh tool on your computer, login with root account (password is the same as admin).botics wrote:How are you accessing the NAS system files? I would like to do this too.