* when md raid1 superblock is bad block, what happens
@ 2013-08-05 9:25 archer.wudong
0 siblings, 0 replies; 4+ messages in thread
From: archer.wudong @ 2013-08-05 9:25 UTC (permalink / raw)
To: linux-raid
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? 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?
Thank You
Wu Dong
^ permalink raw reply [flat|nested] 4+ messages in thread
* when md raid1 superblock is bad block, what happens
@ 2013-08-06 1:14 Dong Wu
2013-08-06 1:47 ` NeilBrown
0 siblings, 1 reply; 4+ messages in thread
From: Dong Wu @ 2013-08-06 1:14 UTC (permalink / raw)
To: linux-raid
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: when md raid1 superblock is bad block, what happens
2013-08-06 1:14 Dong Wu
@ 2013-08-06 1:47 ` NeilBrown
2013-08-06 3:20 ` Roberto Spadim
0 siblings, 1 reply; 4+ messages in thread
From: NeilBrown @ 2013-08-06 1:47 UTC (permalink / raw)
To: Dong Wu; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 958 bytes --]
On Tue, 6 Aug 2013 09:14:05 +0800 Dong Wu <archer.wudong@gmail.com> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-06 3:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05 9:25 when md raid1 superblock is bad block, what happens archer.wudong
-- strict thread matches above, loose matches on Subject: below --
2013-08-06 1:14 Dong Wu
2013-08-06 1:47 ` NeilBrown
2013-08-06 3:20 ` Roberto Spadim
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).