EXT3-fs error (device dm-0): htree_dirblock_to_tree: bad entry in directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
We lost storage on three of our servers to (what I believe to be) a bug in the
ext3 kernel filesystem driver. Syslog shows the following:
Jul 14 01:45:04 home kernel: [981637.615765] EXT3-fs error (device dm-0): htree_dirblock_
Jul 14 01:45:04 home kernel: [981637.653163] EXT3-fs error (device dm-0): htree_dirblock_
Jul 14 01:45:05 home kernel: [981637.821762] EXT3-fs error (device dm-0): htree_dirblock_
This error repeats, growing in length as other inodes are added to the list of errors.
Out of 8 drives formatted ext3, the only drives affected were very large RAID arrays (12TB and 16TB in size). Three of five RAID arrays suffered permanent dammage and could not be repaired. It is unknown if the size of the drive is a contributing factor.
Although this seems similar to a bug reported in 2007 here:
http://
I was unable to reproduce the error with the original report's program and script. In fact, I have as yet been unable to reproduce the error at all.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[ 55.509463] NET: Registered protocol family 17
[ 60.212556] Installing knfsd (copyright (C) 1996 <email address hidden>).
[ 60.502550] NFSD: Using /var/lib/
[ 60.515702] NFSD: starting 90-second grace period
[ 61.748024] NET: Registered protocol family 5
DistroRelease: Ubuntu 8.10
HalComputerInfo: Error: [Errno 2] No such file or directory
LsUsb:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Package: linux-image-
ProcCmdLine: User Name=UUID=
ProcEnviron:
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: linux
The RAID arrays are hardware-based arrays, each array presented to the OS as a single /dev/sdX device. While lvm is used, it is only used to partition the drive (as fdisk cannot handle 16TB). Ext3 is used on top of the lvm device.