xfs
[Top] [All Lists]

Re: xfsrestore assertion failure

To: linux-xfs@xxxxxxxxxxx
Subject: Re: xfsrestore assertion failure
From: Ajay Shekhawat <ajay@xxxxxxxxxxxxxxxxx>
Date: Thu, 18 Oct 2001 19:39:10 -0400
In-reply-to: <3B698AEA.5A40D3D6@lehigh.edu>; from sgr0@lehigh.edu on Thu, Aug 02, 2001 at 01:16:26PM -0400
Organization: Center for Document Analysis and Recognition
References: <3B698AEA.5A40D3D6@lehigh.edu>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Aug 02, 2001 at 01:16:26PM -0400, Steve Roseman wrote:
> >   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.  

We just encountered this assertion failure, in xfsdump v1.1.6.
Steve's fix does fix the problem and the restore proceeds, but
I'm wondering if the patch breaks other things. If not, should
the patch be in the official xfsdump distribution?

Ajay


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