home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!shared!johnf
- From: johnf@shared.com (John Fusselman)
- Subject: Re: moving files from disk to tape - problems!
- Message-ID: <1992Nov21.235637.40683@shared.com>
- Date: Sat, 21 Nov 92 23:56:37 GMT
- Distribution: usa
- References: <1992Nov17.163014.66377@shared.com>
- Organization: Shared Financial Systems
- Keywords: dd cp delete tape devices
- Lines: 40
-
- In <1992Nov17.163014.66377@shared.com> johnf@shared.com (John Fusselman) writes:
-
- >In the process of attempting to duplicate a tape I effortlessly read the
- >tape contents onto disk using dd - ``dd if=/dev/rmt0.1 of=FILENAME''. The
- >trouble came when I attempted to copy the files from disk to a new tape;
- >dd never moved the tape but instead *promptly* produced an error as
- [stuff deleted]
- >Either an RS/6000 550 running AIX 3.1 or a 220 running 3.2.2 acts the
- >same; the tape drives are both 1/4 inch cartridge, QIC-150 type,
- [stuff deleted]
-
- The problem with dd turned out to be the use of DC600 tapes instead of
- DC6150 tapes or the equivalent. I had at one time understood that there
- was a difference between these tapes and a greater difference than the
- length (at one time the 600's were 600 feet long - 20 feet shorter than
- the 6150's). I now *know* that one should use nothing other than DC6150
- tapes in high density (QIC-150) tape drives; otherwise, the results
- may be unpredictable. The precise operation that failed 100% of the
- time works 100% of the time with only changing the type of tape.
- None of several DC600's would work; all of several DC6150's worked
- perfectly. Problem solved.
-
- >Things got more interesting when I tried "cp" on the 220 under 3.2.2;
- >sometimes when it failed, it deleted the tape device! I was only able
- >consistently to delete rmt0, rmt0.1, .2, and .4; rmt0.5 usually works
- [stuff deleted}
-
- This problem persists; the special files that correspond to the tape
- drive are owned by root and are assigned to group "system". Logged in
- as root or as member of group system, an attempt to copy a file to the
- tape - ``cp file /dev/rmt0'' - will remove the file; changing my group
- with "newgrp" will instead result in the file being copied to tape as
- expected. There is an open call to IBM on this matter.
-
- Once the file is on the tape, whether by "dd" or "cp", the tape is an
- exact duplicate of the original (it was a system image; it is
- bootable).
- --
- Dallas, Texas "Visualize whirled peas."
- --->>> My comments are my opinions and may not be shared by Shared <<<---
-