From owner-freebsd-questions Tue Feb 20 16:40:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from doheny.beach.net (doheny.beach.net [206.16.184.191]) by hub.freebsd.org (Postfix) with ESMTP id 2143A37B4EC for ; Tue, 20 Feb 2001 16:40:40 -0800 (PST) (envelope-from scott@doheny.beach.net) Received: from localhost (scott@localhost) by doheny.beach.net (8.10.0.Beta12/8.10.0.Beta12) with ESMTP id f1L0eHB55195; Tue, 20 Feb 2001 16:40:17 -0800 (PST) Date: Tue, 20 Feb 2001 16:40:16 -0800 (PST) From: "Scott B. Gale" To: "Randy B. Lim" Cc: questions@FreeBSD.ORG Subject: Re: How to change the tape size in the dump command In-Reply-To: <3A928F85.2BBBC1BE@aht.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 20 Feb 2001, Randy B. Lim wrote: > Hi, > > I got a 30 GB IDE tape (/dev/nht0) and I want to dump 4GB /root partition to > the tape. How to use the dump command to let the 4GB dumped to one single > tape? If the -a "auto-size" option isn't working to get dump to size the tape properly you can use the -B option to specify how many 1k blocks the tape will hold. For instance, to do a level zero backup of my root partition (with device name /dev/da0s1a) onto a 30 GB tape in device /dev/nht0 I would use the following command: dump -0u -B 30000000 -f /dev/nht0 /dev/da0s1a I've been told it is generally better practice to use the device name to specify the root partition rather than "/". You can get the device name by using the df command. > > Best Regards, > > -Randy > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Hope this helps! Scott B. Gale Dana Point Communications To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message