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.
--
UNIX/Perl/C/Pizza__________________________________shannon@xxxxxxxxxxxxx
|