Re: Raid1 rebuild slows to a crawl

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

 



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@xxxxxxxxxxxxxxx> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachment: pgpd4DUveu1zh.pgp
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux