Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: cgi@crl.com (Paul Smith)
Subject: Re: duplicating tapes using to DAT drives
Date: 7 Oct 1994 05:21:10 -0700	[thread overview]
Message-ID: <373efm$2h9@crl3.crl.com> (raw)
In-Reply-To: 36rmqq$qgm@bigboote.WPI.EDU

Charles R. Wright (cwright@bigboote.wpi.edu) wrote:

: Yufan Hu (yufan@iscm.ulst.ac.uk) wrote:

: : 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've been wrastling with a DAT drive on our OSF1/ 3000/300, accessing it over
the LAN via rsh:

local machine						OSF/1 machine
------------						-------------
find . -print cpio -ocv |  compress    | rsh osf2  dd of=/dev/rmt0l obs=4k

I choose obs=4k by experimentation that 4k allowed me to write 2Gb to this 
DAT drive.

I have searched /usr/local/sys/mtio.h and other headers etc.  Where have you
come up with the block size of 10k??  and in the previous 2 postings , 10k
was used to both the low and high density drives??

Furthermore, my command line will write about 1Gb to the tape.  On read back
the dd incurres a read error at about the 250Mb point???

My experiences with DAT has been confounding...

Thanks for help.



      parent reply	other threads:[~1994-10-07 12:21 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
1994-10-04 20:41   ` Yufan Hu
1994-10-07 12:21   ` Paul Smith [this message]
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