Subject: problem initializing raid
To: None <netbsd-help@netbsd.org>
From: rudolf <netbsd@eq.cz>
List: netbsd-help
Date: 05/15/2005 15:20:25
Hi,

I'm trying to initialize a raid device, but something in my setup must 
be wrong. Here is a part of 'messages' log:

May 13 13:52:57 magambi /netbsd: raid1: Component /dev/wd2b being 
configured at col: 0
May 13 13:52:57 magambi /netbsd:          Column: 0 Num Columns: 2
May 13 13:52:57 magambi /netbsd:          Version: 2 Serial Number: 
5051202 Mod Counter: 9
May 13 13:52:57 magambi /netbsd:          Clean: No Status: 0
May 13 13:52:57 magambi /netbsd: /dev/wd2b is not clean!
May 13 13:52:57 magambi /netbsd: raid1: Component /dev/wd3b being 
configured at col: 1
May 13 13:52:57 magambi /netbsd:          Column: 1 Num Columns: 2
May 13 13:52:57 magambi /netbsd:          Version: 2 Serial Number: 
5051202 Mod Counter: 9
May 13 13:52:57 magambi /netbsd:          Clean: No Status: 0
May 13 13:52:57 magambi /netbsd: /dev/wd3b is not clean!
May 13 13:52:57 magambi /netbsd: raid1: RAID Level 1
May 13 13:52:57 magambi /netbsd: raid1: Components: /dev/wd2b /dev/wd3b
May 13 13:52:57 magambi /netbsd: raid1: Total Sectors: 488192128 (238375 MB)
May 13 14:56:01 magambi /netbsd: wd3b: error reading fsbn 268230592 of 
268230592-268230719 (wd3 bn 268435455; cn 266305 tn 0 sn 15), retrying
May 13 14:56:01 magambi /netbsd: wd3: (id not found)
May 13 14:56:01 magambi /netbsd: wd2b: error reading fsbn 268230592 of 
268230592-268230719 (wd2 bn 268435455; cn 266305 tn 0 sn 15), retrying
May 13 14:56:01 magambi /netbsd: wd2: (id not found)
May 13 14:56:01 magambi /netbsd: wd3b: error reading fsbn 268230592 of 
268230592-268230719 (wd3 bn 268435455; cn 266305 tn 0 sn 15), retrying
May 13 14:56:01 magambi /netbsd: wd3: (id not found)
May 13 14:56:01 magambi /netbsd: wd2b: error reading fsbn 268230592 of 
268230592-268230719 (wd2 bn 268435455; cn 266305 tn 0 sn 15), retrying
May 13 14:56:01 magambi /netbsd: wd2: (id not found)
May 13 14:56:02 magambi /netbsd: wd3b: error reading fsbn 268230592 of 
268230592-268230719 (wd3 bn 268435455; cn 266305 tn 0 sn 15), retrying
May 13 14:56:02 magambi /netbsd: wd3: (id not found)
May 13 14:56:02 magambi /netbsd: wd2b: error reading fsbn 268230592 of 
268230592-268230719 (wd2 bn 268435455; cn 266305 tn 0 sn 15), retrying
May 13 14:56:02 magambi /netbsd: wd2: (id not found)
May 13 14:56:03 magambi /netbsd: wd3: transfer error, downgrading to 
Ultra-DMA mode 2
May 13 14:56:03 magambi /netbsd: wd3(satalink0:3:0): using PIO mode 4, 
Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
May 13 14:56:03 magambi /netbsd: wd3b: error reading fsbn 268230592 of 
268230592-268230719 (wd3 bn 268435455; cn 266305 tn 0 sn 15), retrying
May 13 14:56:03 magambi /netbsd: wd3: (id not found)
May 13 14:56:03 magambi /netbsd: wd2: transfer error, downgrading to 
Ultra-DMA mode 2
May 13 14:56:03 magambi /netbsd: wd2(satalink0:2:0): using PIO mode 4, 
Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
May 13 14:56:03 magambi /netbsd: wd2b: error reading fsbn 268230592 of 
268230592-268230719 (wd2 bn 268435455; cn 266305 tn 0 sn 15), retrying
May 13 14:56:03 magambi /netbsd: wd2: (id not found)
May 13 14:56:03 magambi /netbsd: wd3b: error reading fsbn 268230592 of 
268230592-268230719 (wd3 bn 268435455; cn 266305 tn 0 sn 15), retrying
May 13 14:56:03 magambi /netbsd: wd3: (id not found)
May 13 14:56:03 magambi /netbsd: wd2b: error reading fsbn 268230592 of 
268230592-268230719 (wd2 bn 268435455; cn 266305 tn 0 sn 15), retrying
May 13 14:56:03 magambi /netbsd: wd2: (id not found)
May 13 14:56:04 magambi /netbsd: wd3b: error reading fsbn 268230592 of 
268230592-268230719 (wd3 bn 268435455; cn 266305 tn 0 sn 15)wd3: (id not 
found)
May 13 14:56:04 magambi /netbsd:
May 13 14:56:04 magambi /netbsd: raid1: IO Error.  Marking /dev/wd3b as 
failed.
May 13 14:56:04 magambi /netbsd: wd2b: error reading fsbn 268230592 of 
268230592-268230719 (wd2 bn 268435455; cn 266305 tn 0 sn 15)wd2: (id not 
found)
May 13 14:56:04 magambi /netbsd:
May 13 14:56:04 magambi /netbsd: raid1: IO Error.  Marking /dev/wd2b as 
failed.
May 13 14:56:04 magambi /netbsd: Unable to verify raid1 parity: can't 
read stripe
May 13 14:56:04 magambi /netbsd: Could not verify parity
May 13 14:56:04 magambi /netbsd: raid1: Error re-writing parity!


I've 4 SATA Seagate disks connected to Silicon Image SATALink 3114 and 
the machine is running few days old amd64 kernel 2.0_STABLE. I've tried 
three of the disks in all possible combinations to make raid1 device 
from two of them. The error is always the same including the number of 
errorneous fsbn - '268230592'. I am definitely doing something wrong.

Thanks for any advice.

r.