-- John Francini, francini_at_progress.com -------------------------------------------------------------------------- From: "Dr. Tom Blinn, 603-884-0646" <tpb_at_doctor.zk3.dec.com> You seem to be assuming that when you use "dd" with the "files=" option, it copies each input file to a separate output file. I suspect it appends all of the input files into a single output file. I believe you need to use a separate "skip=" for each input file, and copy one input file at a time to the output. You could probably write your own program that would do this more efficiently. Or just start by using "mt" to skip over the first file, then run "dd" once for each file to be copied, but don't ask it to copy multiple files, and don't tell it to skip anything. If you have the /dev/nrmt on the input and output, it should just copy one file from the input to one file in the output, and never reposition the tape in between the steps. Tom Dr. Thomas P. Blinn + UNIX Software Group + Compaq Computer Corporation 110 Spit Brook Road, MS ZKO3-2/U20 Nashua, New Hampshire 03062-2698 Technology Partnership Engineering Phone: (603) 884-0646 Internet: tpb_at_zk3.dec.com Digital's Easynet: alpha::tpb ACM Member: tpblinn_at_acm.org PC_at_Home: tom_at_felines.mv.net Opinions expressed herein are my own, and do not necessarily represent those of my employer or anyone else, living or dead, real or imagined. -------------------------------------------------------------------------- From: Ian Goodacre <Ian.Goodacre_at_mbs.gov.on.ca> Not sure about the skip and files arguments. You might try: mt -f /dev/nrmt1h rewind mt -f /dev/nrmt1h fsf 1 dd if=3D/dev/nrmt1h of=3D/dev/nrmt0h bs=3D61440 dd if=3D/dev/nrmt1h of=3D/dev/nrmt0h bs=3D61440 dd if=3D/dev/nrmt1h of=3D/dev/nrmt0h bs=3D61440 ... Perhaps a bit crude, but it might work. Ian Goodacre Computer and Telecommunication Services (CTS) Management Board Secretariat 155 University Avenue, 8th floor Toronto, Ontario, M5H 3B7 Tel: 416-327-1092 Fax: 416-327-3281 -------------------------------------------------------------------------- From: Lars Bro <lbr_at_dksin.dk> Well, it simply must work.... You will need to run dd repeatedly once for each file, DEV_1=/dev/nrmt1h DEV_2=/dev/nrmt2h while dd if=DEV_1 of=DEV_2 do true done What puzzles me is that you manually write and end-of-file marker at end of the first tar(a marker comes when 1st tar closes). I never did that, maybe you got this: dummy_tar EOF EOF 1st vdump EOF 2nd vdump ^ | | And this is what you try to read with mt fsf 1 -------* yours, Lars Bro Lars Bro lbr_at_dksin.dk ABB Daimler-Benz Transportation Signal A/S +45 36 39 01 77 -------------------------------------------------------------------------- From: "Thomas.Meyer" <meyert_at_dla-marbach.de> Dear Mr. Rajah, you might try the "tcopy" command (see man-page). It does a complete copy from one tape to another. Regards, Thomas Meyer, EDV-Systemadministrator email: Thomas.Meyer_at_dla-marbach.de smail: Deutsches Literaturarchiv Marbach Schillerhoehe 8-10 D-71672 Marbach Telefon: +49-7144-848-141 Fax: ...-387 WWW: http://www.dla-marbach.de -------------------------------------------------------------------------- From: tsh_at_mrc-lmb.cam.ac.uk (T. S. Horsnell) Tried tcopy? Cheers, Terry. Terry Horsnell (tsh_at_mrc-lmb.cam.ac.uk) Computer Manager Medical Research Council Lab of Molecular Biology Hills Road CAMBRIDGE CB2 2QH U.K. -------------------------------------------------------------------------- From: "C.J.Bol" <bol_at_Axp1.IenD.wau.nl> mahendra, there is a 'tcopy'-program in Digital Unix. Regards, Kees Bol -------------------------------------------------------------------------- From: Mervyn Weis <Mervyn.Weis_at_digital.com> Hello Mahendra, I don't know if this will help, but have a look at the tcopy utility (# man tcopy). You might have to do some tape manipulation with the mt command for multiple vdump images as the tcopy utility "assumes that there are two tape marks at the end of the source tape when copying or reading". Nonetheless, it might be worth a try. Hope this helps. Good Luck and Regards, Merv Weis e-mail: Mervyn.Weis_at_compaq.com --------------------------------------------------------------------------Received on Tue Feb 09 1999 - 16:08:26 NZDT
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT