Re: How to avoid complete rebuild of RAID 6 array (6/8 active devices)

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

 



On 15:37, Dave Moon wrote:

> 1. If mdadm encounters a bit error during a RAID 6 rebuild, will it  
> just give up on that particular file and move on to recover other data  
> on the array? Or will it trash the entire array?

The kernel will stop the array and give up.

> 2. Is it possible to cheat mdadm by somehow replacing the new "raid  
> metadata" on the 6 drives with the old data on the 2 drives? Will it  
> make mdadm think the array is clean, consistent and nothing ever  
> happened?

> Please do note that I did not write ANY new data onto the RAID 6 array  
> from the time it was degraded until the time I brought it down with (-- 
> stop).

Use --force, Luke. Man mdadm(8):

	-f, --force Assemble the array even if some superblocks
	appear out-of-date

Andre
-- 
The only person who always got his work done by Friday was Robinson Crusoe

Attachment: signature.asc
Description: Digital 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