i did all the things reccommanded by the summary section of raidctl(8)
(i even tried changing the 'a' partition to 'e', to be the same as in
the man page, no luck), i also tried following
http://unixsadm.blogspot.com/2007/10/openbsd-raidframe-mirror-software-raid.html
no change either.

my GENERIC.RAID is different from GENERIC in only two lines:

pseudo-device   raid   4
option RAID_AUTOCONFIG


my trouble is:


# newfs /dev/rraid0a
/dev/rraid0a: 3564.5MB in 7300000 sectors of 512 bytes
18 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
super-block backups (for fsck -b #) at:
 32, 414688, 829344, 1244000, 1658656, 2073312, 2487968, 2902624,
3317280, 3731936, 4146592, 4561248, 4975904, 5390560, 5805216,
6219872, 6634528, 7049184,
# mount /dev/rraid0a /mnt/
mount_ffs: /dev/rraid0a on /mnt: Block device required


:(

some (hopefully) relevant info:


# disklabel wd1
# Inside MBR partition 3: type A6 start 63 size 8434062
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: Maxtor 90432D2
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 525
total sectors: 8440992
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:           100000               63  4.2BSD   2048 16384   16
  b:          1000000           100063    swap
  c:          8440992                0  unused      0     0
  d:          7334062          1100063    RAID
# disklabel wd2
# Inside MBR partition 3: type A6 start 63 size 8434062
# /dev/rwd2c:
type: ESDI
disk: ESDI/IDE disk
label: Maxtor 90432D2
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 525
total sectors: 8440992
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:           100000               63  4.2BSD   2048 16384   16
  b:          1000000           100063    swap
  c:          8440992                0  unused      0     0
  d:          7334062          1100063    RAID
# fdisk wd1
Disk: wd1       geometry: 525/255/63 [8440992 Sectors]
Offset: 0       Signature: 0xAA55
          Starting         Ending        LBA Info:
 #: id      C   H  S -      C   H  S [       start:        size ]
------------------------------------------------------------------------
 0: 00      0   0  0 -      0   0  0 [           0:           0 ] unused
 1: 00      0   0  0 -      0   0  0 [           0:           0 ] unused
 2: 00      0   0  0 -      0   0  0 [           0:           0 ] unused
*3: A6      0   1  1 -    524 254 63 [          63:     8434062 ] OpenBSD
# fdisk wd2
Disk: wd2       geometry: 525/255/63 [8440992 Sectors]
Offset: 0       Signature: 0xAA55
          Starting         Ending        LBA Info:
 #: id      C   H  S -      C   H  S [       start:        size ]
------------------------------------------------------------------------
 0: 00      0   0  0 -      0   0  0 [           0:           0 ] unused
 1: 00      0   0  0 -      0   0  0 [           0:           0 ] unused
 2: 00      0   0  0 -      0   0  0 [           0:           0 ] unused
*3: A6      0   1  1 -    524 254 63 [          63:     8434062 ] OpenBSD
# cat /etc/raid0.conf
START array
1 2 0
START disks
/dev/wd1d
/dev/wd2d
START layout
128 1 1 1
START queue
fifo 100


# disklabel raid0
# Inside MBR partition 3: type A6 start 128 size 7333760
# /dev/rraid0c:
type: RAID
disk: raid
label: fictitious
flags:
bytes/sector: 512
sectors/track: 128
tracks/cylinder: 8
sectors/cylinder: 1024
cylinders: 7162
total sectors: 7333888
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:          7300000              128  4.2BSD   2048 16384    1
  c:          7333888                0  unused      0     0
# fdisk raid0
Disk: raid0     geometry: 7162/8/128 [7333888 Sectors]
Offset: 0       Signature: 0xAA55
          Starting         Ending        LBA Info:
 #: id      C   H  S -      C   H  S [       start:        size ]
------------------------------------------------------------------------
 0: 00      0   0  0 -      0   0  0 [           0:           0 ] unused
 1: 00      0   0  0 -      0   0  0 [           0:           0 ] unused
 2: 00      0   0  0 -      0   0  0 [           0:           0 ] unused
*3: A6      0   1  1 -   7161   7 128 [         128:     7333760 ] OpenBSD


# raidctl -sv raid0
raid0 Components:
           /dev/wd1d: optimal
           /dev/wd2d: optimal
No spares.
Component label for /dev/wd1d:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 100, Mod Counter: 37486700
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 7333888
   RAID Level: 1
   Autoconfig: No
   Root partition: No
   Last configured as: raid0
Component label for /dev/wd2d:
   Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 100, Mod Counter: 37486700
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 7333888
   RAID Level: 1
   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.


dmesg is in the attachment.

-- 
error: one bad user found in front of screen
OpenBSD 4.2-stable (GENERIC.RAID) #0: Sun Mar  2 11:14:03 CET 2008
    [EMAIL PROTECTED]:/mnt/src/sys/arch/i386/compile/GENERIC.RAID
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 599 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
real mem  = 536428544 (511MB)
avail mem = 510631936 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/22/99, BIOS32 rev. 0 @ 0xfd7a0, SMBIOS 
rev. 2.1 @ 0xefc10 (42 entries)
bios0: vendor Intel Corp. version "4S4EB2X0.86A.0017.P10" date 04/22/1999
bios0: Intel Corporation SE440BX-2
pcibios0 at bios0: rev 2.1 @ 0xfd7a0/0x860
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800 0xc8800/0x800 0xc9000/0x1800 
0xe0000/0x4000! 0xe4000/0xc000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Rage Pro" rev 0x5c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 90432D2>
wd0: 16-sector PIO, LBA, 4121MB, 8440992 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: <Maxtor 90432D2>
wd1: 16-sector PIO, LBA, 4121MB, 8440992 sectors
wd2 at pciide0 channel 1 drive 1: <Maxtor 90432D2>
wd2: 16-sector PIO, LBA, 4121MB, 8440992 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 9
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMI
iic0 at piixpm0
lmenv0 at iic0 addr 0x2d: adm9240 rev 2, starting scan
xl0 at pci0 dev 13 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 11, 
address 00:01:02:99:bb:c2
exphy0 at xl0 phy 24: 3Com internal media interface
xl1 at pci0 dev 14 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 7, address 
00:01:02:99:bb:ce
exphy1 at xl1 phy 24: 3Com internal media interface
fxp0 at pci0 dev 15 function 0 "Intel 8255x" rev 0x0c, i82550: irq 10, address 
00:02:b3:98:a5:0c
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci0 dev 16 function 0 "Intel 8255x" rev 0x0c, i82550: irq 9, address 
00:02:b3:5d:fd:6b
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
isa0 at piixpcib0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
usb0 at uhci0: USB revision 1.0
uhub0 at usb0: Intel UHCI root hub, rev 1.00/1.00, addr 1
biomask f36d netmask ffed ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
Kernelized RAIDframe activated
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
dkcsum: wd2 matches BIOS drive 0x82
root on wd0a swap on wd0b dump on wd0b
raid0: Component /dev/wd1d being configured at row: 0 col: 0
         Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
         Version: 2 Serial Number: 100 Mod Counter: 37486667
         Clean: Yes Status: 0
raid0: Component /dev/wd2d being configured at row: 0 col: 1
         Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
         Version: 2 Serial Number: 100 Mod Counter: 37486667
         Clean: Yes Status: 0
raid0 at root

Reply via email to