public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: lord worm <cryptopsy@live.com>
Cc: xfs@oss.sgi.com
Subject: Re: how to decode metadump info produced by xfs_db, and superblock error
Date: Mon, 31 Jan 2011 14:51:31 +1100	[thread overview]
Message-ID: <20110131035131.GI21311@dastard> (raw)
In-Reply-To: <SNT130-w32CA503F4940DD51CBE1A3DAE20@phx.gbl>

On Sun, Jan 30, 2011 at 08:21:19PM -0500, lord worm wrote:
> > Date: Mon, 31 Jan 2011 08:40:26 +1100
> > From: david@fromorbit.com
> > To: cryptopsy@live.com
> > Subject: Re: how to decode metadump info produced by xfs_db, and superblock error
> > 
> > On Sun, Jan 30, 2011 at 11:33:53AM -0500, lord worm wrote:
> > > > Date: Sun, 30 Jan 2011 18:16:30 +1100
> > > > From: david@fromorbit.com
> > > > To: cryptopsy@live.com
> > > > CC: xfs@oss.sgi.com
> > > > Subject: Re: how to decode metadump info produced by xfs_db, and superblock error
> > > > 
> > > > On Sat, Jan 29, 2011 at 07:25:10PM -0500, lord worm wrote:
> > > > > 
> > > > > What kind of information is in this file produced by metadump, is it worth reading it somehow?
> > > > > 
> > > > > I'm trying to first understand what's causing a 'superblock cannot
> > > > > be read' error in my XFS after a succesfully dd of the partition
> > > > > (dd succeeds in copying to a file, and also restoring, but after
> > > > > restoring it cannot mount).
> > > > 
> > > > dmesg output when the mount fails?
> > > 
> > > Could you email the mailing list next time as well, so that my
> > > forwards are directed towards everyone, please?
> > 
> > I did:
> > 
> > http://oss.sgi.com/archives/xfs/2011-01/msg00486.html
> > 
> > As for list ettiquette - please don't top post and wrap all you text
> > except for code and pasted log messages at 72 columns.....

Fixed that for you again.

> > > Here's dmesg from the backup file, but I don't have it from the original disk after restoring it:
> > > 
> > > [  362.685464] attempt to access beyond end of device
> > > [  362.685468] loop5: rw=0, want=15662872, limit=15661056
> > > [  362.685473] I/O error in filesystem ("loop5") meta-data dev loop5 block 0xeeff17       ("xfs_read_buf") error 5 buf count 512
> > > [  362.685478] XFS: size check 2 failed
> > 
> > Simple problem - you copied the filesystem back onto a device that
> > is too small for the filesystem.
> 
> When I reply to this email, it defaults to david@fromorbit.com, so
> how will the others see it?

Reply to all. It's common courtesy to reply to everyone on the
cc-list for mailing list traffic as it often contains people not
subscribed to the mailing list (e.g. a person reporting a bug).

I've added the xfs list back onto the cc-list.

> I can't mount the direct dd image of the drive as a loop device
> either by the same error.

Which means you probably didn't copy the entire drive in the first
place.

> The error persists even when its not
> the filesystem that was copied back onto the device. Additionally,
> its the exact same device with the exact same partition type
> created by the exact same version of disk.

partition type doesn't matter - the size does. The above error
indicates that the loop device is 1816 sectors (908kiB) shorter than
it needs to be, so maybe you aren't recreating the partition as
large as it needs to be, too....

As it is, the question I have at this point is why are you trying to
copy the filesystem via dd? if all you want is an image, xfs_copy is
probably what you want....

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      parent reply	other threads:[~2011-01-31  3:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-30  0:25 how to decode metadump info produced by xfs_db, and superblock error lord worm
2011-01-30  0:48 ` FW: " lord worm
2011-01-30  0:56 ` Stan Hoeppner
2011-01-30  7:16 ` Dave Chinner
     [not found]   ` <SNT130-w23319C8BC652352929903ADAE30@phx.gbl>
     [not found]     ` <20110130214026.GF21311@dastard>
     [not found]       ` <SNT130-w32CA503F4940DD51CBE1A3DAE20@phx.gbl>
2011-01-31  3:51         ` Dave Chinner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110131035131.GI21311@dastard \
    --to=david@fromorbit.com \
    --cc=cryptopsy@live.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox