xfs
[Top] [All Lists]

Re: need help how to debug xfs crash issue xfs_iunlink_remove: xfs_inoto

To: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Subject: Re: need help how to debug xfs crash issue xfs_iunlink_remove: xfs_inotobp() returned error 22
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 10 Apr 2013 22:52:42 +1000
Cc: çææ <yongtaofu@xxxxxxxxx>, Ben Myers <bpm@xxxxxxx>, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20130410121025.78a42b22@xxxxxxxxxxxxxxxxxxxx>
References: <CADFMGuJm5bPPwbbUtYwrCVDL23KExJTw_-VRX2UEEdZjo+i5oA@xxxxxxxxxxxxxx> <CADFMGu+=MM2yc=_peboV7JTNJ8F05TJfexmEErzcf0D8mAWFRg@xxxxxxxxxxxxxx> <CADFMGuKqkPbpcU=taqjTR4sA3o=w1LLAnKoEuj=OhJqEbQVijw@xxxxxxxxxxxxxx> <20130409145238.GE22182@xxxxxxx> <CADFMGuJaiH0wuxOHrDjDn7qRVH+vQkLOOSPUyqSdXnLcS47t3w@xxxxxxxxxxxxxx> <CADFMGu+TdyjTjMTWMwpdHqmszhpCU162UA4Y-njARwSEjM1xNw@xxxxxxxxxxxxxx> <20130410121025.78a42b22@xxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, Apr 10, 2013 at 12:10:25PM +0200, Emmanuel Florac wrote:
> Le Tue, 9 Apr 2013 23:10:03 +0800
> çææ <yongtaofu@xxxxxxxxx> Ãcrivait:
> 
> > > Apr  9 11:01:30 cqdx kernel: XFS (sdb): I/O Error Detected.
> > > Shutting down filesystem
> 
> This. I/O error detected. That means that at some point the underlying
> device (disk, RAID array, SAN volume) couldn't be reached. So this
> could very well be a case of a flakey drive, array, cable or SCSI
> driver.

You can't take that one line of output out of context and then say
it's a hardware problem - that's a generic IO-error-causes-shutdown
message, not an EIO from the storage stack.

The EINVAL error that is reported before this is the cause of the
shutdown, and that is from a corrupted unlinked list. EINVAL
indicates that we are falling off the end of the unlinked list
without finding the inode that we are trying to remove from the
unlinked list. Debug kernels will assert fail at this point.

What causes that problem is still unknown. Nobody has been able to
isolate the reproducer, so progress is slow. If someone can give me
a script that reprodcues it directly on XFS (i.e no gluster), then
it won't take long to find the bug....

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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