*BSD News Article 89820


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.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!worldnet.att.net!news.mathworks.com!uunet!in2.uu.net!199.232.240.5!news.ziplink.net!rtfm.ziplink.net!mi
From: mi@rtfm.ziplink.net (Mikhail Teterin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: dump(8) and my tape drive
Date: 21 Feb 1997 17:46:19 GMT
Organization: Aldan at Newton Upper Falls
Lines: 45
Message-ID: <5ekn1b$244$1@news.ziplink.net>
Reply-To: mi@ALDAN.ziplink.net..remove-after-`net'
NNTP-Posting-Host: 199.232.255.52
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35883

Ok, I have this old SCSI-tape at home:

	st0 at scbus0 target 4 lun 0
	st0: <WANGTEK 5150ES SCSI-36 ESB7> type 1 removable SCSI 1
	st0: Sequential-Access density code 0x10,  drive empty

	root@rtfm:/ccd (193) mt status
	Present Mode:   Density = QIC-150      Blocksize = 512 bytes
	---------available modes---------
	Mode 0:         Density = 0x00         Blocksize variable
	Mode 1:         Density = X3.136-1986  Blocksize = 512 bytes
	Mode 2:         Density = X3.39-1986   Blocksize variable
	Mode 3:         Density = X3.54-1986   Blocksize variable


The tape size is 250Mb (according to the label). I am trying to dump
a small partition:

	mi@aldan:~ (939) df -k
	Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
	/dev/sd0a      521294   230878   248714    48%    /

as follows:
	mi@aldan (233) rdump 0uf rtfm:/dev/rst0 /

Unfortunately, dump thinks, I'm going to need six tapes:
  DUMP: Date of this level 0 dump: Fri Feb 21 12:37:48 1997
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rsd0a (/) to /dev/rst0 on host rtfm
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 235075 tape blocks on 6.05 tape(s).
  DUMP: dumping (Pass III) [directories]

and does, indeed ask for more and more (I gave it two, just to see
what's going to happen).

My attempts to give it some other /dev/rst0* devices lead to
Input/Output error. I am going to play with s, d, b, and a flags,
but should not dump/rmt be smart enough to detect my tape capabilites
on their own?

	-mi
-- 
	"Windows for dummies"