* Raid0 rebuild slows to a crawl
@ 2012-01-13 8:01 David Liontooth
2012-01-13 8:44 ` Kay Diederichs
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: David Liontooth @ 2012-01-13 8:01 UTC (permalink / raw)
To: linux-raid
I'm trying to use a WD3200AAKX-001CA0 drive in a raid1 configuration
(Debian squeeze mdadm 3.1.4-1+8efb9d1), but adding it is unusably slow:
# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb3[2] sda3[1]
73015360 blocks [2/1] [_U]
[>....................] recovery = 0.0% (28928/73015360)
finish=2521.6min speed=482K/sec
dmesg shows no errors:
md: recovery of RAID array md0
md: minimum _guaranteed_ speed: 1000 KB/sec/disk.
md: using maximum available idle IO bandwidth (but not more than 200000
KB/sec) for recovery.
The drive itself doesn't seem to have a problem, though it's not
particularly fast:
# hdparm -tT /dev/sdb
/dev/sdb:
Timing cached reads: 11220 MB in 2.00 seconds = 5614.03 MB/sec
Timing buffered disk reads: 174 MB in 6.44 seconds = 27.01 MB/sec
# smartctl -a /dev/sdb
5 Reallocated_Sector_Ct 0x0033 133 133 140 Pre-fail Always
FAILING_NOW 1265
# hdparm -i /dev/sdb
/dev/sdb:
Model=WDC WD3200AAKX-001CA0, FwRev=15.01H15, SerialNo=WD-WCAYUEJ66523
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=625142448
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7
* signifies the current active mode
Is this a known problem? Only see it with this WD drive.
Cheers,
Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Raid0 rebuild slows to a crawl
2012-01-13 8:01 Raid0 rebuild slows to a crawl David Liontooth
@ 2012-01-13 8:44 ` Kay Diederichs
2012-01-13 9:36 ` David Liontooth
2012-01-13 8:46 ` Raid1 " Robin Hill
2012-01-14 20:13 ` Raid0 " Stefan /*St0fF*/ Hübner
2 siblings, 1 reply; 5+ messages in thread
From: Kay Diederichs @ 2012-01-13 8:44 UTC (permalink / raw)
Cc: linux-raid
On 01/13/2012 09:01 AM, David Liontooth wrote:
>
> I'm trying to use a WD3200AAKX-001CA0 drive in a raid1 configuration
> (Debian squeeze mdadm 3.1.4-1+8efb9d1), but adding it is unusably slow:
>
> # cat /proc/mdstat
> Personalities : [raid1]
> md1 : active raid1 sdb3[2] sda3[1]
> 73015360 blocks [2/1] [_U]
> [>....................] recovery = 0.0% (28928/73015360)
> finish=2521.6min speed=482K/sec
>
> dmesg shows no errors:
>
> md: recovery of RAID array md0
> md: minimum _guaranteed_ speed: 1000 KB/sec/disk.
> md: using maximum available idle IO bandwidth (but not more than 200000
> KB/sec) for recovery.
>
> The drive itself doesn't seem to have a problem, though it's not
> particularly fast:
>
> # hdparm -tT /dev/sdb
>
> /dev/sdb:
> Timing cached reads: 11220 MB in 2.00 seconds = 5614.03 MB/sec
> Timing buffered disk reads: 174 MB in 6.44 seconds = 27.01 MB/sec
>
> # smartctl -a /dev/sdb
>
> 5 Reallocated_Sector_Ct 0x0033 133 133 140 Pre-fail Always FAILING_NOW 1265
>
> # hdparm -i /dev/sdb
>
> /dev/sdb:
>
> Model=WDC WD3200AAKX-001CA0, FwRev=15.01H15, SerialNo=WD-WCAYUEJ66523
> Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
> RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
> BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=off
> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=625142448
> IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
> PIO modes: pio0 pio3 pio4
> DMA modes: mdma0 mdma1 mdma2
> UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
> AdvancedPM=no WriteCache=enabled
> Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7
>
> * signifies the current active mode
>
> Is this a known problem? Only see it with this WD drive.
>
> Cheers,
> Dave
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Hi Dave,
I'd say your drive is dying if its Reallocated_Sector_Ct is 1265. Dying
drives often are really slow; they spend the time on trying to overcome
error states.
HTH,
Kay
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Raid1 rebuild slows to a crawl
2012-01-13 8:01 Raid0 rebuild slows to a crawl David Liontooth
2012-01-13 8:44 ` Kay Diederichs
@ 2012-01-13 8:46 ` Robin Hill
2012-01-14 20:13 ` Raid0 " Stefan /*St0fF*/ Hübner
2 siblings, 0 replies; 5+ messages in thread
From: Robin Hill @ 2012-01-13 8:46 UTC (permalink / raw)
To: David Liontooth; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 1759 bytes --]
On Fri Jan 13, 2012 at 01:31:17PM +0530, David Liontooth wrote:
>
> I'm trying to use a WD3200AAKX-001CA0 drive in a raid1 configuration
> (Debian squeeze mdadm 3.1.4-1+8efb9d1), but adding it is unusably slow:
>
> # cat /proc/mdstat
> Personalities : [raid1]
> md1 : active raid1 sdb3[2] sda3[1]
> 73015360 blocks [2/1] [_U]
> [>....................] recovery = 0.0% (28928/73015360)
> finish=2521.6min speed=482K/sec
>
> dmesg shows no errors:
>
> md: recovery of RAID array md0
> md: minimum _guaranteed_ speed: 1000 KB/sec/disk.
> md: using maximum available idle IO bandwidth (but not more than 200000
> KB/sec) for recovery.
>
> The drive itself doesn't seem to have a problem, though it's not
> particularly fast:
>
> # hdparm -tT /dev/sdb
>
> /dev/sdb:
> Timing cached reads: 11220 MB in 2.00 seconds = 5614.03 MB/sec
> Timing buffered disk reads: 174 MB in 6.44 seconds = 27.01 MB/sec
>
> # smartctl -a /dev/sdb
>
> 5 Reallocated_Sector_Ct 0x0033 133 133 140 Pre-fail Always
> FAILING_NOW 1265
>
It has 1265 reallocated sectors, reports FAILING_NOW, and you say it
doesn't seem to have a problem? At a guess, it's repeatedly getting a
write failure, hitting the error retry timeout (which is quite long for
consumer drives),failing the sector, then reallocating it and moving on
to do the same with the next sector.
Get rid of this drive and get a replacement - there's no way you can
rely on it at all.
Cheers,
Robin
--
___
( ' } | Robin Hill <robin@robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Raid0 rebuild slows to a crawl
2012-01-13 8:44 ` Kay Diederichs
@ 2012-01-13 9:36 ` David Liontooth
0 siblings, 0 replies; 5+ messages in thread
From: David Liontooth @ 2012-01-13 9:36 UTC (permalink / raw)
To: linux-raid
Much appreciated! I'll notify next-of-kin.
Cheers,
Dave
On 01/13/2012 02:14 PM, Kay Diederichs wrote:
> On 01/13/2012 09:01 AM, David Liontooth wrote:
>>
>> I'm trying to use a WD3200AAKX-001CA0 drive in a raid1 configuration
>> (Debian squeeze mdadm 3.1.4-1+8efb9d1), but adding it is unusably slow:
>>
>> # cat /proc/mdstat
>> Personalities : [raid1]
>> md1 : active raid1 sdb3[2] sda3[1]
>> 73015360 blocks [2/1] [_U]
>> [>....................] recovery = 0.0% (28928/73015360)
>> finish=2521.6min speed=482K/sec
>>
>> dmesg shows no errors:
>>
>> md: recovery of RAID array md0
>> md: minimum _guaranteed_ speed: 1000 KB/sec/disk.
>> md: using maximum available idle IO bandwidth (but not more than 200000
>> KB/sec) for recovery.
>>
>> The drive itself doesn't seem to have a problem, though it's not
>> particularly fast:
>>
>> # hdparm -tT /dev/sdb
>>
>> /dev/sdb:
>> Timing cached reads: 11220 MB in 2.00 seconds = 5614.03 MB/sec
>> Timing buffered disk reads: 174 MB in 6.44 seconds = 27.01 MB/sec
>>
>> # smartctl -a /dev/sdb
>>
>> 5 Reallocated_Sector_Ct 0x0033 133 133 140 Pre-fail Always
>> FAILING_NOW 1265
>>
>> # hdparm -i /dev/sdb
>>
>> /dev/sdb:
>>
>> Model=WDC WD3200AAKX-001CA0, FwRev=15.01H15, SerialNo=WD-WCAYUEJ66523
>> Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs
>> FmtGapReq }
>> RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
>> BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=off
>> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=625142448
>> IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
>> PIO modes: pio0 pio3 pio4
>> DMA modes: mdma0 mdma1 mdma2
>> UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
>> AdvancedPM=no WriteCache=enabled
>> Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7
>>
>> * signifies the current active mode
>>
>> Is this a known problem? Only see it with this WD drive.
>>
>> Cheers,
>> Dave
>>
>
> Hi Dave,
>
> I'd say your drive is dying if its Reallocated_Sector_Ct is 1265.
> Dying drives often are really slow; they spend the time on trying to
> overcome error states.
>
> HTH,
> Kay
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Raid0 rebuild slows to a crawl
2012-01-13 8:01 Raid0 rebuild slows to a crawl David Liontooth
2012-01-13 8:44 ` Kay Diederichs
2012-01-13 8:46 ` Raid1 " Robin Hill
@ 2012-01-14 20:13 ` Stefan /*St0fF*/ Hübner
2 siblings, 0 replies; 5+ messages in thread
From: Stefan /*St0fF*/ Hübner @ 2012-01-14 20:13 UTC (permalink / raw)
Cc: linux-raid
This drive is failing now - just as smartctl indicates. I suggest you
stop that rebuild (as it was dropped for a reason), exchange the drive,
then restart/rebuild with a new drive.
Stefan
Am 13.01.2012 09:01, schrieb David Liontooth:
>
> I'm trying to use a WD3200AAKX-001CA0 drive in a raid1 configuration
> (Debian squeeze mdadm 3.1.4-1+8efb9d1), but adding it is unusably slow:
>
> # cat /proc/mdstat
> Personalities : [raid1]
> md1 : active raid1 sdb3[2] sda3[1]
> 73015360 blocks [2/1] [_U]
> [>....................] recovery = 0.0% (28928/73015360)
> finish=2521.6min speed=482K/sec
>
> dmesg shows no errors:
>
> md: recovery of RAID array md0
> md: minimum _guaranteed_ speed: 1000 KB/sec/disk.
> md: using maximum available idle IO bandwidth (but not more than 200000
> KB/sec) for recovery.
>
> The drive itself doesn't seem to have a problem, though it's not
> particularly fast:
>
> # hdparm -tT /dev/sdb
>
> /dev/sdb:
> Timing cached reads: 11220 MB in 2.00 seconds = 5614.03 MB/sec
> Timing buffered disk reads: 174 MB in 6.44 seconds = 27.01 MB/sec
>
> # smartctl -a /dev/sdb
>
> 5 Reallocated_Sector_Ct 0x0033 133 133 140 Pre-fail Always
> FAILING_NOW 1265
>
> # hdparm -i /dev/sdb
>
> /dev/sdb:
>
> Model=WDC WD3200AAKX-001CA0, FwRev=15.01H15, SerialNo=WD-WCAYUEJ66523
> Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
> RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
> BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=off
> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=625142448
> IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
> PIO modes: pio0 pio3 pio4
> DMA modes: mdma0 mdma1 mdma2
> UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
> AdvancedPM=no WriteCache=enabled
> Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7
>
> * signifies the current active mode
>
> Is this a known problem? Only see it with this WD drive.
>
> Cheers,
> Dave
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-01-14 20:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13 8:01 Raid0 rebuild slows to a crawl David Liontooth
2012-01-13 8:44 ` Kay Diederichs
2012-01-13 9:36 ` David Liontooth
2012-01-13 8:46 ` Raid1 " Robin Hill
2012-01-14 20:13 ` Raid0 " Stefan /*St0fF*/ Hübner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.