Hi, I have a machine with 2 disks and created some softraid (4 RAID1 and 1 RAID0) volumes. One of the disks died.
At the origin, I setup both disks with this layout: 16 partitions: # size offset fstype [fsize bsize cpg] a: 176640 64 4.2BSD 2048 16384 1 b: 2088461 176704 swap c: 3907029168 0 unused d: 419441085 2265165 RAID e: 293603940 421706250 RAID f: 293603940 715310190 RAID g: 293603940 1008914130 RAID h: 293603940 1302518070 RAID I connected the good disk to another machine (amd64 too, with already 2 disks and some softraid) and expected to see my 4 RAID1 volumes configured. But, I only get one and some error messages : softraid0: not all chunks were provided; attempting to bring volume 2 online softraid0: chunk wd2h\^B already in use softraid0: not all chunks were provided; attempting to bring volume 3 online softraid0: chunk wd2h\^B already in use softraid0: not all chunks were provided; attempting to bring volume 3 online softraid0: chunk wd2h\^B already in use How can I solve that and bring them online ? Here is a full dmesg. Thanks a lot, -- Olivier Cherrier - Symacx.com mailto:o...@symacx.com OpenBSD 4.8-current (GENERIC.MP) #1: Sat Jan 1 15:55:56 CET 2011 o...@x2.symacx.com:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1072627712 (1022MB) avail mem = 1030098944 (982MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.2 @ 0xf0000 (41 entries) bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 05/17/2006 bios0: EPoX COMPUTER CO., LTD nForce4 DDR2: MF4 Series acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP SSDT MCFG APIC acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) XVR3(S5) USB0(S4) USB2(S3) MMAC(S5) MMCI(S5) UAR1(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2420.36 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: apic clock running at 220MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2420.07 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (HUB0) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpitz0 at acpi0: critical temperature 85 degC acpibtn0 at acpi0: PWRB cpu0: PowerNow! K8 2420 MHz: speeds: 2200 2000 1800 1000 MHz pci0 at mainbus0 bus 0 "NVIDIA nForce4 DDR" rev 0xa4 at pci0 dev 0 function 0 not configured pcib0 at pci0 dev 1 function 0 "NVIDIA nForce4 ISA" rev 0xb1 nviic0 at pci0 dev 1 function 1 "NVIDIA nForce4 SMBus" rev 0xa2 iic0 at nviic0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 iic1 at nviic0 ohci0 at pci0 dev 2 function 0 "NVIDIA nForce4 USB" rev 0xa2: apic 2 int 12 (irq 12), version 1.0, legacy support ehci0 at pci0 dev 2 function 1 "NVIDIA nForce4 USB" rev 0xa4: apic 2 int 10 (irq 10) ehci0: timed out waiting for BIOS usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 auich0 at pci0 dev 4 function 0 "NVIDIA nForce4 AC97" rev 0xa2: apic 2 int 5 (irq 5), nForce4 AC97 ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0) audio0 at auich0 pciide0 at pci0 dev 6 function 0 "NVIDIA nForce4 IDE" rev 0xf3: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 7 function 0 "NVIDIA nForce4 SATA" rev 0xf3: DMA pciide1: using apic 2 int 11 (irq 11) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <ST3320620AS> wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 wd1 at pciide1 channel 1 drive 0: <ST3320620AS> wd1: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6 pciide2 at pci0 dev 8 function 0 "NVIDIA nForce4 SATA" rev 0xf3: DMA pciide2: using apic 2 int 10 (irq 10) for native-PCI interrupt wd2 at pciide2 channel 0 drive 0: <WDC WD20EARS-00MVWB0> wd2: 16-sector PIO, LBA48, 1907729MB, 3907029168 sectors wd2(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 6 ppb0 at pci0 dev 9 function 0 "NVIDIA nForce4 PCI-PCI" rev 0xa2 pci1 at ppb0 bus 1 nfe0 at pci0 dev 10 function 0 "NVIDIA CK804 LAN" rev 0xa3: apic 2 int 11 (irq 11), address 00:04:61:46:d6:1e eephy0 at nfe0 phy 1: 88E1116 Gigabit PHY, rev. 1 ppb1 at pci0 dev 11 function 0 "NVIDIA nForce4 PCIE" rev 0xa3 pci2 at ppb1 bus 2 ppb2 at pci0 dev 12 function 0 "NVIDIA nForce4 PCIE" rev 0xa3 pci3 at ppb2 bus 3 ppb3 at pci0 dev 13 function 0 "NVIDIA nForce4 PCIE" rev 0xa3 pci4 at ppb3 bus 4 ppb4 at pci0 dev 14 function 0 "NVIDIA nForce4 PCIE" rev 0xa3 pci5 at ppb4 bus 5 vga1 at pci5 dev 0 function 0 "ATI Radeon HD 4350" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 2 int 12 (irq 12) drm0 at radeondrm0 azalia0 at pci5 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: apic 2 int 3 (irq 3) azalia0: no supported codecs azalia0: initialization failure, detaching pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev BH-F2 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: probed fifo depth: 15 bytes 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 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 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 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 mtrr: Pentium Pro MTRR support uhidev0 at uhub1 port 1 configuration 1 interface 0 "Sun Microsystems Type 6 Mouse" rev 1.00/1.02 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons wsmouse0 at ums0 mux 0 vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root softraid0: not all chunks were provided; attempting to bring volume 0 online softraid0: trying to bring up sd0 degraded scsibus1 at softraid0: 1 targets sd0 at scsibus1 targ 0 lun 0: <OPENBSD, SR RAID 1, 004> SCSI2 0/direct fixed sd0: 204804MB, 512 bytes/sec, 419440557 sec total softraid0: not all chunks were provided; attempting to bring volume 1 online softraid0: chunk wd2h\^B already in use scsibus2 at softraid0: 1 targets sd1 at scsibus2 targ 0 lun 0: <OPENBSD, SR RAID 1, 004> SCSI2 0/direct fixed sd1: 305082MB, 512 bytes/sec, 624809665 sec total softraid0: not all chunks were provided; attempting to bring volume 2 online softraid0: chunk wd2h\^B already in use softraid0: not all chunks were provided; attempting to bring volume 3 online softraid0: chunk wd2h\^B already in use softraid0: not all chunks were provided; attempting to bring volume 3 online softraid0: chunk wd2h\^B already in use root on wd0a swap on wd0b dump on wd0b