From: Dave Chinner <david@fromorbit.com>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: xfs@oss.sgi.com
Subject: Re: Question: Old Irix tape backup. Recovery on Linux (xfsdump/xfsrestore)
Date: Fri, 1 Jul 2016 08:07:37 +1000 [thread overview]
Message-ID: <20160630220737.GS12670@dastard> (raw)
In-Reply-To: <dc20d8ae-d57f-53f1-72b8-d623529c695b@sandeen.net>
On Thu, Jun 30, 2016 at 12:04:07PM -0500, Eric Sandeen wrote:
>
>
> On 6/30/16 11:59 AM, Anthony l wrote:
> > I don't think this is a multi tape dump. But then again i don't know for sure. I recently got a job and this is my first 'project'. I have about 10 tapes each are labeled a month and a year, so I don't think they are multi tape because they span like 3 years 2004-2007 . Although for the current tape I am working on right now if I select 1 skip, I'll get to another back up labeled "incremental backup 1" or something similar. Using the verbosity output here is what I got. (also using interactive restore). I went ahead and specified byte size 4096. Through earlier test using the dd command I determined that was the correct size. Ill post one without byte size specified too. I just saw it in that post and thought it might help.
> >
> > Here is the output with verbosity.
> >
> > http://pastebin.com/Nd6BqNc5
> >
> > The out is the same with or without -b 4096.
> >
> > http://pastebin.com/0dxbCvyc (no -b)
>
>
> interactively restore from this dump?
> 1: skip
> 2: interactively restore
> (default)
> ->2
> ++++================++++
> missing some stuff------
>
> ^^^ is that your comment, or actual output?
>
> Looks like it eventually encountered a short read:
>
> xfsrestore: drive op: read: wanted 131072 (0x20000)
> xfsrestore: tape op: reading 245760 bytes
> xfsrestore: tape op read of 245760 bytes short: nread == 4096
> xfsrestore: tape op: get status
> xfsrestore: tape status = wprot onl
> xfsrestore: short read record 1 (nread == 4096)
> xfsrestore: drive op read returning error rval=1
>
> in dmesg, is there any sort of IO error from the tape?
So xfs_reatore is wanting to find the session inventory in that
last media file, and it would appear that it isn't there or shorter
than expected. A tape problem, perhaps? Have you tried running
xfs_restore using the minimal tape protocol (-m)?
Another option is to try to restore the dump files from tape to a
local file on disk and see if that can be parsed instead.
The other thing you might want to do is upgrade xfsdump to the
latest version - you're running 3.1.1 and the current version is
3.1.6. I doubt it will change the behaviour, but at least it will
give us something to work from...
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2016-06-30 22:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-29 18:48 Question: Old Irix tape backup. Recovery on Linux (xfsdump/xfsrestore) Anthony l
2016-06-29 19:29 ` Eric Sandeen
2016-06-29 22:17 ` Dave Chinner
2016-06-30 15:35 ` Anthony l
2016-06-30 16:11 ` Eric Sandeen
2016-06-30 16:59 ` Anthony l
2016-06-30 17:04 ` Eric Sandeen
2016-06-30 17:39 ` Anthony l
2016-06-30 22:07 ` Dave Chinner [this message]
2016-07-01 4:44 ` Andrew Ho
2016-07-01 18:23 ` Anthony l
2016-07-01 19:28 ` Roger Willcocks
2016-07-05 17:01 ` Anthony l
2016-07-04 0:15 ` Dave Chinner
2016-07-05 18:21 ` Roger Willcocks
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=20160630220737.GS12670@dastard \
--to=david@fromorbit.com \
--cc=sandeen@sandeen.net \
--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