lkml.org 
[lkml]   [2003]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: md: bug in file md.c, line 1440 (2.4.22)
Neil Brown wrote:
> Your problem is that these extra slots (N:0) are flagged as failed
> (S:9) and this confuses md.c.
>
> If you get mdadm 1.3.0 and apply the three patches that can be found
> in
> http://cgi.cse.unsw.edu.au/~neilb/source/mdadm/patch/applied/
>
> and then stop the array and use:
> mdadm --assemble --update=summaries /dev/md5 /dev/sda9 /dev/sdc9
>
> then it should fix things up for you.
> You will need to do a similar thing for all of the arrays.
> This will be difficult for md2 as it is 'root'. You will need to boot
> a rescue disc to fix this one.
>
> I have not idea how it got the failed flag.

I didn't read this in time to get this tested - I did a full backup and
restore earlier, zeroing all sectors on both drives. All is fine now,
however I have no idea how this has happened. I'll set one partition
faulty, re-add it and reboot later just to make sure it really works.

2.6 has never been booted on that machine, or disks.

Thanks, I'll keep mdadm in mind next time something like this happens ;-)

--
Cheers,
André Tomt
andre@tomt.net

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.066 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site