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

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

 



On Tue, 6 Aug 2013 09:14:05 +0800 Dong Wu <archer.wudong@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Attachment: signature.asc
Description: PGP signature


[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