Re: XFS internal error xfs_da_do_buf(1) at line 2015 of filefs/xfs/xfs_da_btree.c

From: Christoph Hellwig
Date: Sun Jan 04 2009 - 02:47:27 EST


On Sun, Jan 04, 2009 at 11:16:22AM +1000, Adam Nielsen wrote:
> Hi all,
>
> I'm having a recurring problem with XFS which started about a day ago.
> All of a sudden when reading a certain part of the disk (not sure where,
> but my nightly backups trigger it) I get an infinite loop of these
> messages appearing in my logs:
>
> xfs_da_do_buf: bno 8388608
> dir: inode 3087268096
> Filesystem "md0": XFS internal error xfs_da_do_buf(1) at line 2015 of
> file fs/xfs/xfs_da_btree.c. Caller 0xffffffff802eba63
> Pid: 4445, comm: metalog Tainted: P 2.6.28-rc2 #3

This is a typical result of a power loss scenario with write caches
enabled and without barriers. Given that md can't pass through barriers
did you disable the write caches on your disk?

> Does anyone know what this error means? Do I need to reformat the filesystem?

Run xfs_repair over it to fix up the directory, and make sure to
configure your disks properly so that it doesn't happen again..

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/