From: Russell Cattelan <cattelan@thebarn.com>
To: mill / in-medias-res <mill@in-medias-res.com>
Cc: xfs@oss.sgi.com
Subject: Re: xfs_repair breaks; xfs_metadump hangs
Date: Mon, 09 Nov 2009 19:25:44 -0600 [thread overview]
Message-ID: <4AF8C118.5080903@thebarn.com> (raw)
In-Reply-To: <20091109095126.GA9727@mytux.intra.in-medias-res.com>
[-- Attachment #1: Type: text/plain, Size: 4623 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
mill / in-medias-res wrote:
> * mill / in-medias-res <mill@in-medias-res.com> [091109 10:28]:
>>> Hmm interesting.
>>> Can you go into xfs_db and print out the bad inode? send it to us?
>>> I'm guessing the extents are corrupted somehow.
>> Did you mean "xfs_db -x -c 'blockget inode 3256930831' /dev/sdc2" ?
>> xfs_db consumes 99% of CPU and Virt 2510m RES 194m of RAM.
>>
>> How long should i wait?
I was thinking just the inode
xfs_db -x -c 'inode 3256930831' -c 'p' /dev/sdc2
>>
> Done now:
> xfs_db -x -c 'blockget inode 3256930831' /dev/sdc2 > xfs_db.log :(
> exit code 3
> 338,12s user 12,32s system 49% cpu 11:48,39 total
> The first lines of output:
> bad number of extents 1 for inode 3256930831
> bad nblocks 1 for inode 3256930831, counted 0
> block 9/2317591 type unknown not expected
> link count mismatch for inode 1038934 (name ?), nlink 1, counted 2
> link count mismatch for inode 128 (name ?), nlink 4672, counted 6
> link count mismatch for inode 129 (name ?), nlink 36525, counted 1
> link count mismatch for inode 130 (name ?), nlink 0, counted 1
> link count mismatch for inode 131 (name ?), nlink 0, counted 1
> link count mismatch for inode 132 (name ?), nlink 2, counted 1305238
> link count mismatch for inode 133 (name ?), nlink 0, counted 2
> link count mismatch for inode 134 (name ?), nlink 7144, counted 1
> link count mismatch for inode 135 (name ?), nlink 42666, counted 1
> link count mismatch for inode 136 (name ?), nlink 40424, counted 2
> link count mismatch for inode 137 (name ?), nlink 37040, counted 2
> link count mismatch for inode 138 (name ?), nlink 16, counted 2
> link count mismatch for inode 139 (name ?), nlink 0, counted 2
> link count mismatch for inode 140 (name ?), nlink 20, counted 2
> link count mismatch for inode 141 (name ?), nlink 0, counted 2
> link count mismatch for inode 142 (name ?), nlink 12, counted 2
> link count mismatch for inode 143 (name ?), nlink 62336, counted 2
> link count mismatch for inode 144 (name ?), nlink 3203, counted 2
> link count mismatch for inode 146 (name ?), nlink 27224, counted 2
> link count mismatch for inode 147 (name ?), nlink 41204, counted 2
> link count mismatch for inode 148 (name ?), nlink 21, counted 2
> link count mismatch for inode 149 (name ?), nlink 0, counted 2
> link count mismatch for inode 150 (name ?), nlink 0, counted 2
> link count mismatch for inode 151 (name ?), nlink 0, counted 2
> link count mismatch for inode 152 (name ?), nlink 0, counted 2
> link count mismatch for inode 153 (name ?), nlink 32768, counted 2
> link count mismatch for inode 154 (name ?), nlink 58352, counted 2
> link count mismatch for inode 155 (name ?), nlink 40290, counted 2
> The output is 53 MB big. Tons of link count mismatch for inode ...
Hmm that is not a good sign.
That would suggest a big chunk of inodes go corrupted.
I might be working looking at a few of the inodes and
see if any pattern shows up.
>
>
>>> One option to then flag the inode as deleted which will cause repair to
>>> toss is hopefully clean up the mess.
>>>
>>> Here is a write up how to do that.
>>> http://jijo.free.net.ph/19
>> If i can't get that block i will try with deleting it, Thanks!
>>
>> Best regards,
>> Maximilian Mill
>>>> time: 67,27s user 10,09s system 10% cpu 12:05,31 total
>>>>
>>>> I tried to run xfs_metadump serveral times and it hangs everytime on this position:
>>>> xfs_metadump -g /dev/sdc2 metadump-sdc2-2
>>>> Copied 1411840 of 4835520 inodes (0 of 3 AGs)
>>>>
>>>> It runs till 2 days on the same inode and xfs_db consumes 99% of CPU.
>>>> Should i wait here?
>>>>
>>>> Versions:
>>>> dpkg -l |grep xfs
>>>> ii xfsdump 3.0.2~bpo50+1 Administrative utilities for the XFS filesys
>>>> ii xfsprogs 3.0.4~bpo50+1 Utilities for managing the XFS filesystem
>>>> Distribution: Debian lenny with xfsprogs, xfsdump backport from unstable.
>>>>
>>>> The xfs_repair with stock Debian Lenny version also does crash at inode 3256930831.
>>>>
>>>> Best Regards,
>>>> Maximilian Mill
>>>>
>>>> _______________________________________________
>>>> xfs mailing list
>>>> xfs@oss.sgi.com
>>>> http://oss.sgi.com/mailman/listinfo/xfs
>>>>
>>>>
>>>
>> _______________________________________________
>> xfs mailing list
>> xfs@oss.sgi.com
>> http://oss.sgi.com/mailman/listinfo/xfs
>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkr4wRcACgkQNRmM+OaGhBiOEQCfTiGW5yBzo4mKL6LJlWMPhrCM
F3gAn2MbX5E1RpO1wOQ08ZOxSFq3QoNi
=fVoe
-----END PGP SIGNATURE-----
[-- Attachment #2: cattelan.vcf --]
[-- Type: text/x-vcard, Size: 153 bytes --]
begin:vcard
fn:Russell Cattelan
n:Cattelan;Russell
email;internet:cattelan@thebarn.com
tel;cell:612 805 3144
x-mozilla-html:FALSE
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2009-11-10 1:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 15:20 xfs_repair breaks; xfs_metadump hangs mill / in-medias-res
2009-11-05 0:59 ` Michael Monnerie
2009-11-06 2:27 ` Robert Brockway
2009-11-06 8:57 ` mill / in-medias-res
2009-11-06 9:09 ` mill / in-medias-res
2009-11-06 22:42 ` Russell Cattelan
2009-11-09 9:19 ` mill / in-medias-res
2009-11-09 9:51 ` mill / in-medias-res
2009-11-10 1:25 ` Russell Cattelan [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-05 11:22 mill / in-medias-res
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=4AF8C118.5080903@thebarn.com \
--to=cattelan@thebarn.com \
--cc=mill@in-medias-res.com \
--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.