home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!odin!fido!zola!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Newsgroups: comp.sys.sgi
- Subject: Re: Problem reading a tar file on exabyte
- Message-ID: <oisht0k@zuni.esd.sgi.com>
- Date: 14 Aug 92 20:56:25 GMT
- References: <1992Aug13.181143.3629@morgan.ucs.mun.ca> <ohrdrt0@zuni.esd.sgi.com> <1992Aug14.164602.19232@morgan.ucs.mun.ca>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 36
-
- In <1992Aug14.164602.19232@morgan.ucs.mun.ca> agouldng@morgan.ucs.mun.ca (Allan Goulding) writes:
-
- | In article <ohrdrt0@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
- | >In <1992Aug13.181143.3629@morgan.ucs.mun.ca> agouldng@morgan.ucs.mun.ca (Allan Goulding) writes:
- | >| I am having a problem reading a tar file on an exabyte tape.
- | >| % 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
- | >
- | >Since for some reason tar doesn't seem to be figuring out
- | >the block size correctly, try specifying it explictly (10240
- | >is wrong, that is 10240*512, you want 20).
- |
- | Thanks Dave, 20 is indeed the correct blocksize. The correct incantation is
- | tar xovfb /dev/exabnrnsv 20
- |
- | I'm guilty of assuming that the b argument to tar and bru are the same.
- | bru b is bytes by default, tar b is blocks. I also just noted in the tar man
- | page the caveat of the argument order, f before b. It is amazing how you
- | can still miss these little details after reading them so often.
- |
- | BTW, mt -t /dev/exabnrnsv blksize says:
- | Recommended tape I/O size: 131072 bytes (256 512-byte blocks)
- | Minimum block size: 1 byte(s)
- | Maximum block size: 245760 bytes
- | Current block size: Variable
-
- Interesting. That means it wasn't able to figure it out from
- reading the tape. I have seen this from time to time, but I
- don't think I ever pinned down the cause.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-