Subject: 'raidctl -s' false report component 'Clean: No' !?
To: None <current-users@netbsd.org>
From: Markus Kilbinger <kilbi@rad.rwth-aachen.de>
List: current-users
Date: 09/10/2000 22:37:13
system:
    NetBSD mach 1.5_ALPHA2 NetBSD 1.5_ALPHA2 Sat Sep ... 9 19:31:23 MEST

I'm using 2 identical ffs partition as raid1 which are reported at
boot time:

> RAIDFRAME: protectedSectors is 64
> raid0: Component /dev/sd0e being configured at row: 0 col: 0
> 	   Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
> 	   Version: 2 Serial Number: 9125342 Mod Counter: 1237272221
> 	   Clean: Yes Status: 0
> raid0: Component /dev/sd1e being configured at row: 0 col: 1
> 	   Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
> 	   Version: 2 Serial Number: 9125342 Mod Counter: 1237272221
> 	   Clean: Yes Status: 0
> RAIDFRAME: Configure (RAID Level 1): total number of sectors is 15818944 (7724 MB)
> RAIDFRAME(RAID Level 1): Using 6 floating recon bufs with no head sep limit

Though everything seems to work fine 'raidctl -s raid0' reports:

> Components:
> 	     /dev/sd0e: optimal
> 	     /dev/sd1e: optimal
> No spares.
> Component label for /dev/sd0e:
>    Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
>    Version: 2 Serial Number: 9125342 Mod Counter: 1237272228
>    Clean: No Status: 0
>    sectPerSU: 32 SUsPerPU: 1 SUsPerRU: 1
>    RAID Level: 1  blocksize: 512 numBlocks: 15818944
>    Autoconfig: No
>    Root partition: No
>    Last configured as: raid0
> Component label for /dev/sd1e:
>    Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
>    Version: 2 Serial Number: 9125342 Mod Counter: 1237272228
>    Clean: No Status: 0
>    sectPerSU: 32 SUsPerPU: 1 SUsPerRU: 1
>    RAID Level: 1  blocksize: 512 numBlocks: 15818944
>    Autoconfig: No
>    Root partition: No
>    Last configured as: raid0
> Parity status: clean
> Reconstruction is 100% complete.
> Parity Re-write is 100% complete.
> Copyback is 100% complete.

Now 'Clean: No'! Why? Who is wrong? Is anything wrong with the raid?