From owner-freebsd-questions@FreeBSD.ORG Sat Mar 25 21:41:37 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B45116A41F for ; Sat, 25 Mar 2006 21:41:37 +0000 (UTC) (envelope-from dscheidt@panix.com) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA2CE43D45 for ; Sat, 25 Mar 2006 21:41:36 +0000 (GMT) (envelope-from dscheidt@panix.com) Received: from panix3.panix.com (panix3.panix.com [166.84.1.3]) by mail3.panix.com (Postfix) with ESMTP id E140B13AAAC; Sat, 25 Mar 2006 16:41:35 -0500 (EST) Received: (from dscheidt@localhost) by panix3.panix.com (8.11.6p3/8.8.8/PanixN1.1) id k2PLfau12513; Sat, 25 Mar 2006 16:41:36 -0500 (EST) Date: Sat, 25 Mar 2006 16:41:36 -0500 From: David Scheidt To: Beech Rintoul Message-ID: <20060325214135.GA10295@panix.com> References: <4425AC1A.9010201@gti.net> <20060325210043.6699.qmail@ssr.com> <200603251225.52681.beech@mangohealth.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603251225.52681.beech@mangohealth.org> User-Agent: Mutt/1.5.10i Cc: freebsd-questions@freebsd.org Subject: Re: Dump to DVD problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2006 21:41:37 -0000 On Sat, Mar 25, 2006 at 12:25:32PM -0900, Beech Rintoul wrote: > > On Saturday 25 March 2006 12:00, Scott Ballantyne wrote: > > I am trying to use dump/restore to backup my filesystems to DVD. I am > > using a DVD+RW, format it with dvd+rw-format -force /dev/cd0, and then do: > > > > dump -0 -b 32 -B 4590208 -f /dev/cd0 / > > > > to backup the root filesystem. I do this after going to single user > > mode. > > > > It seems that dump is perhaps not properly closing the file? The DVD > > drive light remains on, and I get errors from restore: > > > > tape read error: Unknown error: 0 > > > > dvd+rw-mediainfo /dev/cd0 is more informative: > > > > /dev/cd0: unable to open: Device busy > > > > I *can* dump to a file on a filesystem, and use growisofs to write > > this dump file to the DVD. No problems mounting and reading the > > resulting dump file. Unfortunately, I do not have enough free disk > > space to do this with my larger file systems. > > > > This is with 5.3-RELEASE. > > Try: > > dump -0au -L -f /dev/cd0 / > dump -0 -unL -C16 -B4589840 -P 'growisofs -speed=4 -Z \ /dev/cd1=/dev/fd/0' filesystem is what I use to dump to DVD+R and +RW. Change the speed to match your drive and media, and the dump level to match what you want to do. David