All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ankur Bose <ankur.bose@oracle.com>
To: linux-raid@vger.kernel.org
Cc: Suresh Babu Kandukuru <suresh.babu.kandukuru@oracle.com>
Subject: Bad block management in raid1
Date: Fri, 13 Mar 2015 15:36:52 +0530	[thread overview]
Message-ID: <5502B6BC.50809@oracle.com> (raw)
In-Reply-To: <55019940.4030104@turmel.org>

Hi There,

   Can you conform the below scenario in which blocks are consider to be 
a "bad" block.

         1. A read error on a degraded array ( a state of raid when 
array experiences the failure of one or more disks)for which the data 
cannot be found from other legs is a "bad" block and gets recorded.
         2. When recovering, from source to target leg, for any reason 
if unable to read from source, the target leg's block gets recorded as 
“bad” (thought the target block is writable and can be used in future).
         3. Write to a block fails (Though it leads to degraded mode).

Are they all implemented and is there any other scenario?

  When exactly the raid1 decides to make the device "Faulty"? Does that 
depends on the number of bad blocks in the list ie: 512?
  What is the size in the metadata for storing the bad block info.

Thanks,
Ankur
--
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

      parent reply	other threads:[~2015-03-13 10:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-12 12:21 Raid 5: all devices marked spare, cannot assemble Paul Boven
2015-03-12 13:48 ` Phil Turmel
2015-03-12 14:28   ` Paul Boven
2015-03-13 10:06   ` Ankur Bose [this message]

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=5502B6BC.50809@oracle.com \
    --to=ankur.bose@oracle.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=suresh.babu.kandukuru@oracle.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 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.