Subject: Re: RAID-1 and crash dumps
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 02/03/2004 21:46:34
On Tue, Feb 03, 2004 at 07:28:58PM +0200, Martti Kuparinen wrote:
> Manuel Bouyer wrote:
>
> >This looks good, and I find the same value using another way to compute it.
> >If you create on wd0 a partition starting at 192, can you mount
> >it and find the same value as raid0a ?
>
> # disklabel raid0
> a: 16777216 0 4.2BSD 2048 16384 27672
> b: 2097152 16777216 swap
> d: 241254528 0 unused 0 0
> e: 222380160 18874368 4.2BSD 2048 16384 28856
>
> # dc
> 18874368 # size of raid0e
> 192 # size of RAID structures
> +p
> 18874560 # offset of wd0f
>
> # disklabel wd0
> a: 241254657 63 RAID
> c: 241254657 63 unused 0 0
> d: 241254720 0 unused 0 0
> e: 16777216 192 4.2BSD 2048 16384 27672
> f: 222380160 18874560 4.2BSD 2048 16384 28856
>
> # mount /dev/wd0e /mnt
> mount_ffs: /dev/wd0e on /mnt: incorrect super block
> # mount /dev/wd0f /mnt
> mount_ffs: /dev/wd0f on /mnt: incorrect super block
Obvisouly something changed. The value "192" for the offset looks suspicious to
me, on 2 i386 hosts here it's 96. Can you try with 96 ?
Maybe the raid's size in the raid0 disklabel is wrong ...
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--