Subject: Re: Upgrading a RAID 1 system
To: None <port-i386@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: port-i386
Date: 06/16/2004 20:57:42
In article <20040616204307.GK1010@snowdrop.l8s.co.uk>,
	David Laight <david@l8s.co.uk> writes:
>> 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.

The root partition is at the beginning:

disklabel: Invalid signature in mbr record 0
# /dev/rraid0d:
type: RAID
disk: raid
label: RAIDframe mirror
flags:
bytes/sector: 512
sectors/track: 128
tracks/cylinder: 8
sectors/cylinder: 1024
cylinders: 305129
total sectors: 312452608
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:    196608         0     4.2BSD   1024  8192    89  # (Cyl.      0 -    191)
[...]

But it doesn't work nevertheless.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/