home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12512 < prev    next >
Encoding:
Text File  |  1992-08-17  |  2.5 KB  |  62 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!stanford.edu!ames!sgi!classic.asd.sgi.com!jeremy
  3. From: jeremy@classic.asd.sgi.com (Jeremy Higdon)
  4. Subject: Re: Problem reading a tar file on exabyte
  5. Message-ID: <omtn2rk@sgi.sgi.com>
  6. Sender: jeremy@classic.asd.sgi.com
  7. Organization: Silicon Graphics, Inc.  Mountain View, CA
  8. References: <1992Aug13.181143.3629@morgan.ucs.mun.ca>
  9. Date: Mon, 17 Aug 1992 22:25:07 GMT
  10. Lines: 50
  11.  
  12. In article <1992Aug13.181143.3629@morgan.ucs.mun.ca>, agouldng@morgan.ucs.mun.ca (Allan Goulding) writes:
  13. > Hi,
  14. > I am having a problem reading a tar file on an exabyte tape. 
  15. > Specifically, the error is:
  16. >    tar: tape read error: Not enough space
  17. > There seems to be no mention of it in the tar man page. The message is
  18. > not intuitively obvious to me. Does tar look to see that I only have
  19. > 150MB free on disk and refuse to even extract one file? Why would a read
  20. > operation complain about lack of space (disk, buffers)?
  21. > The exabyte is an 8200 (252T) on an SGI 4D/360S running Irix 4.0.1.
  22. > We have received other tapes from the same source before and have never 
  23. > had a problem reading them. (but we were also running 3.3.3 at the time)
  24. > tar tvf seems to have no problem reading the tape. ie:
  25. > % mt -t /dev/exabnrnsv rewind
  26. > % tar tvf /dev/exabnrnsv
  27. > rw-r--r-- 2965/100 46719012 Jul 20 13:22 1992 taux2.cdf
  28. > rw-r--r-- 2965/100 46719016 Jul 20 16:21 1992 tauy2.cdf
  29. > rw-r--r-- 2965/100 46718996 Jul 13 17:30 1992 slp.cdf
  30. > rw-rw-rw- 2965/100 46718996 Jul 10 13:52 1992 sst.cdf
  31. > rw-r--r-- 2965/100 46719000 Jul  9 21:32 1992 sat.cdf
  32. > rw-r--r-- 2965/100 46719000 Jul 24 12:59 1992 sst-sat.cdf
  33. > rw-r--r-- 2965/100 46719004 Jul  9 16:11 1992 qs-qa.cdf
  34. > But when I try to extract using "tar xovf /dev/exabnrnsv", (/dev/exabnrnsv is
  35. > linked to /dev/mt/tps0d6nrnsv.) I get an error in syslog saying a blocksize
  36. >  mismatch:
  37. > NOTICE: SCSI tape #6 blocksize mismatch; blocksize on tape is 10240 bytes
  38. > and the "not enough space" message on the screen.
  39. > So I naturally rewind the tape and try again with more arguments:
  40. > % tar xovbf 10240 /dev/exabnrnsv
  41. > The "not enough space" message is repeated on the screen but this time 
  42. > no blocksize error message appears in syslog.
  43. > Turning on some debugging (after rewinding again) yields:
  44. > % tar xovqqbf 10240 /dev/exabnrnsv
  45. > myio(read): wanted 5242880 bytes, got -1
  46. >         errno is 12: Not enough spacetar: tape read error: Not enough space
  47. > exiting myio, firsttape 1
  48. > exiting from done, n 2
  49.  
  50. The 'b' argument to tar is in blocks, not bytes.  Try
  51.  
  52.     tar xovbf 20 /dev/exabnrnsv
  53.  
  54. jeremy
  55.  
  56.