Re: Upgrading to kernel 2.6.8 with RAID 1 on SATA
I solved the whole thing without a second HD. See
http://www.debianforum.de/wiki/?page=Kernel+2.6 for a detailed description.
David
-----Original Message-----
From: Philipp Kolmann <philipp@kolmann.at>
To: Paul Gear <paul@gear.dyndns.org>
Cc: debian-testing@lists.debian.org
Date: Mon, 9 May 2005 07:41:38 +0200
Subject: Re: Upgrading to kernel 2.6.8 with RAID 1 on SATA
> On Mon, May 09, 2005 at 07:05:05AM +1000, Paul Gear wrote:
> > md2 : active raid1 hde6[0] hdg6[1]
> > 190474560 blocks [2/2] [UU]
> >
> > On kernel 2.6.8 and later, the SATA drivers use libata and thus are
> > discovered as /dev/sd[ab] instead of /dev/hd[eg]. If i boot using
> the
> > latest kernel image from either sarge or sid, it panics because it
> can't
> > find the root filesystem (presumably due to not being able to find
> > /dev/hd[eg]).
>
> I had the same problem lately since I got a second drive and built up a
> MD
> device with a 2.4 kernel.
>
> What I did was, that I bootet into a sarge installer (it was a fairly
> old RC2
> i think) and there I assembled the root md device with mdadm.
>
> Then I queried the md-device and it was stated as as md device with
> /dev/sd*
> devices:
>
> root@wspk:~# mdadm --examine /dev/sda1
> /dev/sda1:
> Magic : a92b4efc
> Version : 00.90.00
> UUID : 2c4a5c80:3440c46b:3a919e7d:a19e1fde
> Creation Time : Tue Apr 26 09:35:28 2005
> Raid Level : raid1
> Raid Devices : 2
> Total Devices : 2
> Preferred Minor : 0
>
> Update Time : Mon May 9 07:40:51 2005
> State : clean
> Active Devices : 2
> Working Devices : 2
> Failed Devices : 0
> Spare Devices : 0
> Checksum : 6bbf5d9c - correct
> Events : 0.416840
>
>
> Number Major Minor RaidDevice State
> this 1 8 1 1 active sync
> /dev/.static/dev/sda1
>
> 0 0 8 17 0 active sync
> /dev/.static/dev/sdb1
> 1 1 8 1 1 active sync
> /dev/.static/dev/sda1
> root@wspk:~#
>
> With this in place booting was no problem.
>
> Hth
> Philipp Kolmann
>
>
>
> --
> A byte walks into a bar and orders a pint. Bartender asks him "What's
> wrong?"
> Byte says "Parity error." Bartender nods and says "Yeah, I thought you
> looked
> a bit off."
>
>
> --
> To UNSUBSCRIBE, email to debian-testing-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
Reply to: