Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!wuarchive!rice!rice!sun-spots-request From: sdm7g@dale.acc.Virginia.EDU (Steve D. Majewski) Newsgroups: comp.sys.sun Subject: problem with using 'dd' to copy 'tar' tapes Keywords: Miscellaneous Message-ID: <1990Oct7.230945.3387@rice.edu> Date: 7 Oct 90 21:30:00 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 26 Approved: Sun-Spots@rice.edu Originator: spots@walhalla.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 338, message 15 In trying to make a copy of a tar tape with dd, the copies don't seem to be exactly the same as the originals. The original, I can loop thru via: "dd if=/dev/nrst0" or "tar -tvf /dev/nrst0" and at the end, the tape is properly positioned at the start of the next file. Reading the copy, the tape sometimes ends up positioned at the end of the current file, rather than the beginning of the next. "mt status" shows: Archive QIC-150 tape drive: sense key(0x0)= no sense residual= 0 retries= 0 file no= 3 block no= 17506 I assume that this has something to do with padding and some magical combination of "bs=" and "conv=block(,sync?) will fix it. Does anybody know the right magic ? ( I assume it is padding of blocks on the tape, because there doesn't seem to be any OTHER problems, but I'm not sure how to verify it - I don't have room enough to diff 2 copies on disk. ) [ This is on a Sparcstation I / SUN-OS 4.03 / Archive QIC-150 tape ] Steven D. Majewski University of Virginia Physiology Dept. sdm7g@Virginia.EDU Box 449 Health Sciences Center (804)-982-0831 Charlottesville, VA 22908