when md raid1 superblock is bad block, what happens

3 messages, 3 authors, 2013-08-06 · open the first message on its own page

when md raid1 superblock is bad block, what happens

From: Dong Wu <hidden>
Date: 2013-08-06 01:14:05

Hi all, I have some questions about raid1 superblock and bad block.
When I create raid1 with two disks, the md will write superblock to
the disk, if the location of superblock is bad, what will happens?
Just report create error or add the block to bad-block-list and
redirect superblock to another place?
another question, how many bad blocks can be added to bad-block-list,
when the bad-block-list is full, the raid will degrade?

Thand you

Wu Dong

Re: when md raid1 superblock is bad block, what happens

From: NeilBrown <hidden>
Date: 2013-08-06 01:47:07

On Tue, 6 Aug 2013 09:14:05 +0800 Dong Wu [off-list ref] wrote:
Hi all, I have some questions about raid1 superblock and bad block.
When I create raid1 with two disks, the md will write superblock to
the disk, if the location of superblock is bad, what will happens?
The drive will be removed from the array.
Just report create error or add the block to bad-block-list and
redirect superblock to another place?
No.  That would be nice but it isn't implemented.
another question, how many bad blocks can be added to bad-block-list,
when the bad-block-list is full, the raid will degrade?
512 ranges of badblocks.  When it is full the array will degrade.

NeilBrown

Thand you

Wu Dong
--
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

Re: when md raid1 superblock is bad block, what happens

From: Roberto Spadim <hidden>
Date: 2013-08-06 03:20:46

another question, that i'm thinking now after this email...
i never read about, but... what's the size of super block?
could it be mirrored inside the disk like a raid1 inside the device
being used? if the first image of superblock is broken try to read the
next one
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help