xfs
[Top] [All Lists]

xfs_repair on a 1.5 TiB image has been hanging for about an hour, now

To: xfs@xxxxxxxxxxx
Subject: xfs_repair on a 1.5 TiB image has been hanging for about an hour, now
From: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
Date: Fri, 12 Feb 2010 15:07:21 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=0msQ6KfOaxWDe3+8WxT81ieZIRZ5Q5w5j8k2/bM48zE=; b=vm9N9Ch50xcTQ80ciAwCILrWcaQ4fcQtmdAR48cZkyIE19oPx+JjwZW7jevpKz90zn wntJfuIdrwj4mTFYT2ocR+2D6a6+O5HexIqaPg0+Zu6b3uwgRdi+J1hUrfctP6zpouB2 Zx63CklCRfCrDhSGXD2STtHhXgTpjdzuInRdo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XgU4PuOI/hl6IU+gbzTtHuDhDoIFsBSBbcwJnSWiB4qu4JktnswTcuCB/CdaPNJPTa /nmxxv+bU56fargWCxvAxRXEC1rr5Ebml04Jxidk2bLGtY1TnWrp0ggVqtyOnH8gPUpW g649r7E/8RhyqFhiF+bHH2YpRwKWckiWfryXs=
Hi all,

one of our RAIDs recovered into an inconsistant state and I need to get
back what data I can.

All steps taken happened and will continue to happen under Linux with
either Debian and/or grml.

The XFS file system that can not be mounted is in a partition which is
1.5 TiB in size.
I put an additional 2 TiB drive and used dd_rescue to copy over what the
RAID presents as one large block device.

I then ran kpartx on the image to create the appropriate devices in
/dev/mapper.

As the metadata was corrupt, I ran xfs_metadump -g and -go to have a
personal backup and one I could give out if needed.

I then ran xfs_repair -L /dev/mapper/loop1p3 which has not been making
any progress for the last hour.
I don't see much load in ways of CPU or i/o, yet there is literally no
progress at all. I am hanging at:


no . entry for directory 39756
no .. entry for directory 39756
problem with directory contents in inode 39756
cleared inode 39756
data fork in ino 39771 claims free block 8391321
bad directory block magic # 0x58443242 in block 0 for directory inode 39771
corrupt block 0 in directory inode 39771
        will junk block
no . entry for directory 39771
no .. entry for directory 39771
problem with directory contents in inode 39771
cleared inode 39771
data fork in ino 39774 claims free block 44122
data fork in ino 39774 claims free block 8432730
bad directory block magic # 0x1f1f1f1f in block 0 for directory inode 39774
corrupt block 0 in directory inode 39774
        will junk block
no . entry for directory 39774
no .. entry for directory 39774
problem with directory contents in inode 39774
cleared inode 39774
multiple . entries in directory inode 39816: clearing entry
multiple .. entries in directory inode 39816: clearing entry
bad directory block magic # 0x58443244 in block 0 for directory inode 39840
corrupt block 0 in directory inode 39840
        will junk block
no . entry for directory 39840
no .. entry for directory 39840
problem with directory contents in inode 39840
cleared inode 39840
bad . entry in directory inode 39909, was 45188: correcting
data fork in ino 40102 claims free block 8400946
ab3e1b90: Badness in key lookup (length)
bp=(bno 258176, len 8192 bytes) key=(bno 258176, len 4096 bytes)
ab3e1b90: Badness in key lookup (length)
bp=(bno 258224, len 8192 bytes) key=(bno 258224, len 4096 bytes)


Is there any way to read out the current state of xfs_repair and tell
what it is doing and when it will finish? I am aware that the end time
is impossible to predict, I am just looking for ballpark figures.


Thanks a _lot_ for any and all help,
Richard

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