[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Software Raid issue



Hey all...

	This seems like I'm probably making a really simple error here;
hopefully, somebody can help out.  However, I can't find any evidence on
the www or in the archives for tech or misc that anybody else has run
into this one.  I'm trying to configure a software raid box; I have four
SCSI drives, each set up with identical sized partitions, offset by one
sector on each.  However, when I run raidctl -C raid0.conf raid0, I get
the following list of error messages:

RAIDFRAME: protectedSectors is 64
raidlookup on device: /dev/sd1a  failed!
Closing vnode for row: 0 col: 0
Closing vnode for row: 0 col: 1
vnode was NULL
Closing vnode for row: 0 col: 2
vnode was NULL
Closing vnode for spare: 0
vnode was NULL
RAIDFRAME: failed rf_ConfigureDisks with 2
Closing vnode for row: 0 col: 0
vnode was NULL
Closing vnode for row: 0 col: 1
vnode was NULL
Closing vnode for row: 0 col: 2 
vnode was NULL
Closing vnode for spare: 0
vnode was NULL

	I know for a fact that /dev/sd2a exists (below, I have also attached a
full dmesg on the test system that I'm using).  You will also find
attached below the raid0.conf file that I'm using, and a copy of the
disklabels from all the drives.  

	Can anybody point me in the direction I need to take on this one?  Am I
missing something obvious?  (And, yes, btw, the raid pseudo-device IS
activated in the kernel).

		Thanks,
			Mike	


-- 
| Mike Murray                       <mmurray_(_at_)_hiverworld_(_dot_)_com>
| 			           http://www.hiverworld.com
| 510.848.0740 [Office]                   510.841.2447 [Fax]
| Hiverworld  -=-  Adaptive, Distributed Security Technology
# Configuration for SOFTWARE raid using ahc0 and the scsi drives

START array
	1 3 1 

START disks
	/dev/sd0a
	/dev/sd1a 
	/dev/sd2a

START spare
	/dev/sd3a

START layout
	32 1 1 5

START queue
	fifo 25

# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: DDYS-T18350N   
flags:
bytes/sector: 512
sectors/track: 395
tracks/cylinder: 6
sectors/cylinder: 2370
cylinders: 15110
total sectors: 35843670
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a: 20000000       65    4.2BSD     1024  8192    16 	# (Cyl.    0*- 8438*)
  c: 35843670        0    unused        0     0       	# (Cyl.    0 - 15123*)
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: DDYS-T18350N   
flags:
bytes/sector: 512
sectors/track: 395
tracks/cylinder: 6
sectors/cylinder: 2370
cylinders: 15110
total sectors: 35843670
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a: 20000000       67    4.2BSD     1024  8192    16 	# (Cyl.    0*- 8438*)
  c: 35843670        0    unused        0     0       	# (Cyl.    0 - 15123*)
# /dev/rsd2c:
type: SCSI
disk: SCSI disk
label: DDYS-T18350N   
flags:
bytes/sector: 512
sectors/track: 395
tracks/cylinder: 6
sectors/cylinder: 2370
cylinders: 15110
total sectors: 35843670
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a: 20000000       70    4.2BSD     1024  8192    16 	# (Cyl.    0*- 8438*)
  c: 35843670        0    unused        0     0       	# (Cyl.    0 - 15123*)
# /dev/rsd3c:
type: SCSI
disk: SCSI disk
label: ST318436LW     
flags:
bytes/sector: 512
sectors/track: 415
tracks/cylinder: 6
sectors/cylinder: 2490
cylinders: 14384
total sectors: 35885168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a: 20000000       75    4.2BSD     1024  8192    16 	# (Cyl.    0*- 8032*)
  c: 35885168        0    unused        0     0       	# (Cyl.    0 - 14411*)
OpenBSD 2.7 (GENERIC) #0: Mon Oct 16 10:33:18 PDT 2000
    root_(_at_)_hardware:/usr/twoseven/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 652 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem  = 536457216 (523884K)
avail mem = 492552192 (481008K)
using 5689 buffers containing 26927104 bytes (26296K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/15/99
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82440BX PCI-AGP (PAC)" rev 0x00
ppb0 at pci0 dev 1 function 0 "Intel 82440BX AGP (PAC)" rev 0x00
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE (PIIX4)" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLP LM10.2>
wd0: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd0: 16-sector PIO, LBA, 9797MB, 16383 cyl, 16 head, 63 sec, 20066251 sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
"Intel 82371AB USB (PIIX4)" rev 0x01 at pci0 dev 7 function 2 not configured
"Intel 82371AB Power Management (PIIX4)" rev 0x02 at pci0 dev 7 function 3 not configured
ahc1 at pci0 dev 11 function 0 "Adaptec(2) AIC-7896/7 Ultra2" rev 0x00: irq 10
ahc1: Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc1: 16 targets
ahc1: target 1 using 16bit transfers
ahc1: target 1 synchronous at 40.0MHz, offset = 0x3f
sd0 at scsibus0 targ 1 lun 0: <IBM, DDYS-T18350N, S80D> SCSI3 0/direct fixed
sd0: 17501MB, 15110 cyl, 6 head, 395 sec, 512 bytes/sec, 35843670 sec total
ahc1: target 2 using 16bit transfers
ahc1: target 2 synchronous at 40.0MHz, offset = 0x3f
sd1 at scsibus0 targ 2 lun 0: <IBM, DDYS-T18350N, S80D> SCSI3 0/direct fixed
sd1: 17501MB, 15110 cyl, 6 head, 395 sec, 512 bytes/sec, 35843670 sec total
ahc1: target 4 using 16bit transfers
ahc1: target 4 synchronous at 40.0MHz, offset = 0x3f
sd2 at scsibus0 targ 4 lun 0: <IBM, DDYS-T18350N, S80D> SCSI3 0/direct fixed
sd2: 17501MB, 15110 cyl, 6 head, 395 sec, 512 bytes/sec, 35843670 sec total
ahc1: target 5 using 16bit transfers
ahc1: target 5 synchronous at 40.0MHz, offset = 0x1f
sd3 at scsibus0 targ 5 lun 0: <SEAGATE, ST318436LW, 0005> SCSI3 0/direct fixed
sd3: 17522MB, 14384 cyl, 6 head, 415 sec, 512 bytes/sec, 35885168 sec total
ahc2 at pci0 dev 11 function 1 "Adaptec(2) AIC-7896/7 Ultra2" rev 0x00: irq 10
ahc2: Wide Channel B, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc2: 16 targets
eap0 at pci0 dev 12 function 0 "Ensoniq AudioPCI97" rev 0x08: irq 11
ac97: codec id 0x43525903
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at eap0
fxp0 at pci0 dev 13 function 0 "Intel 82557" rev 0x08: irq 9, address 00:e0:81:10:c2:b4
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
"Matrox MGA Millenium 2064W (Storm)" rev 0x01 at pci0 dev 16 function 0 not configured
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
vt0 at isa0 port 0x60/16 irq 1: vga 80 col, color, 8 scr, mf2-kbd
pms0 at vt0 irq 12
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4440 netmask 4640 ttymask 56c2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
Kernelized RAIDframe activated
dkcsum: wd0 matched BIOS disk 80
dkcsum: sd0 had no matching BIOS disk
dkcsum: sd1 matched BIOS disk 81
dkcsum: sd2 matched BIOS disk 82
dkcsum: sd3 matched BIOS disk 83
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
RAIDFRAME: protectedSectors is 64
raidlookup on device: /dev/sd1a  failed!
Closing vnode for row: 0 col: 0
Closing vnode for row: 0 col: 1
vnode was NULL
Closing vnode for row: 0 col: 2
vnode was NULL
Closing vnode for spare: 0
vnode was NULL
RAIDFRAME: failed rf_ConfigureDisks with 2
Closing vnode for row: 0 col: 0
vnode was NULL
Closing vnode for row: 0 col: 1
vnode was NULL
Closing vnode for row: 0 col: 2
vnode was NULL
Closing vnode for spare: 0
vnode was NULL

Visit your host, monkey.org