From owner-freebsd-current@FreeBSD.ORG Sat Apr 26 14:57:45 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 DFBF937B401 for ; Sat, 26 Apr 2003 14:57:45 -0700 (PDT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FA2A43FB1 for ; Sat, 26 Apr 2003 14:57:45 -0700 (PDT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.9/8.12.9) with ESMTP id h3QLviU0062762; Sat, 26 Apr 2003 17:57:44 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.9/8.12.9/Submit) id h3QLviAx062751; Sat, 26 Apr 2003 17:57:44 -0400 (EDT) (envelope-from barney) Date: Sat, 26 Apr 2003 17:57:44 -0400 From: Barney Wolff To: Tomi Vainio - Sun Finland Message-ID: <20030426215744.GA97642@pit.databus.com> References: <16042.64964.345642.224980@ultrahot.finland.sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16042.64964.345642.224980@ultrahot.finland.sun.com> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) cc: freebsd-current@freebsd.org Subject: Re: dump restore problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 21:57:46 -0000 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 - I think you want to leave out the b option and use -a to tell dump not to try to determine the size of the "tape". I would also use -rf on restore, not -xf, and add -C 32 to dump args. At least that's what I gleaned from rtfm dump & restore. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.