From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b35d982296e4cf0e X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,b35d982296e4cf0e X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-10-04 07:21:14 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!bigboote.WPI.EDU!cwright From: cwright@bigboote.wpi.edu (Charles R. Wright) Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc Subject: Re: duplicating tapes using to DAT drives Followup-To: comp.unix.osf.osf1,comp.unix.osf.misc Date: 4 Oct 1994 13:54:34 GMT Organization: Worcester Polytechnic Institute Message-ID: <36rmqq$qgm@bigboote.WPI.EDU> References: <36onta$m79@niaomi.iscm.ulst.ac.uk> NNTP-Posting-Host: tensor3.wpi.edu X-Newsreader: TIN [version 1.2 PL2] Xref: bga.com comp.unix.osf.osf1:3857 comp.unix.osf.misc:1021 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"