From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,943cb6d5de162530 X-Google-Attributes: gidfee84,public From: Phil Farrell Subject: Re: rdump to Solaris based tape drive Date: 1996/09/12 Message-ID: <323846B1.359A@pangea.stanford.edu>#1/1 X-Deja-AN: 180190781 references: <3237CE5D.41C6@star.arm.ac.uk> to: Martin Murphy content-type: text/plain; charset=us-ascii organization: Stanford University School of Earth Sciences mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.01 (Macintosh; I; 68K) 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