On Mon, Sep 02, 2013 at 08:20:11AM -0400, John Hynes wrote:
> On Mon, Sep 2, 2013 at 8:07 AM, Kenneth R Westerback <kwesterb...@rogers.com
> > wrote:
> 
> > On Mon, Sep 02, 2013 at 07:50:41AM -0400, John Hynes wrote:
> > > Greetings All,
> > >
> > > I have a softraid device, sd3, which was created as follows:
> > >
> > > bioctl -c 1 -l /dev/sd0a,/dev/sd1a,/dev/sd2a softraid0
> > >
> > > The chunk sd2a failed.  bioctl shows the RAID1 as degraded, and chunk
> > sd2a
> > > as OFFLINE.
> > >
> > > In order to rebuild, I'd need to set up the new sd2.  After replacing and
> > > zeroing the drive, I replaced the MBR with fdisk -yi /dev/sd2, which
> > worked
> > > fine.  Next, I copied the disklabel from sd0 to sd2, but disklabel
> > refused
> > > to write the new label, saying:
> > >
> > > disklabel: ioctl DIOCWDINFO: Open partition would move or shrink
> > > disklabel: unable to write label
> >
> > How exactly are you copying the disklabel? Is sd2 the same size as sd0?
> >
> 
> disklabel sd0 > disklabel.sd2; disklabel -R sd2 disklabel.sd0
> 
> The "new" sd2 is identical to the old, which is identical to the other
> disks.

Then the output from 'disklabel sd0', 'disklabel sd2', 'fdisk sd0' and
'fdisk sd2' would be useful. I suspect the 'c' partition location/size
is the cause of the confusion. I thought 'c' was ignored by '-R', but
a quick glance at the code does not support that. :-)

.... Ken

