From: Peter Palfrader <peter@palfrader.org>
To: xfs@oss.sgi.com
Cc: 387057@bugs.debian.org
Subject: Re: Bug#387057: xfsprogs: repeated xfs_repair does not fix the filesystem
Date: Fri, 15 Sep 2006 05:10:21 +0200 [thread overview]
Message-ID: <20060915031021.GT5221@asteria.noreply.org> (raw)
In-Reply-To: <200609140157.LAA22186@larry.melbourne.sgi.com>
On Thu, 14 Sep 2006, Barry Naujok wrote:
> > Still, xfs_check reported:
> > => link count mismatch for inode 400254 (name ?), nlink 0, counted 2
> > => link count mismatch for inode 4239409 (name ?), nlink 0, counted 2
> > => link count mismatch for inode 8388736 (name ?), nlink 39,
> > counted 38
> >
> > Further runs of xfs_repair didn't bring any change. On the root
> > filesystem the results are much the same, but xfs_check reports:
> > => sb_ifree 3042, counted 3041
> >
> > I read that xfs_check is being obsoleted in the future, but not sure
> > which program to trust. Are my filesystems healthy or not?
>
> This has been reported before, can you try running an older xfsprogs before
> 2.8.10 and see how that goes? I think with the dir2 fixes, the nlink stuff
> might be a tad broken. I'll also look into it from my end.
I have just had a similar problem. xfs_repair 2.8.11 did its stuff,
moving a few items into lost+found in the process. After mounting,
trying to rmdir the directories under lost+found the filesystem was shut
down immediately again:
| [ 434.590246] Ending clean XFS mount for filesystem: md0
| [ 447.677811] xfs_inotobp: xfs_imap() returned an error 22 on md0. Returning error.
| [ 447.678090] xfs_iunlink_remove: xfs_inotobp() returned an error 22 on md0. Returning error.
| [ 447.678383] xfs_inactive: xfs_ifree() returned an error = 22 on md0
| [ 447.678605] xfs_force_shutdown(md0,0x1) called from line 1763 of file fs/xfs/xfs_vnodeops.c. Return address = 0xffffffff803ca50a
| [ 447.678986] Filesystem "md0": I/O Error Detected. Shutting down filesystem: md0
Downgrading xfsprogs to 2.6.20 solves the issue:
} [...]
} Phase 7 - verify and correct link counts...
} resetting inode 789921 nlinks from 0 to 2
} resetting inode 4290022 nlinks from 0 to 2
} resetting inode 4290023 nlinks from 0 to 2
} resetting inode 4290024 nlinks from 0 to 2
} resetting inode 4290025 nlinks from 0 to 2
} [..]
} resetting inode 59501189 nlinks from 0 to 2
} resetting inode 63698112 nlinks from 0 to 2
} resetting inode 63698118 nlinks from 0 to 2
} done
Now my filesystem appears functional again. If you need any more info,
I still have an image of the filesystem prior to the treatment with
2.6.20.
Cheers,
Peter
--
| .''`. ** Debian GNU/Linux **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
next prev parent reply other threads:[~2006-09-15 5:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060911223008.5160.98142.reportbug@szonett.ki.iif.hu>
[not found] ` <20060912085025.A3552962@wobbly.melbourne.sgi.com>
2006-09-13 9:46 ` Bug#387057: xfsprogs: repeated xfs_repair does not fix the filesystem Ferenc Wagner
2006-09-14 2:03 ` Barry Naujok
2006-09-15 3:10 ` Peter Palfrader [this message]
2006-09-15 11:41 ` Ferenc Wagner
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=20060915031021.GT5221@asteria.noreply.org \
--to=peter@palfrader.org \
--cc=387057@bugs.debian.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