xfs
[Top] [All Lists]

Re: xfsrestore fails: assertion failure in do_next_mark

To: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>
Subject: Re: xfsrestore fails: assertion failure in do_next_mark
From: unruh@xxxxxxx
Date: Thu, 31 Jan 2002 19:58:02 +0100 (CET)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3C58FAB9.D940E9B8@ch.sauter-bc.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
On 31-Jan-2002 Simon Matter wrote:

> IIRC I got the same error some months ago when trying to restore from a
> DDS2 DAT drive. On the same system restoring from DLT was okay. I didn't
> try again but I guess this bug is still not fixed :-(

After some reading of the mailing list archives, I added the following at 
line 1481 in drive_scsitape.c (version 1.5):

   rechdrp->first_mark_offset =
         INT_GET(rechdrp->first_mark_offset,ARCH_CONVERT);


The patched xfsrestore can read the damaged backup, but will probably be unable
to read backups from newer versions of xfsdump. 



--------------------------------------
   Daniel Unruh       unruh@xxxxxxx
 http://www.freiburg.linux.de/~unruh/
--------------------------------------
"We are the most ripped-off company around..." - Bill Gates, 1980


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