Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Phil Farrell <farrell@pangea.stanford.edu>
To: Martin Murphy <hmm@star.arm.ac.uk>
Subject: Re: rdump to Solaris based tape drive
Date: 1996/09/12	[thread overview]
Message-ID: <323846B1.359A@pangea.stanford.edu> (raw)
In-Reply-To: 3237CE5D.41C6@star.arm.ac.uk


Martin Murphy wrote:
> 
> I am having problems using rdump to dump from a DU v4.0 system to
> a tape drive on a SPARC 10, Solaris 2.5 system. I get the following
> message;
> 
> rdump: Mapping (Pass II) [directories]
> rdump: Remote system is not known to be compatible for magtape
> functions, output
>  being treated as regular file
> rdump: Estimate: 4155132 tape blocks on disk
> The available blocks(69411),is less than the estimated blocks(4155132)
> Dump is being aborted
> rdump: SIGTERM received
> rdump: The ENTIRE dump is aborted
> 

I can't help you with your specific problem of rdump to a Solaris
system.  However, I can suggest an alternative.  Instead of using
"rdump", use plain "dump" on the DUNIX system and pipe it to 
an rsh process that starts "dd" on the Solaris machine to copy the
output to tape.  We do this all the time between different types
of machines.  And, as a bonus, I find that it is about 3 times
faster than rdump.  Here is an example.  "Pangea" is a DUNIX 3.2d
system, "gondwana" is an Ultrix 4.2A system with an Exabyte tape
drive at /dev/rmt0h.  I can log into "pangea" and run a dump of /usr,
for example, to the tape drive on "gondwana" using this pipeline:

     dump 0f - /usr | rsh gondwana 'dd of=/dev/rmt0h obs=10k'

Of course, this assumes that I have the proper /.rhosts file on 
each machine to make the root account equivalent between the
machines.

You need the dd command on the remote machine to put the data
back together into standard sized blocks, because it is fragmented
into smaller pieces when traveling across the network.  I use 10k
as the blocksize, as that is the standard for dump tapes.  However,
you can try a larger block size, e.g., 60k, which may give higher
performance (depending upon whether the originating cpu, network,
or output tape is the limiting factor), if you are willing to 
remember that your dump tapes now have non-standard blocking.

To restore from one of these tapes, I run the reverse network
pipe.  For example, to restore /usr/local from that /usr dump
tape to /scr on pangea, I would log into pangea and run

     cd /scr
     rsh gondwana 'dd if=/rmt0h ibs=10k' | restore xf - local
 
-- 
Phil Farrell, Computer Systems Manager
Stanford University School of Earth Sciences
farrell@pangea.stanford.edu



  reply	other threads:[~1996-09-12  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-12  4:00 rdump to Solaris based tape drive Martin Murphy
1996-09-12  4:00 ` Phil Farrell [this message]
1996-09-16  4:00   ` James McCudden
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