[Top] [All Lists]

Re: help xfs filesystem crash

To: 符永涛 <yongtaofu@xxxxxxxxx>
Subject: Re: help xfs filesystem crash
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Sun, 6 Jan 2013 11:18:40 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <CADFMGuL2GtcXs_BZ-xhoqczs8B=orWqZSOMGLmpRCokdtcY8ww@xxxxxxxxxxxxxx>
References: <CADFMGuL2GtcXs_BZ-xhoqczs8B=orWqZSOMGLmpRCokdtcY8ww@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Sat, Jan 05, 2013 at 09:47:13PM +0800, 符永涛 wrote:
> Dear xfs experts,
> We're running glusterfs over top of xfs and recently we have
> encountered xfs filesystem crash two times on two different servers.
> Can you kindly help to give me some insight of how to debug this kind
> of failure?
> Bellow is xfs filesystem crash messages:
> server1:
> Dec 28 16:55:01 localhost kernel: XFS (dm-0): xfs_iunlink_remove:
> xfs_inotobp() returned error 22.
> Dec 28 16:55:01 localhost kernel: XFS (dm-0): xfs_inactive: xfs_ifree
> returned error 22

That's a sign of a corrupt inode unlinked list. It's also an oldish
kernel - xfs_inotobp() doesn't exist anymore in the mainline

What does 'xfs_repair -n /dev/dm-0' tell you about the unlinked


Dave Chinner

<Prev in Thread] Current Thread [Next in Thread>