xfs
[Top] [All Lists]

Re: xfsrestore problem

To: Joe Bacom <joebacom@xxxxxxxxxxxx>
Subject: Re: xfsrestore problem
From: Tim Shimmin <tes@xxxxxxx>
Date: Tue, 27 Aug 2002 16:03:50 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200208231604.MAA27246@xxxxxxxxxxxxxxxxxxxxx>; from joebacom@xxxxxxxxxxxx on Fri, Aug 23, 2002 at 11:01:25AM -0500
References: <200208231604.MAA27246@xxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hi Joe,

On Fri, Aug 23, 2002 at 11:01:25AM -0500, Joe Bacom wrote:
> Hi Folks;
> 
> I am getting a core dump from xfsrestore when restoring from a dump file.  
> Here is the command used to create the dump file:
> 
>  xfsdump -J -f ./datastore/site.dump -s datastore/site /dev/hda7
> 
> and to restore the file on a different machine (I use extended attributes 
> with this filesystem)
> 
> xfsrestore -f site.dump -J /opt/datastore
> 
> The log from xfsrestore is:
> 
> xfsrestore: using file dump (drive_simple) strategy
> xfsrestore: version 3.0 - Running single-threaded
> xfsrestore: searching media for dump
> xfsrestore: examining media file 0
> xfsrestore: dump description: 
> xfsrestore: hostname: pluto.solar.com
> xfsrestore: mount point: /opt
> xfsrestore: volume: /dev/hda7
> xfsrestore: session time: Fri Aug 23 10:27:41 2002
> xfsrestore: level: 0
> xfsrestore: session label: "SiteDump"
> xfsrestore: media label: "Site Dump"
> xfsrestore: file system id: 00000000-0000-0000-0000-000000000000
> xfsrestore: session id: e03654da-1bac-4436-b6a5-3acd1d473932
> xfsrestore: media id: 85f58232-ca3a-4ca6-bedf-c4d690752764
> xfsrestore: searching media for directory dump
> xfsrestore: reading directories
> xfsrestore: 134 directories and 59798 entries processed
> xfsrestore: directory post-processing
> xfsrestore: restoring non-directory files
> xfsrestore: content.c:8532: restore_extattr: Assertion `recsz >= 16' failed.
> Abort (core dumped)
> 
> I have the following versions of xfsdump and xfsprogs
> xfsdump-2.0.0-0
> xfsprogs-2.0.1-0
> xfsprogs-devel-2.0.1-0
> 
> The core file is 47M so I did not attach it.
> 
> Any Ideas?
> 
No.
(The attribute header size field is too small :)

Wild guesses:
Looking at cmd/xfsdump/doc/CHANGES, in xfsdump-2.0.0,
it has:
        - rework all code dealing with extended attributes to use
          the new system calls (requires attr-2.0.0 or greater)
This _may_ have had some effect.
I presume you got no warnings from xfsdump ?
We test the EA/xfsrestore code with cmd/xfstests/063.
(If you have the energy/motivation, you could try running 063 after
 reading cmd/xfstests/README and see if it passes for you)

Please redo the xfsrestore with "-v5" and send the last part of
the restore output up to where it crashes on the assertion failure.

--Tim


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