*BSD News Article 93353


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!fjholden.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Question about dump
Date: Sat, 12 Apr 1997 11:31:32 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 35
Message-ID: <334EE5F4.440@OntheNet.com.au>
References: <5ighff$p1r@mitzi.rsmas.miami.edu>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Ivan Lima <ivan@nauplius.rsmas.miami.edu>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38937

Ivan Lima wrote:
> 
> 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                                              ^^^^ 4 GB?!
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")
> 
> Does anyone know why is that?
> 
Yes...  The 'default' action of dump is to ASSUME that it cannot defect
EOT correctly so it only write a specified amount before asking for
another one!!!

You can get around this by explicitely telling dump that it can write a
LARGE number of blocks (-B 10000000) or, in 2.2, use the -a (?) switch
to specify "all of tape up to EOT"...

Tony