Subject: Re: raidframe parity always dirty after reboot
To: Matthias Buelow <>
From: Manuel Bouyer <>
List: netbsd-users
Date: 04/27/2003 19:22:02
On Sun, Apr 27, 2003 at 04:45:18AM +0200, Matthias Buelow wrote:
> Hi folks,
> I have NetBSD 1.6.1 on a PC with several raidframe RAIDs
> configured.  One RAID is mirroring two disks, is auto-
> configuring and contains the root filesystem.  This RAID
> always comes up dirty after a reboot.  All other RAIDs
> (I have another 4 disks in an 1+0 RAID) seem to be clean.
> Is this normal or is it a bug?  Could it be because the
> root fs or swap is on that RAID?  Are there any ill effects
> to that?

It's because of swap on RAID (the swap device isn't closed at shutdown,
so raidframe can't mark this device as clean).
A workarond it to set
in /etc/rc.conf, and always use shutdown instead of halt/reboot

Manuel Bouyer <>
     NetBSD: 24 ans d'experience feront toujours la difference