RAID5 initial rebuild slow, 2.6.16-rc4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Neil,

I recently purchased two SATA2 Western Digital WD2500KS (250GB) HDs to add to 
a pair of Maxtor DiamondMax 10's (200GB). I planned to initialise two 100GB 
RAID5 arrays spanning all four drives (the remaining 2x50GB on the new HDs is 
currently used for booting).

All the drives are connected to the same controller. I'm running mdadm 2.3.1, 
which is the latest version I believe. I created the array with the following 
command:

mdadm --create /dev/md1 --auto=yes --chunk=64 --level=5 
--raid-devices=4 /dev/sda3 /dev/sdb3 /dev/sdc2 /dev/sdd2

A few seconds later the array completed and I got the following 
in /proc/mdstat:

[root] 16:45 [~] cat /proc/mdstat
Personalities : [raid0] [raid5] [raid4] [multipath]
md2 : active raid0 sdb1[1] sda1[0]
      195318016 blocks 32k chunks

md1 : active raid5 sdd2[4] sdc2[2] sdb3[1] sda3[0]
      298736448 blocks level 5, 64k chunk, algorithm 2 [4/3] [UUU_]
      [>....................]  recovery =  0.5% (501376/99578816) 
finish=1646.2min speed=1000K/sec

I've not yet attempted to put a filesystem on the device, because I planned to 
wait until the (presumably pointless) recovery process completed. However, 
this rebuild seems to be extremely slow (the speed never exceeds the 
"minimum" recovery speed). CPU usage is almost nill.

This machine is an Athlon64 X2 3800+, with 2GB RAM, running an x86_64 kernel. 
Is there any reason for this poor performance?

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux