From: alan@nabeth.cxo.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
Subject: Re: Newbie questions on dump
Date: Wed, 18 Aug 1993 21:23:24 GMT [thread overview]
Message-ID: <1993Aug18.212324.4584@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 14941557@MVB.SAIC.COM
In article <14941557@MVB.SAIC.COM>, matthews@apg16.saic.com (Cameron H. Matthews) writes:
>Newsgroups: comp.unix.osf.osf1
>From: matthews@apg16.saic.com (Cameron H. Matthews)
>Reply-To: matthews@apg16.saic.com (Cameron H. Matthews)
>Subject: Newbie questions on dump
>
>Hi,
>
> Am having problems doing dumps on a DEC ALPHA running
>OSF/1. The Guide to Sys Admin simply says to use dump. I do
>so but when listing out the tape via "restore -t", it tells me
>at the beginning that the tape is not a dump tape. If I try to
>do in interactive restore, it bombs with "not a dump tape".
Left to itself I believe the interesting defaults for a dump
command by itself are:
Level: 0, though maybe 9.
Tape: /dev/rmt0h
Device: /dev/rrz0g
The default tape device of restore(8) should also be rmt0h. So,
if the dump(8) worked correctly and you haven't changed tapes,
whatever was in rmt0h should have a dump on it.
If you aren't strictly using the defaults, please post the
command you are using. A transcription of the output from
dump would also be useful to verify that it is running
correctly.
> So, what is a "dump tape"? Is there some header that
>must be put on the tape? Or an ANSI label? Why is this not in
>any of the Sys Admin guides that I have?
The first record of a dump tape, has a magic number in it. Restore
looks at this record and assumes it has the necessary structure.
If the magic number has the right value, then restore can treat
the tape as one written by dump(8).
> Also, what is the problem with putting multiple dumps
>on a single tape? If you have a number of small file systems,
>this can be a pain having to waste 4GB DAT tapes. Any advice,
>hints, or tricks?
One of the options on dump(8) is used to specify an alternate
device or file or the dump itself; 'f'. A feature of the tape
drive naming scheme is that one of the names of a tape drive
tell it not to rewind when the drive is closed: /dev/nrmt*.
So, using the 'f' option to specify an alternate device and
the "nrmt" name of a tape drive you can arrange for the tape
not to rewind between commands. Thus each new dump will be
written after the last.
# dump 0f /dev/nrmt0h file-system
# dump 0f /dev/nrmt0h next-file-system
# dump 0f /dev/nrmt0h and-so-on
Unloading the tape should cause it to rewind, or you can explicitly
tell it to use mt(1):
# mt -f /dev/rmt0h rewind
>
>Thanks!
>
--
Alan Rollow alan@nabeth.cxo.dec.com
next prev parent reply other threads:[~1993-08-18 21:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-08-18 19:56 Newbie questions on dump Cameron H. Matthews
1993-08-18 21:23 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds. [this message]
1993-08-19 17:25 ` Cameron H. Matthews
1993-08-19 22:01 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox