linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roman Mamedov <rm@romanrm.ru>
To: Mike Power <mpower@dodtsair.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm and disk failures
Date: Thu, 16 Jun 2011 10:59:08 +0600	[thread overview]
Message-ID: <20110616105908.474d22bc@natsu> (raw)
In-Reply-To: <4DF97A7B.1070901@dodtsair.com>

[-- Attachment #1: Type: text/plain, Size: 727 bytes --]

On Wed, 15 Jun 2011 20:37:31 -0700
Mike Power <mpower@dodtsair.com> wrote:

>  From what I understand when a hard drive loses a block it replaces it 
> with another block but it can not recover the data.
> If it read from the disk that had the block it gets garbage for data.

This is not true, an HDD will never return garbage data just because it needed
to remap a bad sector. And that's the reason why bad sectors will return I/O
error (unreadable) instead, and are not remapped anywhere until you try to
WRITE into these sectors. At that moment, when the hard disk has new user data
for that sector, it can finally do the remap and put it somewhere else on a
remapped good sector.

-- 
With respect,
Roman

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2011-06-16  4:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16  3:37 mdadm and disk failures Mike Power
2011-06-16  4:39 ` Brad Campbell
2011-06-16  4:59 ` Roman Mamedov [this message]
2011-06-16  5:29   ` Mikael Abrahamsson
2011-06-16 15:34   ` Mike Power

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110616105908.474d22bc@natsu \
    --to=rm@romanrm.ru \
    --cc=linux-raid@vger.kernel.org \
    --cc=mpower@dodtsair.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).