From owner-freebsd-questions Fri Oct 20 08:33:57 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA07893 for questions-outgoing; Fri, 20 Oct 1995 08:33:57 -0700 Received: from kryten.atinc.com (kryten.Atinc.COM [198.138.38.7]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA07886 for ; Fri, 20 Oct 1995 08:33:52 -0700 Received: (jmb@localhost) by kryten.atinc.com (8.6.9/8.3) id LAA05547; Fri, 20 Oct 1995 11:14:09 -0400 Date: Fri, 20 Oct 1995 11:14:07 -0400 (EDT) From: "Jonathan M. Bresler" Subject: Re: efficient use of large tapes To: john@starfire.mn.org cc: FreeBSD questions In-Reply-To: <199510201417.JAA12371@starfire.mn.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org Precedence: bulk On Fri, 20 Oct 1995 john@starfire.mn.org wrote: > I really like using dump/restore, but I am not confident of putting multiple > sets on one tape, yet is seems a shame to use four 2Gb tapes to back up > a 1Gb disk. Does anyone have some neat solutions? a couple tricks. use the non-rewind devices (eg /dev/nrst0...its the 'n' that counts) otherwise the tape rewinds between each dump and only the last dump remains ;O set the blocksize and number of blocks large enought to cover the expanse of tape that you need. but bewarned, you run out of tape--you lose. game over, man. for a 4mm scsi tape drive, i use: #!/bin/sh echo "" >> dump.log echo "" >> dump.log echo "" >> dump.log /usr/bin/mt -f /dev/rst0 rewind /sbin/dump 0unBbf 1200000 10 /dev/nrst0 /dev/sd1a 2>&1 | tee -a /root/dump.log /sbin/dump 0unBbf 1200000 10 /dev/nrst0 /dev/sd1e 2>&1 | tee -a /root/dump.log /sbin/dump 0unBbf 1200000 10 /dev/rst0 /dev/sd1f 2>&1 | tee -a /root/dump.log /usr/bin/mt -f /dev/rst0 rewoffl > > John Lind, Starfire Consulting Services > E-mail: john@starfire.MN.ORG USnail: PO Box 17247, Mpls MN 55417 > Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. FreeBSD Postmaster jmb@FreeBSD.Org | 2341 Jeff Davis Hwy play go. | Arlington, VA 22202 ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346