xfs
[Top] [All Lists]

Re: XFS undeletable files. (3.11rc3)

To: Dave Jones <davej@xxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
Subject: Re: XFS undeletable files. (3.11rc3)
From: Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
Date: Wed, 31 Jul 2013 08:11:29 +0200
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=simple; d=mail.ud10.udmedia.de; h= date:from:to:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=beta; bh= P0HkA/RLJufJEl+v7Ayh+ctDdfv/7tOmsl/AdyvfO9g=; b=vEKqm0aNircNcDOQ E9tM7JSKRiNDNdkiUX+RZDAkwQR1jWTWUbSwO8fgL7bN2iAqdtvv2UjDKhZa/q3Z I25IzFO9iFVq750HxX/1WKVVBuQri7LM07TYpRmnyAF/zmtORN+t+nx6b3uOzfjl 7ch4Eal6E4gMqBcelbVeiPU0nHQ=
In-reply-to: <20130730202628.GA16356@xxxxxxxxxx>
References: <20130712023930.GA6473@xxxxxxxxxx> <20130725041538.GH13468@dastard> <20130730202628.GA16356@xxxxxxxxxx>
On 2013.07.30 at 16:26 -0400, Dave Jones wrote:
> On Thu, Jul 25, 2013 at 02:15:38PM +1000, Dave Chinner wrote:
>  > On Thu, Jul 11, 2013 at 10:39:30PM -0400, Dave Jones wrote:
>  > > Just saw this during boot after an unclean shutdown. It hung afterwards.
>  > > 
>  > > [   97.162665] XFS: Assertion failed: xfs_dir2_sf_lookup(args) == 
> ENOENT, file: fs/xfs/xfs_dir2_sf.c, line: 358
>  > > [   97.164646] ------------[ cut here ]------------
>  > 
>  > I just reproduced this by chance. I know exactly what I was doing
>  > when it went bang, so I might be able to reduce it from scattergun
>  > blast testing to be able to reproduce it on demand.
> 
> I xfs_repair'd that disk a week or so back, and have been fine until today 
> when..
> 
> (16:22:57:root@zerosum:tmp.6)# ll
> ls: cannot access : No such file or directory
> total 0
> ?????????? ? ? ? ?            ? ?
> (16:22:58:root@zerosum:tmp.6)# cd ..
> (16:23:06:root@zerosum:tmp)# rm -rf tmp.6
> rm: cannot remove âtmp.6â: Directory not empty
> (16:23:14:root@zerosum:tmp)# cd -
> /home/davej/src/trinity/tmp/tmp.6
> (16:23:23:root@zerosum:tmp.6)# stat *
> stat: cannot stat â\020â: No such file or directory
> 
> I don't know if this is residual crap from that first problem that never got 
> fixed up,
> or something new.
> 
> Any ideas ?

If you have crashed your test machine running an rc1 or rc2 kernel, you
must run xfs_repair again to clean up possible corruption (that happened
during log replay). The fix (commit e1b4271ac26) is in rc3.

-- 
Markus

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