[Top] [All Lists]

Re: xfsrestore problems

To: John Kihonge <mkulima@xxxxxxx>
Subject: Re: xfsrestore problems
From: Charles Shannon Hendrix <shannon@xxxxxxxxxxxxx>
Date: Mon, 20 May 2002 16:31:36 -0400
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3CE91559.D5D36B75@sgi.com>
References: <20020511205125.GD4462@widomaker.com> <20020516020938.GB10343@widomaker.com> <3CE3D3CF.7DBAF8A9@sgi.com> <200205162151.07376.hasch@t-online.de> <20020517000623.GA13675@widomaker.com> <3CE53102.2B550CF8@sgi.com> <20020517181451.GC13880@widomaker.com> <3CE91559.D5D36B75@sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.99i
On Mon, May 20, 2002 at 10:25:14AM -0500, John Kihonge wrote:

> > xfsrestore: examining media file 3
> > xfsrestore: seeking past media file directory dump
> > xfsrestore: drive_scsitape.c:1507: do_next_mark: Assertion
> > `rechdrp->first_mark_offset - rechdrp->file_offset <= ( off64_t )(
> > contextp->dc_recsz )' failed.
> > Aborted
> >
> If the problem is just the assertion one, it maybe that you are restoring an
> old dump (dumped prior to a fix for xfsdump-1.1.10 of 10th December 2001).
> The mail archive:
>   http://marc.theaimsgroup.com/?l=linux-xfs&m=101435725816823&w=2 has an
>   explanation of the problem and the suggested fix to allow one to restore
>   such a dump.
> I hope that will fix the problem.

I made the recommended change to common/xlate.c, removing the
first_mark_offset endian conversion.

No joy:

xfsrestore: restoring non-directory files
xfsrestore: examining media file 8
xfsrestore: seeking past media file directory dump
xfsrestore: drive_scsitape.c:1481: do_next_mark: Assertion
`rechdrp->first_mark_offset != 0' failed.

I then made the recommended changes to 2.01 of xfsdump drive_scsitape.c.
The change was for 1.5, but the file looks about the same.  The
modification goes just before the failing assertion listed in the
error above.

The results from running this version is:

...the same exact error.


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