xfs
[Top] [All Lists]

Re: unclean shutdown of usb hdd destroyed xfs partially

To: Xfs <xfs@xxxxxxxxxxx>
Subject: Re: unclean shutdown of usb hdd destroyed xfs partially
From: Marko Weber|8000 <weber@xxxxxxxxxx>
Date: Tue, 16 Sep 2014 23:27:45 +0200
Delivered-to: xfs@xxxxxxxxxxx
Dkim-filter: OpenDKIM Filter v2.9.2 mail.zbfmail.de 8E66710C084
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zbfmail.de; s=dkim; t=1410902865; bh=tEIBvEYi37wHnLmH5O/sMfhMmLcEGq8yzuiN9Sgdmlo=; h=Date:From:To:Subject:Reply-To:In-Reply-To:References; b=iZeKSfApB7RRGtmzKtUFKslrPnGr/j06/bSS3asNXwzrT++xZjAyxMvdfcQi87g90 HgCU7REsTI9EkUrRGPSp+4j1u80nAJdX8drkspY81HYkfLzmizwB78kXnbmY6ObiaJ MKYj3VhVV2dlY2dIgBzOaA538UZOUDLskicApRrE=
In-reply-to: <20140913220916.GC4267@dastard>
Mail-reply-to: weber@xxxxxxxxxx
Organization: zbf mail
References: <3999c95c0dc7ebfdfbb2853a6d13f7dc@xxxxxxxxxx> <082ebd288523ee6155b66debade2a775@xxxxxxxxxx> <20140913220916.GC4267@dastard>
Reply-to: weber@xxxxxxxxxx
User-agent: Roundcube zbfmail Webmail


Am 2014-09-14 00:09, schrieb Dave Chinner:
On Sat, Sep 13, 2014 at 04:36:59PM +0200, Marko Weber|8000 wrote:

an output of  xfs_repair -v -L /dev/sde1
...

 # xfs_repair -v -L /dev/sde1

What version?

first it was 3.1.10
later like posted 3.2.1


Phase 1 - Superblock finden und ÃberprÃfen...
        - Berichts-Prozess in AbstÃnden von 15 Minutes
        - Block-ZwischenspeichergrÃÃe ist auf 1487792 EintrÃge gesetzt
Phase 2 - ein internes Protokoll benutzen
        - Null-Protokoll...
zero_log: head block 40 tail block 40
        - freier Speicher und Inode-Karten des Dateisystems werden
gescannt...
bad magic numberbad magic numberbad magic number
....
falscher on-disk-Superblock 12 - falsche Magische Nummer
Metadata corruption detected at block
0x20bf8e50/0x1000primÃre/sekundÃrer Superblock-12-Konflikt -
AG-Superblock-Geometrie-Info hat einen Konflikt mit der
Dateisystem-Geometrie
flasche magische # 0x0 fÃr agf 12
falsche Version # 0 fÃr agf 12

Metadata corruption detected at block 0x417f1c90/0x1000
falscher on-disk-Superblock 6 - falsche Magische Nummer
primÃre/sekundÃrer Superblock-6-Konflikt -
AG-Superblock-Geometrie-Info hat einen Konflikt mit der
Dateisystem-Geometrie
falscher on-disk-Superblock 3 - falsche Magische Nummer
ungenutzten Anteil des ÂsekundÃrÂ-Superblocks nullen (AG #6)
Metadata corruption detected at block 0x57542610/0x1000
falsche Sequenz # 0 fÃr agf 12
Metadata corruption detected at block
0x7813b450/0x1000Speicherzugriffsfehler

I don't read german(?) but that looks like many AG header block
have been overwritten with zeros (0 magic number, 0 sequence #, 0
length, etc) and so even if we can repair the filesystem, I'd
suggest that you need to verify that the data in every file in the
filesystem is correct.

Is that as far as xfs_repair got? If so, it would have appeared to
crash.  Can you run the lastest version inside gdb to get a stack
trace when it dies? Or, alternatively, provide a metadump for one of
us to look at more closely?

yes, this is as far xfs_repair got it.
what is ment 'run latest version in gdb?' gnudebugger? how do i do that? console example needed.
and how do i do the metadump?

thank you

marko

Cheers,

Dave.

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