Re: bioctl weirdness
On Thu, Sep 25, 2014 at 2:37 AM, Joel Sing wrote: > On Wed, 24 Sep 2014, Dan Becker wrote: > > forgot to add this relevant part > > > > # bioctl -R /dev/wd0a sd1 > > softraid0: wd0a partition too small, at least 536871980544 bytes required > > # > > Again, note the "bytes" vs "blocks". That has most likely been fixed > already, > however without a dmesg I have no idea what kernel you're running with. My > guess is this is a softraid volume with pre-bootable metadata... > I was hoping to see someone else having the same issue :) I will do some more digging but here is the dmesg I didnt attach OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar 5 09:37:46 MST 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2120769536 (2022MB) avail mem = 2055761920 (1960MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0450 (72 entries) bios0: vendor Dell Inc. version "A01" date 05/24/2005 bios0: Dell Inc. OptiPlex GX520 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SSDT SSDT SSDT acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5) PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz, 3192.41 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,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LONG cpu0: 2MB 64b/line 8-way L2 cache mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=0, max=0 (bogus) cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) 4 CPU 3.20GHz, 3192.00 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,DTES64,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,NXE,LONG cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xf000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 4 (PCI4) acpiprt1 at acpi0: bus 2 (PCI2) acpiprt2 at acpi0: bus 3 (PCI3) acpiprt3 at acpi0: bus 1 (PCI1) acpiprt4 at acpi0: bus -1 (PCI5) acpiprt5 at acpi0: bus -1 (PCI6) acpiprt6 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: FVS, 3200, 3000, 2800 MHz acpicpu1 at acpi0: FVS, 3200, 3000, 2800 MHz acpibtn0 at acpi0: VBTN pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: msi pci1 at ppb0 bus 1 "Intel 82945G Video" rev 0x02 at pci0 dev 2 function 0 not configured "Intel 82945G Video" rev 0x02 at pci0 dev 2 function 1 not configured ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: msi pci2 at ppb1 bus 2 bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1 (0x4001): apic 8 int 16, address 00:12:3f:64:03:96 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: msi pci3 at ppb2 bus 3 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 8 int 21 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 8 int 22 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 8 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 8 int 23 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 8 int 21 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci4 at ppb3 bus 4 radeondrm0 at pci4 dev 0 function 0 "ATI Radeon 9200 PRO" rev 0x01 drm0 at radeondrm0 radeondrm0: apic 8 int 16 "ATI Radeon 9200 PRO Sec" rev 0x01 at pci4 dev 0 function 1 not configured "AT&T/Lucent FW322 1394" rev 0x70 at pci4 dev 2 function 0 not configured auich0 at pci0 dev 30 function 2 "Intel 82801GB AC97" rev 0x01: apic 8 int 23, ICH7 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01 pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled) pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 8 int 20 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 1907729MB, 390702916
Re: bioctl weirdness
On Wed, 24 Sep 2014, Dan Becker wrote: > forgot to add this relevant part > > # bioctl -R /dev/wd0a sd1 > softraid0: wd0a partition too small, at least 536871980544 bytes required > # Again, note the "bytes" vs "blocks". That has most likely been fixed already, however without a dmesg I have no idea what kernel you're running with. My guess is this is a softraid volume with pre-bootable metadata... > On Tue, Sep 23, 2014 at 7:40 PM, Dan Becker wrote: > > two identical drives... shutdown system remove one turn the system back > > on > > > > bioctl shows the partitions as 536871980544 which is 137. something times > > bigger than the drive > > > > oddly enough it is 512 times the size of the partition > > > > 536871980544/1048578087 > > 512. > > > > in a few days I will have all the data moved to another set of drives and > > be more than willing to do some debugging > > > > > > > > # bioctl softraid0 > > Volume Status Size Device > > softraid0 0 Degraded 536871980544 sd1 RAID1 > > 0 Offline 0 0:0.0 noencl > > 1 Online 536871980544 0:1.0 noencl > > softraid0 1 Degraded 536871980544 sd2 RAID1 > > 0 Online 536871980544 1:0.0 noencl > > 1 Offline 0 1:1.0 noencl > > softraid0 2 Degraded 536871980544 sd3 RAID1 > > 0 Online 536871980544 2:0.0 noencl > > 1 Offline 0 2:1.0 noencl > > softraid0 3 Degraded 389781911040 sd4 RAID1 > > 0 Online 389781911040 3:0.0 noencl > > 1 Offline 0 3:1.0 noencl > > > > # disklabel sd1 > > # /dev/rsd1c: > > type: SCSI > > disk: SCSI disk > > label: SR RAID 1 > > duid: 1d42ceb8d332594e > > flags: > > bytes/sector: 512 > > sectors/track: 63 > > tracks/cylinder: 255 > > sectors/cylinder: 16065 > > cylinders: 65270 > > total sectors: 1048578087 > > boundstart: 0 > > boundend: 1048578087 > > drivedata: 0 > > > > 16 partitions: > > #size offset fstype [fsize bsize cpg] > > a: 10485780480 4.2BSD 4096 327681 > > c: 10485780870 unused > > # disklabel sd2 > > # /dev/rsd2c: > > type: SCSI > > disk: SCSI disk > > label: SR RAID 1 > > duid: 978b49563ef3223a > > flags: > > bytes/sector: 512 > > sectors/track: 63 > > tracks/cylinder: 255 > > sectors/cylinder: 16065 > > cylinders: 65270 > > total sectors: 1048578087 > > boundstart: 0 > > boundend: 1048578087 > > drivedata: 0 > > > > 16 partitions: > > #size offset fstype [fsize bsize cpg] > > a: 10485780480 4.2BSD 4096 327681 > > c: 10485780870 unused > > # disklabel sd3 > > # /dev/rsd3c: > > type: SCSI > > disk: SCSI disk > > label: SR RAID 1 > > duid: 8e245525f52a55d0 > > flags: > > bytes/sector: 512 > > sectors/track: 63 > > tracks/cylinder: 255 > > sectors/cylinder: 16065 > > cylinders: 65270 > > total sectors: 1048578087 > > boundstart: 0 > > boundend: 1048578087 > > drivedata: 0 > > > > 16 partitions: > > #size offset fstype [fsize bsize cpg] > > a: 10485780480 4.2BSD 4096 327681 > > c: 10485780870 unused > > # disklabel sd4 > > # /dev/rsd4c: > > type: SCSI > > disk: SCSI disk > > label: SR RAID 1 > > duid: 390559d487f82e16 > > flags: > > bytes/sector: 512 > > sectors/track: 63 > > tracks/cylinder: 255 > > sectors/cylinder: 16065 > > cylinders: 47388 > > total sectors: 761292795 > > boundstart: 0 > > boundend: 761292795 > > drivedata: 0 > > > > 16 partitions: > > #size offset fstype [fsize bsize cpg] > > a:7612927360 4.2BSD 4096 327681 > > c:7612927950 unused > > # disklabel > > wd0 > > > > # /dev/rwd0c: > > type: ESDI > > disk: ESDI/IDE disk > > label: Hitachi HDS5C302 > > duid: 6c7c163233d6b678 > > flags: > > bytes/sector: 512 > > sectors/track: 63 > > tracks/cylinder: 255 > > sectors/cylinder: 16065 > > cylinders: 243201 > > total sectors: 3907029168 > > boundstart: 0 > > boundend: 3907029168 > > drivedata: 0 > > > > 16 partitions: > > #size offset fstype [fsize bsize cpg] > > a: 1048578551 64RAID > > b: 1048578615 1048578615RAID > > c: 39070291680 unused > > d: 1048578615 2097157230RAID > > e:761293323 3145735845RAID -- "Action without study is fatal. Study without action is futile." -- Mary Ritter Beard
Re: bioctl weirdness
On Wed, 24 Sep 2014, Dan Becker wrote: > two identical drives... shutdown system remove one turn the system back on > > bioctl shows the partitions as 536871980544 which is 137. something times > bigger than the drive > > oddly enough it is 512 times the size of the partition > > 536871980544/1048578087 > 512. > > in a few days I will have all the data moved to another set of drives and > be more than willing to do some debugging That looks normal/expected - the size of the partition is in 512-byte blocks, the size from bioctl is in bytes. Using the -h option will give you human-readable output. > # bioctl softraid0 > Volume Status Size Device > softraid0 0 Degraded 536871980544 sd1 RAID1 > 0 Offline 0 0:0.0 noencl > 1 Online 536871980544 0:1.0 noencl > softraid0 1 Degraded 536871980544 sd2 RAID1 > 0 Online 536871980544 1:0.0 noencl > 1 Offline 0 1:1.0 noencl > softraid0 2 Degraded 536871980544 sd3 RAID1 > 0 Online 536871980544 2:0.0 noencl > 1 Offline 0 2:1.0 noencl > softraid0 3 Degraded 389781911040 sd4 RAID1 > 0 Online 389781911040 3:0.0 noencl > 1 Offline 0 3:1.0 noencl > > # disklabel sd1 > # /dev/rsd1c: > type: SCSI > disk: SCSI disk > label: SR RAID 1 > duid: 1d42ceb8d332594e > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 65270 > total sectors: 1048578087 > boundstart: 0 > boundend: 1048578087 > drivedata: 0 > > 16 partitions: > #size offset fstype [fsize bsize cpg] > a: 10485780480 4.2BSD 4096 327681 > c: 10485780870 unused > # disklabel sd2 > # /dev/rsd2c: > type: SCSI > disk: SCSI disk > label: SR RAID 1 > duid: 978b49563ef3223a > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 65270 > total sectors: 1048578087 > boundstart: 0 > boundend: 1048578087 > drivedata: 0 > > 16 partitions: > #size offset fstype [fsize bsize cpg] > a: 10485780480 4.2BSD 4096 327681 > c: 10485780870 unused > # disklabel sd3 > # /dev/rsd3c: > type: SCSI > disk: SCSI disk > label: SR RAID 1 > duid: 8e245525f52a55d0 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 65270 > total sectors: 1048578087 > boundstart: 0 > boundend: 1048578087 > drivedata: 0 > > 16 partitions: > #size offset fstype [fsize bsize cpg] > a: 10485780480 4.2BSD 4096 327681 > c: 10485780870 unused > # disklabel sd4 > # /dev/rsd4c: > type: SCSI > disk: SCSI disk > label: SR RAID 1 > duid: 390559d487f82e16 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 47388 > total sectors: 761292795 > boundstart: 0 > boundend: 761292795 > drivedata: 0 > > 16 partitions: > #size offset fstype [fsize bsize cpg] > a:7612927360 4.2BSD 4096 327681 > c:7612927950 unused > # disklabel > wd0 > > # /dev/rwd0c: > type: ESDI > disk: ESDI/IDE disk > label: Hitachi HDS5C302 > duid: 6c7c163233d6b678 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 243201 > total sectors: 3907029168 > boundstart: 0 > boundend: 3907029168 > drivedata: 0 > > 16 partitions: > #size offset fstype [fsize bsize cpg] > a: 1048578551 64RAID > b: 1048578615 1048578615RAID > c: 39070291680 unused > d: 1048578615 2097157230RAID > e:761293323 3145735845RAID -- "Action without study is fatal. Study without action is futile." -- Mary Ritter Beard
Re: bioctl weirdness
forgot to add this relevant part # bioctl -R /dev/wd0a sd1 softraid0: wd0a partition too small, at least 536871980544 bytes required # On Tue, Sep 23, 2014 at 7:40 PM, Dan Becker wrote: > two identical drives... shutdown system remove one turn the system back on > > bioctl shows the partitions as 536871980544 which is 137. something times > bigger than the drive > > oddly enough it is 512 times the size of the partition > > 536871980544/1048578087 > 512. > > in a few days I will have all the data moved to another set of drives and > be more than willing to do some debugging > > > > # bioctl softraid0 > Volume Status Size Device > softraid0 0 Degraded 536871980544 sd1 RAID1 > 0 Offline 0 0:0.0 noencl > 1 Online 536871980544 0:1.0 noencl > softraid0 1 Degraded 536871980544 sd2 RAID1 > 0 Online 536871980544 1:0.0 noencl > 1 Offline 0 1:1.0 noencl > softraid0 2 Degraded 536871980544 sd3 RAID1 > 0 Online 536871980544 2:0.0 noencl > 1 Offline 0 2:1.0 noencl > softraid0 3 Degraded 389781911040 sd4 RAID1 > 0 Online 389781911040 3:0.0 noencl > 1 Offline 0 3:1.0 noencl > > # disklabel sd1 > # /dev/rsd1c: > type: SCSI > disk: SCSI disk > label: SR RAID 1 > duid: 1d42ceb8d332594e > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 65270 > total sectors: 1048578087 > boundstart: 0 > boundend: 1048578087 > drivedata: 0 > > 16 partitions: > #size offset fstype [fsize bsize cpg] > a: 10485780480 4.2BSD 4096 327681 > c: 10485780870 unused > # disklabel sd2 > # /dev/rsd2c: > type: SCSI > disk: SCSI disk > label: SR RAID 1 > duid: 978b49563ef3223a > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 65270 > total sectors: 1048578087 > boundstart: 0 > boundend: 1048578087 > drivedata: 0 > > 16 partitions: > #size offset fstype [fsize bsize cpg] > a: 10485780480 4.2BSD 4096 327681 > c: 10485780870 unused > # disklabel sd3 > # /dev/rsd3c: > type: SCSI > disk: SCSI disk > label: SR RAID 1 > duid: 8e245525f52a55d0 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 65270 > total sectors: 1048578087 > boundstart: 0 > boundend: 1048578087 > drivedata: 0 > > 16 partitions: > #size offset fstype [fsize bsize cpg] > a: 10485780480 4.2BSD 4096 327681 > c: 10485780870 unused > # disklabel sd4 > # /dev/rsd4c: > type: SCSI > disk: SCSI disk > label: SR RAID 1 > duid: 390559d487f82e16 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 47388 > total sectors: 761292795 > boundstart: 0 > boundend: 761292795 > drivedata: 0 > > 16 partitions: > #size offset fstype [fsize bsize cpg] > a:7612927360 4.2BSD 4096 327681 > c:7612927950 unused > # disklabel > wd0 > > # /dev/rwd0c: > type: ESDI > disk: ESDI/IDE disk > label: Hitachi HDS5C302 > duid: 6c7c163233d6b678 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 243201 > total sectors: 3907029168 > boundstart: 0 > boundend: 3907029168 > drivedata: 0 > > 16 partitions: > #size offset fstype [fsize bsize cpg] > a: 1048578551 64RAID > b: 1048578615 1048578615RAID > c: 39070291680 unused > d: 1048578615 2097157230RAID > e:761293323 3145735845RAID
bioctl weirdness
two identical drives... shutdown system remove one turn the system back on bioctl shows the partitions as 536871980544 which is 137. something times bigger than the drive oddly enough it is 512 times the size of the partition 536871980544/1048578087 512. in a few days I will have all the data moved to another set of drives and be more than willing to do some debugging # bioctl softraid0 Volume Status Size Device softraid0 0 Degraded 536871980544 sd1 RAID1 0 Offline 0 0:0.0 noencl 1 Online 536871980544 0:1.0 noencl softraid0 1 Degraded 536871980544 sd2 RAID1 0 Online 536871980544 1:0.0 noencl 1 Offline 0 1:1.0 noencl softraid0 2 Degraded 536871980544 sd3 RAID1 0 Online 536871980544 2:0.0 noencl 1 Offline 0 2:1.0 noencl softraid0 3 Degraded 389781911040 sd4 RAID1 0 Online 389781911040 3:0.0 noencl 1 Offline 0 3:1.0 noencl # disklabel sd1 # /dev/rsd1c: type: SCSI disk: SCSI disk label: SR RAID 1 duid: 1d42ceb8d332594e flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 65270 total sectors: 1048578087 boundstart: 0 boundend: 1048578087 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 10485780480 4.2BSD 4096 327681 c: 10485780870 unused # disklabel sd2 # /dev/rsd2c: type: SCSI disk: SCSI disk label: SR RAID 1 duid: 978b49563ef3223a flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 65270 total sectors: 1048578087 boundstart: 0 boundend: 1048578087 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 10485780480 4.2BSD 4096 327681 c: 10485780870 unused # disklabel sd3 # /dev/rsd3c: type: SCSI disk: SCSI disk label: SR RAID 1 duid: 8e245525f52a55d0 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 65270 total sectors: 1048578087 boundstart: 0 boundend: 1048578087 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 10485780480 4.2BSD 4096 327681 c: 10485780870 unused # disklabel sd4 # /dev/rsd4c: type: SCSI disk: SCSI disk label: SR RAID 1 duid: 390559d487f82e16 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 47388 total sectors: 761292795 boundstart: 0 boundend: 761292795 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a:7612927360 4.2BSD 4096 327681 c:7612927950 unused # disklabel wd0 # /dev/rwd0c: type: ESDI disk: ESDI/IDE disk label: Hitachi HDS5C302 duid: 6c7c163233d6b678 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 243201 total sectors: 3907029168 boundstart: 0 boundend: 3907029168 drivedata: 0 16 partitions: #size offset fstype [fsize bsize cpg] a: 1048578551 64RAID b: 1048578615 1048578615RAID c: 39070291680 unused d: 1048578615 2097157230RAID e:761293323 3145735845RAID
bioctl weirdness - wha???
Greetings misc@ (Marco in particular! :), I am having some unusual issues with bioctl while using an ami-based RAID card. The card is a LSI/Symbios MegaRAID 150-4 (FW 713N) in a 64-bit PCI slot. Drives are Seagate SATA drives. Case is a Supermicro 5033C-T with built-in drive cage. Currently we are having a two-drive RAID-1 mirrored array with one hot spare drive. When we first setup the array and installed openbsd, bioctl ami0 produced output just like you would expect. When I simulated a failure, the array started to rebuild. Good! Except that when I reinserted another drive to become the new hotspare, it did not show in bioctl output. After a reboot, the drive did show in bioctl output as unused, so I set it as hot spare (bioctl -H 0:1 ami0). After doing this, bioctl did not show the drive as a hot spare, but still as unusued. After yet another reboot, the controller's BIOS did show the extra drive as a hot spare. Can you provide any insight into what could be going on? Many thanks! random info below: # bioctl -Dv ami0 bioctl: cookie = 0xd1753e80 bio_inq Volume Status Size Device ami0 0 Degraded 160036814848 sd0 RAID1 0 Online 160036814848 0:0.0 noencl'5LS0MNEY' 1 Rebuild 160036814848 0:2.0 noencl '5LS0MNG5' ami0 1 Unused 160036814848 0:1.0 noencl '5LS0NEKN' OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,CNXT-ID real mem = 1072193536 (1047064K) avail mem = 971747328 (948972K) using 4278 buffers containing 53710848 bytes (52452K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(91) BIOS, date 03/09/05, BIOS32 rev. 0 @ 0xfb790 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xdf64 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde60/240 (13 entries) pcibios0: PCI Exclusive IRQs: 5 7 9 10 11 12 pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x25a1 pcibios0: PCI bus #4 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x2200 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82875P Host" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82875P AGP" rev 0x02 pci1 at ppb0 bus 1 ppb1 at pci0 dev 3 function 0 "Intel 82875P PCI-CSA" rev 0x02 pci2 at ppb1 bus 2 em0 at pci2 dev 1 function 0 "Intel PRO/1000CT (82547GI)" rev 0x00: irq 10, address: 00:30:48:82:95:02 ppb2 at pci0 dev 28 function 0 "Intel 6300ESB PCIX" rev 0x02 pci3 at ppb2 bus 3 ami0 at pci3 dev 1 function 0 "Symbios Logic MegaRAID" rev 0x01: irq 9 LSI 523/64b/lhc ami0: FW 713N, BIOS vG119, 64MB RAM ami0: 1 channels, 0 FC loops, 1 logical drives scsibus0 at ami0: 40 targets sd0 at scsibus0 targ 0 lun 0: SCSI2 0/direct fixed sd0: 152623MB, 19456 cyl, 255 head, 63 sec, 512 bytes/sec, 312571904 sec total scsibus1 at ami0: 16 targets vendor "Marvell", unknown product 0x5041 (class mass storage subclass RAID, rev 0x00) at pci3 dev 4 function 0 not configured ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x0a pci4 at ppb3 bus 4 trm0 at pci4 dev 2 function 0 "Tekram DC-3x5U" rev 0x01: irq 11 scsibus2 at trm0: 8 targets trm0: target 0 using 8 bit 10.0 MHz, Offset 15 data transfers st0 at scsibus2 targ 0 lun 0: SCSI2 1/sequential removable st0: drive empty or not ready vga1 at pci4 dev 9 function 0 "ATI Rage XL" rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) em1 at pci4 dev 10 function 0 "Intel PRO/1000MT (82541GI)" rev 0x00: irq 5, address: 00:30:48:82:95:03 ichpcib0 at pci0 dev 31 function 0 "Intel 6300ESB LPC" rev 0x02 pciide0 at pci0 dev 31 function 2 "Intel 6300ESB SATA" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 1: wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus3 at atapiscsi0: 2 targets cd0 at scsibus3 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 "Intel 6300ESB SMBus" rev 0x02 at pci0 dev 31 function 3 not configured isa0 at ichpcib0 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 pcppi0 at isa0 port 0