All -
I am having issues with filesystem corruption on a RAID1 array using
RAIDframe on OpenBSD 3.7. If I copy a large (500M+) file onto a
filesystem on the array, the copied file will end up corrupted, other
files on the filesystem may end up corrupted and fsck will show various
errors in the filesystem metadata. The drives themselves check out fine
and are showing no damaged sectors or other problems. Can anyone help me
identify and fix the problem?
Contents of /etc/raid0.conf, fdisk info and dmesg are below. I'll
provide any additional information as necessary.
Thanks,
Rob
----
$ cat /etc/raid0.conf
START array
1 2 0
START disks
/dev/wd1a
/dev/wd2a
START layout
128 1 1 1
START queue
FIFO 100
$ sudo fdisk wd1
Disk: wd1 geometry: 48641/255/63 [781417665 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 1 - 48640 254 63 [ 63: 781417602 ] OpenBSD
$ sudo fdisk wd2
Disk: wd2 geometry: 48641/255/63 [781417665 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 1 - 48640 254 63 [ 63: 781417602 ] OpenBSD
$ dmesg
OpenBSD 3.7 (ORBITAL.SP) #1: Wed Jul 27 01:29:04 PDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ORBITAL.SP
cpu0: AMD Athlon(tm) XP 3000+ ("AuthenticAMD" 686-class) 2.10 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 1039704064 (1015336K)
avail mem = 941580288 (919512K)
using 4278 buffers containing 52088832 bytes (50868K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(ff) BIOS, date 02/16/05, BIOS32 rev. 0 @
0xfba70
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdb34
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfda80/176 (9 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x8000! 0xd0000/0x4800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8378 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA VT8378 VGA" rev 0x01: aperture at
0xd8000000, size 0x10000000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 8 function 0 "CMD Technology SiI3114 SATA" rev 0x02:
DMA
pciide0: using irq 10 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: <WDC WD360GD-00ELX1>
wd0: 16-sector PIO, LBA48, 35304MB, 72303840 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6
pciide0: port 1: device present, speed: 1.5Gb/s
wd1 at pciide0 channel 1 drive 0: <WDC WD4000YR-01PLB0>
wd1: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6
pciide0: port 2: device present, speed: 1.5Gb/s
wd2 at pciide0 channel 2 drive 0: <WDC WD4000YR-01PLB0>
wd2: 16-sector PIO, LBA48, 381554MB, 781422768 sectors
wd2(pciide0:2:0): using BIOS timings, Ultra-DMA mode 6
"ATI Mach64 GT" rev 0x41 at pci0 dev 10 function 0 not configured
pciide1 at pci0 dev 15 function 0 "VIA VT8237 SATA" rev 0x80: DMA
pciide1: using irq 11 for native-PCI interrupt
pciide2 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide2: channel 0 disabled (no drives)
pciide2: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 5
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: single transaction translator
uhub4: 8 ports with 8 removable, self powered
pcib0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: irq 5
ac97: codec id 0x414c4760 (Avance Logic ALC655)
audio0 at auvia0
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x78: irq 10 address
00:50:8d:6f:af:e2
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x004063, model 0x0032, rev. 10
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using
wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff65 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
Kernelized RAIDframe activated
raid0 (root): (RAID Level 1) total number of sectors is 781417472 (381551
MB)
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 had no matching BIOS disk
dkcsum: wd2 had no matching BIOS disk
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
raid0: Device already configured!