Paul M wrote:

On 18/09/2009, at 2:28 PM, Jeffrey C. Smith wrote:
Now, I try to reconstruct /dev/wd1d (the failed drive):

# raidctl -v -R /dev/wd1d raid0
raidctl: /dev/wd1d is not a component of this device

Still no luck. Any more ideas???

Thanks,
Jeff


Has your raid0.conf file changed? The one you posted earlier shows that /dev/wd1d
*is* a component of that array.

It has not changed. Here it is:

# more /etc/raid0.conf
START array
1 2 0
START disks
/dev/wd0d
/dev/wd1d
START layout
128 1 1 1
START queue
fifo 100

What do disklabel wd1 and dmesg | grep wd show? anything suspicious?

Here are the disk labels:
# disklabel wd0
# Inside MBR partition 3: type A6 start 63 size 241248042
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: IC35L120AVV207-1
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 15017
total sectors: 241254720
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  a:          2104452               63  4.2BSD   2048 16384    1
  b:           530145          2104515    swap
  c:        241254720                0  unused
  d:        238613445          2634660    RAID


# disklabel wd1
# Inside MBR partition 3: type A6 start 63 size 241248042
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: IC35L120AVV207-1
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 15017
total sectors: 241254720
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  a:          2104452               63  4.2BSD   2048 16384    1
  b:           530145          2104515    swap
  c:        241254720                0  unused
  d:        238613445          2634660    RAID


Here's the entire dmesg (lots of wdx/raid0 stuff at the bottom):

# dmesg
OpenBSD 4.5 (GENERIC) #0: Tue Aug 11 17:54:58 CDT 2009
    r...@gateway.whiteinstruments.com:/mnt/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 1400MHz ("GenuineIntel" 686-class) 1.39 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real mem  = 133296128 (127MB)
avail mem = 120193024 (114MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/01, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (97 entries)
bios0: vendor Dell Computer Corporation version "A04" date 08/02/2001
bios0: Dell Computer Corporation OptiPlex GX400
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP SSDT BOOT
acpi0: wakeup devices VBTN(S4) PCI0(S5) USB0(S3) USB1(S3) PCI1(S5) KBD_(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PCI1)
acpicpu0 at acpi0
acpibtn0 at acpi0: VBTN
bios0: ROM list: 0xc0000/0x9800 0xc9800/0x2800
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82850 Host" rev 0x02
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0 "Intel 82850/82860 AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA Riva TNT2" rev 0x15
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x04
pci2 at ppb1 bus 2
dc0 at pci2 dev 8 function 0 "Macronix PMAC 98715" rev 0x25: irq 10, address 00:80:c6:fa:cd:20
dcphy0 at dc0 phy 31: internal PHY
rl0 at pci2 dev 10 function 0 "Realtek 8139" rev 0x10: irq 11, address 00:50:fc:5f:45:61
rlphy0 at rl0 phy 0: RTL internal PHY
xl0 at pci2 dev 12 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 11, address 00:06:5b:4a:5e:0f
exphy0 at xl0 phy 24: 3Com internal media interface
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x04
pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x04: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <IC35L120AVV207-1>
wd0: 16-sector PIO, LBA48, 117800MB, 241254720 sectors
wd1 at pciide0 channel 0 drive 1: <IC35L120AVV207-1>
wd1: 16-sector PIO, LBA48, 117800MB, 241254720 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): 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: <LG, CD-ROM CRD-8482B, 1.05> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x04: irq 11
ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x04: irq 10
iic0 at ichiic0
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x04: irq 9
auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x04: irq 10, ICH2 AC97
ac97: codec id 0x41445360 (Analog Devices AD1885)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
isa0 at ichpcib0
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
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
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
biomask ef65 netmask ef65 ttymask ffff
mtrr: Pentium Pro MTRR support
Kernelized RAIDframe activated
cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
    SENSE KEY: Not Ready
     ASC/ASCQ: Medium Not Present
raid0 at root: (RAID Level 1) total number of sectors is 238613376 (116510 MB) as root
softraid0 at root
softraid0: wd0d can not read metadata version 1237271951, expected 3
softraid0: wd1d can not read metadata version 1237271951, expected 3
root on raid0a
swapmount: no device
raid0: Device already configured!
About to (re-)open the device for rebuilding: component1


Hope this helps. Thanks for your assistance...

Jeff

Reply via email to