home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!stanford.edu!ames!sgi!classic.asd.sgi.com!jeremy
- From: jeremy@classic.asd.sgi.com (Jeremy Higdon)
- Subject: Re: Problem reading a tar file on exabyte
- Message-ID: <omtn2rk@sgi.sgi.com>
- Sender: jeremy@classic.asd.sgi.com
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <1992Aug13.181143.3629@morgan.ucs.mun.ca>
- Date: Mon, 17 Aug 1992 22:25:07 GMT
- Lines: 50
-
- In article <1992Aug13.181143.3629@morgan.ucs.mun.ca>, agouldng@morgan.ucs.mun.ca (Allan Goulding) writes:
- > 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
-
- The 'b' argument to tar is in blocks, not bytes. Try
-
- tar xovbf 20 /dev/exabnrnsv
-
- jeremy
-
-