home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9533 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.6 KB  |  46 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!news
  3. From: sherwood@fenris.space.ualberta.ca (Sherwood Botsford)
  4. Subject: Re: tape problems
  5. Message-ID: <1992Jul29.160420.11533@kakwa.ucs.ualberta.ca>
  6. Sender: news@kakwa.ucs.ualberta.ca
  7. Nntp-Posting-Host: fenris.space.ualberta.ca
  8. Organization: University Of Alberta, Edmonton Canada
  9. References: <1992Jul29.012303.17033@kakwa.ucs.ualberta.ca>
  10. Date: Wed, 29 Jul 1992 16:04:20 GMT
  11. Lines: 33
  12.  
  13. Ok, my original post was not informative enough.  Several people pointed out  
  14. that I didn't have a -c on the tar.  That was a typo.  Really.
  15.  
  16. Try this again:
  17.  
  18. The system is an Exabyte 8200 on a NextStation.
  19.  
  20. This works
  21. cat filename > /dev/tapedevice
  22.  
  23. This doesn't
  24. tar -cf /dev/tapedevice filespec
  25.  
  26. Neither does this:
  27. tar -cf - filespec > /dev/tapedevice
  28.  
  29. Opening the device in perl, and writing to it works however.
  30. The error I get is 
  31.  
  32. Jul 29 09:44:46 fenris mach: st: cmd = 0x1a sr_io_status = 2H
  33. Jul 29 09:44:46 fenris mach:     Sense key = 0x3  Sense Code = 0x0
  34.  
  35. Which translated:  1a = write 2H is check status
  36.            3 = unrecoverable media/blocking error.
  37.  
  38. I picked up a utility on the net called mtset. This critter claims to be able  
  39. to set fixed block/variable block, and make appropriate toggles of  the report  
  40. illegal length bit.  I've tried both the logical and the illogical  
  41. combinations, to no avail; except that I can get the tape drive to the point  
  42. where cat doesn't work either.
  43.  
  44. I think there is something I don't understand about the interaction between  
  45. tape drivers and the device itself.
  46.