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

RE: RAIDFrame tests, anybody



Hi,

I'm having serious problems trying to test the new raid code. I patched my
3.0-beta and prepared 3 disks out of the 4 in this box with 2 500Mb RAID
slices each. Here's what the disklabels look like:

% sudo disklabel sd1
16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  c: 17783239        0    unused        0     0         # (Cyl.    0 -
13202*)
  e:  1023657       63      RAID                        # (Cyl.    0*- 759)
  f:  1023657  1023720      RAID                        # (Cyl.  760 -
1519*)

% sudo disklabel sd2
16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  c: 35694904        0    unused        0     0         # (Cyl.    0 -
14811*)
  e:  1023657       63      RAID                        # (Cyl.    0*- 424*)
  f:  1023657  1023720      RAID                        # (Cyl.  424*- 849*)

% sudo disklabel sd3
16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  c: 35694904        0    unused        0     0         # (Cyl.    0 -
14811*)
  e:  1023657       63      RAID                        # (Cyl.    0*- 424*)
  f:  1023657  1023720      RAID                        # (Cyl.  424*- 849*)

[Does it matter that the 1st disk (a Fujitsu MAJ3091MP) has a different
geometry from the other 2 (Fujitsu MAJ3182MPs), eg 1347 sectors/cylinder as
opposed to 2410 sectors/cylinder? ]

I then ran "raidctl -C raid5.cf raid0" where raid5.cf contains:
	
	START array
	1 3 0
	START disks
	/dev/sd1e
	/dev/sd2e
	/dev/sd3e
	START layout
	32 1 1 5
	START queue
	fifo 100

This produced console output to the effect that sd1e etc were not clean but
I assumed this was OK. However, when I run "raidctl -I 100000 raid0", it
just hangs in an uninterruptable sleep. If I subsequently try "raidctl -s
raid0", the whole system hangs :-(

I tried a raid 1 configuration using only the last 2 disks, but again
"raidctl -I 100001 raid1" just hangs.

I will update my current sources, repatch and try this again, but in the
meantime I'd appreciate any pointers as to where I might have gone wrong.

[dmesg follows]

OpenBSD 3.0-beta (GENERIC_RF) #0: Tue Sep 25 13:34:33 BST 2001
    stephen_(_at_)_aslak:/usr/src/sys/arch/i386/compile/GENERIC_RF
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 795 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM
X,FXSR,SIMD
real mem  = 402235392 (392808K)
avail mem = 366682112 (358088K)
using 4935 buffers containing 20213760 bytes (19740K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 10/31/00, BIOS32 rev. 0 @ 0xffe90
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfc380/176 (9 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1166 product 0x0200
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x6000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20LE Host" rev 0x06
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20LE Host" rev 0x06
pci1 at pchb1 bus 1
ahc1 at pci1 dev 2 function 0 "Adaptec AIC-7899 U160" rev 0x01: irq 5
ahc1: Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc1: 16 targets
ahc1: target 0 using 16bit transfers
ahc1: target 0 synchronous at 40.0MHz, offset = 0x7f
sd0 at scsibus0 targ 0 lun 0: <FUJITSU, MAJ3091MP, 5508> SCSI4 0/direct
fixed
sd0: 8683MB, 13198 cyl, 3 head, 449 sec, 512 bytes/sec, 17783239 sec total
ahc1: target 1 using 16bit transfers
ahc1: target 1 synchronous at 40.0MHz, offset = 0x7f
sd1 at scsibus0 targ 1 lun 0: <FUJITSU, MAJ3091MP, 5508> SCSI4 0/direct
fixed
sd1: 8683MB, 13198 cyl, 3 head, 449 sec, 512 bytes/sec, 17783239 sec total
ahc1: target 2 using 16bit transfers
ahc1: target 2 synchronous at 40.0MHz, offset = 0x7f
sd2 at scsibus0 targ 2 lun 0: <FUJITSU, MAJ3182MP, 0114> SCSI4 0/direct
fixed
sd2: 17429MB, 14809 cyl, 5 head, 482 sec, 512 bytes/sec, 35694904 sec total
ahc1: target 3 using 16bit transfers
ahc1: target 3 synchronous at 40.0MHz, offset = 0x7f
sd3 at scsibus0 targ 3 lun 0: <FUJITSU, MAJ3182MP, 0114> SCSI4 0/direct
fixed
sd3: 17429MB, 14809 cyl, 5 head, 482 sec, 512 bytes/sec, 35694904 sec total
ahc2 at pci1 dev 2 function 1 "Adaptec AIC-7899 U160" rev 0x01: irq 11
ahc2: Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc2: 16 targets
fxp0 at pci1 dev 10 function 0 "Intel 82557" rev 0x08: irq 5, address
00:02:b3:3
5:93:9c
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
fxp1 at pci0 dev 2 function 0 "Intel 82557" rev 0x08: irq 11, address
00:b0:d0:a
b:65:78
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
vga1 at pci0 dev 14 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 15 function 0 "ServerWorks ROSB4 SouthBridge" rev 0x50
pciide0 at pci0 dev 15 function 1 "ServerWorks IDE" rev 0x00: DMA
(unsupported),
 channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <LG, CD-ROM CRD-8482B, 1.05> SCSI0 5/cdrom
removab
le
pciide0: channel 1 ignored (not responding; disabled or no drives?)
ohci0 at pci0 dev 15 function 2 "ServerWorks USB" rev 0x04: irq 10, OHCI
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4c60 netmask 4c60 ttymask 5ce2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
Kernelized RAIDframe activated
dkcsum: sd0 matched BIOS disk 80
dkcsum: sd1 matched BIOS disk 81
dkcsum: sd2 matched BIOS disk 82
dkcsum: sd3 matched BIOS disk 83
fd0: timeout (st0 20<seek_cmplt> cyl 0)
fd0: timeout (st0 20<seek_cmplt> cyl 0)
fd0: timeout (st0 20<seek_cmplt> cyl 0)
fd0: timeout (st0 20<seek_cmplt> cyl 0)
fd0: timeout (st0 20<seek_cmplt> cyl 0)
fd0: timeout (st0 20<seek_cmplt> cyl 0)
fd0c: hard error reading fsbn 0 (st0 20<seek_cmplt> st1 0 st2 0 cyl 0 head 0
sec
 0)
dkcsum: read of fd0 failed (0)
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
WARNING: / was not properly unmounted

-- 
stephen



Visit your host, monkey.org