home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12439 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  2.2 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!fido!zola!zuni!anchor!olson
  2. From: olson@anchor.esd.sgi.com (Dave Olson)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Problem reading a tar file on exabyte
  5. Message-ID: <oisht0k@zuni.esd.sgi.com>
  6. Date: 14 Aug 92 20:56:25 GMT
  7. References: <1992Aug13.181143.3629@morgan.ucs.mun.ca> <ohrdrt0@zuni.esd.sgi.com> <1992Aug14.164602.19232@morgan.ucs.mun.ca>
  8. Sender: news@zuni.esd.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc.  Mountain View, CA
  10. Lines: 36
  11.  
  12. In <1992Aug14.164602.19232@morgan.ucs.mun.ca> agouldng@morgan.ucs.mun.ca (Allan Goulding) writes:
  13.  
  14. | In article <ohrdrt0@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
  15. | >In <1992Aug13.181143.3629@morgan.ucs.mun.ca> agouldng@morgan.ucs.mun.ca (Allan Goulding) writes:
  16. | >| I am having a problem reading a tar file on an exabyte tape. 
  17. | >| % tar xovqqbf 10240 /dev/exabnrnsv
  18. | >| myio(read): wanted 5242880 bytes, got -1
  19. | >|         errno is 12: Not enough spacetar: tape read error: Not enough space
  20. | >| exiting myio, firsttape 1
  21. | >| exiting from done, n 2
  22. | >
  23. | >Since for some reason tar doesn't seem to be figuring out
  24. | >the block size correctly, try specifying it explictly (10240
  25. | >is wrong, that is 10240*512, you want 20).
  26. | Thanks Dave, 20 is indeed the correct blocksize. The correct incantation is
  27. |   tar xovfb /dev/exabnrnsv 20
  28. | I'm guilty of assuming that the b argument to tar and bru are the same.
  29. | bru b is bytes by default, tar b is blocks. I also just noted in the tar man
  30. | page the caveat of the argument order, f before b. It is amazing how you
  31. | can still miss these little details after reading them so often.
  32. | BTW, mt -t /dev/exabnrnsv blksize says:
  33. |  Recommended tape I/O size: 131072 bytes (256 512-byte blocks)
  34. |  Minimum block size: 1 byte(s)
  35. |  Maximum block size: 245760 bytes
  36. |  Current block size: Variable
  37.  
  38. Interesting.  That means it wasn't able to figure it out from
  39. reading the tape.  I have seen this from time to time, but I
  40. don't think I ever pinned down the cause.
  41. --
  42. Let no one tell me that silence gives consent,  |   Dave Olson
  43. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  44.     Maria Isabel Barreno                        |   olson@sgi.com
  45.