*BSD News Article 86066


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!ix.netcom.com!newsfeeds.sol.net!uwm.edu!cs.utexas.edu!howland.erols.net!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!uunet!in3.uu.net!192.109.159.3!news.gtn.com!klemm.gtn.com!usenet
From: andreas@klemm.gtn.com (Andreas Klemm)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Need larger dump tape length/block size for 2GB 4mm DAT
Date: 3 Jan 1997 15:50:59 GMT
Organization: FreeBSD makes fun
Lines: 57
Message-ID: <5aj9t3$j7p@klemm.gtn.com>
References: <5ags44$kpf$1@nadine.teleport.com>
NNTP-Posting-Host: klemm.gtn.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
To: julie@foss.com (Julie Schneider)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33483

[Posted and mailed]

In article <5ags44$kpf$1@nadine.teleport.com>,
	julie@foss.com (Julie Schneider) writes:

> dump 0udsf 61000 295 /dev/nrst0 /dev/rwd0s1f
             ^^^^^ ^^^
Might be to little.

Look here, what I use 


#! /bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
export PATH

#Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused  Mou. on
#/dev/sd0a       31775    13276    15957    45%     997    6681    13%   /
#/dev/sd0s3e     63567    37149    21333    64%     771   14587     5%   /www
#/dev/sd0s3f    127151    87752    29227    75%     970   29748     3%   /var
#/dev/sd0s3g    765058   500994   202860    71%   66171  125827    34%   /usr
#/dev/sd1s1e    193855   104777    73570    59%   39613   14145    74%   /news
#/dev/sd1s1f   1790627  1568729    78648    95%  111083  326675    25%   /local

TAPE=/dev/rst0
NTAPE=/dev/nrst0

DUMP="dump 0uBbf 5000000 32 $NTAPE"

#DUMP="dump 0uBbf 5000000 32 -"
#TEAM="team 512k 4 > $NTAPE"

echo -n "mkdump:: rewinding tape"
mt -f $TAPE rewind && echo " done."
#echo -n "mkdump:: retension tape"
#mt -f $TAPE retension && echo " done."
#echo -n "mkdump:: erasing tape"
#mt -f $TAPE erase && echo " done."

$DUMP /dev/rsd0a	# | eval $TEAM
$DUMP /dev/rsd0s3e	# | eval $TEAM
$DUMP /dev/rsd0s3f	# | eval $TEAM
$DUMP /dev/rsd0s3g	# | eval $TEAM
$DUMP /dev/rsd1s1e	# | eval $TEAM
$DUMP /dev/rsd1s1f	# | eval $TEAM
tar cf $NTAPE /dos	# DOS C: Backup

echo -n "mkdump:: rewinding tape"
mt -f $TAPE rewind \
	&& echo " done."

-- 
andreas@klemm.gtn.com         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         Support Unix -- andreas.klemm@wup.de
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<