This one time, at band camp, Arno van Amersfoort said: > Package: hdparm > Version: 8.9-1 > > I'm running a system with several soft RAID1 & RAID6 devices. I > experienced a problem where the resync/rebuild of my new array's stalled > at 0K/s speed like this: > md3 : active raid1 sdb6[2](F) sda6[0] > 126953536 blocks [2/1] [U_] > [>....................] recovery = 0.0% (103296/126953536) > finish=634251.2min speed=0K/sec > > md4 : active raid6 sdf1[3] sde1[2] sdd1[1] sdc1[0] > 976767872 blocks level 6, 64k chunk, algorithm 2 [4/4] [UUUU] > [>....................] resync = 0.2% (1037056/488383936) > finish=289250.7min speed=0K/sec > > Now it turns out that his is caused by /etc/default/hdparm's > "RAID_WORKAROUND" (if it's enabled/set to 1). The min/max construction > speeds get set to 0 (by the hdparm init script) at boot but are never > restored to their original value's OR the kernel doesn't like this > behaviour, I don't know (yet).
I don't see a code path where the original value isn't restored. Can you do a few things for me: The output of: cat /proc/sys/dev/raid/speed_limit_min cat /proc/sys/dev/raid/speed_limit_max If the value is 0 here, skip ahead. If hte value is non-zero, run and send me the output of: sh -x /etc/init.d/hdparm start cat /proc/sys/dev/raid/speed_limit_min cat /proc/sys/dev/raid/speed_limit_max If the value of either of those files is 0 after this, then there is pretty definitely a bug. If they have a non-zero value here, then it might be something else. Finally, if the values are zero, can you run: echo 6000 > /proc/sys/dev/raid/speed_limit_min echo 6000 > /proc/sys/dev/raid/speed_limit_max and send me the output of: cat /proc/sys/dev/raid/speed_limit_min cat /proc/sys/dev/raid/speed_limit_max Hopefully that's clear enough. Thanks, -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature