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

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!torn!csd.unb.ca!morgan.ucs.mun.ca!agouldng
  3. From: agouldng@morgan.ucs.mun.ca (Allan Goulding)
  4. Subject: Problem reading a tar file on exabyte
  5. Message-ID: <1992Aug13.181143.3629@morgan.ucs.mun.ca>
  6. Organization: Memorial University of Newfoundland
  7. Date: Thu, 13 Aug 1992 18:11:43 GMT
  8. Lines: 54
  9.  
  10. Hi,
  11.  
  12. I am having a problem reading a tar file on an exabyte tape. 
  13. Specifically, the error is:
  14.    tar: tape read error: Not enough space
  15. There seems to be no mention of it in the tar man page. The message is
  16. not intuitively obvious to me. Does tar look to see that I only have
  17. 150MB free on disk and refuse to even extract one file? Why would a read
  18. operation complain about lack of space (disk, buffers)?
  19.  
  20. The exabyte is an 8200 (252T) on an SGI 4D/360S running Irix 4.0.1.
  21. We have received other tapes from the same source before and have never 
  22. had a problem reading them. (but we were also running 3.3.3 at the time)
  23.  
  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.  
  35. But when I try to extract using "tar xovf /dev/exabnrnsv", (/dev/exabnrnsv is
  36. linked to /dev/mt/tps0d6nrnsv.) I get an error in syslog saying a blocksize
  37.  mismatch:
  38. NOTICE: SCSI tape #6 blocksize mismatch; blocksize on tape is 10240 bytes
  39. and the "not enough space" message on the screen.
  40.  
  41. So I naturally rewind the tape and try again with more arguments:
  42. % tar xovbf 10240 /dev/exabnrnsv
  43. The "not enough space" message is repeated on the screen but this time 
  44. no blocksize error message appears in syslog.
  45.  
  46. Turning on some debugging (after rewinding again) yields:
  47. % tar xovqqbf 10240 /dev/exabnrnsv
  48. myio(read): wanted 5242880 bytes, got -1
  49.         errno is 12: Not enough spacetar: tape read error: Not enough space
  50. exiting myio, firsttape 1
  51. exiting from done, n 2
  52.  
  53. I can read the tape with dd as a workaround but I would still like to know
  54. why tar will not access the tape directly. Any help in this matter will
  55. be most appreciated.
  56.  
  57. Allan Goulding
  58.  
  59. -- 
  60. =============================================================================
  61. Allan Goulding, Physical Oceanography group !    agouldng@crosby.physics.mun.ca
  62. Physics Dept., Memorial Univ. of Nfld.      ! or agouldng@morgan.ucs.mun.ca
  63. St. John's, NF. Canada, A1B 3X7             !  
  64.