From owner-freebsd-stable@FreeBSD.ORG Wed Mar 25 01:15:58 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88DA110656BB for ; Wed, 25 Mar 2009 01:15:58 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail2.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 45B838FC15 for ; Wed, 25 Mar 2009 01:15:58 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from localhost (pool-141-151-75-22.phlapa.east.verizon.net [141.151.75.22]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 652596E63E; Wed, 25 Mar 2009 10:15:54 +0900 (JST) Date: Tue, 24 Mar 2009 21:15:49 -0400 From: Yoshihiro Ota To: "Mikhail T." Message-Id: <20090324211549.27e65b90.ota@j.email.ne.jp> In-Reply-To: <49C87E0D.5090501@aldan.algebra.com> References: <49C83673.3000604@aldan.algebra.com> <200903241537.36515.doconnor@gsoft.com.au> <49C87E0D.5090501@aldan.algebra.com> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, fs@freebsd.org Subject: Re: dump | restore fails: unknown tape header type 1853384566 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 01:15:59 -0000 On Tue, 24 Mar 2009 02:30:37 -0400 "Mikhail T." wrote: > Daniel O'Connor написав(ла): > > On Tuesday 24 March 2009 11:55:07 Mikhail T. wrote: > > > >> I'm trying to migrate a filesystem from one disk to another using: > >> > >> dump a0hCf 0 32 - /old | restore -rf - > >> > >> (/old is already mounted read-only). The process runs for a while and > >> then stops with: > >> > >> [...] > >> DUMP: 22.85% done, finished in 3:57 at Tue Mar 24 01:03:21 2009 > >> DUMP: 24.66% done, finished in 3:50 at Tue Mar 24 01:00:58 2009 > >> DUMP: 26.44% done, finished in 3:43 at Tue Mar 24 00:59:14 2009 > >> unknown tape header type 1853384566 > >> abort? [yn] > >> > >> Any idea, what's going on? Why can't FreeBSD's restore read FreeBSD's > >> dump's output? > >> > > > > What happens if you don't use the cache? > > > No big difference: > > dump a0f - /old | restore -rf - > [...] > DUMP: 17.25% done, finished in 3:27 at Tue Mar 24 05:42:00 2009 > DUMP: 20.36% done, finished in 3:09 at Tue Mar 24 05:28:13 2009 > DUMP: 23.83% done, finished in 2:50 at Tue Mar 24 05:14:32 2009 > unknown tape header type -621260722 > abort? [yn] > > Looks like a junk value somewhere... Unitialized variable or some such. > > -mi -a option seems to be the problem. Try without it. Hiro