> 
> 
> >
> > As always a dmesg would help. In this case by answering the latter. :-)
> >
> 
> Here's the dmesg from earlier, before the drive croaked:
> 
> OpenBSD 5.3 (GENERIC.MP) #0: Thu Aug 15 09:24:05 EDT 2013
>     r...@flotsam.primebuchholz.com:/usr/src/sys/arch/amd64/compile/
> GENERIC.MP
> real mem = 17160536064 (16365MB)
> avail mem = 16681234432 (15908MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x9f000 (40 entries)
> bios0: vendor American Megatrends Inc. version "3.0a" date 05/07/2013
> bios0: Supermicro H8SGL
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S4 S5
> acpi0: tables DSDT FACP APIC MCFG OEMB HPET SRAT SSDT EINJ BERT ERST HEST
> acpi0: wakeup devices PC02(S4) PC03(S4) PC04(S4) PC05(S4) PC06(S4) PC07(S4)
> PC09(S4) PC0A(S4) PC0B(S4) PC0C(S4) SBAZ(S4) PSKE(S4) PSMS(S4) ECIR(S4)
> P0PC(S4) UHC1(S4) UHC2(S4) UHC3(S4) USB4(S4) UHC5(S4) UHC6(S4) UHC7(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 32 (boot processor)
> cpu0: AMD Opteron(tm) Processor 6344 , 2600.38 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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu0: apic clock running at 199MHz
> cpu1 at mainbus0: apid 33 (application processor)
> cpu1: AMD Opteron(tm) Processor 6344 , 249.48 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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu2 at mainbus0: apid 34 (application processor)
> cpu2: AMD Opteron(tm) Processor 6344 , 249.45 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu3 at mainbus0: apid 35 (application processor)
> cpu3: AMD Opteron(tm) Processor 6344 , 249.47 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu4 at mainbus0: apid 36 (application processor)
> cpu4: AMD Opteron(tm) Processor 6344 , 249.45 MHz
> cpu4:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu4: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu4: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu4: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu5 at mainbus0: apid 37 (application processor)
> cpu5: AMD Opteron(tm) Processor 6344 , 249.47 MHz
> cpu5:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu5: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu5: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu5: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu6 at mainbus0: apid 38 (application processor)
> cpu6: AMD Opteron(tm) Processor 6344 , 249.70 MHz
> cpu6:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu6: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu6: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu6: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu7 at mainbus0: apid 39 (application processor)
> cpu7: AMD Opteron(tm) Processor 6344 , 249.47 MHz
> cpu7:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu7: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu7: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu7: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu8 at mainbus0: apid 40 (application processor)
> cpu8: AMD Opteron(tm) Processor 6344 , 249.70 MHz
> cpu8:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu8: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu8: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu8: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu9 at mainbus0: apid 41 (application processor)
> cpu9: AMD Opteron(tm) Processor 6344 , 249.46 MHz
> cpu9:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu9: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu9: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu9: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu10 at mainbus0: apid 42 (application processor)
> cpu10: AMD Opteron(tm) Processor 6344 , 249.70 MHz
> cpu10:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu10: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu10: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu10: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> cpu11 at mainbus0: apid 43 (application processor)
> cpu11: AMD Opteron(tm) Processor 6344 , 249.47 MHz
> cpu11:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,BMI1
> cpu11: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
> 64b/line 16-way L2 cache, 12MB 64b/line 128-way L3 cache
> cpu11: ITLB 48 4KB entries fully associative, 24 4MB entries fully
> associative
> cpu11: DTLB 64 4KB entries fully associative, 64 4MB entries fully
> associative
> ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 21, 24 pins
> ioapic1 at mainbus0: apid 1 pa 0xfec20000, version 21, 32 pins
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
> acpihpet0 at acpi0: 14318180 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PC02)
> acpiprt2 at acpi0: bus -1 (PC03)
> acpiprt3 at acpi0: bus -1 (PC04)
> acpiprt4 at acpi0: bus 1 (PC09)
> acpiprt5 at acpi0: bus 2 (PC0A)
> acpiprt6 at acpi0: bus 3 (P0PC)
> acpicpu0 at acpi0: C2, PSS
> acpicpu1 at acpi0: C2, PSS
> acpicpu2 at acpi0: C2, PSS
> acpicpu3 at acpi0: C2, PSS
> acpicpu4 at acpi0: C2, PSS
> acpicpu5 at acpi0: C2, PSS
> acpicpu6 at acpi0: C2, PSS
> acpicpu7 at acpi0: C2, PSS
> acpicpu8 at acpi0: C2, PSS
> acpicpu9 at acpi0: C2, PSS
> acpicpu10 at acpi0: C2, PSS
> acpicpu11 at acpi0: C2, PSS
> acpibtn0 at acpi0: PWRB
> ipmi at mainbus0 not configured
> cpu0: 2600 MHz: speeds: 2600 2300 2000 1700 1400 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "ATI SR5650 Host" rev 0x02
> ppb0 at pci0 dev 9 function 0 "ATI SR5690 PCIE" rev 0x00: msi
> pci1 at ppb0 bus 1
> em0 at pci1 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: msi,
> address 00:25:90:85:85:a0
> ppb1 at pci0 dev 10 function 0 "ATI SR5690 PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2
> em1 at pci2 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: msi,
> address 00:25:90:85:85:a1
> ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 0 int 22,
> AHCI 1.1
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD5003ABYX-0, 01.0> SCSI3 0/direct
> fixed naa.50014ee058e7c163
> sd0: 476940MB, 512 bytes/sector, 976773168 sectors
> sd1 at scsibus0 targ 1 lun 0: <ATA, WDC WD5003ABYX-0, 01.0> SCSI3 0/direct
> fixed naa.50014ee003928dd3
> sd1: 476940MB, 512 bytes/sector, 976773168 sectors
> sd2 at scsibus0 targ 2 lun 0: <ATA, WDC WD5003ABYX-0, 01.0> SCSI3 0/direct
> fixed naa.50014ee0ae3d5a56
> sd2: 476940MB, 512 bytes/sector, 976773168 sectors
> ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 16,
> version 1.0, legacy support
> ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 0 int 16,
> version 1.0, legacy support
> ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
> ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18,
> version 1.0, legacy support
> ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 0 int 18,
> version 1.0, legacy support
> ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 19
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
> piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3d: SMI
> iic0 at piixpm0
> iic0: addr 0x19 05=c1 07=29 words 00=006f 01=0000 02=0000 03=0000 04=0000
> 05=c1b0 06=00b3 07=2912
> iic0: addr 0x1b 05=c1 07=29 words 00=006f 01=0000 02=0000 03=0000 04=0000
> 05=c1a4 06=00b3 07=2912
> iic0: addr 0x1d 05=c1 07=29 words 00=006f 01=0000 02=0000 03=0000 04=0000
> 05=c1b0 06=00b3 07=2912
> iic0: addr 0x1f 05=c1 07=29 words 00=006f 01=0000 02=0000 03=0000 04=0000
> 05=c1a8 06=00b3 07=2912
> nvt0 at iic0 addr 0x2f: W83795G
> spdmem0 at iic0 addr 0x51: 4GB DDR3 SDRAM registered ECC PC3-12800 with
> thermal sensor
> "eeprom" at iic0 addr 0x53 not configured
> spdmem1 at iic0 addr 0x57: 4GB DDR3 SDRAM registered ECC PC3-12800 with
> thermal sensor
> pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, channel 0
> configured to compatibility, channel 1 configured to compatibility
> pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00
> ppb2 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00
> pci3 at ppb2 bus 3
> vga1 at pci3 dev 4 function 0 "Matrox MGA G200eW" rev 0x0a
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> ohci4 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 0 int 18,
> version 1.0, legacy support
> pchb1 at pci0 dev 24 function 0 vendor "AMD", unknown product 0x1600 rev
> 0x00
> pchb2 at pci0 dev 24 function 1 vendor "AMD", unknown product 0x1601 rev
> 0x00
> pchb3 at pci0 dev 24 function 2 vendor "AMD", unknown product 0x1602 rev
> 0x00
> pchb4 at pci0 dev 24 function 3 vendor "AMD", unknown product 0x1603 rev
> 0x00
> pchb5 at pci0 dev 24 function 4 vendor "AMD", unknown product 0x1604 rev
> 0x00
> pchb6 at pci0 dev 24 function 5 vendor "AMD", unknown product 0x1605 rev
> 0x00
> pchb7 at pci0 dev 25 function 0 vendor "AMD", unknown product 0x1600 rev
> 0x00
> pchb8 at pci0 dev 25 function 1 vendor "AMD", unknown product 0x1601 rev
> 0x00
> pchb9 at pci0 dev 25 function 2 vendor "AMD", unknown product 0x1602 rev
> 0x00
> pchb10 at pci0 dev 25 function 3 vendor "AMD", unknown product 0x1603 rev
> 0x00
> pchb11 at pci0 dev 25 function 4 vendor "AMD", unknown product 0x1604 rev
> 0x00
> pchb12 at pci0 dev 25 function 5 vendor "AMD", unknown product 0x1605 rev
> 0x00
> usb2 at ohci0: USB revision 1.0
> uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb3 at ohci1: USB revision 1.0
> uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb4 at ohci2: USB revision 1.0
> uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> usb5 at ohci3: USB revision 1.0
> uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 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
> spkr0 at pcppi0
> wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73
> wbsio0 port 0xa10/2 not configured
> usb6 at ohci4: USB revision 1.0
> uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
> mtrr: Pentium Pro MTRR support
> umass0 at uhub1 port 1 configuration 1 interface 0 "Genesys Logic USB
> Storage" rev 2.00/0.16 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus1 at umass0: 2 targets, initiator 0
> cd0 at scsibus1 targ 1 lun 0: <TEAC, DV-28S-Y, 1.4A> SCSI0 5/cdrom
> removable serial.05e30719000000000033
> uhidev0 at uhub4 port 3 configuration 1 interface 0 "Winbond Electronics
> Corp Hermon USB hidmouse Device" rev 1.10/0.01 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev1 at uhub4 port 3 configuration 1 interface 1 "Winbond Electronics
> Corp Hermon USB hidmouse Device" rev 1.10/0.01 addr 2
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> sd3 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed
> sd3: 476937MB, 512 bytes/sector, 976767473 sectors
> root on sd3a (17a020a06096df1a.a) swap on sd3b dump on sd3b
> 
> 
> >
> > .... Ken
> >
> > >
> > > I could use another slot I suppose, but is there a way to label the chunk
> > > in the same slot and rebuild onto it that I'm missing?
> > >
> > > Thanks,
> > >
> > > -John
> > >
> >
> 
> 
> 
> On Mon, Sep 2, 2013 at 8:07 AM, Kenneth R Westerback <kwesterb...@rogers.com
> > wrote:
> 
> > On Mon, Sep 02, 2013 at 07:50:41AM -0400, John Hynes wrote:
> > > Greetings All,
> > >
> > > I have a softraid device, sd3, which was created as follows:
> > >
> > > bioctl -c 1 -l /dev/sd0a,/dev/sd1a,/dev/sd2a softraid0
> > >
> > > The chunk sd2a failed.  bioctl shows the RAID1 as degraded, and chunk
> > sd2a
> > > as OFFLINE.
> > >
> > > In order to rebuild, I'd need to set up the new sd2.  After replacing and
> > > zeroing the drive, I replaced the MBR with fdisk -yi /dev/sd2, which
> > worked
> > > fine.  Next, I copied the disklabel from sd0 to sd2, but disklabel
> > refused
> > > to write the new label, saying:
> > >
> > > disklabel: ioctl DIOCWDINFO: Open partition would move or shrink
> > > disklabel: unable to write label
> >
> > How exactly are you copying the disklabel? Is sd2 the same size as sd0?
> >
> > As always a dmesg would help. In this case by answering the latter. :-)
> >
> > .... Ken
> >
> > >
> > > I could use another slot I suppose, but is there a way to label the chunk
> > > in the same slot and rebuild onto it that I'm missing?
> > >
> > > Thanks,
> > >
> > > -John

Reply via email to