Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: cwright@bigboote.wpi.edu (Charles R. Wright)
Subject: Re: duplicating tapes using to DAT drives
Date: 4 Oct 1994 13:54:34 GMT	[thread overview]
Message-ID: <36rmqq$qgm@bigboote.WPI.EDU> (raw)
In-Reply-To: 36onta$m79@niaomi.iscm.ulst.ac.uk


Yufan Hu (yufan@iscm.ulst.ac.uk) wrote:
: [ Article crossposted from comp.unix.ultrix ]
: [ Author was Yufan Hu ]
: [ Posted on 3 Oct 1994 10:53:19 GMT ]

: I have two DAT drives, one on a DEC station rung Ultrix 4.3 the other is 
: on a DEC Alpha running OSF/1.2. I have some tapes written on the OSF using
: /dev/rmt2h. Now I wnat to copy everything on these tapes to a 
: non-compression drive /dev/rmt0l. I did:

: 	dd if=/dev/rmt2h bs=10k | rsh dec1 dd of=/dev/rmt0l bs=10k
: it finishes with
: 	156249+0 records in
: 	156249+0 records out
: 	87245+198817 records in
: 	87245+198817 records out

Here is how I back up a machine to a remote tape drive:

  rsh machine2 tar cf - / | dd ibs=4k obs=10k of=/dev/rmt0h

The key thing is that over a pipe, blocks are 4kb.  I have not tried
what you are wanting to do, but this is what I would try first:

  dd if=/dev/rmt2h ibs=10k obs=4k | rsh dec1 dd of=/dev/rmt0l ibs=4k obs=10k

I am no "dd" expert, but based on my experience, I see no reason why
it shouldn't work.  If you get it to work, I'd like to know what you
finally did - might be useful someday.

Good luck,

Charles Wright     Research Assistant; IBM RS-6000 de-facto system manager
cwright@ee.wpi.edu Machine Vision Lab, ECE Dept. Worcester Polytechnic
                   Institute, Worcester, Massachusetts, USA 01609
	  "To have so many windows on my screen, I lose consciouness"


  reply	other threads:[~1994-10-04 13:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-03 10:54 duplicating tapes using to DAT drives Yufan Hu
1994-10-04 13:54 ` Charles R. Wright [this message]
1994-10-04 20:41   ` Yufan Hu
1994-10-07 12:21   ` Paul Smith
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