A tape drive is a data storage device that reads and writes data on a magnetic tape. Magnetic tape data storage is typically used for offline, archival data storage. Tape media generally has a favorable unit cost and a long archival stability.
A tape drive provides sequential access storage, unlike a hard disk drive, which provides direct access storage. A disk drive can move to any position on the disk in a few milliseconds, but a tape drive must physically wind tape between reels to read any one particular piece of data. As a result, tape drives have very slow average seek times to data. However, tape drives can stream data very quickly off a tape when the required position has been reached. For example, as of 2010 Linear Tape-Open (LTO) supported continuous data transfer rates of up to 140Â MB/s, comparable to hard disk drives.
Design
Magnetic tape drives were first used for data storage on mainframe computers in the 1950s, with capacities less than one megabyte. As technology advanced, capacities increased to 10 terabytes or higher of uncompressed data per cartridge as of 2014. In early computer systems, magnetic tape might be the main storage medium; although the drives were expensive, the tapes were inexpensive. Some computer systems ran the operating system on tape drives such as the DECtape drive; DECtape had fixed-size indexed blocks that could be rewritten without disturbing other blocks, so DECtape could be used like a slow disk drive.
As some data can be compressed to a smaller size than the files on hard disk, it has become commonplace when marketing tape drives to state the capacity with the assumption of a 2:1 compression ratio; thus a tape with a capacity of 80Â GB would be sold as "80/160". The true storage capacity is also known as the native capacity or the raw capacity. IBM and Sony have also used higher compression ratios in their marketing materials. The compression ratio actually achievable depends on the data being compressed. Some data has little redundancy; large video files, for example, already use compression technology and cannot be compressed further. A sparse database, on the other hand, may allow compression ratios better than 10:1.
Tape drives can be connected to a computer with SCSI (most common), Fibre Channel, SATA, USB, FireWire, FICON, or other interfaces. Tape drives are used with autoloaders and tape libraries which automatically load, unload, and store multiple tapes, increasing the volume of data which can be stored without manual intervention.
In the early days of home computing, floppy and hard disk drives were very expensive. Many computers had an interface to store data via an audio tape recorder, typically on Compact Cassettes. Simple dedicated tape drives, such as the professional DECtape and the home ZX Microdrive and Rotronics Wafadrive, were also designed for inexpensive data storage. However, the drop in disk drive prices made such alternatives obsolete.
True data tape drives used more advanced techniques such as multilevel forward error correction, shingling, and linear serpentine layout for writing data to tape,
Technical problems
A disadvantageous effect termed "shoe-shining" occurs during read/write if the data transfer rate falls below the minimum threshold at which the tape drive heads were designed to transfer data to or from a continuously running tape. In this situation, the modern fast-running tape drive is unable to stop the tape instantly. Instead, the drive must decelerate and stop the tape, rewind it a short distance, restart it, position back to the point at which streaming stopped and then resume the operation. If the condition repeats, the resulting back-and-forth tape motion resembles that of shining shoes with a cloth. Shoe-shining decreases the attainable data transfer rate, drive and tape life, and tape capacity.
In early tape drives, non-continuous data transfer was normal and unavoidable. Computer processing power and amounts of available memory were usually insufficient to provide a constant stream, so tape drives were typically designed for so called start-stop operation. Early drives used very large spools, which necessarily had high inertia and did not start and stop moving easily. To provide high start, stop, and seeking performance, several feet of loose tape was played out and pulled by a suction fan down into two deep open channels on either side of the tape head and capstans. The long thin loops of tape hanging in these vacuum columns had far less inertia than the two reels and could be rapidly started, stopped and repositioned. The large reels would occasionally move to take up written tape and play out more blank tape into the vacuum columns.
Some modern designs are still developed to operate in a non-linear fashion. IBM's 3xxx formats are designed to keep the tape moving irrespective of the data bufferâ"segments are written when data is available, but gaps are written when buffers run empty. When the drive detects an idle period, it re-reads the fragmented segments into a buffer and writes them back over the fragmented sectionsâ"a 'virtual backhitch'.
Later, most tape drives of the 1980s introduced the use of an internal data buffer to somewhat reduce start-stop situations. These drives are often referred to as tape streamers. The tape was stopped only when the buffer contained no data to be written, or when it was full of data during reading. As faster tape drives became available, despite being buffered, the drives started to suffer from the shoe-shining sequence of stop, rewind, start.
Most recently, drives no longer operate at a single fixed linear speed, but have several speeds. Internally, they implement algorithms that dynamically match the tape speed level to the computer's data rate. Example speed levels could be 50 percent, 75 percent and 100 percent of full speed. A computer that streams data slower than the lowest speed level (e.g. at 49 percent) will still cause shoe-shining.
Media
Magnetic tape is commonly housed in a casing known as a cassette or cartridgeâ"for example, the 4-track cartridge and the compact cassette. The cassette contains magnetic tape to provide different audio content using the same player. The outer shell, made of plastic, sometimes with metal plates and parts, permits ease of handling of the fragile tape, making it far more convenient and robust than having spools of exposed tape. Simple analog Compact Cassette audio tape recorders were commonly used for data storage and distribution on home computers at a time when floppy disk drives were very expensive. The Commodore Datasette was a dedicated data version using the same media.
History
Capacity
Manufacturers often specify the capacity of tapes using data compression techniques; compressibility varies for different data (commonly 2:1 to 8:1), and the specified capacity may not be attained for some types of real data.
As of 2014 tape drive technologies capable of higher capacity were still being developed.
In 2011, Fujifilm and IBM announced that they had been able to record 29.5 billion bits per square inch with magnetic tape media developed using the BaFe particles and nanotechnologies, allowing drives with true (uncompressed) tape capacity of 35Â TB. The technology was not expected to be commercially available for at least a decade.
In 2014, Sony and IBM announced that they had been able to record 148Â gigabits per square inch with magnetic tape media developed using a new vacuum thin-film forming technology able to form extremely fine crystal particles, allowing true tape capacity of 185Â TB.
See also
- Magnetic tape data storage