SUMMARY (rdump questions)

From: Marc Samama (marc@tky.icdc.fr)
Date: Tue Jun 13 1995 - 09:39:03 CDT


I wanted to know why rdump always print

        DUMP: tape rewinding

while I use a non rewindind raw device to dump my filesystems.
(I dump multiple filesystems on the same tape.)

Everybody that responded told me that this message is printed by
the dump program when it closes the device, but it can be safely
ignored when using the non rewinding device.

I got replies from the following people:

        szh@zcon.com (Syed Zaeem Hosain) sent me a very complete reply with
a script that does full dumps, and uses parameters to dump on different
devices. I included this script at the end of this mail.

        Jeff Mallory <jeff@access.digex.net> gave me some advice on how
to verify that the dumps are sequential: For exemple, type a
'mt -f /dev/nrst1 fsf 1' to get to the start of the second dump. Then
do a 'restore ivf /dev/rst1', and an 'ls' at the restore prompt. The
non rewinding device must be specified because otherwise, mt will effectively
rewind the tape at the end of each command.

I also got replies from all those people: (!)
        albert@esther.rad.tju.edu (Dr. Micheal Albert)
        Nico Garcia (raoul@mit.edu)
        perryh@pluto.rain.com (Perry Hutchison)
        Ric (<ric@rtd.com> "Ric Anderson")
        Steve Lee <steve@opensys.com>
        fhb@kestnbaum.com (Fred H. Berns)
        Chris Wozniak TISC <chris@tisc.edu.au>
        rene@iusti.univ-mrs.fr (Mr Rene Occelli)
        Gerhard den Hollander <gerhard@jason.nl>
        pallan@clare.risley.aeat.co.uk (Peter (jaffa cake) Allan)
        Casper Dik <casper@Holland.Sun.COM>
        bern@penthesilea.uni-trier.de (Jochen Bern)
        tkevans@eplrx7.es.duPont.com (Tim Evans)
        Boyd Fletcher <boyd@ccpo.odu.edu>
        Stephen Schaefer - Imonics Consultant <sps@imonics.com>
        anderson@neon.mitre.org (Mark S. Anderson)
        Ross.Stocks.INSDRS01@nt.com
        dave%endeavour.exar.com@exar.com (Dave Haut)
        danny@esaserv1.dseg.ti.com (Danny Johnson)
        mike@trdlnk.com (Michael Sullivan)
        Stephen Hauskins (sunlist@mendel.UCSC.EDU)
        cindy@ddrsrv2.dny.rockwell.com (Cindy Yoho)
        stevee@sbei.com (Steve Ehrhardt)

They all told me more or less that I should not pay attention to dump, an old
utility that didn't know about non rewinding devices. Stephen Schaefer told
me that dump even says it rewinds the tape when you dump to /dev/null.
Some people suggested an interactive restore on different partitions
of the dump, to be sure everything works as expected. (See Jeff Mallory's
reply on how to do that.)
I've been asked to forward patches for this problem, but didn't receive any...

Thanks again to everybody.

Marc.

Syed Zaeem Hosain's dump script:

zodiac{320}szh: ls -l params*
lrwxrwxrwx 1 root staff 10 May 28 02:20 params -> params.4mm*
-rwxr-xr-x 1 root staff 176 May 28 02:32 params.4mm*
-rw-r--r-- 1 root staff 174 May 28 02:40 params.qic150
zodiac{321}szh: cat params
#!/bin/csh -x
#
# Basic parameters for the backup:
#
        set block = 126
        set density = 15000
        set size = 15000
        set device = /dev/nrst0
        set tracks = " "
        set dumptype = 9ucbdsf
zodiac{322}szh: cat full
#!/bin/csh -x
#
# Basic parameters for the backup:
#
        source params
        set dumptype = 0ucbdsf
#
# Rewind the tape:
#
        mt -f $device rew
#
# Do the dump:
#
        foreach partition ( /dev/rsd1a /dev/rsd1g /dev/rsd1h )
                dump $dumptype $block $density $size $tracks $device $partition
        end
#
# Rewind the tape:
#
        mt -f $device rew
zodiac{323}szh:

___

Marc (marc@tky.icdc.fr)



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:26 CDT