Subject: Re: mkfs should clear possible alternate superblocks
To: <>
From: David Laight <>
List: tech-userlevel
Date: 09/10/2003 22:18:10
> Does this solve the issue I reported a month ago, where I installed
> NetBSD over a previously NetBSD-raided drive, and the initial boot
> after installation got very confused because it thought the filesystem
> was still raided?

Mmmm thinks....

The raid header is 64 sectors (or rather 48 since it starts after the
8k boot area).
So for FFSv1 the main superblock ought to sit over the raid header.
For FFSv2 it won't and the raid header will be intact.
So maybe the raid magic number needs adding to the list that get zapped.

However I thought the raid code used the filesystem type in the netbsd
disklabel.  (Apart from the hack in boot1.)


David Laight: