All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Dave Jones <davej@redhat.com>, Dave Chinner <david@fromorbit.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	xfs@oss.sgi.com
Subject: Re: XFS undeletable files. (3.11rc3)
Date: Wed, 31 Jul 2013 08:11:29 +0200	[thread overview]
Message-ID: <20130731061129.GA354@x4> (raw)
In-Reply-To: <20130730202628.GA16356@redhat.com>

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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

WARNING: multiple messages have this Message-ID (diff)
From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Dave Jones <davej@redhat.com>, Dave Chinner <david@fromorbit.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	xfs@oss.sgi.com
Subject: Re: XFS undeletable files. (3.11rc3)
Date: Wed, 31 Jul 2013 08:11:29 +0200	[thread overview]
Message-ID: <20130731061129.GA354@x4> (raw)
In-Reply-To: <20130730202628.GA16356@redhat.com>

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

  reply	other threads:[~2013-07-31  6:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12  2:39 XFS: Assertion failed: xfs_dir2_sf_lookup(args) == ENOENT, file: fs/xfs/xfs_dir2_sf.c, line: 358 Dave Jones
2013-07-12  2:39 ` Dave Jones
2013-07-13  2:00 ` Dave Chinner
2013-07-13  2:00   ` Dave Chinner
2013-07-13 15:06   ` Dave Jones
2013-07-13 15:06     ` Dave Jones
2013-07-15 19:58   ` Dave Jones
2013-07-15 19:58     ` Dave Jones
2013-07-16  0:27     ` Dave Chinner
2013-07-16  0:27       ` Dave Chinner
2013-07-16  1:42       ` Dave Jones
2013-07-16  1:42         ` Dave Jones
2013-07-16  2:01         ` Dave Chinner
2013-07-16  2:01           ` Dave Chinner
2013-07-25  4:15 ` Dave Chinner
2013-07-25  4:15   ` Dave Chinner
2013-07-30 20:26   ` XFS undeletable files. (3.11rc3) Dave Jones
2013-07-30 20:26     ` Dave Jones
2013-07-31  6:11     ` Markus Trippelsdorf [this message]
2013-07-31  6:11       ` Markus Trippelsdorf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130731061129.GA354@x4 \
    --to=markus@trippelsdorf.de \
    --cc=davej@redhat.com \
    --cc=david@fromorbit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.