Subject: Re: RAID-1 and crash dumps
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 02/03/2004 19:28:58
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
Martti