home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / sysv386 / 16329 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.5 KB  |  64 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uunet.ca!cognos!maklinm
  3. From: maklinm@cognos.com (Max Maklin)
  4. Subject: Re: ARCHIVE SCSI ST525 TAPE AND ISC UNIX 3.01 WONT WRITE
  5. Message-ID: <1992Nov8.225107.2448@cognos.com>
  6. Sender: news@cognos.com (News Administrator)
  7. Nntp-Posting-Host: concorde
  8. Organization: Cognos Incorporated, Ottawa CANADA
  9. References: <1dh71nINN52o@uwm.edu> 
  10. Distribution: usa
  11. Date: Sun, 8 Nov 1992 22:51:07 GMT
  12. Lines: 50
  13.  
  14. In article <1dh71nINN52o@uwm.edu> peter@miller.cs.uwm.edu (Peter J Diaz de Leon) writes:
  15. :^()  >I recently bought a Archive ST525 SCSI tape drive and
  16. :^()  >am running it on a DPT EISA SCSI controler under
  17. :^()  >ISC UNIX SYS 5 R3 V:3.0.1
  18. :^()  >
  19. :^()  >The tape drive has been set for SCSI ID 2.
  20. :^()  >I am able to use the "mt" command to retension
  21. :^()  >and rewind and erase the tape in the drive.
  22. :^()  >The mt command with the "-v" option gives me
  23. :^()  >the following:
  24. :^()  >
  25. :^()  >       Found scsi tape:
  26. :^()  >              speed = 0
  27. :^()  >          flags = 0x2118
  28. :^()  >          spare = 0
  29. :^()  >          media = 0
  30. :^()  >          recsiz = 512
  31. :^()  >
  32. :^()  >       Rewind status 0
  33. :^()  >
  34. :^()  >However, when I try to write out to the tape
  35. :^()  >using tar or cpio I get:
  36. :^()  >
  37. :^()  >I/O error on write(), errno 5, I/O error
  38. :^()  >
  39. :^()  >I get a very similar message if I try to read of 
  40. :^()  >a tape made on another machine.  
  41. :^()  >
  42. :^()  >By the way the tape in the tape drive is a
  43. :^()  >DC6150.  I have not had a chance to go and buy
  44. :^()  >6525 tapes yet. Could this be the problem?
  45.  
  46. The I/O error on write is typically returned when the write() call
  47. has actually run out of tape to write to.  Are you sure you are at
  48. the beginning of the tape?  mt has an option to rewind the tape,
  49. i.e. mt -f device_name rewind.  If you are at the beginning this
  50. command will return immediately.  Another source of problems is if
  51. there is an EOT marker at the beginning of the tape.
  52.  
  53. I typically get these messages when I tell cpio how long the tape
  54. is, but because of media errors I in turn use more tape up then I 
  55. told cpio.  Therefore it continues streaming thinking there is more
  56. tape, but in fact runs out as some was passed over because of bad media
  57.  
  58. Max
  59. -- 
  60. Max Maklin                                                P.O. Box 9707 
  61. Technical Analyst                               3755 Riverside Drive
  62. Cognos Incorporated                              Ottawa, Ontario CANADA
  63. Internet: maklinm@cognos.COM                 UUNet: maklinm@cognos.UUCP
  64.