Re: Bad drive discovered during raid5 reshape

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

 



Neil Brown wrote:
> On Tuesday October 30, david@xxxxxxxxxxxx wrote:
>> The key question I think is: will md continue to grow an array even if it enters
>> degraded mode during the grow?
>> ie grow from a 6 drive array to a 7-of-8 degraded array?
> 
> Yes, md can grow to a degraded array.  If you get a single failure I
> would expect it to abort the growth process, then restart where it
> left off (after checking that that made sense).

I read that he aborted it, then removed both drives before giving md a chance to
restart.

He said:
After several minutes dmesg indicated that mdadm gave up and
the grow process stopped. After googling around I tried the solutions
that seemed most likely to work, including removing the new drives with
mdadm --remove --force /dev/md1 /dev/sd[bc]1 and rebooting

and *then* he: "ran mdadm -Af /dev/md1."

>> In which case should he be able to re-add /dev/sdc and allow md to retry the
>> grow? (possibly losing some data due to the sdc staleness)
> 
> He only needs one of the two drives in there.  I got the impression
> that both sdc and sdb had reported errors.  If not, and sdc really
> seems OK, then "--assemble --force" listing all drives except sdb
> should make it all work again.

Kyle - I think you need to clarify this as it may not be too bad. Apologies if I
misread something and sdc is bad too :)

It may be an idea to let us (Neil) know what you've done and if you've done any
writes to any devices before trying this assemble.

David

-
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

[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