*BSD News Article 93260


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!izvestia.its.unimelb.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsfeeds.sol.net!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cpk-news-feed4.bbnplanet.com!news.bbnplanet.com!mitzi.rsmas.miami.edu!usenet
From: ivan@nauplius.rsmas.miami.edu (Ivan Lima)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Question about dump
Date: 9 Apr 1997 16:51:59 GMT
Organization: RSMAS/University of Miami
Lines: 55
Message-ID: <5ighff$p1r@mitzi.rsmas.miami.edu>
NNTP-Posting-Host: nauplius.rsmas.miami.edu
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:38848

I am trying to back up my /usr partition to a tape drive using dump. 
The tape drive is a SCSI Seagate TapeStor 8000 and the QIC-3080 tape
holds 4 MB (without compression). 

Well, if I use "dump -u0f /dev/rst0 /usr", dump asks for more tapes
(14.13 tapes). But The tape cartrige holds 4 MB umcompressed so one tape
(volume) should be more than enough.

#superuser#> dump -u0f /dev/rst0 /usr
  DUMP: Date of this level 0 dump: Wed Apr  9 11:38:03 1997
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rwd0s1e (/usr) to /dev/rst0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 549662 tape blocks on 14.13 tape(s).
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: Closing /dev/rst0
  DUMP: Change Volumes: Mount volume #2
  DUMP: Is the new volume mounted and ready to go?: ("yes" or "no")

However if I use "dump -u0f - /usr > /dev/rst0" (dump to stdout and
redirect it to /dev/rst0) I get everything in one tape without
problems:

#superuser#> dump -u0f - /usr > /dev/rst0
  DUMP: Date of this level 0 dump: Wed Apr  9 11:46:06 1997
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rwd0s1e (/usr) to standard output
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 549429 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 14.42% done, finished in 0:29
  DUMP: 29.92% done, finished in 0:23
  DUMP: 45.03% done, finished in 0:18
  DUMP: 60.48% done, finished in 0:13
  DUMP: 75.99% done, finished in 0:07
  DUMP: 91.10% done, finished in 0:02
  DUMP: DUMP: 575663 tape blocks
  DUMP: level 0 dump on Wed Apr  9 11:46:06 1997
  DUMP: DUMP IS DONE

Does anyone know why is that?

Thanks a lot for any help.

Ivan
-- 
Ivan Lima
Rosenstiel School of Marine and Atmospheric Science 
Division of Marine Biology and Fisheries            
ivan@nauplius.rsmas.miami.edu                       
http://nauplius.rsmas.miami.edu/homepage/home.html