Re: Proactive Drive Replacement

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

 



Mario 'BitKoenig' Holbe wrote:
> David Greaves <david@xxxxxxxxxxxx> wrote:
>> The main issue is that the drive being replaced almost certainly has a bad
>> block.
> 
> Then, the replacement is not pro-active ;)
> 
>> This block could be recovered from the raid5 set but won't be.
> 
> This is what 'check' and 'repair' operations
> (/sys/block/md*/md/sync_action) can be used for.

Well, yes and no.

If I have a bad block then I could use the remaining disks to calculate data to
overwrite it. So yes.

However the overwrite may fail. So no.

If I have an md managed mirror then the overwrite will write to the new disk and
the old one. I don't care if the old one fails.


David



-- 
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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