Article View: dnet.general
Article #2129Re: Tape SYS V <-> Sun 3/50
From: Andreas Luik
Date: Thu, 01 Jun 1989 12:21
Date: Thu, 01 Jun 1989 12:21
168 lines
8144 bytes
8144 bytes
In article <841@pcsbst.UUCP> torsten@brahms.pcs.com (Torsten Homeyer) writes:
>In article <611@isaak.UUCP> luik@isaak.UUCP (Andreas Luik) writes:
>>In article <431@unipas.UUCP> stabl@unipas.UUCP (Robert Stabl) writes:
>>>In article <1419@pfm.UUCP> bernd@pfm.UUCP (Bernd Hennig) writes:
>>>>[ Probleme mit Beschreiben von Tapes auf SUN-Maschinen ]
>
>[ jede Menge geloescht ]
>
>> Tape: 600 ft 1/4" Cartridge
>> Format: Sun QIC-11 (4 Track) (beschrieben auf /dev/rst0)
>> tar bzw. cpio (es hat beides nicht funktioniert)
>>
>> [ nochmalige Schilderung unseren Problems ]
>
> Jetzt wuerde mich mal interessieren, ob ihr ueberhaupt wisst, mit
> was fuer Formaten ihr eure Tapes beschreibt?
Ja was steht denn oben ?
> Denn (bitte entschuldigen, aber mit den Produktbezeichnungen vom
> Sun kenne ich mich nicht aus):
>
> a. Aeltere Sun's benutzen QIC-11 (4 Spuren), und da kriegst
> du auch mit Gewalt auf 600 ft. Baender nicht mehr als
> ca. 30 - 40 MB geschrieben.
>
> b. Die neueren Suns verwenden genau wie wir per Default
> QIC-24 (9 Spuren). Hier gehen bei 450 ft. Baendern
> ca. 40 MB bzw. bei 600 ft. Baendern ca. 60 MB auf
> eine Cassette.
Das ist leider nicht ganz vollstaendig, weil es tatsaechlich drei
verschiedene Parameter gibt:
1.) Die mechanische Eigenschaft des Tape-Drives (4 oder 9-Track)
2.) Die zwei Band-Varianten (450 ft und 600 ft)
3.) Das Bit-Format des Controllers (QIC-11 oder QIC-24)
Es kommen folgende Kombinationen vor:
4-Track Laufwerk (v. a. in Sun-2 Workstations)
QIC-11 450 ft (Kapazitaet: 20MB) Device: /dev/rst0
9-Track Laufwerk
QIC-11 450 ft (Kapazitaet: 45MB) Device: /dev/rst0
600 ft (Kapazitaet: 60MB) Device: /dev/rst0
QIC-24 450 ft (Kapazitaet: 45MB) Device: /dev/rst8
600 ft (Kapazitaet: 60MB) Device: /dev/rst8
Eine detaillierte Beschreibung von hoptoad.UUCP!gnu@cgl.ucsf.edu
(John Gilmore) aus comp.sys.sun (V6i194) habe ich fuer Interessierte
hinten angehaengt.
> Aber auch wenn ein Streamer beide Formate beherrscht muss
> normalerweise ueber zwei verschiedene Devices zugegriffen, oder
> vorher per IOCTL eingestellt werden mit welchem Format gearbeitet
> werden soll.
> Wie sieht das bei Sun und diesem Intel-System aus ?????
Fuer Sun: siehe obige Tabelle.
> Habt ihr auch nach dem Byteordering geschaut, das ist bei Intel
> und Motorola genau Kontraer.
Eigentlich dachte ich, dass das "tar"-Format vom Byte-Ordering unabhaengig
ist.
> Gruss, Torsten.
Gruesse,
Andreas Luik, ISA GmbH, 7000 Stuttgart (West-Germany)
UUCP: ...{uunet!unido, pyramid!iaoobel}!isaak!luik or luik@isaak.UUCP
BITNET: isaak.uucp!luik@unido.bitnet
-------------------------aus comp.sys.sun-------------------------------
Date: Thu, 18 Aug 88 02:56:03 PDT
From: hoptoad.UUCP!gnu@cgl.ucsf.edu (John Gilmore)
Subject: Cartridge tape formats and sizes (/dev/rst0 versus /dev/rst8)
There seems to be massive confusion about cartridge tapes. It's really
simple combinations of three different parameters.
There are two variants of the mechanical tape drive -- 4-track and
9-track. The tracks are used like on an 8-track audio tape (run all the
way down the tape on one track, then mechanically slide the head up or
down and do another pass of the tape.) The 9-track version can store
9/4ths as much data as the 4-track version. The 9-track version will read
4-track tapes but the tapes it writes can be marginal for reading on
4-track machines, because the tracks are thinner. Mostly they work.
There are two variants of the tapes themselves. One is 450 feet long
(DC300XL style) and the other is 600 feet long (DC600A style). They use
different magnetic coatings because the tape has to be thinner to fit 600
feet into a cartridge. Some older tape drives can only read/write the 450
foot tapes because their heads can't cope with the new magnetic coatings.
There is a sense hole on the cartridge (up near the write protect tab)
that lets the newer drives figure out how to set up the head for this
particular tape. The actual end-of-tape sensing is done with small holes
punched in the tape itself, detected with an LED, a mirror in the
cartridge, and a photocell, so that works fine for either tape length.
There are two variants of the bit format that controllers record on the
tape. One is called QIC-11, the other is QIC-24. QIC-11 is the original
Archive format (Archive Corp. started the whole 1/4" streaming cartridge
business). When a standards committee got a hold of it, they changed it
(of course) to QIC-24. In both cases, the tape contains 512-byte blocks
of data with small headers on them. For QIC-11, the block number in the
header is 8 bits; for QIC-24, the number is 24 bits. That is essentially
the only difference between the two. It was changed because in unusual
error recovery situations it's possible for the tape to move more than 256
blocks (at 90 inches per second and 8000 bits per inch, things go by
quickly -- think about it) and the controller could lose track of where it
was on the tape. Both formats hold the same amount of data on a given
tape.
If you make up a table of this stuff, you start seeing some familiar
numbers:
Tape 450' 600'
Drive
4-track 20MB [no such drives used in Suns]
9-track 45MB 60MB
The hardware takes care of 4-track/9-track and tape size issues, so all
you have to specify in software is whether you want QIC-11 or QIC-24
formatting. /dev/rst0 is QIC-11 and /dev/rst8 is QIC-24. I linked them
to /dev/rst.qic11 and /dev/rst.qic24 so I could just do it without looking
it up.
I believe Sun should have made the tape driver software attempt to read
tapes in both QIC-11 and QIC-24 format, like reel-to-reel tape drives
which will read whatever density you throw at them. They didn't,
unfortunately, so if you try to read a tape that's in the other format, it
looks like a totally empty tape (you get a "no data" error). Just rewind
and try again with the other format. If you get "no data" in both
formats, you really have a blank tape (or one recorded in yet some other
random format).
There are a few other manufacturers who use QIC-24 tape drives; the IBM
PC/RT is one. Apollos may be another, I'm not sure. Very few of the IBM
PC 1/4" tape drives use QIC-24; they all went off in different directions.
I don't know of any current production machines that use QIC-11 only; it's
obsolete.
Sun used to make all their distribution cartridges in 4-track, QIC-11
format on 450 foot tapes [20MB], since they can be read by all Suns.
Starting with SunOS 4.0, they are now making Sun-4 tapes in QIC-24 on
9-track, 600 ft tapes [60MB] which reduces the number of tapes by a factor
of 3. I am not sure whether Sun-3 tapes have been switched, though I
think all Sun-3's can read 60MB QIC-24 tapes unless they were upgraded
from Sun-2's. However, older boot PROMs can't boot from a QIC-24 tape
(they never ask the tape controller to try QIC-24 mode, and it's too dumb
to do it itself), which is why you may need a boot PROM upgrade from Sun
Tech Support to boot SunOS 4.0 from 1/4" tape.
John Gilmore
--
Andreas Luik, ISA GmbH, 7000 Stuttgart (West-Germany)
UUCP: ...{uunet!unido, pyramid!iaoobel}!isaak!luik or luik@isaak.UUCP
BITNET: isaak.uucp!luik@unido.bitnet
Technical Details
Message-ID:
<615@isaak.UUCP>Path:
arc1-ca.pugleaf.net!gmdzi!unido!isaak!luikReferences:
<1419@pfm.UUCP> <431@unipas.UUCP> <611@isaak.UUCP> <841@pcsbst.UUCP>Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII-7-bit X-Google-Thread: 10dc06,abfd5e8381a708c1 X-Google-Attributes: gid10dc06,public X-Google-ArrivalTime: 1989-06-03 06:25:28 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!luik From: luik@isaak.UUCP (Andreas Luik) Newsgroups: dnet.general Subject: Re: Tape SYS V <-> Sun 3/50 Summary: jetzt wird's dann chaotisch Keywords: SUN, Tape Message-ID: <615@isaak.UUCP> Date: 1 Jun 89 12:21:05 GMT References: <1419@pfm.UUCP> <431@unipas.UUCP> <611@isaak.UUCP> <841@pcsbst.UUCP> Reply-To: luik@isaak.UUCP (Andreas Luik) Distribution: dnet Organization: ISA GmbH, Stuttgart, West-Germany Lines: 168 Posted: Thu Jun 1 13:21:05 1989