Subject: Re: Upgrading a RAID 1 system
To: Matthias Scheler <tron@zhadum.de>
From: David Laight <david@l8s.co.uk>
List: port-i386
Date: 06/16/2004 21:43:07
On Wed, Jun 16, 2004 at 06:23:05PM +0000, Matthias Scheler wrote:
>
> I've got a server with RAIDframe bootable RAID 1 setup. I initially
> installed it with NetBSD 1.6.2 and have therefore a disk layout which
> looks this:
>
> 16 partitions:
> # size offset fstype [fsize bsize cpg/sgs]
> a: 312452784 129024 RAID # (Cyl. 128 - 310100)
> c: 16 0 unused 0 0 # (Cyl. 0 - 0*)
> d: 312581808 0 unused 0 0 # (Cyl. 0 - 310100)
> e: 129024 0 4.2BSD 1024 8192 90 # (Cyl. 0 - 127)
>
> The BIOS started the new boot loader just fine but the boot loader wants
> to load the kernel from partition "e" instead of "a". I've afterwards
> remove "boot" from "wd0e" because the manual page claims that the boot
> loader will automatically use the partition "a" if "boot" isn't found
> on the current partition. But that didn't work, too.
That should work, but only if the root filesystem is at the start of the
raid set - the partition table of the raid set isn't read from disk.
David
--
David Laight: david@l8s.co.uk