As I am struggling with a softraid raid-5 volume myself... http://marc.info/?l=openbsd-bugs&m=145450495812579
johan+openbsd-m...@huldtgren.com (Johan Huldtgren), 2016.02.06 (Sat) 14:59 (CET): > http://www.huldtgren.com/panics/ I think transcribing these images yourself improves likelyhood of them being read... > When I tried to bring it back online the softraid volume would not > come back. What did you do? Rebooted? My raid-5 volume is connected via USB; when it's attached during boot, it is automagically brought up (when in a working state). When attached later, I have to bring it up manually. > softraid0: trying to bring up sd9 degraded > softraid0: sd9 was not shutdown properly > softraid0: sd9 is offline, will not be brought online And no mention of reasons anywhere? What doas 'bioctl -i softraid0' say? > softraid0 was created back in day as follows: > bioctl -c 5 -l /dev/sd0a,/dev/sd1a,/dev/sd3a,/dev/sd4a,/dev/sd5a,\ > /dev/sd6a,/dev/sd7a,/dev/sd8a softraid0 And sd9 got assigned, I suppose. > reading through bioctl it seemed -R was what I wanted, however I can't > for the life of me get it to rebuild: For rebuilding parity when a drive failed, yes. But it does not look like one of your chunks (drives) failed, does it? > # bioctl -R /dev/sd1a sd9 Is your sd1 still the same physical drive? Do you have indications it is the chunk that failed? Why are you rebuilding parity with that chunk? My tests back then succeeded in rebuilding parity of a volume with a new chunk like that. > bioctl: Can't locate sd9 device via /dev/bio > > I've tried all other drives as the first one, all give the same error, > as does bioctl -i > > # bioctl -i -v sd9 > bioctl: Can't locate sd9 device via /dev/bio > > I can read with both disklabel and fdisk from all volumes except sd9 And these show the expected output? > which shows not configured (I have no recollection of trying this > before so don't know if that's even supposed to work, just mentioning > it for completness sake) If one of these physical drives had failed, that wouldn't be the case, me thinks. > # fdisk sd9 > fdisk: sd9: Device not configured > # disklabel sd9 > disklabel: /dev/rsd9c: Device not configured Not surprised if bioctl does not show it. Bye, Marcus > if some combination of events just destroyed this beyond repair I can > restore backups, but I was hoping there was some way back that I'm > just not seeing. > > dmesg is below. > > thanks, > > .jh > > > OpenBSD 5.9-beta (GENERIC.MP) #1778: Wed Dec 23 18:23:06 MST 2015 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 16845516800 (16065MB) > avail mem = 16330858496 (15574MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xee8c0 (29 entries) > bios0: vendor American Megatrends Inc. version "P2.10" date 05/12/2015 > bios0: ASRock Z97 Extreme4 > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT SSDT SSDT SSDT MCFG HPET SSDT SSDT AAFT > UEFI SSDT > acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) > PS2K(S4) PS2M(S4) UAR1(S4) USB1(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) > PXSX(S4) RP03(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Pentium(R) CPU G3258 @ 3.20GHz, 3199.45 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,XSAVE,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,ERMS,INVPCID,SENSOR,ARAT > cpu0: 256KB 64b/line 8-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 99MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Pentium(R) CPU G3258 @ 3.20GHz, 3199.08 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,XSAVE,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,ERMS,INVPCID,SENSOR,ARAT > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins > acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG0) > acpiprt2 at acpi0: bus -1 (PEG1) > acpiprt3 at acpi0: bus -1 (PEG2) > acpiprt4 at acpi0: bus 1 (RP01) > acpiprt5 at acpi0: bus 2 (RP04) > acpiprt6 at acpi0: bus 3 (RP06) > acpiprt7 at acpi0: bus 4 (RP07) > acpiec0 at acpi0: not present > acpicpu0 at acpi0: C2(500@67 mwait.1@0x10), C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: C2(500@67 mwait.1@0x10), C1(1000@1 mwait.1), PSS > acpibat0 at acpi0: BAT0 not present > acpibat1 at acpi0: BAT1 not present > acpibat2 at acpi0: BAT2 not present > acpibtn0 at acpi0: PWRB > acpibtn1 at acpi0: SLPB > acpibtn2 at acpi0: LID0 > acpivideo0 at acpi0: GFX0 > acpivout0 at acpivideo0: DD1F > cpu0: Enhanced SpeedStep 3199 MHz: speeds: 3201, 3200, 3000, 2900, 2700, > 2500, 2300, 2200, 2000, 1800, 1700, 1500, 1300, 1100, 1000, 800 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 > inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x06 > drm0 at inteldrm0 > inteldrm0: msi > inteldrm0: 1280x1024 > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) > wsdisplay0: screen 1-5 added (std, vt100 emulation) > azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi > azalia0: No codecs found > xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x00: msi > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 > "Intel 9 Series MEI" rev 0x00 at pci0 dev 22 function 0 not configured > em0 at pci0 dev 25 function 0 "Intel I218-V" rev 0x00: msi, address > d0:50:99:5a:09:1c > ehci0 at pci0 dev 26 function 0 "Intel 9 Series USB" rev 0x00: apic 8 int 16 > usb1 at ehci0: USB revision 2.0 > uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > azalia1 at pci0 dev 27 function 0 "Intel 9 Series HD Audio" rev 0x00: msi > azalia1: codecs: Realtek ALC1150 > audio0 at azalia1 > ppb0 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 0xd0 > pci1 at ppb0 bus 1 > ppb1 at pci0 dev 28 function 3 "Intel 9 Series PCIE" rev 0xd0: msi > pci2 at ppb1 bus 2 > ahci0 at pci2 dev 0 function 0 "ASMedia ASM1061 AHCI" rev 0x02: msi, AHCI > 1.2 > ahci0: port 0: 6.0Gb/s > ahci0: port 1: 6.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, Hitachi HDS72302, MN6O> SCSI3 0/direct > fixed naa.5000cca36ac10354 > sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors > sd1 at scsibus1 targ 1 lun 0: <ATA, Hitachi HDS72302, MN6O> SCSI3 0/direct > fixed naa.5000cca36ac1b3d2 > sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors > ppb2 at pci0 dev 28 function 5 "Intel 9 Series PCIE" rev 0xd0: msi > pci3 at ppb2 bus 3 > ahci1 at pci3 dev 0 function 0 "ASMedia ASM1061 AHCI" rev 0x01: msi, AHCI > 1.2 > ahci1: port 0: 6.0Gb/s > scsibus2 at ahci1: 32 targets > sd2 at scsibus2 targ 0 lun 0: <ATA, SanDisk SDSSDA12, Z220> SCSI3 0/direct > fixed naa.5001b44e915e1444 > sd2: 114473MB, 512 bytes/sector, 234441648 sectors, thin > ppb3 at pci0 dev 28 function 6 "Intel 9 Series PCIE" rev 0xd0: msi > pci4 at ppb3 bus 4 > xhci1 at pci4 dev 0 function 0 "ASMedia ASM1042A xHCI" rev 0x00: msi > usb2 at xhci1: USB revision 3.0 > uhub2 at usb2 "ASMedia xHCI root hub" rev 3.00/1.00 addr 1 > ehci1 at pci0 dev 29 function 0 "Intel 9 Series USB" rev 0x00: apic 8 int 23 > usb3 at ehci1: USB revision 2.0 > uhub3 at usb3 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > pcib0 at pci0 dev 31 function 0 "Intel Z97 LPC" rev 0x00 > ahci2 at pci0 dev 31 function 2 "Intel 9 Series AHCI" rev 0x00: msi, AHCI > 1.3 > ahci2: port 0: 6.0Gb/s > ahci2: port 1: 6.0Gb/s > ahci2: port 2: 6.0Gb/s > ahci2: port 3: 6.0Gb/s > ahci2: port 4: 6.0Gb/s > ahci2: port 5: 6.0Gb/s > scsibus3 at ahci2: 32 targets > sd3 at scsibus3 targ 0 lun 0: <ATA, ST2000VX000-1CU1, CV23> SCSI3 0/direct > fixed naa.5000c500733462fd > sd3: 1907729MB, 512 bytes/sector, 3907029168 sectors > sd4 at scsibus3 targ 1 lun 0: <ATA, WDC WD20PURX-64P, 80.0> SCSI3 0/direct > fixed naa.50014ee2b64e9980 > sd4: 1907729MB, 512 bytes/sector, 3907029168 sectors > sd5 at scsibus3 targ 2 lun 0: <ATA, WDC WD20PURX-64P, 80.0> SCSI3 0/direct > fixed naa.50014ee2608d2ab9 > sd5: 1907729MB, 512 bytes/sector, 3907029168 sectors > sd6 at scsibus3 targ 3 lun 0: <ATA, WDC WD20PURX-64P, 80.0> SCSI3 0/direct > fixed naa.50014ee2b62ccc07 > sd6: 1907729MB, 512 bytes/sector, 3907029168 sectors > sd7 at scsibus3 targ 4 lun 0: <ATA, ST2000VX000-1CU1, CV23> SCSI3 0/direct > fixed naa.5000c5007334c0a0 > sd7: 1907729MB, 512 bytes/sector, 3907029168 sectors > sd8 at scsibus3 targ 5 lun 0: <ATA, ST2000VX000-1CU1, CV23> SCSI3 0/direct > fixed naa.5000c50073337feb > sd8: 1907729MB, 512 bytes/sector, 3907029168 sectors > ichiic0 at pci0 dev 31 function 3 "Intel 9 Series SMBus" rev 0x00: apic 8 > int 18 > iic0 at ichiic0 > spdmem0 at iic0 addr 0x51: 8GB DDR3 SDRAM PC3-12800 > spdmem1 at iic0 addr 0x53: 8GB DDR3 SDRAM PC3-12800 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > uhub4 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 > uhub5 at uhub3 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 > vscsi0 at root > scsibus4 at vscsi0: 256 targets > softraid0 at root > scsibus5 at softraid0: 256 targets > softraid0: trying to bring up sd9 degraded > softraid0: sd9 was not shutdown properly > softraid0: sd9 is offline, will not be brought online > root on sd2a (10906fca8f4bb5bf.a) swap on sd2b dump on sd2b