xfs
[Top] [All Lists]

RE : xfs_repair fails with corrupt dinode

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: RE : xfs_repair fails with corrupt dinode
From: "SCHEFFER, Philippe" <Philippe.SCHEFFER@xxxxxxxx>
Date: Fri, 30 Jan 2015 01:42:07 +0100
Accept-language: fr-FR
Acceptlanguage: fr-FR
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20150129231538.GE6282@dastard>
References: <587A9635632B174A943E53AF3B58A9082E3BE068CE@vanda>,<20150129231538.GE6282@dastard>
Thread-index: AdA8I9XfuAr7pHCLS7KV1o8AqkxJFgAAMKdx
Thread-topic: xfs_repair fails with corrupt dinode
xfs_repair -p log in attached file.

Philippe
________________________________________
De : Dave Chinner [david@xxxxxxxxxxxxx]
Date d'envoi : vendredi 30 janvier 2015 00:15
À : SCHEFFER, Philippe
Cc : xfs@xxxxxxxxxxx
Objet : Re: xfs_repair fails with corrupt dinode

On Thu, Jan 29, 2015 at 04:48:15PM +0100, SCHEFFER, Philippe wrote:
> Hi,
>
> I have a corrupted xfs filesytem. When I try to repair I get this error :
> disconnected inode 1427919, moving to lost+found
> corrupt dinode 1427919, extent total = 1, nblocks = 0.  This is a bug.
> Please capture the filesystem metadata with xfs_metadump and
> report it to xfs@xxxxxxxxxxxx
> cache_node_purge: refcount was 1, not zero (node=0x1f6c19620)
>
> fatal error -- 117 - couldn't iget disconnected inode
>
> I captured metada with xfs_metadump but the file is 1,4Gb long. I can't send 
> it to you.
>
> I printed inode1427919 :
>
> xfs_db> inode 1427919
> xfs_db> print
> core.magic = 0x494e
....
> core.format = 2 (extents)
....
> core.size = 2536
> core.nblocks = 1
> core.extsize = 0
> core.nextents = 1
....
> u.bmx[0] = [startoff,startblock,blockcount,extentflag] 0:[0,320660992,1,0]

That's an inode with one extent of one block and looks perfectly
valid. We'll need the entire output of the xfs_repair run to see if
there were any prior actions taken on that inode by xfs_repair....

Cheers,

Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx

Attachment: xfs_repair_P.log.gz
Description: xfs_repair_P.log.gz

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