xfs
[Top] [All Lists]

Re: xfsrestore fails to exit properly under 2.6.1

To: Phil Macias <Philip.Macias@xxxxxxxx>
Subject: Re: xfsrestore fails to exit properly under 2.6.1
From: Russell Cattelan <cattelan@xxxxxxx>
Date: Wed, 04 Feb 2004 11:42:14 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <4229-Wed04Feb2004062354-0500-Philip.Macias@NOAA.gov>
References: <4229-Wed04Feb2004062354-0500-Philip.Macias@NOAA.gov>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Are you able to attach gdb to the hung process and
get a backtrace?

On Wed, 2004-02-04 at 05:23, Phil Macias wrote:
> Hello,
> 
> We have been using XFS on RedHat linux for over two years (since I
> have been here). I have been using a script to clone workstations from
> one-another for over a year whereby the host-to-be-cloned exports it's
> XFS partitions over NFS and they are mounted by the donor host and
> contents copied with:
> 
>       xfsdump -v5 -l 0 - /dev/hda7 | xfsrestore -v5 - /clone-var
> 
> This process worked reliably for over a year on the 2.4.x kernels and
> these versions of xfs tools:
> 
>   acl-2.1.1-gfdl-1-1
>   attr-2.1.1-gfdl-1-1
>   dmapi-2.0.5-gfdl-1-1
>   kernel-2.4.18-XFS-NFS-base-gfdl-2-1
>   xfsdump-2.2.4-gfdl-1-1
>   xfsprogs-2.3.6-gfdl-1-1
> 
> PROBLEM: I am testing the 2.6.1 kernel and the following relevant
> packages: 
> 
>   libelf-0.8.2-2-gfdl-1-1
>   elfutils-libelf-0.89-2-gfdl-1-1
>   popt-1.8.1-0.31-gfdl-1-1
>   gcc-3.3-gfdl-1-1
>   kernel-2.6.0-complete-gfdl-1-1
>   glibc-2.3.2-gfdl-1-1
>   beecrypt-3.0.1-gfdl-1-1
>   
>   acl-2.2.21-gfdl.tgz
>   attr-2.4.12-gfdl.tgz
>   binutils-2.14-gfdl.tgz
>   dmapi-2.1.0-gfdl.tgz
>   xfsprogs-2.6.0-gfdl.tgz
>            
> Everything on the system works well except the remote
> xfsdump/xfsrestore. Running:
> 
>       xfsdump -v5 -l 0 - /dev/hda7 | xfsrestore -v5 - /clone-var
> 
> on the 2.6.1 system does dump/restore properly, but xfsrestore never
> exits. I have to issue these commands to release xfsrestore:
> 
>   kill %
>   fuser -k /clone-var/
> 
>       ...where /clone-var/ is the target partition. Please note that
>       the target host is still running the old (2.4.x) kernel.
> 
> Here are the last lines to the "-v5" output:
> 
>   ...
>   xfsrestore: read file hdr off 0 flags 0x0 ino 14680333 mode 0x0000a1ff
>   xfsrestore: preemptchk( )
>   xfsrestore: restoring lib/scrollkeeper/pt_BR (14680333 0)
>   xfsrestore: restoring symbolic link ino 14680333 lib/scrollkeeper/pt_BR
>   xfsrestore: drive_simple read( want 32 )
>   xfsrestore: drive_simple return_read_buf( returning 32 )
>   xfsrestore: xlate_extenthdr
>   xfsrestore: read extent hdr size 32 offset 0 type 4 flags 00000000
>   xfsrestore: drive_simple read( want 32 )
>   xfsrestore: drive_simple return_read_buf( returning 32 )
>   xfsrestore: drive_simple get_mark( )
>   xfsrestore: drive_simple read( want 256 )
>   xfsrestore: drive_simple return_read_buf( returning 256 )
>   xfsrestore: xlate_bstat
>   xfsrestore: xlate_bstat: pre-xlate
>           bs_ino 0
>           bs_mode  0
>   xfsrestore: xlate_bstat: post-xlate
>           bs_ino 0
>           bs_mode  0
>   xfsrestore: xlate_filehdr: pre-xlate
>           fh_offset 0
>           fh_flags 83886080
>           fh_checksum 13835040720794157312
>   xfsrestore: xlate_filehdr: post-xlate
>           fh_offset 0
>           fh_flags 5
>           fh_checksum 13835040720794157312
>   xfsrestore: read file hdr off 0 flags 0x5 ino 0 mode 0x00000000
>   xfsrestore: preemptchk( )
>   xfsrestore: Media_end: pos==3
>   xfsrestore: drive_simple end_read( )
>   xfsrestore: getting next media file for non-dir restore
>   xfsrestore: Media_mfile_next: purp==2 pos==0
>   xfsrestore: tree finalize
>   xfsrestore: restore complete: 139 seconds elapsed
>   -------------------------------------------------
> 
> Syslog shows no erors or any info about xfsrestore.
> 
> Any idea why xfsrestore fails to exit properly?
> 
> Thanx,
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "Phil Macias" <Philip.Macias@xxxxxxxx>, 
> 
>   RSIS, Inc. *  NOAA/GFDL * Princeton, NJ
> 
>       ___,___
>        |_|_,       609 987 5059 office         
>          |         609 203 5874 cell           
>           >__,
> 
> 
> 
-- 
Russell Cattelan <cattelan@xxxxxxxxxxx>

Attachment: signature.asc
Description: This is a digitally signed message part

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