help xfs filesystem crash

Dave Chinner david at fromorbit.com
Sat Jan 5 18:18:40 CST 2013


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
kernel...

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

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list