Making again the test on 4.6 Now I have "bioctl: BIOCCREATERAID: Invalid 
argument" however on a another machine. Am I wrong in any point ?

Is there any need to compile raid into the kernel as I saw here ?
http://www.argon18.com/raid_openbsd.html

Following example (same method as I first used)

EXAMPLES
     An example to create a 3 chunk RAID 1 from scratch is as follows:

     Initialize the partition tables of all disks:

           # fdisk -iy wd1
           # fdisk -iy wd2
           # fdisk -iy wd3

     Now create RAID partitions on all disks:

           # printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E wd1
           # printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E wd2
           # printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E wd3

     Assemble the RAID volume:

           # bioctl -c 1 -l /dev/wd1a,/dev/wd2a,/dev/wd3a softraid0

And here I end up with the following error "bioctl: BIOCCREATERAID: Invalid 
argument"

Here's dmesg :

OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009                         
                                                                                
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC             
                                                                                
cpu0: AMD Athlon(tm) XP 2800+ ("AuthenticAMD" 686-class, 512KB L2 cache) 2.09 
GHz                                                                             
  
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
                                                                      
real mem  = 771256320 (735MB)                                                   
                                                                                
avail mem = 736366592 (702MB)                                                   
                                                                                
mainbus0 at root                                                                
                                                                                
bios0 at mainbus0: AT/286+ BIOS, date 08/19/04, BIOS32 rev. 0 @ 0xfac00, 
SMBIOS rev. 2.3 @ 0xf0100 (33 entries)                                          
       
bios0: vendor Award Software International, Inc. version "R01-A2" date 
08/19/2004                                                                      
         
bios0: Acer AcerPower M2                                                        
                                                                                
apm0 at bios0: Power Management spec V1.2 (slowidle)                            
                                                                                
apm0: AC on, battery charge unknown                                             
                                                                                
acpi at bios0 function 0x0 not configured                                       
                                                                                
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xd074                                     
                                                                                
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd000/112 (5 entries)               
                                                                                
pcibios0: PCI Exclusive IRQs: 5 9 10 11                                         
                                                                                
pcibios0: no compatible PCI ICU found: ICU vendor 0x1039 product 0x0964         
                                                                                
pcibios0: Warning, unable to fix up PCI interrupt routing                       
                                                                                
pcibios0: PCI bus #1 is the last bus                                            
                                                                                
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x8000! 0xd0000/0xa000                  
                                                                                
cpu0 at mainbus0: (uniprocessor)                                                
                                                                                
pci0 at mainbus0 bus 0: configuration mode 1 (bios)                             
                                                                                
pchb0 at pci0 dev 0 function 0 "SiS 741 PCI" rev 0x03                           
                                                                                
sisagp0 at pchb0                                                                
                                                                                
agp0 at sisagp0: aperture at 0xe8000000, size 0x4000000                         
                                                                                
ppb0 at pci0 dev 1 function 0 "SiS 648FX AGP" rev 0x00                          
                                                                                
pci1 at ppb0 bus 1                                                              
                                                                                
vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00                           
                                                                                
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)                      
                                                                                
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)                           
                                                                                
pcib0 at pci0 dev 2 function 0 "SiS 964 ISA" rev 0x36                           
                                                                                
pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x01: 741: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility              
 
wd0 at pciide0 channel 0 drive 0: <SAMSUNG SP0802N>                             
                                                                                
wd0: 16-sector PIO, LBA48, 76350MB, 156365903 sectors                           
                                                                                
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2                            
                                                                                
atapiscsi0 at pciide0 channel 1 drive 0                                         
                                                                                
scsibus0 at atapiscsi0: 2 targets                                               
                                                                                
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, RW/DVD GCC-4521B, 1.03> ATAPI 5/cdrom 
removable                                                                       
 
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2                            
                                                                                
auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: irq 5, SiS7012 AC97   
                                                                                
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)                           
                                                                                
audio0 at auich0                                                                
                                                                                
ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: irq 5, version 
1.0, legacy support                                                             
    
ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: irq 10, version 
1.0, legacy support                                                             
   
ohci2 at pci0 dev 3 function 2 "SiS 5597/5598 USB" rev 0x0f: irq 11, version 
1.0, legacy support                                                             
   
ehci0 at pci0 dev 3 function 3 "SiS 7002 USB" rev 0x00: irq 9                   
                                                                                
usb0 at ehci0: USB revision 2.0                                                 
                                                                                
uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1                          
                                                                                
sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x90: irq 11, address 
00:0f:ea:a3:5d:6e                                                               
 
rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1                               
                                                                                
isa0 at pcib0                                                                   
                                                                                
isadma0 at isa0                                                                 
                                                                                
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo                         
                                                                                
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo                         
                                                                                
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                                                                 
                                                                                
lpt0 at isa0 port 0x378/4 irq 7                                                 
                                                                                
it0 at isa0 port 0x2e/2: IT8705F rev 3, EC port 0x290                           
                                                                                
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16                
                                                                                
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 "SiS OHCI root hub" rev 1.00/1.00 addr 1
biomask ff65 netmask ff65 ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
umass0 at uhub0 port 1 configuration 1 interface 0 "USB 2.0 Flash Drive" rev 
2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <USB 2.0, Flash Drive, 5.00> SCSI2 0/direct 
removable
sd0: 968MB, 512 bytes/sec, 1982464 sec total
umass1 at uhub0 port 3 configuration 1 interface 0 "Swissbit TWIST" rev 
2.00/2.00 addr 3
umass1: using SCSI over Bulk-Only
scsibus2 at umass1: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <Swissbit, TWIST \\001\\001, 2.00> SCSI2 
0/direct removable
sd1: 494MB, 512 bytes/sec, 1011712 sec total
softraid0: invalid metadata format
softraid0: invalid metadata format
softraid0: invalid metadata format
softraid0: invalid metadata format
softraid0: invalid metadata format
softraid0: invalid metadata format
softraid0: invalid metadata format
softraid0: invalid metadata format
softraid0: invalid metadata format
softraid0: invalid metadata format

Reply via email to