Public bug reported: 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_to_tree: bad entry in directory #217677844: rec_len % 4 != 0 - offset=0, inode=3672412761, rec_len=39053, name_len=147 Jul 14 01:45:04 home kernel: [981637.653163] EXT3-fs error (device dm-0): htree_dirblock_to_tree: bad entry in directory #216096885: rec_len % 4 != 0 - offset=0, inode=1193450085, rec_len=48787, name_len=24 Jul 14 01:45:05 home kernel: [981637.821762] EXT3-fs error (device dm-0): htree_dirblock_to_tree: bad entry in directory #216105487: directory entry across blocks - offset=0, inode=884141655, rec_len=41788, name_len=189 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://marc.info/?l=linux-ext4&m=118067140512836&w=2 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 o...@monad.swb.de). [ 60.502550] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [ 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-2.6.27-14-server 2.6.27-14.35 ProcCmdLine: User Name=UUID=7eebe24c-49ee-46af-8c29-662e1574d25d ro quiet splash ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.27-14.35-server SourcePackage: linux ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug -- EXT3-fs error (device dm-0): htree_dirblock_to_tree: bad entry in directory https://bugs.launchpad.net/bugs/403026 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs