* duplicating tapes using to DAT drives
@ 1994-10-03 10:54 Yufan Hu
1994-10-04 13:54 ` Charles R. Wright
0 siblings, 1 reply; 4+ messages in thread
From: Yufan Hu @ 1994-10-03 10:54 UTC (permalink / raw)
[ Article crossposted from comp.unix.ultrix ]
[ Author was Yufan Hu ]
[ Posted on 3 Oct 1994 10:53:19 GMT ]
Hello,
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
and
dd if=/dev/rmt2h | rsh dec1 dd of=/dev/rmt0l
it finishes with
156249+0 records in
156249+0 records out
117998+63215 records in
117998+63215 records out
The new tapes are not readable. The error message is
tar: Archive blocksize error
Anybody know what I have done wrong? Cannot I duplicate tapes like this?
Thank you very much for your information.
Yufan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: duplicating tapes using to DAT drives
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
0 siblings, 2 replies; 4+ messages in thread
From: Charles R. Wright @ 1994-10-04 13:54 UTC (permalink / raw)
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"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: duplicating tapes using to DAT drives
1994-10-04 13:54 ` Charles R. Wright
@ 1994-10-04 20:41 ` Yufan Hu
1994-10-07 12:21 ` Paul Smith
1 sibling, 0 replies; 4+ messages in thread
From: Yufan Hu @ 1994-10-04 20:41 UTC (permalink / raw)
Charles R. Wright (cwright@bigboote.wpi.edu) wrote:
: 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.
Thanks. ibs=4k is the trick here. I have successfully made a duplicated tape
after 3 days trying. The process of duplicating a tape with 1500MB contents
took 3 hours.
There is another question arise from reading the tape written on a OSF
machine from the DEC Ultrix 4.3. The tape was written by using tar
several times. The '-r' option was used for tar session start from the
second. The problem here is that only the contents written by the first
tar session with '-c' options is readable from Ultrix. The whole tape can
be read without problem from the OSF.
Any idea what's wrong?
Thanks.
Yufan.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: duplicating tapes using to DAT drives
1994-10-04 13:54 ` Charles R. Wright
1994-10-04 20:41 ` Yufan Hu
@ 1994-10-07 12:21 ` Paul Smith
1 sibling, 0 replies; 4+ messages in thread
From: Paul Smith @ 1994-10-07 12:21 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1994-10-07 12:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox