From owner-freebsd-current@FreeBSD.ORG Sat Apr 26 15:45:18 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 072B837B401; Sat, 26 Apr 2003 15:45:18 -0700 (PDT) Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6492943FAF; Sat, 26 Apr 2003 15:45:17 -0700 (PDT) (envelope-from tomppa@finland.sun.com) Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by nwkea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h3QMjFrZ019178; Sat, 26 Apr 2003 15:45:16 -0700 (PDT) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) ESMTP id h3QMjEPf019534; Sun, 27 Apr 2003 01:45:14 +0300 (EEST) Received: from ultrahot.Finland.Sun.COM (localhost [127.0.0.1]) h3QMjE0e011046; Sun, 27 Apr 2003 01:45:14 +0300 (EEST) Received: (from tomppa@localhost)h3QMjEGw011043; Sun, 27 Apr 2003 01:45:14 +0300 (EEST) From: Tomi Vainio - Sun Finland MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16043.3065.953470.875344@ultrahot.finland.sun.com> Date: Sun, 27 Apr 2003 01:45:13 +0300 To: obrien@freebsd.org In-Reply-To: <20030426220959.GA55118@dragon.nuxi.com> References: <16042.64964.345642.224980@ultrahot.finland.sun.com> <20030426220959.GA55118@dragon.nuxi.com> X-Mailer: VM 7.13 under 21.4 (patch 9) "Informed Management" XEmacs Lucid cc: freebsd-current@freebsd.org Subject: Re: dump restore problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tomi.Vainio@Sun.COM List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 22:45:18 -0000 David O'Brien writes: > On Sun, Apr 27, 2003 at 12:44:36AM +0300, Tomi Vainio - Sun Finland wrote: > > During my ufs2 migration I've used piped dump restore procedure. Is > > it normal that block sizes like 512 or 1000 don't work? Block size > > 512 gives an error and 1000 hangs forever while 126 is working fine. > > > > dump 0buf 512 - / | restore xbf 512 - > > dump 0abuf 512 - / | restore xf - > > Add -a (infinate tape lenght), and let restore figure out the block size. cat:/mnt/tmp(132)# dump 0abuf 512 - / | restore xf - DUMP: WARNING: should use -L when dumping live filesystems! DUMP: Date of this level 0 dump: Sun Apr 27 01:44:12 2003 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/da0s1a (/) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 236472 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: master/slave protocol botched. DUMP: The ENTIRE dump is aborted. Tape is not a dump tape