View previous topic :: View next topic |
Author |
Message |
codeattack n00b
Joined: 22 Jun 2006 Posts: 2
|
Posted: Thu Jun 29, 2006 8:30 pm Post subject: RAID resync speed very slow |
|
|
Why is the resyncing of the RAID so slow?
Code: |
Personalities : [linear] [raid0] [raid1] [raid5] [multipath]
read_ahead 1024 sectors
md0 : active raid1 hdd1[3] hdc1[2] hdb1[1] hda1[0]
2939776 blocks [4/4] [UUUU]
resync=DELAYED
md2 : active raid5 hdd3[3] hdc3[2] hdb3[1] hda3[0]
720804096 blocks level 5, 32k chunk, algorithm 0 [4/4] [UUUU]
[>.....................] resync = 9.6% (284800/720804096) finish=5251.3min [b]speed=844K/sec[/b]
md1 : active raid1 hdd2[3] hdc2[2] hdb2[1] hda2[0]
987904 blocks [4/4] [UUUU]
resync=DELAYED
unused devices: <none>
|
This occured this morning when, the system I was configuring suffered a crash caused by electricity faillure (this system is not in production so it is not hooked to any UPS) Then when the system rebooted the raid started to sync and the speed at which it is doing it is incrediblly slow! The first time it did the resync it was doing it at about 5000/sec but now its doing it at 844k/sec and juging by the time "5251.3min" it will take about 88h to complete which is quite insane!!
I did not change the speed limits from /proc/sys/dev/raid
speed_limit_max = 100000
speed_limit_min = 100
Code: |
Filesystem Size Used Avail Use% Mounted on
/dev/md0 2.8G 1.6G 1.1G 60% /
none 109M 0 109M 0% /dev/shm
/dev/md2 677G 61M 643G 1% /storage
|
Why is it so slow?
thx _________________ We are robots working for Society |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Thu Jun 29, 2006 9:32 pm Post subject: |
|
|
If there's no other disk activity, it should resync near the max disk speed, otherwise you might try raising the minimum speed from 100KB/s. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|