11.07.2015 Views

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

tape drives 467tape drivesAnyone who has seen computers in old movies is familiarwith the row <strong>of</strong> large, freest<strong>and</strong>ing tape cabinets with theirspinning reels <strong>of</strong> tape. The visual cue that the computerwas running consisted <strong>of</strong> the reels thrashing back <strong>and</strong> forthvigorously while rows <strong>of</strong> lights flashed on the computerconsole. Magnetic tape was indeed the mainstay for datastorage in most large computers (see mainframe) in the1950s through the 1970s.In early mainframes the main memory (correspondingto today’s RAM chips) consisted <strong>of</strong> “core”—thous<strong>and</strong>s <strong>of</strong>tiny magnetized rings crisscrossed with wires by whichthey could be set or read. Because core memory was limitedto a few thous<strong>and</strong> bytes (kB), it was used only to holdthe program instructions (see punched cards <strong>and</strong> papertape) <strong>and</strong> to store temporary working data while the programwas running.The source data to be processed by the program wasread from a reel <strong>of</strong> tape on the drive. If the program updatedthe data (rather than just reporting on it), it would generallywrite a new tape with the revised data. In large facilities aperson called a tape librarian was in charge <strong>of</strong> keeping thereels <strong>of</strong> tape organized <strong>and</strong> providing them to the computeroperators as needed.OperationA mainframe tape drive had two reels, the supply reel <strong>and</strong>the take-up reel. Because each reel had its own motor, theycould be spun at different speeds. This allowed a specifiedlength <strong>of</strong> tape to be suspended between the two reels,serving as sort <strong>of</strong> a buffer <strong>and</strong> allowing the take-up reel toaccelerate at the start <strong>of</strong> a read or write operation withoutdanger <strong>of</strong> breaking the tape. The “buffer” tape was actuallysuspended in a partial vacuum, which both kept thetape taut enough to prevent snarling <strong>and</strong> allowed for airpressure sensors to activate the appropriate motor whenthe amount <strong>of</strong> tape in the buffer went above or below presetpoints.Data was read or written by the read <strong>and</strong> write headsrespectively, in units called frames. In addition to the 1 or0 data bits, each frame included parity bits (see error correction).The frames were combined into blocks, with eachblock having a header in front <strong>of</strong> the data frames <strong>and</strong> one ormore frames <strong>of</strong> check (parity) bits following the data.The two predominant tape formats were the IBM format,which used variable-length data blocks (<strong>and</strong> thus could notbe rewritten) <strong>and</strong> the DEC format, which used fixed-lengthblocks, allowing data to be rewritten in place, albeit at somecost in speed <strong>and</strong> efficiency.During the 1960s, magnetic disks (see hard disk)increasingly came into use, <strong>and</strong> more <strong>of</strong> the temporary databeing used by programs began to be stored on disk ratherthan on tape. Eventually, tapes were relegated to storingvery large data sets or archiving old data.However, when the first desktop microcomputers (suchas the Apple II <strong>and</strong> Radio Shack TRS-80) came along inthe late 1970s <strong>and</strong> early 1980s, they, like the first mainframes,had very limited main memory <strong>and</strong> disk driveswere unavailable or expensive. As a result, programs (suchA NASA automated tape library. These facilities can store trillions<strong>of</strong> bytes <strong>of</strong> data. (NASA Photo)as Bill Gates’s Micros<strong>of</strong>t Basic) <strong>of</strong>ten came on tape cassettes,<strong>and</strong> the computer included an interface allowing it tobe connected to an ordinary audio cassette recorder. However,this use <strong>of</strong> tapes was quite short-lived, <strong>and</strong> was soonreplaced by the floppy disk drive <strong>and</strong> later, hard drives <strong>and</strong>CD-ROM drives.Tapes as Backup DevicesBy the 1990s, PC users generally used tapes only for makingbackups. A typical backup tape drive uses DAT (digitalaudio tape) cartridges that hold from hundreds <strong>of</strong> megabytesto several gigabytes <strong>of</strong> data. Most drives use a rotatingassembly <strong>of</strong> four heads (two read <strong>and</strong> two write) that verifydata as it’s being written. As a backup medium, tape has alower cost per gigabyte than disk devices. It is easy to use<strong>and</strong> can be set up to run unattended (except for periodicallychanging cartridges).However, since tapes are written <strong>and</strong> read sequentially,they are not convenient for restoring selected files (seebackup <strong>and</strong> archive systems). Many smaller installationsnow prefer using a second (“mirror”) hard drive as backup,using disk arrays (see raid) or using recordable CDs oroptical drives for smaller amounts <strong>of</strong> data (see cd-rom <strong>and</strong>dvd-rom).Many large companies <strong>and</strong> government agencies havethous<strong>and</strong>s <strong>of</strong> reels <strong>of</strong> tape stored away in their vaults sincethe 1960s, including data returned from early NASA spacemissions. As time passes, it becomes increasingly difficult toguarantee that this archived data can be successfully read.This is due both to gradual deterioration <strong>of</strong> the medium <strong>and</strong>the older data formats becoming obsolete (see backup <strong>and</strong>archive systems).Further ReadingBrain, Marshall. “How Tape Drives Work.” Available online. URL:http://electronics.howstuffworks.com/cassette.htm. AccessedAugust 22, 2007.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!