xfs
[Top] [All Lists]

Re: how cant I rebuild the superblock

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: how cant I rebuild the superblock
From: Sven Gehr <sven@xxxxxxxxxxxxx>
Date: Fri, 1 Apr 2005 04:02:37 +0200 (CEST)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20050401114405.I3561661@wobbly.melbourne.sgi.com>
Organization: dreampixel
References: <20050330190118.GA12758@taniwha.stupidest.org> <12241337.1112210187657.OPEN-XCHANGE.WebMail.wwwrun@postgirl> <20050330192000.GA13002@taniwha.stupidest.org> <120224.1112215280479.OPEN-XCHANGE.WebMail.wwwrun@postgirl> <424B124B.3070706@xfs.org> <20000831.1112216715240.OPEN-XCHANGE.WebMail.wwwrun@postgirl> <424B1EDF.6060508@xfs.org> <19480755.1112223834401.OPEN-XCHANGE.WebMail.wwwrun@postgirl> <20050330235545.GD867@frodo> <21360867.1112254529460.OPEN-XCHANGE.WebMail.wwwrun@postgirl> <20050401114405.I3561661@wobbly.melbourne.sgi.com>
Reply-to: sven@xxxxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
Am Fr 01.04.2005 03:44 schrieb Nathan Scott <nathans@xxxxxxx>:
> On Thu, Mar 31, 2005 at 09:35:29AM +0200, Sven Gehr wrote:
> > Am Do 31.03.2005 01:55 schrieb Nathan Scott <nathans@xxxxxxx>:



> > > You can dump the inode by pointing xfs_db at the device:
> > > # xfs_db -r -c 'inode 134762498' -c 'print' /dev/mdXXX
> > 
> > core.format = 3 (btree)
> > core.size = 74027919512570268
> > core.nblocks = 0
> > core.dmevmask = 0x38020000
> > core.dmstate = 273
> 
> These all look pretty wierd... I'd start with reseting all these to
> sane default values, then run repair again.  I created a file like
> yours, and repair was OK with it, so possibly there'll be some other
> issues - send me the repair output if it still fails after resetting.
> So, the db commands would be something like:
> 
> # xfs_db -x /dev/mdXXX
> xfs_db> inode 134762498
> xfs_db> write core.format 2
> xfs_db> write core.size 0
> xfs_db> write core.dmevmask 0
> xfs_db> write core.dmstate 0
> xfs_db> quit
> 
> then run xfs_repair again and see how that goes.

after this xfs_repair give me the the same error in an other inode.
Yesterday I test this with all the inodes (apply on a dd image) but I
was only set 'write core.format 2'

After 25 steps with this error the xfs_repair was finishd. I mount the
imgae an look in. There was no directory with data. Only lost+found with
7GB files an directorys looks like 12312312312

sven


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