Subject: kern/34696: NetBSD-current (Oct 1, 2006) marks RAID1 parity as dirty and rebuilds it after reboot
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <adam@netbsd.org>
List: netbsd-bugs
Date: 10/02/2006 17:00:00
>Number:         34696
>Category:       kern
>Synopsis:       NetBSD-current (Oct 1, 2006) marks RAID1 parity as dirty and rebuilds it after reboot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 02 17:00:00 +0000 2006
>Originator:     Adam Ciarci?ski
>Release:        NetBSD-current
>Organization:
>Environment:
NetBSD ultra 4.99.3 NetBSD 4.99.3 (ULTRA) #0: Sun Oct  1 16:58:23 CEST 2006  roo
t@mars:/usr/src/objdir.sparc64/sys/arch/sparc64/compile/ULTRA sparc64
>Description:
NetBSD-current (Oct 1, 2006) marks RAID1 (mirror) parity as dirty and rebuilds it after reboot.
I am using it on sparc64 (Sun Netra t1 105) with 2 SCSI disks in RAID1.

There is no swap, and I have set no_swap=YES in /etc/rc.conf. Changing swapoff to YES and NO does not help.

RAID is autoconfigured root partition. The system boots from the RAID.

RAID used to work correctly on NetBSD-current 3.99.x.
>How-To-Repeat:
Make RAID1 set, reboot and observe: raidctl -S raid0
>Fix: