xfs
[Top] [All Lists]

xfsrestore dumps core

To: linux-xfs <linux-xfs@xxxxxxxxxxx>
Subject: xfsrestore dumps core
From: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>
Date: Thu, 23 Aug 2001 14:39:20 +0200
>received: from mobile.sauter-bc.com (unknown [10.1.6.21]) by basel1.sauter-bc.com (Postfix) with ESMTP id BCAE357306 for <linux-xfs@xxxxxxxxxxx>; Thu, 23 Aug 2001 14:39:20 +0200 (CEST)
Organization: Sauter AG, Basel
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

I was just trying to xfsdump and -restore some files on my test system
and I get a core dump while restoring.
The system is PII/400, 256MB, IDE disk, DLT1 tape drive /DELL PowerVault
110T). RH XFS 1.0.1 release, newest command rpms, including
xfsdump-1.1.3-0.

BTW /dev/tape is a link to /dev/st0

I did the dump with:
xfsdump -f /dev/tape -l 0 -s home -o -L session1 -M medium1 /

No problems so far, then is tried restore with:
[root@looser /root]# xfsrestore -f /dev/tape xfsrestore
xfsrestore: version 3.0 - Running single-threaded
xfsrestore: searching media for dump
xfsrestore: preparing drive
xfsrestore: examining media file 0
 
 =========================== dump selection dialog
============================
 
the following dump has been found on drive 0
 
hostname: looser.cad.sba
mount point: /
volume: /dev/hda8
session time: Thu Aug 23 13:33:34 2001
level: 0
session label: "session1"
media label: "medium1"
file system id: 5ca101b0-8da5-11d5-9fc7-0060974fc952
session id: e1a56db0-c31e-45f2-91c1-313c6fe29fb7
media id: 1f9cfa70-b0bf-48e5-ae30-db7c8f4a9609
 
restore this dump?
1: skip
2: restore (default)
 -> 2
this dump selected for restoral
 
 --------------------------------- end dialog
---------------------------------
 
xfsrestore: using online session inventory
xfsrestore: searching media for directory dump
xfsrestore: reading directories
xfsrestore: directory post-processing
xfsrestore: restoring non-directory files
xfsrestore: examining media file 1
xfsrestore: seeking past media file directory dump
xfsrestore: drive_scsitape.c:1492: do_next_mark: Assertion
`rechdrp->first_mark_offset - rechdrp->file_offset <= ( off64_t )(
contextp->dc_recsz )' failed.
Aborted (core dumped)

I saw some discussion about this some weeks ago on this list but I was
wondering it's not yet fixed or I'm doing something completly wrong ?
How are others doing dumps AND restore via DLT drives?

-Simon

-- 
Simon Matter              Tel:  +41 61 695 57 35
Fr.Sauter AG / CIT        Fax:  +41 61 695 53 30
Im Surinam 55
CH-4016 Basel             [mailto:simon.matter@xxxxxxxxxxxxxxxx]



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