home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!sun-barr!cs.utexas.edu!torn!csd.unb.ca!morgan.ucs.mun.ca!agouldng
- From: agouldng@morgan.ucs.mun.ca (Allan Goulding)
- Subject: Problem reading a tar file on exabyte
- Message-ID: <1992Aug13.181143.3629@morgan.ucs.mun.ca>
- Organization: Memorial University of Newfoundland
- Date: Thu, 13 Aug 1992 18:11:43 GMT
- Lines: 54
-
- Hi,
-
- I am having a problem reading a tar file on an exabyte tape.
- Specifically, the error is:
- tar: tape read error: Not enough space
- There seems to be no mention of it in the tar man page. The message is
- not intuitively obvious to me. Does tar look to see that I only have
- 150MB free on disk and refuse to even extract one file? Why would a read
- operation complain about lack of space (disk, buffers)?
-
- The exabyte is an 8200 (252T) on an SGI 4D/360S running Irix 4.0.1.
- We have received other tapes from the same source before and have never
- had a problem reading them. (but we were also running 3.3.3 at the time)
-
- tar tvf seems to have no problem reading the tape. ie:
- % mt -t /dev/exabnrnsv rewind
- % tar tvf /dev/exabnrnsv
- rw-r--r-- 2965/100 46719012 Jul 20 13:22 1992 taux2.cdf
- rw-r--r-- 2965/100 46719016 Jul 20 16:21 1992 tauy2.cdf
- rw-r--r-- 2965/100 46718996 Jul 13 17:30 1992 slp.cdf
- rw-rw-rw- 2965/100 46718996 Jul 10 13:52 1992 sst.cdf
- rw-r--r-- 2965/100 46719000 Jul 9 21:32 1992 sat.cdf
- rw-r--r-- 2965/100 46719000 Jul 24 12:59 1992 sst-sat.cdf
- rw-r--r-- 2965/100 46719004 Jul 9 16:11 1992 qs-qa.cdf
-
- But when I try to extract using "tar xovf /dev/exabnrnsv", (/dev/exabnrnsv is
- linked to /dev/mt/tps0d6nrnsv.) I get an error in syslog saying a blocksize
- mismatch:
- NOTICE: SCSI tape #6 blocksize mismatch; blocksize on tape is 10240 bytes
- and the "not enough space" message on the screen.
-
- So I naturally rewind the tape and try again with more arguments:
- % tar xovbf 10240 /dev/exabnrnsv
- The "not enough space" message is repeated on the screen but this time
- no blocksize error message appears in syslog.
-
- Turning on some debugging (after rewinding again) yields:
- % tar xovqqbf 10240 /dev/exabnrnsv
- myio(read): wanted 5242880 bytes, got -1
- errno is 12: Not enough spacetar: tape read error: Not enough space
- exiting myio, firsttape 1
- exiting from done, n 2
-
- I can read the tape with dd as a workaround but I would still like to know
- why tar will not access the tape directly. Any help in this matter will
- be most appreciated.
-
- Allan Goulding
-
- --
- =============================================================================
- Allan Goulding, Physical Oceanography group ! agouldng@crosby.physics.mun.ca
- Physics Dept., Memorial Univ. of Nfld. ! or agouldng@morgan.ucs.mun.ca
- St. John's, NF. Canada, A1B 3X7 !
-