From owner-freebsd-fs@FreeBSD.ORG Tue Mar 24 08:15:59 2009 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A579106564A for ; Tue, 24 Mar 2009 08:15:59 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id C5BBC8FC1C for ; Tue, 24 Mar 2009 08:15:58 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1Lm1J9-000Ah6-Kf; Tue, 24 Mar 2009 09:44:23 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Mikhail T." 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> Comments: In-reply-to "Mikhail T." message dated "Tue, 24 Mar 2009 02:30:37 -0400." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 24 Mar 2009 09:44:23 +0200 From: Danny Braniss Message-ID: Cc: Daniel O'Connor , freebsd-stable@freebsd.org, fs@freebsd.org Subject: Re: dump | restore fails: unknown tape header type 1853384566 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 08:15:59 -0000 > Daniel O'Connor =CE=C1=D0=C9=D3=C1=D7(=CC=C1): >=20 > On Tuesday 24 March 2009 11:55:07 Mikhail T. wrote: >=20 > =20 > >> I'm trying to migrate a filesystem from one disk to another using: > >> > >> dump a0hCf 0 32 - /old =7C restore -rf - > >> > >> (/old is already mounted read-only). The process runs for a while an= d> >> then stops with: > >> > >> =5B...=5D > >> DUMP: 22.85% done, finished in 3:57 at Tue Mar 24 01:03:21 200= 9 > >> DUMP: 24.66% done, finished in 3:50 at Tue Mar 24 01:00:58 200= 9 > >> DUMP: 26.44% done, finished in 3:43 at Tue Mar 24 00:59:14 200= 9 > >> unknown tape header type 1853384566> >> abort? =5Byn=5D > >> > >> Any idea, what's going on? Why can't FreeBSD's restore read FreeBSD'= s > >> dump's output? > >> =20 > >> > What happens if you don't use the cache? > > =20 > No big difference: > > dump a0f - /old =7C restore -rf - > =5B...=5D > 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? =5Byn=5D >=20 > Looks like a junk value somewhere... Unitialized variable or some such.= >=20 can you try splitting it in 2, ie no pipe? dump a0f some.file /old (or dump 0f - /old =7C gzip -c > file.dump.gz) restore rf some.file danny