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-07 10:08:36 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!agate!barrnet.net!nntp.crl.com!crl3.crl.com!not-for-mail From: cgi@crl.com (Paul Smith) Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc Subject: Re: duplicating tapes using to DAT drives Date: 7 Oct 1994 05:21:10 -0700 Organization: CRL Dialup Internet Access (415) 705-6060 [login: guest] Message-ID: <373efm$2h9@crl3.crl.com> References: <36onta$m79@niaomi.iscm.ulst.ac.uk> <36rmqq$qgm@bigboote.WPI.EDU> NNTP-Posting-Host: crl3.crl.com X-Newsreader: TIN [version 1.2 PL2] Xref: bga.com comp.unix.osf.osf1:3928 comp.unix.osf.misc:1042 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.