home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!constellation!geohub.gcn.uoknor.edu!dwight
- From: dwight@geohub.gcn.uoknor.edu (Dwight D. Moore)
- Subject: Re: HELP: Change blocksize on 8mm tape on RS/6000
- Message-ID: <1992Aug21.145733.24320@constellation.ecn.uoknor.edu>
- Keywords: 8mm Tape RS/6000 Blocksize
- Sender: usenet@constellation.ecn.uoknor.edu (Nets)
- Reply-To: dwight@geohub.gcn.uoknor.edu
- Organization: Geosciences Computing Network, Univ. of Oklahoma
- References: <1992Aug19.171332.15803@bert.eecs.uic.edu>
- Date: Fri, 21 Aug 1992 14:57:33 GMT
- Lines: 48
-
- In article <1992Aug19.171332.15803@bert.eecs.uic.edu>, artn@bert.eecs.uic.edu (Ellyn
- Sandor) writes:
- |>
- |> Is there any way to change the blocksize on an RS/6000 8mm
- |>tape drive? After a lot of messing around, I finally figured out
- |>that one of the problems with what I'm working on is that if I try
- |>to write() a record with a number of bytes that is not a multiple of
- |>1024 bytes, I get an "bad argument" message. Is there a switch for
- |>this, or do I have to work with it?
- |> I am trying to emulate tape formats for graphic arts systems,
- |>including the LV3 format and DDES. The LV3 format I was trying to write
- |>wanted a blocksize of 36000 bytes, and DDES wants a bunch of 80 byte
- |>headers written.
- |> Or... is this a dumb question? Are 8mm tapes constrained
- |>by convention to blocksizes that are multiples of 1K? In other words,
- |>do I just THINK the computer on the other end wants another blocksize,
- |>but really, I should just be padding out the data?
- |> (Oh, yeah, if anyone is familiar with DDES, do the VOL1, HDR1,
- |>UHL1, etc records have to be (a) 80 byte blocks (b) padded to 1024 byte
- |>blocks with one of these records in each block or (c) all the 80 byte
- |>blocks lumped together in one 1024 byte block? The ANSI standard does
- |>not seem to deal with this, although the writing is sort of dense...)
- |>
- |> Thanks in advance!
- |> Stephan Meyers
- |>--
- |>--
- |>Stephan Meyers | artn@uicbert.eecs.uic.edu
- Yes, we have had a similar problem with NEXRAD radar data tapes which have a very
- non-ANSI standard maximum block size of 145920. You can change the 8mm block
- size as such:
- chdev -l rmt0 -a block_size=1024
-
- To check the current settings, use
- lsattr -E -l rmt0
-
- As a matter of fact, I understand that a 1024 block size is more efficient on Exabytes
- 8mm since that is the actual block size the hardware uses to write to the media. I
- believe the ANSI standard only restricts the maximum record size to 64K bytes.
-
- ----------------------------------------------------------------------------
- Dwight D. Moore
- Geosciences Computing Network
- University of Oklahoma
-
- dwight@geohub.gcn.uoknor.edu (129.15.40.10)
- These opinions do not necessarily represent the opinions of OU or the GCN.
- ----------------------------------------------------------------------------
-