xfs
[Top] [All Lists]

Re: xfs_repair refuse to repair my corrupted xfs partition

To: "Vitaly V. Ch" <vitaly.v.ch@xxxxxxxxx>
Subject: Re: xfs_repair refuse to repair my corrupted xfs partition
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Mon, 26 Jan 2009 12:30:59 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <6efe08af0901252337m22844fc2yee3cef2a8ed8ac6@xxxxxxxxxxxxxx>
References: <6efe08af0901252337m22844fc2yee3cef2a8ed8ac6@xxxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.19 (X11/20090105)
Vitaly V. Ch wrote:
> Hi All!

...

> #xfs_repai /dev/loop0
> 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
> entry "" in shortform directory 128 references invalid inode 0
> zero length entry in shortform dir 128, junking 3 entries
> corrected entry count in directory 128, was 3, now 0
> corrected directory 128 size, was 69, now 6
> bogus .. inode number (0) in directory inode 128, clearing inode number
> xfs_repair: dir2.c:2133: process_dir2: Assertion `(ino !=
> mp->m_sb.sb_rootino && ino != *parent) || (ino == mp->m_sb.sb_rootino
> && (ino == *parent || need_root_dotdot == 1))' failed.
> 
> 
> What I can do for repair my data? There was no hardware failure

you haven't said what version of xfs_repair you're using; if you are not
using the latest (2.10.2) please try that first.

-Eric

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