Dumping multiple partitions to a single tape.
Mark Parris
map at cscosl.ncsu.edu
Wed Feb 21 16:16:22 AEST 1990
First of all, thanks to all of those who replied to my question. It's nice
to be able to post a question and receive 9 (so far) answers which are in
agreement, try them, and be able to summarize within 24 hours. Thanks.
For the summary:
The key to dumping multiple filesystems to a single tape is to use the
no rewind tape device instead of the rewind one. In my case, this meant
using /dev/nrmt8 instead of /dev/rmt8. That's the only thing that had
to be changed regarding dumping. I was able to dump 3 filesystems and
restore from each using this method.
To restore dumps of this type, use the s switch on restore (or rrestore as
in my case.) This option allows you to specify which dump image to restore
from. If I had dumped /usr, /usr/var, and /local to the tape in that order
and I wanted to restore from local I would use s with an argument of 3 to
specify the image of /local.
The main thing to look out for is a filesystem that spans multiple tapes. Such
filesystems should have tapes for themselves, or at least that seemed to be
the consensus. I have no filesystems big enough to try it out. Be sure you
have enough room left on the tape for the next filesystem. (The S option
on dump is handy for this.)
Someone mentioned using mt rewind to rewind the tape after all of the
dumps were made. I was unable to test this because there seemed to be no
equivalent for remote dumps. I simply rewound using the tape drive rewind
button.
Thanks to all who replied.
*****************************************************************************
--Explanations, suggestions, clarifying comments, and constructive criticism
welcome and encouraged. /-------------------------------------------
--Flames ignored. |-----------/ Mark Parris map at cscosl.ncsu.edu
More information about the Comp.unix.ultrix
mailing list