xfs
[Top] [All Lists]

Re: xfsrestore assertion failure

To: Steve Roseman <sgr0@xxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
Subject: Re: xfsrestore assertion failure
From: Seth Mos <seth@xxxxxxxx>
Date: Thu, 02 Aug 2001 22:40:11 +0200
In-reply-to: <3B698AEA.5A40D3D6@xxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
At 13:16 2-8-2001 -0400, Steve Roseman wrote:
>   # xfsrestore -t -f /dev/st0
>....
>   xfsrestore: examining media file 1
>   xfsrestore: seeking past media file directory dump
>   xfsrestore: drive_scsitape.c:1461: do_next_mark: Assertion
>    `rechdrp->first_mark_offset - rechdrp->file_offset <= ( off64_t )
>   ( contextp->dc_recsz )' failed.
>   Aborted (core dumped)

The following fix seems to resolve the problem.  xfsrestore -t works, at
least.  (I'll try a real restore later.) I suspect the problem is in
endian-converting first_mark_offset, maybe when it contains the value
-1.

Possibly this fix will make the dumps compatible with IRIX, but I
suspect few will mind.

I suspect more since this means that people migrating from Irix can still read their backups.
I know I would be happy if you could still restore your backup.

Cheers
--
Seth
Every program has two purposes one for which
it was written and another for which it wasn't
I use the last kind.


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