[go: up one dir, main page]

WO1997029484A2 - Automated tape cartridge library - Google Patents

Automated tape cartridge library Download PDF

Info

Publication number
WO1997029484A2
WO1997029484A2 PCT/US1997/002036 US9702036W WO9729484A2 WO 1997029484 A2 WO1997029484 A2 WO 1997029484A2 US 9702036 W US9702036 W US 9702036W WO 9729484 A2 WO9729484 A2 WO 9729484A2
Authority
WO
WIPO (PCT)
Prior art keywords
tape
identifier
cartridge
controller
media element
Prior art date
Application number
PCT/US1997/002036
Other languages
French (fr)
Other versions
WO1997029484A3 (en
Inventor
Martin D. Gray
Original Assignee
Overland Data, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US08/599,148 external-priority patent/US5819309A/en
Application filed by Overland Data, Inc. filed Critical Overland Data, Inc.
Priority to AU18596/97A priority Critical patent/AU1859697A/en
Publication of WO1997029484A2 publication Critical patent/WO1997029484A2/en
Publication of WO1997029484A3 publication Critical patent/WO1997029484A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0686Libraries, e.g. tape libraries, jukebox
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B15/00Driving, starting or stopping record carriers of filamentary or web form; Driving both such record carriers and heads; Guiding such record carriers or containers therefor; Control thereof; Control of operating function
    • G11B15/02Control of operating function, e.g. switching from recording to reproducing
    • G11B15/05Control of operating function, e.g. switching from recording to reproducing by sensing features present on or derived from record carrier or container
    • G11B15/06Control of operating function, e.g. switching from recording to reproducing by sensing features present on or derived from record carrier or container by sensing auxiliary features on record carriers or containers, e.g. to stop machine near the end of a tape
    • G11B15/07Control of operating function, e.g. switching from recording to reproducing by sensing features present on or derived from record carrier or container by sensing auxiliary features on record carriers or containers, e.g. to stop machine near the end of a tape on containers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B15/00Driving, starting or stopping record carriers of filamentary or web form; Driving both such record carriers and heads; Guiding such record carriers or containers therefor; Control thereof; Control of operating function
    • G11B15/675Guiding containers, e.g. loading, ejecting cassettes
    • G11B15/68Automatic cassette changing arrangements; automatic tape changing arrangements
    • G11B15/682Automatic cassette changing arrangements; automatic tape changing arrangements with fixed magazines having fixed cassette storage cells, e.g. in racks
    • G11B15/6835Automatic cassette changing arrangements; automatic tape changing arrangements with fixed magazines having fixed cassette storage cells, e.g. in racks the cassettes being transferred to a fixed recorder or player using a moving carriage
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B23/00Record carriers not specific to the method of recording or reproducing; Accessories, e.g. containers, specially adapted for co-operation with the recording or reproducing apparatus ; Intermediate mediums; Apparatus or processes specially adapted for their manufacture
    • G11B23/02Containers; Storing means both adapted to cooperate with the recording or reproducing means
    • G11B23/04Magazines; Cassettes for webs or filaments
    • G11B23/041Details
    • G11B23/042Auxiliary features
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/002Programmed access in sequence to a plurality of record carriers or indexed parts, e.g. tracks, thereof, e.g. for editing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/11Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information not detectable on the record carrier
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/30Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/32Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
    • G11B27/327Table of contents
    • G11B27/328Table of contents on a tape [TTOC]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0682Tape device
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/40Combinations of multiple record carriers
    • G11B2220/41Flat as opposed to hierarchical combination, e.g. library of tapes or discs, CD changer, or groups of record carriers that together store one title
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/90Tape-like record carriers

Definitions

  • the present invention relates to data processing systems, and more specifically, to automated data storage and retrieval systems which comprise a library of magnetic tape cartridges as well as one or more tape drives for reading from and writing to the tapes in the library.
  • the data storage and retrieval systems may include a tape drive or controller having a microprocessor and a memory, wherein the memory stores calibration parameters relating to a plurality of tape cartridges.
  • the calibration parameters are stored in the memory in association with a plurality of tape cartridge identifiers such that the appropriate calibration parameters may be either retrieved by the tape drive from its internal memory, or communicated to the tape drive from the controller memory when a particular tape cartridge is inserted into that tape drive.
  • This storage and retrieval of calibration parameters allows a tape cartridge library system to bypass the tape drive initialization procedure generally utilized to obtain and generate these parameters upon tape cartridge insertion.
  • Further system speed improvements may be provided by storing in a memory in either the tape drive or the controller a numerical value indicative of the position of the magnetic tape inside a tape cartridges when it is ejected from a tape drive, and which may also store read and write calibration parameters associated with a particular tape drive and cartridge. This facilitates the immediate tape movement to a requested data block without tape rewinding and drive initialization.
  • FIG. 1 is a top plan view of one embodiment of a data storage and retrieval system according to the present invention.
  • FIG. 5 is a flow chart illustrating the sequence of steps performed by a preferred embodiment of the present invention when transferring a file from the library to the host.
  • the tape cartridge library also comprises a library controller 20, which interfaces to a host computer system through an communication port 22, which is preferably of SCSI format, although other communication protocols are suitable and are well known to those in the art.
  • the controller 20 comprises circuitry which controls the action of the carriage 16 in response to commands from the host computer system through the SCSI communication port 22.
  • the library controller also interfaces with the tape drives 10 through communication cables 24, which are also preferably SCSI format.
  • a tape drive initialization process is routinely performed each time a new tape is inserted into the drive. Therefore, before a tape drive in a prior art system can execute a command to retrieve a data block and communicate it to the library controller, a significant amount of time is spent in rewinding the magnetic tape in the cartridge until the logical beginning of tape is operatively aligned with the read/write heads of the tape drive.
  • Some of the parameters typically adjusted and optimized during this calibration process are write current, read gain, tension, and track offset.
  • System speed is of course maximized if the tape drive 10 can locate and read the identifier without searching a large length of tape. Therefore, it is preferable to write the identifier to the tape at short physical intervals along the length of the tape.
  • the identifier may be associated with every data block, but acceptable performance is obtainable if the identifier is written to the tape once for every five or ten data blocks.
  • bar code identifier labels are be uniquely generated for each tape cartridge of the library system.
  • the identifier is preferably generated by the controller with a number generating process with a non-deterministic component which provides a sufficiently low likelihood of duplication.
  • Figure 4 is a flow chart illustrating a set of steps which results in a file transfer from the host computer system to the library.
  • the host computer requests a file transfer from the host to the library.
  • the controller chooses a target tape cartridge to write the file to at step 62.
  • the host computer could communicate to the controller which cartridge to utilize.
  • the controller may choose to overwrite an existing file, or create a new one depending on the file being transferred. If the target cartridge is blank, it may not have been assigned an identifier. If it has not, the controller generates a preferably unique, random, or pseudo-random identifier for the target cartridge.
  • This identifier may be generated in many ways well known to those in the art, such as utilizing an incremented counter, or generating the identifier with a process that is at least partially non- deterministic. It is one aspect of a preferred system according to the present invention that identifier assignments and verification are performed by the controller in operations which are transparent to the user of the host computer system unless an error is detected as explained in more detail below.
  • the cartridge is then inserted into an idle library tape drive at step 66. If the target cartridge does not already have an identifier, this indicates that it has never been utilized in the library before because identifier assignment is preferably performed when the first file is written to a tape cartridge. In this case, no calibration parameters have been stored for this tape in any library drive.
  • the tape drive must therefore be initialized with the target tape cartridge installed at step 68. Following initialization, the file and identifier are written to the tape at step 70, with the identifier associated with at least some of the data blocks comprising the stored file as discussed above.
  • the calibration parameters determined from the initialization are then stored in the tape drive memory 36 at step 72 for future retrieval when that tape is again inserted into that tape drive.
  • the calibration parameters are then stored in memory 36 at step 116 for future use when that tape cartridge is again inserted into that tape drive.
  • the cartridge is then ejected at step 118.
  • the tape cartridge is inserted, and the tape position and cartridge identifier are immediately checked at step 120 by scrolling the tape a short distance and reading the nearest identifier code and data block number.
  • the tape is not rewound, however, and the drive is not initialized. If the identifier cannot be verified as correct, the system executes the error message communication and ejection steps 110, 112, as described above.
  • each tape drive will be initialized with more of the library tape cartridges installed. Over time, therefore, initialization procedures will become less and less frequent, and system speed is thereby improved.
  • the memory 36 which stores the calibration parameters need not be physically located in the tape drive, but may comprise a portion of the library controller circuit instead.
  • An important aspect of the present invention is that information concerning calibration parameters are stored in the system for retrieval when needed to bypass what would otherwise be a redundant initialization process.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Automatic Tape Cassette Changers (AREA)

Abstract

A magnetic tape cartridge library includes a memory (136) which stores calibration parameters associated with the tape cartridges and the tape drives (10). The tape cartridges preferably have a cartridge identifier written to the tape in a plurality of locations along the tape. When a tape cartridge is inserted into a tape drive, the identifier is read, and preferably, a read or write sequence is initiated only if the identifier is verified as being identical to the expected identifier. In addition, appropriate calibration parameters associated with the tape cartridge are retrieved in order to bypass a tape drive initialization sequence.

Description

AUTOMATED TAPE CARTRIDGE LIBRARY
Background of the Invention The present invention relates to data processing systems, and more specifically, to automated data storage and retrieval systems which comprise a library of magnetic tape cartridges as well as one or more tape drives for reading from and writing to the tapes in the library.
Magnetic tape cartridges, magnetic disks, and optical disks are all widely used as peripheral memory storage devices for computer systems. Large computer systems often operate in conjunction with external libraries having dozens of such media elements as well as the media element readers used to retrieve and record data. Although originally such media elements were selected and loaded manually, automated libraries were developed to expedite the handling of the media. These systems include means for accessing a desired media element, retrieving it from its storage position, and loading it into an appropriate reader.
As data storage requirements for computer systems have increased from megabytes to gigabytes to terabytes, the development of automated media libraries has received considerable attention. Some embodiments of such libraries comprise a small number of magnetic tape cartridges, six or ten being typical, and one or two tape drives housed in a single enclosure. Cabinet and even room sized systems have also been developed which hold a much larger number of tapes and drives, and which further comprise robotic arms, usually translatable on all three axes, which remove tapes from storage and place them in tape drives. Furthermore, due to the increasing use of wide-area-networks, interconnected tape library systems forming a single dispersed database have become more common. In such large scale multi-element and even multi-library data storage systems, system speed has become limited mostly by the mechanics of media transfer from storage locations to drive locations and subsequent drive actuation rather than by the speed of data transfer between the host computer and the library system controller. Library systems having magnetic tape cartridges as media elements rather than magnetic or optical disks have an additional drawback in this regard because magnetic tape cartridges are generally rewound with each insertion into a tape drive, and this rewind operation delays file extraction.
The rewind operation is traditionally performed whenever a new tape cartridge is inserted into a tape drive. For some tape cartridge formats, rewinding is required by the nature of the media. Tape cartridges in the DLT format developed by Digital Equipment or the 3480 format developed by IBM, for example, contain only one reel, and therefore cartridge extraction from the tape drive requires the rewinding of the tape back onto the cartridge reel. Some tape cartridges, however, may be removed at any point along the tape. For these cartridges, tape insertion is generally followed by an initialization process which includes a rewind operation to the logical beginning of tape (BOT). This point is generally at the physical BOT as well, but it may be provided at any location along the tape. During this initialization process, information may be read from the tape, and read/write calibration parameters for the tape drive heads may be optimized for the particular tracks on the tape which has been installed. The same initialization process is also typically performed at drive power up. Because tape drives have most often been used as stand alone back up devices in environments where the operation generally involves the sequential reading/writing of the active tape, this initialization process has not significantly slowed drive operation. When utilized in a tape library, however, where random access to data is the norm, frequent rewinding and tape initialization can significantly slow system speed. What is needed, therefore, is a tape library with integrated tape cartridges, tape drives, and system controller, such that all of the tapes in the library may be recognized by the drives in the library, thereby rendering the initialization process unnecessary.
Summary of the Invention The present invention provides an improved data storage and retrieval system incorporating magnetic tape cartridges. The system of the present invention increases data access rates by providing for data access without tape drive initialization following the insertion of a tape cartridge into a tape drive.
The data storage and retrieval systems according to the present invention may include a tape drive or controller having a microprocessor and a memory, wherein the memory stores calibration parameters relating to a plurality of tape cartridges. Preferably, the calibration parameters are stored in the memory in association with a plurality of tape cartridge identifiers such that the appropriate calibration parameters may be either retrieved by the tape drive from its internal memory, or communicated to the tape drive from the controller memory when a particular tape cartridge is inserted into that tape drive. This storage and retrieval of calibration parameters allows a tape cartridge library system to bypass the tape drive initialization procedure generally utilized to obtain and generate these parameters upon tape cartridge insertion.
Preferably, a data storage and retrieval system according to the present invention comprises a host computer system, a plurality of tape cartridges, at least one tape drive, and a controller which interfaces with both the host computer system and the tape drhre(s). The controller initiates read and write sequences by the tape drive according to commands from the host computer system. In a preferred embodiment, at least one tape cartridge is identified with an identifier written to a plurality of locations on the magnetic tape in the tape cartridge, and the identifier is communicated to the controller after the tape cartridge is inserted into the tape drive. The identifier may be written adjacent to each data block on the magnetic tape. Preferably, the identifier is generated by the controller utilizing a number generating process having a non-deterministic component.
In one embodiment, the controller compares the identifier to a reference identifier stored in the memory, and only initiates a read or a write sequence when the identifier is identical to the reference identifier. This feature ensures that the correct tape is being written to or read from. Furthermore, a method of accessing data stored on a tape cartridge is provided by the present invention which comprises the steps of inserting a tape cartridge into a tape drive, sending a request for a block of data from a controller to the tape drive, and communicating the data block from the tape drive to the controller without initializing the tape drive after the inserting step. Further system speed improvements may be provided by storing in a memory in either the tape drive or the controller a numerical value indicative of the position of the magnetic tape inside a tape cartridges when it is ejected from a tape drive, and which may also store read and write calibration parameters associated with a particular tape drive and cartridge. This facilitates the immediate tape movement to a requested data block without tape rewinding and drive initialization.
Brief Description of the Drawings FIG. 1 is a top plan view of one embodiment of a data storage and retrieval system according to the present invention.
FIG. 2 is a block diagram of a data storage and retrieval system according to the present invention, illustrating the communication between the system controller and the tape drives.
FIG. 3 is a perspective view of a tape cartridge incorporating a bar code identifier. FIGs. 4, 4a, and 4b form a flow chart illustrating the sequence of steps performed by a preferred embodiment of the present invention when transferring a file from the host to the library.
FIG. 5 is a flow chart illustrating the sequence of steps performed by a preferred embodiment of the present invention when transferring a file from the library to the host.
Detailed Description of the Preferred Embodiment
A top view of a tape cartridge library suitable for use with the present invention is illustrated in Figure 1. A preferred library comprises a plurality of tape drives 10, and a plurality of tape cartridges 12 which are preferably stored in a rack or magazine 14. The drives 10 are adapted to read the particular format of tape cartridge 12 provided in the library. In accordance with the present invention, the tape cartridges 12 are of a format which can be inserted into and extracted from the drives 10 with any portion of the magnetic tape in the cartridge in operative alignment with the read and write heads within the drive 10. Some specific examples of such tape cartridges are the 8mm tape cartridge, as well as the Travan and QIC formats.
Further provided in the tape cartridge library of Figure 1 is a carriage 16 which operates to remove appropriate tape cartridges from the rack 14, and install them into one of the drives 10 for subsequent data retrieval. In the embodiment illustrated in Figure 1, the carriage 16 moves back and forth along a drive shaft 18 to transfer tape cartridges from the rack 14 to the drives 10. The tape cartridge library also comprises a library controller 20, which interfaces to a host computer system through an communication port 22, which is preferably of SCSI format, although other communication protocols are suitable and are well known to those in the art. The controller 20 comprises circuitry which controls the action of the carriage 16 in response to commands from the host computer system through the SCSI communication port 22. The library controller also interfaces with the tape drives 10 through communication cables 24, which are also preferably SCSI format.
It is important to note that the applicability of the present invention is not limited to the particular system described with regard to Figure 1. Many different embodiments of tape cartridge libraries are well known in the art. Some have a single tape drive and a relatively small number of tape cartridges. Other libraries are cabinet or even room sized and contain five, six, or more tape drives and dozens of tape cartridges. Cartridge transfer mechanisms also vary widely. Some systems move the tape drive to the cartridges. Others provide articulated robotic arms which grasp and carry tape cartridges and insert them into tape drives. Still others are modular in nature, and provide mechanisms for swapping tape cartridges between modules. In these systems, the controller 20 may be external to all of the modules, or its functions may be split between electronics within the modules and electronics external to the modules. The performance of all of these different types of tape cartridge libraries may be improved using the principles of the present invention. In prior art systems, the library tape drives are designed for use as stand alone data storage devices.
Accordingly, a tape drive initialization process is routinely performed each time a new tape is inserted into the drive. Therefore, before a tape drive in a prior art system can execute a command to retrieve a data block and communicate it to the library controller, a significant amount of time is spent in rewinding the magnetic tape in the cartridge until the logical beginning of tape is operatively aligned with the read/write heads of the tape drive. Some of the parameters typically adjusted and optimized during this calibration process are write current, read gain, tension, and track offset.
In a tape cartridge library, however, it is not necessary for a tape drive to effectively presume that an inserted tape cartridge is completely new to the tape drive. It is therefore possible to eliminate the initialization procedure described above in many instances of tape cartridge insertion. Referring now to Figure 2, it can be seen that a tape drive 10 according to the present invention comprises read/write electronics 30, SCSI I/O circuitry 32, a microprocessor 34, and a memory 36. As described above with respect to prior art tape drives, tape drive initialization results in the storage of several calibration parameters in the tape drive memory 36. Furthermore, the calibration parameters will depend on both the particular tape being initialized as well as the particular drive it is being initialized in. Tape drives adapted for use as stand alone data storage devices recalculate and replace these parameters each time a tape cartridge is inserted into the tape drive. In a tape drive according to the present invention which is adapted for use in a tape cartridge library, however, these parameters remain stored in a location in the memory 36 for later retrieval when the same tape cartridge is inserted into that drive 10. The memory 36 of the tape drive therefore stores several sets of calibration parameters, wherein each set is associated with a particular tape cartridge of the library. Therefore, when a particular tape cartridge is inserted into a tape drive, the tape drive simply accesses the previously stored parameters for that tape cartridge and bypasses the initialization process normally utilized to generate them.
Further system speed improvements may be provided by also storing in memory a numerical value indicative of the position of the magnetic tape (i.e. tape position state) inside a tape cartridge when it is ejected from a tape drive. Although tape position can be determined from existing data block identifiers written to the tape, this avoids any initial "hitching around", and therefore facilitates the immediate tape movement toward a requested data block without searching for location information first.
In an alternative embodiment, a memory in the controller may store the calibration parameters. In this case, the tape drive will preferably communicate the relevant parameters to the controller through the SCSI interface when a tape is first inserted into the tape drive and the parameters are initially calculated. When that tape is reinserted into the tape drive at a future time, the controller will communicate the appropriate parameters back to the tape drive, again over the existing SCSI interface.
Standard tape drives in existence today are not provided with memory locations for the long term storage of many sets of calibration parameters, nor do they communicate them externally when they are calculated. However, modifications to tape drive circuitry in order to perform these functions may be designed and built by those of skill in the art without undue experimentation.
It can be appreciated that the tape drive must be capable of identifying the tape cartridge that has been inserted in order to retrieve the correct set of calibration parameters from the memory. This identification can be performed in several ways. In one embodiment of the present invention, each tape cartridge is labeled with a bar code label 50 on one end, as is illustrated in Figure 3. The bar code can be read by a bar code reader affixed to the transfer carriage 16 or to whatever cartridge transfer and manipulation apparatus is provided by the library. Referring again to Figure 2, the output of the bar code reader may be routed to the library controller via the communication line 52 between the library controller and the cartridge transfer and manipulation circuitry. From the library controller 20, the information may be communicated to the tape drive microprocessor 34 either over a second communication link 54 between the controller 20 and the tape drive 10, or over the SCSI data bus 56 which is also present.
Alternatively, the cartridge identifier can be written to commercially available magnetic chip which is permanently attached to the tape cartridge. This is essentially equivalent to the bar code label encoded identifier discussed above, but has the advantage that the identifier encoded on the magnetic chip can be changed without having to print and affix a new label to the cartridge as is necessary if bar code labels are used.
In a preferred embodiment of a tape cartridge library according to the present invention, the tape cartridge identifier is written to a plurality of locations on the magnetic tape in the cartridge itself. This identification scheme has the advantages of the magnetic chip discussed above, but requires no external detection circuitry as is required by the bar code label or the magnetic chip. In this embodiment, the tape drive reads the identifier off of the tape, and accesses the appropriate calibration parameters for that tape such that data retrieval can be performed immediately without first initializing the tape drive.
System speed is of course maximized if the tape drive 10 can locate and read the identifier without searching a large length of tape. Therefore, it is preferable to write the identifier to the tape at short physical intervals along the length of the tape. The identifier may be associated with every data block, but acceptable performance is obtainable if the identifier is written to the tape once for every five or ten data blocks.
The tape identifier performs an additional important function. The identity of a tape cartridge 12 removed from a storage location in a rack 14 and inserted into a drive 10 can be checked by the library controller 20 prior to performing any read or write operation on the tape. Preferably, if the library controller 20 receives an unexpected identifier either from the bar code or magnetic chip reader discussed above, or from the tape drive if the identifier is written to the tape, it sends an error message to the host computer 58. In order for this checking function to be effective and reliable, it is preferable for the identifier to be unique.
This may be accomplished in several ways. In one embodiment, bar code identifier labels are be uniquely generated for each tape cartridge of the library system. When the identifier is written to the tape, the identifier is preferably generated by the controller with a number generating process with a non-deterministic component which provides a sufficiently low likelihood of duplication.
The operation of a preferred embodiment of the system may now be described with reference to Figures 4 and 5. Figure 4 is a flow chart illustrating a set of steps which results in a file transfer from the host computer system to the library. First, at step 60, the host computer requests a file transfer from the host to the library. The controller then chooses a target tape cartridge to write the file to at step 62. Alternatively, the host computer could communicate to the controller which cartridge to utilize. The controller may choose to overwrite an existing file, or create a new one depending on the file being transferred. If the target cartridge is blank, it may not have been assigned an identifier. If it has not, the controller generates a preferably unique, random, or pseudo-random identifier for the target cartridge. This identifier may be generated in many ways well known to those in the art, such as utilizing an incremented counter, or generating the identifier with a process that is at least partially non- deterministic. It is one aspect of a preferred system according to the present invention that identifier assignments and verification are performed by the controller in operations which are transparent to the user of the host computer system unless an error is detected as explained in more detail below.
The cartridge is then inserted into an idle library tape drive at step 66. If the target cartridge does not already have an identifier, this indicates that it has never been utilized in the library before because identifier assignment is preferably performed when the first file is written to a tape cartridge. In this case, no calibration parameters have been stored for this tape in any library drive. The tape drive must therefore be initialized with the target tape cartridge installed at step 68. Following initialization, the file and identifier are written to the tape at step 70, with the identifier associated with at least some of the data blocks comprising the stored file as discussed above. The calibration parameters determined from the initialization are then stored in the tape drive memory 36 at step 72 for future retrieval when that tape is again inserted into that tape drive.
If the target cartridge has already been assigned an identifier in a prior write operation, the controller determines whether or not the target cartridge has been initialized before in a tape drive which is currently idle. If the target cartridge has not been initialized before in any currently idle drive, the system chooses an idle library drive and inserts the cartridge at step 76. Following this at step 78 the tape drive is initialized with the target cartridge inserted and the cartridge identifier is checked. If the identifier cannot be verified as correct, at step 80 when the retrieved identifier is compared to the identifier expected by the controller, an error message is sent to the host at step 82 and the cartridge is ejected at step 84. However, if the identifier is verified as correct when compared to the expected identifier at step 80, the file from the host and the existing identifier are written to the tape at step 86. The calibration parameters are then stored in the tape drive memory 36 at step 88 for future use. The cartridge is then ejected at step SO. The procedure above includes an initialization step, and is therefore similar to the operation of prior art tape cartridge libraries which initialize their tape drives with every tape cartridge installation. It may be noted, however, that this tape cartridge need not be initialized again in this tape drive. In the future, the calibration data obtained during this first initialization can be retrieved by the tape drive and the initialization procedure can be bypassed. This is illustrated by the situation when there is a currently idle tape drive which has already been initialized with the target tape drive installed. In this case, the tape cartridge is inserted into that tape drive, and the tape position and cartridge identifier are immediately checked at step 92 by scrolling the tape a short distance and reading the nearest identifier code and data block number. The tape is not rewound, however, and the drive is not initialized. If the identifier cannot be verified as correct, the system executes the error message communication and ejection steps 82, 84, previously described. If the identifier is verified as being correct, the tape drive microprocessor 34 retrieves the calibration parameters previously stored for that tape cartridge in that tape drive from the memory 36 at step 94. The file and existing identifier are then written to the tape at step 96, with the identifier being associated with at least some of the written data blocks, and the cartridge is then ejected at step 98.
The procedure is similar when the host computer requests a file transfer from the library as can be seen with reference to Figure 5. After the file request at step 100, the controller determines the identity and storage location of the tape cartridge which contains the requested file at step 102. Rather than having the controller store information concerning the physical location of stored data, the host computer may alternatively communicate to the controller the specific cartridge and data blocks to be retrieved.
Because this cartridge has a file written to it, it must already contain an identifier also written to the tape which is associated with at least some of the data blocks comprising the file.
As above, the controller then determines whether or not the target cartridge has been initialized before in a tape drive which is currently idle at step 103. If the target cartridge has not been initialized before in any currently idle drive, the system chooses an idle library drive and inserts the cartridge at step 104. Following this at step 106 the tape drive is initialized with the target cartridge inserted and the cartridge identifier is checked, f fe identifier cannot be verified as correct when compared to the identifier expected by the controller at step 108, an error message is sent to the host at step 110 and the cartridge is ejected at step 112. However, if the identifier is verified as correct when compared to the expected identifier at step 108, the file is retrieved at step 1 14. The calibration parameters are then stored in memory 36 at step 116 for future use when that tape cartridge is again inserted into that tape drive. The cartridge is then ejected at step 118. As above with file transfers from the host to the library, when there is a currently idle tape drive which has already been initialized with the target tape cartridge installed, the tape cartridge is inserted, and the tape position and cartridge identifier are immediately checked at step 120 by scrolling the tape a short distance and reading the nearest identifier code and data block number. The tape is not rewound, however, and the drive is not initialized. If the identifier cannot be verified as correct, the system executes the error message communication and ejection steps 110, 112, as described above. If the identifier is verified as being correct, the tape drive microprocessor 34 retrieves the calibration parameters previously stored for that tape cartridge in that tape drive from the memory 36 at step 122. The file is then retrieved at step 124, and the cartridge is ejected at step 126.
It can be appreciated that with continued use, each tape drive will be initialized with more of the library tape cartridges installed. Over time, therefore, initialization procedures will become less and less frequent, and system speed is thereby improved. It may also be noted that the memory 36 which stores the calibration parameters need not be physically located in the tape drive, but may comprise a portion of the library controller circuit instead. An important aspect of the present invention is that information concerning calibration parameters are stored in the system for retrieval when needed to bypass what would otherwise be a redundant initialization process.
The foregoing description details certain preferred embodiments of the present invention and describes the best mode contemplated. It will be appreciated, however, that no matter how detailed the foregoing appears in text, the invention can be practiced in many ways. For example, the data storage media used need not be tape cartridges, but could be any type of media element requiring a time consuming identification or calibration process prior to data retrieval. The invention should therefore be construed in accordance with the appended Claims and any equivalents thereof.

Claims

WHAT IS CLAIMED IS:
1. A data storage and retrieval system comprising a host computer system; at least one media element; at least one media element read/write device; and, a controller which interfaces with both said host computer system and said media element read/write device and which initiates read and write sequences by said media element read/write device according to commands from said host computer system; a memory, wherein said memory stores calibration parameters associated with at least one media element.
2. The apparatus of Claim 1 wherein said media element comprises a tape cartridge housing magnetic tape, wherein said media element read/write device comprises a tape drive.
3. The data storage and retrieval system of Claim 2 wherein said memory is located in said tape drive.
4. The data storage and retrieval system of Claim 2 wherein said memory is external to said tape drive and wherein said controller communicates said calibration parameters to said tape drive when said tape cartridge is inserted into said tape drive.
5. The data storage and retrieval system of Claim 2 wherein a cartridge identifier is written to a plurality of locations on magnetic tape in at least one of said plurality of tape cartridges which identifies said at least one of said plurality of tape cartridge.
6. The data storage and retrieval system of Claim 2 wherein said memory also stores information concerning the tape position state of the magnetic tape in at least one of said tape cartridges.
7. In a data storage and retrieval system comprising a control unit, at least one tape drive, and a plurality of tape cartridges, a method of accessing data stored on one of said plurality of tape cartridges comprising the steps of: inserting said tape cartridge into said tape drive; retrieving calibration parameters associated with said tape cartridge from a memory; sending a request for a block of data from said controller to said tape drive; and, communicating said data block from said tape drive to said controller.
8. A data storage apparatus comprising a microprocessor and a memory, wherein said memory stores calibration parameters relating to a plurality of tape cartridges.
9. The apparatus of Claim 8 wherein said calibration parameters are stored in said memory in association with a plurality of tape cartridge identifiers such that calibration parameters associated with a first identifier may be retrieved by said tape drive in response to the insertion of a tape cartridge bearing said first identifier.
10. A data storage and retrieval system comprising: a host computer; at least one media element; at least one media element read/write device; and a controller configured to interface with both said host computer system and said media element read/write device, said controller initiating executions of read and write sequences by said media element read/write device in response to commands from said host computer system; wherein at least one media element is identified with an identifier written to a plurality of locations to said media element, and wherein said identifier is communicated to said controller after said media element is inserted into said media element read/write device.
11. The apparatus of Claim 10 wherein said media element comprises a tape cartridge housing magnetic tape, wherein said media element read/write device comprises a tape drive, and wherein said identifier is written to a plurality of locations to said magnetic tape.
12. The data storage and retrieval system of Claim 10, wherein said identifier was generated by said controller utilizing number generation process having a non-deterministic component.
13. The data storage and retrieval system of Claim 11 wherein a plurality of data blocks are written on magnetic tape in said tape cartridge, and wherein said identifier is written adjacent to each data block on said magnetic tape.
14. The data storage and retrieval system of Claim 10 wherein said controller additionally comprises a memory, and wherein said controller compares said identifier to a reference identifier stored in said memory.
15. The data storage and retrieval system of Claim 14 wherein said controller initiates a read or a write sequence only when said identifier is identical to said reference identifier.
16. The data storage and retrieval system of Claim 15 wherein said controller communicates an error message to said host computer system when said identifier is different from said reference identifier.
17. The data storage and retrieval system of Claim 10 wherein said identifier is written to said plurality of locations by said media element read/write device according to a command from said controller.
18. A method of marking a tape cartridge with an identifier comprising the steps of: receiving a plurality of data blocks to be magnetically recorded onto tape in said tape cartridge; magnetically writing said data blocks to said tape; and, magnetically writing an identifier onto said tape in association with a subset of said plurality of data blocks.
19. The method of Claim 18 additionally comprising the step generating said identifier in a controller utilizing a number generating process having a non-deterministic component prior to writing said identifier onto said tape.
20. A media element comprising an identifier written to a plurality of locations on said media element
PCT/US1997/002036 1996-02-09 1997-02-07 Automated tape cartridge library WO1997029484A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU18596/97A AU1859697A (en) 1996-02-09 1997-02-07 Automated tape cartridge library

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US59914596A 1996-02-09 1996-02-09
US08/599,148 1996-02-09
US08/599,148 US5819309A (en) 1996-02-09 1996-02-09 Automated tape cartridge library with accelerated calibration
US08/599,145 1996-02-09

Publications (2)

Publication Number Publication Date
WO1997029484A2 true WO1997029484A2 (en) 1997-08-14
WO1997029484A3 WO1997029484A3 (en) 1997-11-20

Family

ID=27083252

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1997/002036 WO1997029484A2 (en) 1996-02-09 1997-02-07 Automated tape cartridge library

Country Status (2)

Country Link
AU (1) AU1859697A (en)
WO (1) WO1997029484A2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0959472A1 (en) * 1998-05-22 1999-11-24 Tandberg Data ASA Tape cassette and library system with optical communication between the tape cassette and other system components
EP1102277A1 (en) * 1999-11-05 2001-05-23 Sony United Kingdom Limited Method of recording and accessing metadata
GB2410602A (en) * 2004-01-30 2005-08-03 Hewlett Packard Development Co Tape with cartridge memory information written along the tape
GB2412227A (en) * 2004-03-20 2005-09-21 Hewlett Packard Development Co Tape cartridge format command key
WO2007054491A3 (en) * 2005-11-09 2007-07-05 Ibm Storing information regarding operation of an automated data storage library to memory and to a reserved cartridge
GB2419221B (en) * 2004-10-14 2009-12-02 Hewlett Packard Development Co Tape drive apparatus
US20200004467A1 (en) * 2018-06-29 2020-01-02 Hewlett Packard Enterprise Development Lp Tape drive configuration
CN110709933A (en) * 2018-04-09 2020-01-17 索尼公司 Cassette memory, magnetic tape cassette and recording and reproducing system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4578722A (en) * 1982-12-23 1986-03-25 International Business Machines Corporation Method for checking disk identity in a flexible disk recorder
AU5627686A (en) * 1985-03-06 1986-09-24 Term-Tronics Inc. Method and apparatus for vending
US4864511A (en) * 1987-01-27 1989-09-05 Storage Technology Corporation Automated cartridge system
US5357495A (en) * 1992-07-02 1994-10-18 Tandberg Data A/S Stacker/autoloader system with intelligent media storage magazine control
KR0145007B1 (en) * 1992-07-31 1998-07-15 강진구 Video library system and realization method thereof
JPH07141838A (en) * 1993-11-17 1995-06-02 Sony Corp Program transmitting device
US5526133A (en) * 1994-06-28 1996-06-11 Sensormatic Electronics Corporation System and method for logging and retrieving information on video cassettes in a computer controlled surveillance system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7123444B1 (en) 1998-05-22 2006-10-17 Tanberg Data Asa Tape cassette having an optical signal receiver and a memory for storing information optically transmitted into the cassette
EP0959472A1 (en) * 1998-05-22 1999-11-24 Tandberg Data ASA Tape cassette and library system with optical communication between the tape cassette and other system components
EP1102277A1 (en) * 1999-11-05 2001-05-23 Sony United Kingdom Limited Method of recording and accessing metadata
US7260304B1 (en) 1999-11-05 2007-08-21 Sony United Kingdom Limited Recording and accessing metadata
US8457467B2 (en) 1999-11-05 2013-06-04 Sony United Kingdom Limited Apparatus and associated methodology of recording and accessing metadata via unique identifying indicia
GB2410602A (en) * 2004-01-30 2005-08-03 Hewlett Packard Development Co Tape with cartridge memory information written along the tape
US7106550B2 (en) 2004-01-30 2006-09-12 Hewlett-Packard Development Company, L.P. Data storage method and apparatus employing a tape cartridge having a cartridge memory
GB2412227A (en) * 2004-03-20 2005-09-21 Hewlett Packard Development Co Tape cartridge format command key
GB2412228A (en) * 2004-03-20 2005-09-21 Hewlett Packard Development Co Tape cartridge format command key
GB2412228B (en) * 2004-03-20 2006-02-22 Hewlett Packard Development Co Data storage method and apparatus employing a tape cartridge
US7441075B2 (en) 2004-03-20 2008-10-21 Hewlett-Packard Development Company, L.P. Data storage method and apparatus employing a tape cartridge for storing WORM data
GB2419221B (en) * 2004-10-14 2009-12-02 Hewlett Packard Development Co Tape drive apparatus
WO2007054491A3 (en) * 2005-11-09 2007-07-05 Ibm Storing information regarding operation of an automated data storage library to memory and to a reserved cartridge
US7444469B2 (en) 2005-11-09 2008-10-28 International Business Machines Corporation Storing information regarding operation of an automated data storage library to memory and to a reserved cartridge
US7386667B2 (en) 2005-11-09 2008-06-10 International Business Machines Corporation Storing information regarding operation of an automated data storage library to memory and to a reserved cartridge
CN110709933A (en) * 2018-04-09 2020-01-17 索尼公司 Cassette memory, magnetic tape cassette and recording and reproducing system
US20200004467A1 (en) * 2018-06-29 2020-01-02 Hewlett Packard Enterprise Development Lp Tape drive configuration
US10770109B2 (en) * 2018-06-29 2020-09-08 Hewlett Packard Enterprise Development Lp Tape drive configuration

Also Published As

Publication number Publication date
AU1859697A (en) 1997-08-28
WO1997029484A3 (en) 1997-11-20

Similar Documents

Publication Publication Date Title
US5819309A (en) Automated tape cartridge library with accelerated calibration
US5377121A (en) Automated storage library having inventory at picker level
US6336163B1 (en) Method and article of manufacture for inserting volumes for import into a virtual tape server
US6957291B2 (en) Removable disk storage array emulating tape library having backup and archive capability
JP3714046B2 (en) Virtual tape storage
US6360232B1 (en) Disaster recovery method for a removable media library
US7403451B2 (en) Media vaulting in an automated data storage library
CA2223941C (en) Reserved cylinder for scsi device write-back cache
US20030135672A1 (en) System having tape drive emulator and data cartridge carrying a non-tape storage medium
US6625732B1 (en) Method for tracking the devices used to load, read, and write removable storage media
US6480905B1 (en) Data storage library with efficient cartridge insert
US6298017B1 (en) Locking method and apparatus for multi-disk cartridge
WO1997029484A2 (en) Automated tape cartridge library
EP0473265B1 (en) Nonsynchronous DASD control
US5956198A (en) Tape rewinder in tape storage and retrieval library
TW201040780A (en) Encrypt-only data storage cartridge
US20050083796A1 (en) Storage structure and associated method
US8176243B2 (en) Tape recording apparatus and method
US5592596A (en) System and method for the automatic printing of storage media labels
US7697228B2 (en) Apparatus, system, and method for interchange testing
US6525894B1 (en) Tape drive apparatus and method for mounting a volume from a tape medium
US5428755A (en) Method for automatically modifying program in a flash memory of a magnetic tape unit
US20050169126A1 (en) Library for storing and retrieving removable information storage elements
US7539895B2 (en) Method to transfer information between data storage devices
JP2688420B2 (en) Registration method of recording medium in computer system

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE HU IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK TJ TM TR TT UA UG UZ VN AM AZ BY KG KZ MD RU TJ TM

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): KE LS MW SD SZ UG AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
AK Designated states

Kind code of ref document: A3

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE HU IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK TJ TM TR TT UA UG UZ VN AM AZ BY KG KZ MD RU TJ TM

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): KE LS MW SD SZ UG AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI

NENP Non-entry into the national phase

Ref country code: JP

Ref document number: 97528706

Format of ref document f/p: F

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase