From: Ferenc Wagner <wferi@niif.hu>
To: Nathan Scott <nathans@debian.org>
Cc: 387057@bugs.debian.org, xfs@oss.sgi.com
Subject: Re: Bug#387057: xfsprogs: repeated xfs_repair does not fix the filesystem
Date: Wed, 13 Sep 2006 11:46:08 +0200 [thread overview]
Message-ID: <87zmd4jdzz.fsf@tac.ki.iif.hu> (raw)
In-Reply-To: <20060912085025.A3552962@wobbly.melbourne.sgi.com> (Nathan Scott's message of "Tue, 12 Sep 2006 08:50:25 +1000")
Nathan Scott <nathans@debian.org> writes:
> On Tue, Sep 12, 2006 at 12:30:08AM +0200, Ferenc Wagner wrote:
>> Package: xfsprogs
>> Version: 2.8.11-1
>> Severity: normal
>>
>> I guess my problem is rooted in the 'well known' 2.6.17 error, or maybe
>> not. Anyway, my experience under a current Sid system is that
>> xfs_repair does not fix my filesystem. It does something, as the first
>> two runs produced slightly different outputs, but the further runs did
>> not. I've got similar problems on two filesystems:
>
> Try moving aside the contents of lost+found after the first run,
> and see if the problems persist.
After renaming lost+found to l+f, xfs_repair didn't report any
errors:
=> 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
=> - agno = 1
=> - agno = 2
=> - agno = 3
=> - agno = 4
=> - agno = 5
=> - agno = 6
=> - agno = 7
=> - process newly discovered inodes...
=> Phase 4 - check for duplicate blocks...
=> - setting up duplicate extent list...
=> - clear lost+found (if it exists) ...
=> - check for inodes claiming duplicate blocks...
=> - agno = 0
=> - agno = 1
=> - agno = 2
=> - agno = 3
=> - agno = 4
=> - agno = 5
=> - agno = 6
=> - agno = 7
=> Phase 5 - rebuild AG headers and trees...
=> - reset superblock...
=> Phase 6 - check inode connectivity...
=> - resetting contents of realtime bitmap and summary inodes
=> - ensuring existence of lost+found directory
=> - traversing filesystem starting at / ...
=> - traversal finished ...
=> - traversing all unattached subtrees ...
=> - traversals finished ...
=> - moving disconnected inodes to lost+found ...
=> Phase 7 - verify and correct link counts...
=> done
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?
--
Thanks,
Feri.
(Please Cc: me, I'm not subscribed to the xfs mailing list.)
next parent reply other threads:[~2006-09-13 10:46 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 ` Ferenc Wagner [this message]
2006-09-14 2:03 ` Bug#387057: xfsprogs: repeated xfs_repair does not fix the filesystem Barry Naujok
2006-09-15 3:10 ` Peter Palfrader
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=87zmd4jdzz.fsf@tac.ki.iif.hu \
--to=wferi@niif.hu \
--cc=387057@bugs.debian.org \
--cc=nathans@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