xfs
[Top] [All Lists]

Re: xfs_repair refuse to repair my corrupted xfs partition

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: xfs_repair refuse to repair my corrupted xfs partition
From: "Vitaly V. Ch" <vitaly.v.ch@xxxxxxxxx>
Date: Tue, 27 Jan 2009 10:23:53 +0200
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=C3Y/eKr6jPTnyFip3Ol7XBUNhSoot4+Lh8caDP1NZ6U=; b=gX3tiUUHKOxKmIKK2sNfSX5iOefHakobV+BsUcuYBKTIuuZthsSH+B+ZXG1+QDbsHu ykJ++01YFetCz8haMWqyUDGb/FW8DCWWve8052/3b5xjYB4nJSb//Pk/8eZ/6LriBthi F/Zdm4L+qisN+r1QBKXMHQxuGw/M1v8opZkBw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wIXRTIOsA49BHWuXfs0rBV7VGFfloVXP/L7N8s+yU83Ld013c9wJ14RJpGCLnfp6D0 OMnC0TFEJp9yTz8U1c3m9kqI7W/teoaCMQjU/J8cW4D5niFp30o+uZpvDSjn3Gcb6NfO i4VC2ZjG4HmdK0ByFlSOlA4rplKvB3nZqw+Bg=
In-reply-to: <497E0163.8010207@xxxxxxxxxxx>
References: <6efe08af0901252337m22844fc2yee3cef2a8ed8ac6@xxxxxxxxxxxxxx> <497E0163.8010207@xxxxxxxxxxx>
I use xfs_repair version 2.9.7 from slackware 12.1

\\wbr Vitaly Chernookiy

On Mon, Jan 26, 2009 at 8:30 PM, Eric Sandeen <sandeen@xxxxxxxxxxx> wrote:
> 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>