[Top] [All Lists]

xfsdump/xfsrestore and open_by_handle

To: linux-xfs@xxxxxxxxxxx
Subject: xfsdump/xfsrestore and open_by_handle
From: Christian Rice <xian@xxxxxxxxxxx>
Date: Wed, 24 Mar 2004 17:50:06 -0800
Organization: Tippett Studio
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
This is RedHat 9.0, with 2.4.23, xfs patches from cvs snapshot on 
11/30/03, and xfsdump-2.2.16-1

I'm seeing some wierd output when cloning disks.  I just moved up from 
RedHat 7.3 to RedHat9, and this is a new issue.

Here's some output:

[root@gangsta hdc1]# xfsdump -J - /dev/hda1 | xfsrestore - .
xfsrestore: using file dump (drive_simple) strategy
xfsrestore: version 2.2.16 (dump format 3.0) - Running single-threaded
xfsdump: using file dump (drive_simple) strategy
xfsdump: version 2.2.16 (dump format 3.0) - Running single-threaded
xfsdump: level 0 dump of gangsta:/boot
xfsrestore: searching media for dump
xfsdump: dump date: Wed Mar 24 17:39:06 2004
xfsdump: session id: 6422a58d-c3f5-4fb5-afc5-1f19cdff9916
xfsdump: session label: ""
xfsdump: ino map phase 1: skipping (no subtrees specified)
xfsdump: ino map phase 2: constructing initial dump list
xfsdump: ino map phase 3: skipping (no pruning necessary)
xfsdump: ino map phase 4: skipping (size estimated in phase 2)
xfsdump: ino map phase 5: skipping (only one dump stream)
xfsdump: ino map construction complete
xfsdump: estimated dump size: 11100032 bytes
xfsdump: creating dump session media file 0 (media 0, file 0)
xfsdump: dumping ino map
xfsdump: dumping directories
xfsdump: dumping non-directory files
xfsrestore: examining media file 0
xfsrestore: dump description:
xfsrestore: hostname: gangsta
xfsrestore: mount point: /boot
xfsrestore: volume: /dev/hda1
xfsrestore: session time: Wed Mar 24 17:39:06 2004
xfsrestore: level: 0
xfsrestore: session label: ""
xfsrestore: media label: ""
xfsrestore: file system id: 9059d117-0a62-4cfd-a09f-e373c3b1aaa7
xfsrestore: session id: 6422a58d-c3f5-4fb5-afc5-1f19cdff9916
xfsrestore: media id: dc405d5f-5003-4dbd-8d37-71428af5e72a
xfsrestore: searching media for directory dump
xfsrestore: reading directories
xfsrestore: 3 directories and 37 entries processed
xfsrestore: directory post-processing
xfsrestore: restoring non-directory files
xfsdump: ending media file
xfsdump: media file size 11067488 bytes
xfsdump: dump size (non-dir files) : 11034512 bytes
xfsdump: dump complete: 0 seconds elapsed
xfsdump: Dump Status: SUCCESS
xfsrestore: WARNING: open_by_handle of lost+found failed:Bad file descriptor
xfsrestore: WARNING: open_by_handle of grub failed:Bad file descriptor
xfsrestore: restore complete: 0 seconds elapsed
xfsrestore: Restore Status: SUCCESS
[root@gangsta hdc1]#

The files and directories do appear intact, though, to the casual diff...

When I clone the '/' directory (hda3 -> hdc3), I get many screens full 
of similar open_by_handle messages.  I'm going to try another 
xfs_repair.  There doesn't seem to be any visible adverse effects at 
this point, though.

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