Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 1995 11:14:07 -0400 (EDT)
From:      "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
To:        john@starfire.mn.org
Cc:        FreeBSD questions <questions@FreeBSD.org>
Subject:   Re: efficient use of large tapes
Message-ID:  <Pine.3.89.9510201143.H4689-0100000@kryten.atinc.com>
In-Reply-To: <199510201417.JAA12371@starfire.mn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9510201143.H4689-0100000>