From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,44a0f577b7d744ed X-Google-Attributes: gidfcda7,public X-Google-Thread: f72b0,44a0f577b7d744ed X-Google-Attributes: gidf72b0,public X-Google-Thread: 1020c6,44a0f577b7d744ed X-Google-Attributes: gid1020c6,public X-Google-Thread: 115614,44a0f577b7d744ed X-Google-Attributes: gid115614,public X-Google-Thread: 11035d,44a0f577b7d744ed X-Google-Attributes: gid11035d,public X-Google-Thread: fee84,44a0f577b7d744ed X-Google-Attributes: gidfee84,public From: gurman@uvsp.gsfc.nasa.gov (Joseph B. Gurman) Subject: Re: Info needed: s/w and h/w for duplicating DAT Date: 1995/08/21 Message-ID: #1/1 X-Deja-AN: 108694466 distribution: inet references: <411taq$js4@eng_ser1.erg.cuhk.hk> <417pdu$gbm@fohnix.metronet.com> organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA newsgroups: comp.unix.misc,comp.unix.admin,comp.sys.hp.hpux,comp.unix.solaris,comp.unix.osf.osf1,comp.unix.aix In article <417pdu$gbm@fohnix.metronet.com>, tom@fohnix.metronet.com (Tom Griffing) wrote: > In article <411taq$js4@eng_ser1.erg.cuhk.hk>, > S.T. Wong wrote: > >Hi, there, > > > >I would like to know if there's any software (with hardware) for duplicating > >DAT (and other types of tape) regardless of the format of data on the media. > >Would anyone pls advise ? Pls send your advice by email (st-wong@cuhk.edu.hk). > > How about: > > $ dd if=/dev/rmt0 bs=1024b | dd of=/dev/rmt1 bs=1024b > > This will duplicate the first archive on the tape. To duplicate > all possible archives, you'll have to put it into a script with > a while loop and use the no-rewind device. Something like: > > while [ 1 ] > do > dd if=/dev/rmt0.1 bs=1024b | dd of=/dev/rmt1.1 bs=1024b > done > > If you don't have a second tape drive, you'll have to use an > intermediate file, but you may need as much disk space as the > size of your tape, though. > > If you use GNU tar, you can write it to a tape drive on a remote > machine like so: > > while [ 1 ] > do > dd if=/dev/rmt0.1 bs=1024b | dd of=RemoteHost:/dev/rmt0.1 bs=1024b > done But.... what if the tape was written with bs != 1024, and he wants a real copy of the orignal tape? Joe Gurman -- Joseph B. Gurman / NASA Goddard Space Flight Center/ Solar Data Analysis Center / Code 682 / Greenbelt MD 20771 USA / gurman@uvsp.gsfc.nasa.gov | Federal employees are still prohibited from holding opinions while at work. Any opinions expressed herein must therefore be someone else's. |