Subject: setting the clean-bit in a RAID 0
To: None <current-users@netbsd.org>
From: Paul B Dokas <dokas@cs.umn.edu>
List: current-users
Date: 04/06/1999 10:13:46
I've got an iX86 machine tracking -current that has two 9.0GB SCSI
disks configured as RAID0. I originally configured the RAID a few months
back, before the clean bit was added to the RAID code, and now, whenever
I reboot, I get this:
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: 1 Serial Number: 100023 Mod Counter: 183
Clean: 0 Status: 0
/dev/sd0e is not clean!
raid0: Component /dev/sd1e being configured at row: 0 col: 1
Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
Version: 1 Serial Number: 100023 Mod Counter: 183
Clean: 0 Status: 0
/dev/sd1e is not clean!
RAIDFRAME: Configure (RAID Level 0): total number of sectors is 35554432 (17360 MB)
RAIDFRAME(RAID Level 0): Using 6 floating recon bufs with no head sep limit
However, everything still works just fine, even though the system demands
that the RAID is not clean.
Anyone know of a way to mark the RAID as clean? I've RTFM'd and tried
lots of different raidctl commands. None have managed to set the clean
bit.
Oh, and when the clean bit was added, I did label the RAID per the instructions
that went to current-users.
Paul
PS, almost forgot, here's /etc/raid0.conf:
START array
# numRow numCol numSpare
1 2 0
START disks
/dev/sd0e
/dev/sd1e
START layout
# sectPerSU SUsPerParityUnit SUsPerReconUnit RAID_level_0
32 1 1 0
START queue
fifo 100
--
Paul Dokas dokas@cs.umn.edu
======================================================================
Don Juan Matus: "an enigma wrapped in mystery wrapped in a tortilla."