Hello, I'm having some issues getting raidframe to work for me. I've got 6 harddisks in my machine, of which I use 4 for raid: wd2 -> wd5. On each harddisk I've set up 1 partition with fdisk, and the created 2 diskslices with disklabel, both which have type "RAID". Then I've set up device raid0, which is a raid0 of wd2d & wd3d, and is set up for autoconfigure. After that I've set up device raid1, which is a raid1 of wd4d & wd5d, also set to autoconfigure. Both these raid device work fine and start at boot.
With the remaining diskspace on those drives I set up a slice 'e', bundled together in a raid5 without autoconfigure. Configuring, adding a serial and writing parity all goes fine. Adding a disklabel as per raidctl(8) isn't an issue either, but when I try to newfs the filesystem I get: newfs: /dev/rraid2a: Device not configured Any clues as to why? The other raid partitions were created in the same way, but have autoconfigure on. I've already tried recreating the device nodes with "MAKEDEV raid2", but that didn't do any good. I've got a 3.8 i386 kernel build from source (on another host, this was a binary upgrade) with: options RAID_AUTOCONFIG pseudo-device raid 4 the rest is generic. Thanks. // nick disklabel, fdisk (layout is identical for all 4 disks), raid2.conf & dmesg follow: disklabel wd2 # Inside MBR partition 0: type A6 start 63 size 488392002 # /dev/rwd2c: type: ESDI disk: ESDI/IDE disk label: ST3250823AS flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 488397168 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 fdisk wd2 16 partitions: # size offset fstype [fsize bsize cpg] c: 488397168 0 unused 0 0 # Cyl 0 -484520 d: 2097585 63 RAID # Cyl 0*- 2080 e: 4194288 2097648 RAID # Cyl 2081 - 6241 Disk: wd2 geometry: 30401/255/63 [488392065 Sectors] Offset: 0 Signature: 0x0 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------ 0: A6 0 1 1 - 30400 254 63 [ 63: 488392002 ] OpenBSD 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused /etc/raid2.conf START array # numRow numCol numSpare 1 4 0 START disks /dev/wd2e /dev/wd3e /dev/wd4e /dev/wd5e START layout # sectPerSU SUsPerParityUnit SUsPerReconUnit RAID_level_5 64 1 1 5 START queue fifo 100 disklabel raid2 # /dev/rraid2c: type: RAID disk: raid label: fictitious flags: bytes/sector: 512 sectors/track: 192 tracks/cylinder: 16 sectors/cylinder: 3072 cylinders: 474896 total sectors: 1458883008 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: 2097472 0 unused 2048 16384 # Cyl 0 - 682* c: 2097472 0 unused 0 0 # Cyl 0 - 682* dmesg penBSD 3.8 (SPECTRE) #0: Sun Oct 16 17:13:48 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/SPECTRE cpu0: AMD Duron(tm) Processor ("AuthenticAMD" 686-class, 64KB L2 cache) 896 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX, FXSR real mem = 536453120 (523880K) avail mem = 482168832 (470868K) using 4278 buffers containing 26927104 bytes (26296K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 10/29/02, BIOS32 rev. 0 @ 0xfdae0 apm0 at bios0: Power Management spec V1.2 apm0: AC on, no battery apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7950/160 (8 entries) pcibios0: PCI Interrupt Router at 000:02:0 ("SIS 85C503 System" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0x8000 0xc8000/0x2400 0xca800/0x8000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "SIS 735 PCI" rev 0x01 ppb0 at pci0 dev 1 function 0 "SIS 86C201 AGP" rev 0x00 pci1 at ppb0 bus 1 pcib0 at pci0 dev 2 function 0 "SIS 85C503 System" rev 0x00 ohci0 at pci0 dev 2 function 2 "SIS 5597/5598 USB" rev 0x07: irq 5, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: SIS OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1 at pci0 dev 2 function 3 "SIS 5597/5598 USB" rev 0x07: irq 10, version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: SIS OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pciide0 at pci0 dev 2 function 5 "SIS 5513 EIDE" rev 0xd0: 735: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <IBM-DTLA-307045> wd0: 16-sector PIO, LBA, 43979MB, 90069840 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1 at pciide0 channel 1 drive 0: <ST3120026A> wd1: 16-sector PIO, LBA48, 114440MB, 234375000 sectors wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 auich0 at pci0 dev 2 function 7 "SIS 7012 AC97" rev 0xa0: irq 10, SiS7012 AC97 ac97: codec id 0x434d4941 (C-Media Electronics CMI9738) audio0 at auich0 sis0 at pci0 dev 3 function 0 "SIS 900 10/100BaseTX" rev 0x90: irq 10, address 00:0a:e6:39:c4:98 rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1 vga1 at pci0 dev 9 function 0 "S3 ViRGE" rev 0x06 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) fxp0 at pci0 dev 13 function 0 "Intel 82557" rev 0x04, i82558: irq 10, address 00:a0:c9:a3:12:e2 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0 pciide1 at pci0 dev 15 function 0 "CMD Technology SiI3114 SATA" rev 0x02: DMA pciide1: using irq 5 for native-PCI interrupt pciide1: port 0: device present, speed: 1.5Gb/s wd2 at pciide1 channel 0 drive 0: <ST3250823AS> wd2: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd2(pciide1:0:0): using BIOS timings, Ultra-DMA mode 6 pciide1: port 1: device present, speed: 1.5Gb/s wd3 at pciide1 channel 1 drive 0: <ST3250823AS> wd3: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd3(pciide1:1:0): using BIOS timings, Ultra-DMA mode 6 pciide1: port 2: device present, speed: 1.5Gb/s wd4 at pciide1 channel 2 drive 0: <ST3250823AS> wd4: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd4(pciide1:2:0): using BIOS timings, Ultra-DMA mode 6 pciide1: port 3: device present, speed: 1.5Gb/s wd5 at pciide1 channel 3 drive 0: <ST3250823AS> wd5: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd5(pciide1:3:0): using BIOS timings, Ultra-DMA mode 6 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> spkr0 at pcppi0 sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x290/8: IT87 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 biomask ef65 netmask ef65 ttymask ffe7 pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support Kernelized RAIDframe activated raid0 (root): (RAID Level 0) total number of sectors is 4194944 (2048 MB) raid1 (root): (RAID Level 1) total number of sectors is 2097472 (1024 MB) dkcsum: wd0 matches BIOS drive 0x80 dkcsum: wd1 matches BIOS drive 0x81 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 WARNING: / was not properly unmounted raid0: Device already configured! raid1: Device already configured! raid2: Component /dev/wd2e being configured at row: 0 col: 0 Row: 0 Column: 0 Num Rows: 1 Num Columns: 4 Version: 2 Serial Number: 1002 Mod Counter: 2067499014 Clean: Yes Status: 0 raid2: Component /dev/wd3e being configured at row: 0 col: 1 Row: 0 Column: 1 Num Rows: 1 Num Columns: 4 Version: 2 Serial Number: 1002 Mod Counter: 2067499014 Clean: Yes Status: 0 raid2: Component /dev/wd4e being configured at row: 0 col: 2 Row: 0 Column: 2 Num Rows: 1 Num Columns: 4 Version: 2 Serial Number: 1002 Mod Counter: 2067499014 Clean: Yes Status: 0 raid2: Component /dev/wd5e being configured at row: 0 col: 3 Row: 0 Column: 3 Num Rows: 1 Num Columns: 4 Version: 2 Serial Number: 1002 Mod Counter: 2067499014 Clean: Yes Status: 0 raid2 (root)