Why does it take so darn long to build a RAID5 array

Mark R

Diamond Member
Oct 9, 1999
8,513
16
81
It takes about 8 hours to read/write a 2TB hard drive. That is the limiting factor, and one of the reasons why RAID5 is inappropriate for 2TB + drives.
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
It varies heavily on the RAID and disk controllers also. From those numbers I roughly estimate that you are only initializing at around 50-60MB/s.
 

corkyg

Elite Member | Peripherals
Super Moderator
Mar 4, 2000
27,370
239
106
The bigger the drive, the longer the time.
 

BrightCandle

Diamond Member
Mar 15, 2007
4,762
0
76
Raid 5 to rebuild has to go through every byte on all of the disks and calculate an XOR and store write out that parity information to one of the disks. In your case 3 disks are being read and then the forth is being written to with parity data. 2TB at 50MB/s or (true sustained performance considering the calculation being done on the CPU) takes a long time.
 

yinan

Golden Member
Jan 12, 2007
1,801
2
71
Get a controller that can do the initialization in the background.
 

Gunbuster

Diamond Member
Oct 9, 1999
6,852
23
81
A lot is down to the RAID card. I have a Dell PERC H700 that initialized a RAID5 set of 7 4TB drives in around 5 Hours.
 

Zxian

Senior member
May 26, 2011
579
0
0
A lot is down to the RAID card. I have a Dell PERC H700 that initialized a RAID5 set of 7 4TB drives in around 5 Hours.

My 3ware 9650SE-8LPML initialized my eight 3TB drives in RAID6 in about 10 hours. Don't do traditional RAID5 unless you're on a proper hardware controller. Forget about even thinking of doing it with your onboard SATA controller.