Re: Drive replace question

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

 



On Fri, 11 Jul 2014 13:13:38 -0400 Wakko Warner <wakko@xxxxxxxxxxxx> wrote:

> When a drive is being replaced and has lots of errors, does it get kicked
> before the resync is completed?

If it doesn't have a bad block log, then "yes".
If it does, then "no, as long as  it doesn't have too many error".

> 
> I'm performing this action now on a system with kernel 3.14.6.  I don't
> believe the mdadm version makes a difference but it's debian version 3.3-2

The version of mdadm that created the array does make a difference.  Not all
versions create a bad block log.  3.3 and later will create a bad block log.

NeilBrown


> 
> Here's the mdstat for that array:
> md1 : active raid1 sde[3](R) sdj[2] sdk[1]
>       1465138448 blocks super 1.0 [2/2] [UU]
>       [>....................]  recovery =  0.0% (419648/1465138448) finish=174.5min speed=139882K/sec
>       bitmap: 3/11 pages [12KB], 65536KB chunk
> 
> sdj is being replaced by sde.  Currently, md1 is not in use.
> 

Attachment: signature.asc
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