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

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!utcsri!torn!csd.unb.ca!morgan.ucs.mun.ca!agouldng
  3. From: agouldng@morgan.ucs.mun.ca (Allan Goulding)
  4. Subject: Re: Problem reading a tar file on exabyte
  5. Message-ID: <1992Aug14.164602.19232@morgan.ucs.mun.ca>
  6. Organization: Memorial University of Newfoundland
  7. References: <1992Aug13.181143.3629@morgan.ucs.mun.ca> <ohrdrt0@zuni.esd.sgi.com>
  8. Date: Fri, 14 Aug 1992 16:46:02 GMT
  9. Lines: 32
  10.  
  11. In article <ohrdrt0@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
  12. >In <1992Aug13.181143.3629@morgan.ucs.mun.ca> agouldng@morgan.ucs.mun.ca (Allan Goulding) writes:
  13. >| I am having a problem reading a tar file on an exabyte tape. 
  14. >| % tar xovqqbf 10240 /dev/exabnrnsv
  15. >| myio(read): wanted 5242880 bytes, got -1
  16. >|         errno is 12: Not enough spacetar: tape read error: Not enough space
  17. >| exiting myio, firsttape 1
  18. >| exiting from done, n 2
  19. >
  20. >Since for some reason tar doesn't seem to be figuring out
  21. >the block size correctly, try specifying it explictly (10240
  22. >is wrong, that is 10240*512, you want 20).
  23.  
  24. Thanks Dave, 20 is indeed the correct blocksize. The correct incantation is
  25.   tar xovfb /dev/exabnrnsv 20
  26.  
  27. I'm guilty of assuming that the b argument to tar and bru are the same.
  28. bru b is bytes by default, tar b is blocks. I also just noted in the tar man
  29. page the caveat of the argument order, f before b. It is amazing how you
  30. can still miss these little details after reading them so often.
  31.  
  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. -- 
  39. =============================================================================
  40. Allan Goulding, Physical Oceanography group !    agouldng@crosby.physics.mun.ca
  41. Physics Dept., Memorial Univ. of Nfld.      ! or agouldng@morgan.ucs.mun.ca
  42. St. John's, NF. Canada, A1B 3X7             !  
  43.