mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Marco Berizzi" <pupilla@hotmail.com>
To: "Dave Chinner" <david@fromorbit.com>
Cc: <linux-kernel@vger.kernel.org>, <xfs@oss.sgi.com>
Subject: Re: XFS: 2.6.26-rc6 link count mismatch for inode
Date: Thu, 19 Jun 2008 10:20:56 +0200	[thread overview]
Message-ID: <BAY103-DAV10F6F255F26103152B312EB2AA0@phx.gbl> (raw)
In-Reply-To: <20080619041441.GW3700@disturbed>

Dave Chinner wrote:

> Yeah, it sounds like the I/O subsystem hung somewhere. Without
> details I can't say what went wrong. If it happens again doing
> this:
>
> # echo w > /proc/sysrq-trigger

ok, thanks for the tip.

> To get a dump of all the blocked processes on the console. That
> may contain enough info to tell us what the problem is.
>
> Sure, go ahead and fix it up.

right now, I'm not able to reproduce the bug anymore.
Thanks for the support Dave.
BTW, this is the xfs_repair output:

Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
        - scan filesystem freespace and inode maps...
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
b77dcb90: Badness in key lookup (length)
bp=(bno 5280, len 16384 bytes) key=(bno 5280, len 8192 bytes)
imap claims a free inode 70353 is in use, correcting imap and clearing
inode
cleared inode 70353
imap claims a free inode 98831 is in use, correcting imap and clearing
inode
cleared inode 98831
b5659b90: Badness in key lookup (length)
bp=(bno 5655872, len 16384 bytes) key=(bno 5655872, len 8192 bytes)
        - agno = 1
b4bffb90: Badness in key lookup (length)
bp=(bno 10238304, len 16384 bytes) key=(bno 10238304, len 8192 bytes)
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
imap claims a free inode 85450805 is in use, correcting imap and
clearing inode
cleared inode 85450805
imap claims a free inode 85450806 is in use, correcting imap and
clearing inode
cleared inode 85450806
imap claims a free inode 85450807 is in use, correcting imap and
clearing inode
cleared inode 85450807
imap claims a free inode 85450808 is in use, correcting imap and
clearing inode
cleared inode 85450808
imap claims a free inode 85450809 is in use, correcting imap and
clearing inode
cleared inode 85450809
        - agno = 6
        - agno = 7
        - agno = 8
        - agno = 9
        - agno = 10
        - agno = 11
        - agno = 12
        - agno = 13
        - agno = 14
        - agno = 15
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 1
entry ".deps" in shortform directory 19893187 references free inode
70353
junking entry ".deps" in directory inode 19893187
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
entry "CVS" in shortform directory 67179727 references free inode
85450805
junking entry "CVS" in directory inode 67179727
        - agno = 6
        - agno = 7
        - agno = 8
        - agno = 9
        - agno = 10
        - agno = 11
        - agno = 12
        - agno = 13
        - agno = 14
        - agno = 15
Phase 5 - rebuild AG headers and trees...
        - reset superblock...
Phase 6 - check inode connectivity...
        - resetting contents of realtime bitmap and summary inodes
        - traversing filesystem ...
        - traversal finished ...
        - moving disconnected inodes to lost+found ...
disconnected inode 10573, moving to lost+found
disconnected inode 18086534, moving to lost+found
disconnected inode 18086535, moving to lost+found
disconnected inode 34026152, moving to lost+found
Phase 7 - verify and correct link counts...
resetting inode 19893187 nlinks from 3 to 2
resetting inode 67179727 nlinks from 3 to 2
done



      reply	other threads:[~2008-06-19  8:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16  9:11 Marco Berizzi
2008-06-18 16:12 ` Dave Chinner
2008-06-18 16:39   ` Marco Berizzi
2008-06-19  4:14     ` Dave Chinner
2008-06-19  8:20       ` Marco Berizzi [this message]

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=BAY103-DAV10F6F255F26103152B312EB2AA0@phx.gbl \
    --to=pupilla@hotmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®