[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
filesystem sprouting impossibly large files
For about 2 weeks, when we upgraded our server's hard disk, our openbsd
system has been experiencing file system corruption. From time to time an
existing file or directory goes "berserk" and appears like this (notice
the impossibly large size):
drwx------ 5 roadmr users 1371346086534316544 Oct 4 2002 .Drafts/
This has happened on all the disk's partitions, with both directories and
files, and the file's large size is not always the same.
When I boot with a boot disk and do a file system check, the mutant files
or directories are not affected, altough I have observed that the
filesystems do have some errors (even when I shut down cleanly).
I'm using OpenBSD 2.9 on a gigabyte ga-7vaxp motherboard (VIA kt400
chipset). It has 384 MB of DDR memory, hard disk is a 40GB Seagate
ST340014A, processor is an Athlon XP 2000+.
Any ideas on how to solve this? I've been planning on upgrading this
system, was hoping to wait until 3.4 came out, but since I keep getting
corrupted files, I'm thinking about biting the bullet and upgrading to 3.3
in the next few days, maybe that will help with my problem?
The system's dmesg is appended below
thanks for your help.
- Daniel
OpenBSD 2.9 (GENERIC) #653: Sat Apr 28 13:57:59 MDT 2001
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD K7 (Athlon) ("AuthenticAMD" 686-class) 1.68 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem = 402178048 (392752K)
avail mem = 367718400 (359100K)
using 4935 buffers containing 20213760 bytes (19740K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(ce) BIOS, date 09/05/02, BIOS32 rev. 0 @ 0xf9dc0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xcb14
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfca60/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:00:0
pcibios0: PCI Exclusive IRQs: 10 11 12
pcibios: no compatible PCI ICU found: ICU vendor 0x1106 product 0x3189
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor "VIA", unknown product 0x3189 rev 0x00
ppb0 at pci0 dev 1 function 0 vendor "VIA", unknown product 0xb168 rev 0x00
pci1 at ppb0 bus 1
vga1 at pci0 dev 9 function 0 "S3 ViRGE DX/GX" rev 0x01
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 10 function 0 "Intel 82557" rev 0x05: irq 12, address 00:03:47:6b:8d:16
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
vendor "Promise", unknown product 0x5275 (class mass storage, subclass RAID, rev 0x01) at pci0 dev 15 function 0 not configured
pcib0 at pci0 dev 17 function 0 vendor "VIA", unknown product 0x3177 rev 0x00
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <ST340014A>
wd0: 16-sector PIO, LBA, 38166MB, 16383 cyl, 16 head, 63 sec, 78165360 sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
rl0 at pci0 dev 19 function 0 "Realtek 8139" rev 0x10: irq 12 address 00:20:ed:47:36:ec
rlphy0 at rl0 phy 0: RTL internal phy
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: 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
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 4040 netmask 5040 ttymask 50c2
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302