[Top] [All Lists]

Re: xfs_repair breaks; xfs_metadump hangs

To: Russell Cattelan <cattelan@xxxxxxxxxxx>
Subject: Re: xfs_repair breaks; xfs_metadump hangs
From: mill / in-medias-res <mill@xxxxxxxxxxxxxxxxx>
Date: Mon, 9 Nov 2009 10:19:15 +0100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4AF4A66B.8090906@xxxxxxxxxxxxxxxx>
References: <20091104152022.GA21347@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4AF4A66B.8090906@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
> 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?

> 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@xxxxxxxxxxx
>> http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>