[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US8576505B2 - Tape drive apparatus and method - Google Patents

Tape drive apparatus and method Download PDF

Info

Publication number
US8576505B2
US8576505B2 US11/260,994 US26099405A US8576505B2 US 8576505 B2 US8576505 B2 US 8576505B2 US 26099405 A US26099405 A US 26099405A US 8576505 B2 US8576505 B2 US 8576505B2
Authority
US
United States
Prior art keywords
tape medium
tape
unused area
data
medium
Prior art date
Legal status (The legal status 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 status listed.)
Active, expires
Application number
US11/260,994
Other versions
US20070097534A1 (en
Inventor
Nigel Ronald EVANS
Andrew Malcolm George Clarke
John Mark Mackelden
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hewlett Packard Enterprise Development LP
Original Assignee
Hewlett Packard Development Co LP
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
Application filed by Hewlett Packard Development Co LP filed Critical Hewlett Packard Development Co LP
Priority to US11/260,994 priority Critical patent/US8576505B2/en
Assigned to HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. reassignment HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HEWLETT-PACKARD LIMITED
Publication of US20070097534A1 publication Critical patent/US20070097534A1/en
Application granted granted Critical
Publication of US8576505B2 publication Critical patent/US8576505B2/en
Assigned to HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP reassignment HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1201Formatting, e.g. arrangement of data block or words on the record carriers on tapes
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1816Testing
    • G11B20/182Testing using test patterns
    • 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/36Monitoring, i.e. supervising the progress of recording or reproducing
    • 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

  • magnetic tape media and corresponding data storage devices known as tape drives have been used for storing digital data in non-volatile form, most commonly with the application of providing secondary or backup storage and retrieval.
  • the magnetic tapes were wound about large reels in similar manner as film for film projectors.
  • the magnetic tape has typically been housed in a cartridge or cassette, extending internally in the cartridge from a supply reel to a take-up reel.
  • the mechanical dimensions and magnetic properties of the tape media, as well as the exact method according to which data is to be recorded on the tape media are typically governed by agreed industry standards.
  • DDS Digital Data Storage
  • DAT Digital Audio Tape
  • the 6 th version of the DDS format which is known as DAT 160, provides the capability of the tape drive to uniquely identify a tape medium by recording a unique cartridge serial number on the tape medium.
  • a further improvement introduced by the DAT 160 version is the capability to store an extended log of tape usage information on the tape medium, the extended log including twelve log sections in which tape usage information is recorded relating respectively to the last twelve data recording sessions. Tape usage information recorded in each log section includes usage and error statistics as well as an identification of the tape drive on which the tape medium was loaded during the respective session. Tape media complying with the DAT 160 version of the DDS format cannot be read or written to using tape drives produced according to an earlier version of the DDS format.
  • the TapeWare backup application embeds a tape medium identifier within user data written to a tape medium. This identifier is lost when a different application is used to overwrite the user data on the tape medium.
  • a method of storing data on a tape medium in at least one data recording session employing a tape drive apparatus operable to record the data in accordance with a format that specifies an unused area of the tape medium.
  • the method comprises formatting the tape medium according to the format, and recording a tape medium identifier in the specified unused area of the tape medium.
  • the invention is advantageous because it enables to uniquely identify the tape medium in a backward compatible way. Because the format according to which the tape medium is formatted specifies an unused area, the tape medium on which the tape medium identifier is recorded during a data recording session in the tape drive apparatus can be loaded for further data recording sessions not only on the tape drive apparatus itself but also on a legacy tape drive apparatus that is compliant with the format and does not alter the unused area. Recording sessions employing the legacy tape drive apparatus do not affect the unused area of the tape medium, where the tape medium identifier is stored. Therefore, the tape medium identifier will not be overwritten, erased, or altered during recording sessions employing the legacy tape drive apparatus. When after one or more recording sessions employing the legacy tape drive apparatus the tape medium is again loaded on the tape drive apparatus, the unchanged tape medium identifier allows the tape drive apparatus to uniquely identify the tape medium.
  • the legacy tape drive apparatus when the legacy tape drive apparatus is one of an installed base of legacy tape drive apparatuses used by an enterprise, the legacy tape drive apparatuses being operable to record data on tape media according to a common format, the enterprise can use the same type of tape media interchangeably in all of the legacy tape drive apparatuses.
  • the present invention enables the enterprise to supplement the installed base of legacy tape drive apparatuses with enhanced tape drive apparatuses that are capable of uniquely identifying tape media, and use the same type of tape media interchangeably in both the legacy tape drive apparatuses and the enhanced tape drive apparatuses. In this way the enterprise benefits from the continued interchangeability of the tape media among the tape drive apparatuses without the high cost of replacing all legacy tape apparatuses with enhanced tape drive apparatuses.
  • the method further comprises determining whether the unused area of the tape medium comprises a previously recorded tape medium identifier, and reading the previously recorded tape medium identifier from the unused area for re-use of the same tape medium identifier for the recording of the tape medium identifier.
  • the method further comprises determining whether the tape medium has previously been formatted.
  • the recording of the tape medium identifier is then performed only when the unused area of the tape medium comprises a previously recorded tape identifier or the tape medium has not previously been formatted.
  • the recording of the tape medium identifier is not performed for tape media that have initially been formatted in the legacy tape drive apparatus, which does not record a tape drive identifier in the unused area according to the present invention, or that have been re-formatted in another tape drive apparatus compatible with the format that erases the tape medium identifier from the unused area during formatting.
  • This embodiment is particularly advantageous because it enables to track the entire history of past use of a tape medium using the tape medium identifier, by relying on the tape medium having been identifiable by the same tape medium identifier throughout its entire history of past use.
  • the format further specifies the tape medium to comprise mandatory content in a specified location on the tape medium, for example tape management information or separator marks that separate different areas of the formatted tape medium.
  • the determining whether the tape medium has previously been formatted comprises reading data from the specified location of the tape medium, detecting from the data whether the tape medium comprises the mandatory content in the specified location, and determining that the tape medium has previously been formatted when the tape medium comprises the mandatory content in the specified location.
  • the determining whether the tape medium has previously been formatted further comprises writing first test data to a test location of the tape medium, and reading second test data from the test location of the tape medium. Comparing the second test data with the first test data, an error rate is calculated based on the comparison.
  • the tape medium is determined to not have previously been formatted when the tape medium does not comprise the mandatory content in the specified location and the error rate does not exceed a predefined threshold.
  • the format further specifies a count of data recording sessions in a tape drive apparatus to be stored in a system area of the tape medium.
  • the method further comprises reading the count of recording sessions from the system area of the tape medium, updating the count of recording sessions, and recording an extended log of tape usage information in the unused area of the tape medium, the extended log comprising the updated count of recording sessions. Being recorded in the unused area, the extended log is not altered during recording sessions in the legacy tape drive apparatus and thus in this case will not reflect the last recording session of the tape medium.
  • the legacy tape drive apparatus as every tape drive apparatus that is in compliance with the specifications of the format does update the count of recording sessions in the system area.
  • This embodiment is particularly advantageous because it enables to store on the tape medium tape usage information that relates to the present recording session and is not limited by the specifications of the format. Because the extended log comprises a count of recording sessions reflecting the recording session during which the extended log was recorded, the embodiment enables to compare the count of recording sessions from the extended log to the count of recording sessions from the system area to determine whether the extended log refers to the last recording session.
  • the extended log comprises a plurality of log sections in which tape usage information is recorded relating respectively to corresponding ones of the at least one data recording sessions, the log sections together constituting a cumulative record of tape usage, each log section in respect of a recording session comprising the count of recording sessions.
  • This embodiment is particularly advantageous because it enables to provide a cumulative record of tape usage on a tape medium formatted according to a format that does not specify such a cumulative record.
  • the present invention relates to a backward compatible storage apparatus for storing data on a sequential storage medium.
  • the apparatus comprises means for transferring data between the sequential storage medium and the backward compatible storage apparatus in at least one data recording session, and means for formatting the sequential storage medium according to a legacy format.
  • the legacy format specifies an unused area of the sequential storage medium that is unaffected by data recording sessions employing the legacy storage apparatus.
  • the backward compatible storage apparatus further comprises means for recording an identifier of the sequential storage medium in the unused area of the sequential storage medium.
  • FIG. 1 is a block diagram of a tape drive apparatus of an embodiment, and a legacy tape drive apparatus to which it is backward compatible,
  • FIG. 2 is a schematic depiction of a layout of a tape medium, on which data have been stored according to a method embodying the invention
  • FIG. 3 is a flowchart of a method embodying the invention
  • FIG. 4 is a flowchart of a determining step of an embodiment
  • FIG. 5 is a diagram depicting the recording of an extended log of tape usage according to an embodiment.
  • the first tape drive apparatus 102 comprises a data transfer unit 106 , adapted to load a tape medium 100 and capable of transferring data between the loaded tape medium 100 and the first tape drive apparatus 102 .
  • the second tape drive apparatus 104 analogously comprises a data transfer unit 106 ′ adapted to load the same tape medium 104 and capable of transferring data between the tape medium 104 and the second tape drive apparatus.
  • the first 102 and second 104 tape drive apparatuses comprise respective data processing units 134 , 134 ′ for controlling the reading and writing of data on the tape medium 100 .
  • the data processing unit 134 of the first tape drive apparatus 102 is connected via an interface 135 to a host computer 136 comprising a processor 138 capable of executing a backup application 140 for sending commands and data to be stored on the tape medium 100 to the data processing unit 134 .
  • the data processing unit 134 ′ of the second tape drive apparatus 104 is connected via an interface 135 ′ to a host 136 ′ comprising a processor 138 ′ capable of executing a backup application 140 ′ for sending commands and data to be stored on the tape medium 100 to the data processing unit 134 ′ when the tape medium 100 is loaded on the second tape drive apparatus.
  • the data processing unit 134 of the first tape drive apparatus comprises a formatting module 108 operable to control the data transfer unit 106 to format the tape medium according to a format that is compatible with an analogous formatting module 108 ′ of the second tape drive apparatus 104 .
  • a formatting module 108 operable to control the data transfer unit 106 to format the tape medium according to a format that is compatible with an analogous formatting module 108 ′ of the second tape drive apparatus 104 .
  • tape medium 100 can be loaded interchangeably on either the first 102 or the second 104 tape drive apparatus for data recording sessions, in which data stored in preceding recording sessions is overwritten or appended to.
  • an unused area of the tape medium that is specified by the format is excluded from being written to and therefore remains unaffected.
  • the unused area also remains unaffected when the tape medium 100 is formatted in the second tape drive apparatus 104 under the control of formatting module 108 ′.
  • the data processing unit 134 of the first tape drive apparatus 102 comprises a recording module 110 for recording a tape medium identifier in the unused area of the tape medium 100 .
  • the recording module 110 is controlled by a determiner 112 operable to determine whether the tape medium has previously been formatted, and whether a previously recorded tape medium identifier is present in the unused area of the tape medium 100 .
  • the determiner 112 relies on a first reading module 114 for controlling the data transfer unit 106 to read a previously recorded tape medium identifier from the unused area of the tape medium 100 .
  • a second reading module 116 and a detector 118 enable the determiner to determine whether the tape medium 100 has previously been formatted.
  • a writing module 120 , a third reading module 122 , a comparer 124 , and a calculator 126 in conjunction enable the determiner 112 to verify a finding that the tape medium 100 is unformatted by performing an error rate test for testing the reliable operation of the data transfer unit 106 .
  • the data processing unit 134 of the first tape drive apparatus comprises a fourth reading module 128 for reading from the tape medium 100 a count of the data recording sessions that the tape medium 100 has so far been subjected to, the count of data recording sessions being recorded in the system area of the tape medium 100 in accordance with the specifications of the format.
  • Both the first 102 and the second 104 tape drive apparatuses comprise respective counting modules 130 , 130 ′ for updating the count of data recording sessions during a data recording session.
  • the data processing unit 134 of the first tape drive apparatus optionally comprises a logger 132 for controlling the data transfer unit 106 to record an extended log of tape usage information in the unused area of the tape medium 100 .
  • FIG. 2 schematically depicts a layout of the tape medium 100 on which data have been stored according to a method embodying the invention.
  • the layout follows the format specifications. As specified by the format, the layout is divided into adjacent areas 200 , 210 , 214 , comprising a data area 214 for recording user data, a system area 210 for recording information for managing the tape medium, in particular a count of data recording sessions 208 , and an unused area 200 .
  • the use of the unused area 200 is not specified by the format.
  • the unused area 200 remains unaffected by recording sessions in the second tape drive apparatus, and optionally also by using the second tape drive apparatus to format the tape medium 100 .
  • first and second tape drive apparatuses record data in the data 214 and system 210 areas in accordance with the specifications of the format
  • the first tape drive apparatus additionally uses the unused area 200 to record a tape medium identifier 202 and an extended log 212 of tape usage information.
  • a test location 206 for writing and reading test data as part of an error rate test is also located in the unused area. In this way it is assured that user data from the user area and information for managing the tape medium from the system area remain unaffected by an error rate test performed in the test location.
  • the test location 206 furthermore does not overlap with locations in which the first tape drive apparatus records the tape medium identifier 202 and the extended log 212 .
  • mandatory content 203 specified by the format is written to a specified location 204 of the tape medium, optionally located within the system area 210 .
  • the format specifies the location 204 involving a range of distances measured from the beginning of the tape medium 100 , between which the mandatory content is specified to start.
  • the format further specifies the mandatory content 204 , for example by specifying frame numbers of data frames constituting the mandatory content, in such a way that compliance of the mandatory content with the format specifications is verifiable. In this way, the presence of the mandatory data 204 in the specified location and its compliance with the format specification provides a criterion enabling the first tape drive apparatus to determine whether the tape medium 100 has previously been formatted.
  • the layout of tape medium 100 can comprise further areas such as an end-of-data area following the end of the data area 214 , or additional position tolerance bands interspersed between areas.
  • the tape medium 100 can furthermore be formatted as a partitioned tape, in which data can be recorded in one partition independently of data recorded in another partition of the tape medium 100 , each partition comprising a separate data area corresponding to data area 214 .
  • FIG. 3 shows a flowchart of a method of an embodiment of the invention.
  • decision step 308 the tape medium is examined to determine whether the medium is blank or has been previously formatted. If the tape medium is found to not have been formatted before, a new tape medium identifier is generated in step 310 to be assigned to the tape medium.
  • the tape medium identifier is generated in such a way that it is unique to the tape medium, avoiding assigning the same identifier to two or more tape media.
  • One way of achieving the tape medium identifier to be unique involves using a counter that changes its counter value each time the tape drive apparatus performs a formatting operation, and combining the counter value with a tape drive identifier that uniquely identifies the tape drive apparatus.
  • the first tape drive apparatus records the tape drive identifier in the unused area of the tape medium, followed in step 300 by formatting the tape medium according to the format, preserving the tape medium identifier recorded in the unused area.
  • the unused area of the tape medium comprises a tape medium identifier.
  • the unused area of the tape medium is unaffected by both formatting and data recording sessions in the second tape drive apparatus, so that the unused area will be found to not comprise any data, and a in particular comprise no tape medium identifier if the tape medium has been used for formatting and data recording sessions in the second tape drive apparatus only.
  • the tape medium can comprise arbitrary data frames recorded in the unused area, for example stemming from recording sessions in a further tape drive apparatus that is compliant with the format and uses the unused area for proprietary purposes.
  • the likelihood of misinterpreting an arbitrary data frame recorded in the unused area as the tape medium identifier is significantly reduced by adding a verifiable redundancy check to the tape medium identifier.
  • step 306 the tape medium identifier is read from the unused area.
  • step 306 is integrated with decision step 304 , in such a way that a function is called to read the tape medium identifier from the unused area, where the function either returns an indication of success together with the tape medium identifier, or an indication that the function failed to read a tape medium identifier.
  • the tape medium identifier is then re-recorded in the unused area, followed by formatting of the tape medium according to the format in step 300 .
  • step 304 If in decision step 304 it is found that the unused area of the tape medium does not comprise a tape medium identifier, the method proceeds to step 300 , formatting the tape medium according to the legacy format. In this way, the method enables to rely on that any tape medium bearing a tape medium identifier in the unused area has been identifiable by the same tape medium identifier throughout its entire history of past use.
  • the method can be modified to proceed to step 310 from decision step 304 if it is found that the unused area of the tape medium does not comprise a tape medium identifier, generating in step 310 a new tape medium identifier for the tape medium.
  • the method enables to track the future use also for tape media that have not been identifiable by a tape medium identifier during a part of its past use history.
  • FIG. 4 shows a flowchart depicting in detail how a method of an embodiment of the invention determines whether the tape medium has previously been formatted.
  • step 410 data are read from a location of the tape medium that is specified by the format to comprise mandatory content.
  • step 412 the data read from the location is examined to detect whether it comprises the mandatory content.
  • steps 410 and 412 are integrated, in such a way that a function is called to read the mandatory content from the specified location, the function returning an indication of either success or failure. If the mandatory content is read successfully from the specified location, decision step 414 arrives at the conclusion that the tape medium is formatted.
  • Failure to detect the mandatory content in step 412 can be caused by the tape medium being unformatted, or by improper functioning of the first tape drive apparatus, for example by clogged tape heads preventing data from being read from the tape medium.
  • a test is performed in steps 416 - 422 to confirm that the first tape drive apparatus is functional for reading data from the tape medium.
  • step 416 first test data are written to a test location of the tape medium, optionally within the unused area.
  • step 418 second test data are read from the same test location.
  • step 420 the first and second test data are compared, optionally in a bit-by-bit fashion.
  • step 422 an error rate is calculated, optionally by dividing the number of bits found to differ between the first and second test data by the overall number of bits written to the tape medium in step 416 . If the calculated error rate remains below a predefined threshold, decision step 424 arrives at the conclusion that the first tape drive apparatus is functional for reading data from the tape medium and therefore the tape medium has been verified to be unformatted.
  • decision step 424 arrives at the conclusion that the first tape drive apparatus is not functioning correctly.
  • the first tape drive apparatus indicates a trouble condition 426 , for example by flashing an indicator light.
  • FIG. 5 is a diagram depicting the recording of an extended log 212 of tape usage information in the unused area 200 of the tape medium 100 according to an embodiment.
  • the same tape medium 100 is shown in four stages, demonstrating the effect of subsequently subjecting the tape medium 100 to a data recording session 506 in the first tape drive apparatus, a data recording session 508 in the second tape drive apparatus, and a further data recording session 506 ′ in the first tape drive apparatus.
  • the system area 210 of tape medium 100 is shown to comprise the count 208 of recording sessions.
  • the contents of the system area 210 are specified by the format, and in accordance with the format specifications updated by both the first and second tape drive apparatuses.
  • the count 208 of recording sessions is set to zero upon the first formatting of the tape medium 100 , and during each recording session in either the first or second tape apparatus incremented by one.
  • the count 208 of recording sessions is read from the tape medium and re-used for the re-formatting operation, thus preserving the value of the count 208 .
  • the tape medium 100 is shown in the first of the four depicted stages to comprise a value “6” for the count of recording sessions, signifying that the tape medium 100 at this stage has been subjected to six data recording sessions since it was first formatted.
  • the first tape drive apparatus in reading operation 500 reads the value “6” of count 208 into a volatile memory, in updating operation 502 increments it by one, and in writing operation 505 writes the resulting value of “7” back to the system area 210 of the tape medium 100 .
  • the tape medium 100 is now ejected from the first tape drive apparatus and loaded on the second tape drive apparatus for recording session 508 .
  • the second tape drive apparatus in reading operation 500 ′ reads the value “7” of count 208 into a volatile memory, in updating operation 502 ′ increments it by one, and in writing operation 505 ′ writes the resulting value of “8” back to the system area 210 of the tape medium 100 .
  • the tape medium 100 is in turn ejected from the second tape drive apparatus and loaded on the first tape drive apparatus for a further recording session 506 ′, which results in an updated value “9” of the count 208 of recording sessions being written to the system area 210 of the tape medium 100 .
  • the first tape drive apparatus updates the count 208 of recording sessions analogously to the second tape drive apparatus, observing the specifications of the format.
  • the unused area 200 of the tape medium 100 is shown to comprise the extended log 212 of tape usage information.
  • the extended log 212 comprises a plurality of log sections 510 .
  • Each of the log sections 510 contains information relating to a corresponding one of the data recording sessions that the tape medium 100 has so far been subjected to.
  • each of the log sections 510 is shown to comprise the value that the count 208 of recording sessions was updated to during the corresponding recording session.
  • the log sections 510 of the extended log 212 are shown as respectively relating to the 6 th , 5 th , 4 th , 3 rd , and 2 nd data recording session that the tape medium 100 was subjected to since formatting, thus constituting a cumulative record of tape usage covering the previous five recording sessions.
  • the first tape drive apparatus in copying operation 510 copies the log sections 510 respectively relating to the 6 th , 5 th , 4 th , and 3 rd recording session to the respective positions previously occupied by the log sections 510 respectively relating to the 5 th , 4 th , 3 rd , and 2 nd recording sessions.
  • a log section relating to the recording session 506 and comprising the updated value “7” of the count 208 is written as part of the extended log 212 , overwriting the position previously occupied by the log section relating to the 6 th recording session.
  • the extended log 212 in the unused area 200 is not updated. Because the second tape drive apparatus updates the count 208 of recording sessions, a mismatch arises between the count 208 of recording sessions and the value of the count in the log section 510 of the extended log 212 that relates to the last recording session in the first tape drive apparatus.
  • the extended log 212 is used by the first tape drive apparatus, or by an external backup or utility application for analysing the history of past use of the tape medium. Because of the correspondence between the count 208 of recording sessions and the values of the count 208 stored in each log section 510 of the extended log 212 , the analysing tape drive apparatus or application is enabled to identify to which of the sequence of past recording sessions each of the log sections 510 relates.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

Disclosed is a method of storing data on a tape medium in at least one data recording session employing a tape drive apparatus operable to record the data in accordance with a format specifying an unused area of the tape medium. The method comprises formatting the tape medium according to the format, and recording a tape medium identifier in the specified unused area of the tape medium.

Description

BACKGROUND AND RELATED ART
For several decades, magnetic tape media and corresponding data storage devices known as tape drives have been used for storing digital data in non-volatile form, most commonly with the application of providing secondary or backup storage and retrieval. Initially the magnetic tapes were wound about large reels in similar manner as film for film projectors. In more recent years the magnetic tape has typically been housed in a cartridge or cassette, extending internally in the cartridge from a supply reel to a take-up reel. To allow interoperability between different tape media and tape drives, including those of different vendors, the mechanical dimensions and magnetic properties of the tape media, as well as the exact method according to which data is to be recorded on the tape media are typically governed by agreed industry standards.
With corporations shifting from single tape drives attached to single host computers to deploying large numbers of tape drives organised in tape libraries, the ability to use tape media interchangeably with a large number of tape drives has grown in importance. Adherence of tape media and tape drives used in a corporation to a common format, or to a set of compatible formats is therefore of great value. In another consequence, in order to early diagnose technical problems with a particular tape medium or tape drive it becomes increasingly important to be able to uniquely identify and track the tape usage history of each tape medium.
One known format of magnetic tape media for providing storage and retrieval of digital data is the Digital Data Storage (DDS) format, which has evolved from Digital Audio Tape (DAT) technology and developed through a number of versions. Each new version provided improvements over the preceding version, among those being one or more of enlarged capacity of the tape medium, higher speed of data recording and retrieval, improved reliability, and additional functionality for tape medium management.
The 6th version of the DDS format, which is known as DAT 160, provides the capability of the tape drive to uniquely identify a tape medium by recording a unique cartridge serial number on the tape medium. A further improvement introduced by the DAT 160 version is the capability to store an extended log of tape usage information on the tape medium, the extended log including twelve log sections in which tape usage information is recorded relating respectively to the last twelve data recording sessions. Tape usage information recorded in each log section includes usage and error statistics as well as an identification of the tape drive on which the tape medium was loaded during the respective session. Tape media complying with the DAT 160 version of the DDS format cannot be read or written to using tape drives produced according to an earlier version of the DDS format.
Among the versions of the DDS format in widespread use are the 3rd, 4th, and 5th version, known respectively as DDS-3, DDS-4, and DAT-72. These versions do not provide within their respective format specifications for the storage of a tape medium identifier that would allow uniquely identifying a tape medium.
The TapeWare backup application embeds a tape medium identifier within user data written to a tape medium. This identifier is lost when a different application is used to overwrite the user data on the tape medium.
SUMMARY OF THE INVENTION
According to the present invention, there is now provided a method of storing data on a tape medium in at least one data recording session employing a tape drive apparatus operable to record the data in accordance with a format that specifies an unused area of the tape medium. The method comprises formatting the tape medium according to the format, and recording a tape medium identifier in the specified unused area of the tape medium.
The invention is advantageous because it enables to uniquely identify the tape medium in a backward compatible way. Because the format according to which the tape medium is formatted specifies an unused area, the tape medium on which the tape medium identifier is recorded during a data recording session in the tape drive apparatus can be loaded for further data recording sessions not only on the tape drive apparatus itself but also on a legacy tape drive apparatus that is compliant with the format and does not alter the unused area. Recording sessions employing the legacy tape drive apparatus do not affect the unused area of the tape medium, where the tape medium identifier is stored. Therefore, the tape medium identifier will not be overwritten, erased, or altered during recording sessions employing the legacy tape drive apparatus. When after one or more recording sessions employing the legacy tape drive apparatus the tape medium is again loaded on the tape drive apparatus, the unchanged tape medium identifier allows the tape drive apparatus to uniquely identify the tape medium.
For example, when the legacy tape drive apparatus is one of an installed base of legacy tape drive apparatuses used by an enterprise, the legacy tape drive apparatuses being operable to record data on tape media according to a common format, the enterprise can use the same type of tape media interchangeably in all of the legacy tape drive apparatuses. The present invention enables the enterprise to supplement the installed base of legacy tape drive apparatuses with enhanced tape drive apparatuses that are capable of uniquely identifying tape media, and use the same type of tape media interchangeably in both the legacy tape drive apparatuses and the enhanced tape drive apparatuses. In this way the enterprise benefits from the continued interchangeability of the tape media among the tape drive apparatuses without the high cost of replacing all legacy tape apparatuses with enhanced tape drive apparatuses.
In accordance with an embodiment, the method further comprises determining whether the unused area of the tape medium comprises a previously recorded tape medium identifier, and reading the previously recorded tape medium identifier from the unused area for re-use of the same tape medium identifier for the recording of the tape medium identifier. This embodiment is particularly advantageous because it enables the tape medium to remain uniquely identifiable even after being subjected to re-formatting in the tape drive apparatus.
In accordance with an embodiment, the method further comprises determining whether the tape medium has previously been formatted. The recording of the tape medium identifier is then performed only when the unused area of the tape medium comprises a previously recorded tape identifier or the tape medium has not previously been formatted. The recording of the tape medium identifier is not performed for tape media that have initially been formatted in the legacy tape drive apparatus, which does not record a tape drive identifier in the unused area according to the present invention, or that have been re-formatted in another tape drive apparatus compatible with the format that erases the tape medium identifier from the unused area during formatting. This embodiment is particularly advantageous because it enables to track the entire history of past use of a tape medium using the tape medium identifier, by relying on the tape medium having been identifiable by the same tape medium identifier throughout its entire history of past use.
In accordance with an embodiment, the format further specifies the tape medium to comprise mandatory content in a specified location on the tape medium, for example tape management information or separator marks that separate different areas of the formatted tape medium. The determining whether the tape medium has previously been formatted comprises reading data from the specified location of the tape medium, detecting from the data whether the tape medium comprises the mandatory content in the specified location, and determining that the tape medium has previously been formatted when the tape medium comprises the mandatory content in the specified location.
In accordance with an embodiment, the determining whether the tape medium has previously been formatted further comprises writing first test data to a test location of the tape medium, and reading second test data from the test location of the tape medium. Comparing the second test data with the first test data, an error rate is calculated based on the comparison. The tape medium is determined to not have previously been formatted when the tape medium does not comprise the mandatory content in the specified location and the error rate does not exceed a predefined threshold. This embodiment is particularly advantageous because it enables to prevent erroneously finding the tape medium to be unformatted when clogged tape heads or other causes interfere with reading any data from the tape medium.
In accordance with an embodiment, the format further specifies a count of data recording sessions in a tape drive apparatus to be stored in a system area of the tape medium. The method further comprises reading the count of recording sessions from the system area of the tape medium, updating the count of recording sessions, and recording an extended log of tape usage information in the unused area of the tape medium, the extended log comprising the updated count of recording sessions. Being recorded in the unused area, the extended log is not altered during recording sessions in the legacy tape drive apparatus and thus in this case will not reflect the last recording session of the tape medium. In contrast, the legacy tape drive apparatus as every tape drive apparatus that is in compliance with the specifications of the format does update the count of recording sessions in the system area.
This embodiment is particularly advantageous because it enables to store on the tape medium tape usage information that relates to the present recording session and is not limited by the specifications of the format. Because the extended log comprises a count of recording sessions reflecting the recording session during which the extended log was recorded, the embodiment enables to compare the count of recording sessions from the extended log to the count of recording sessions from the system area to determine whether the extended log refers to the last recording session.
According to an embodiment, the extended log comprises a plurality of log sections in which tape usage information is recorded relating respectively to corresponding ones of the at least one data recording sessions, the log sections together constituting a cumulative record of tape usage, each log section in respect of a recording session comprising the count of recording sessions. This embodiment is particularly advantageous because it enables to provide a cumulative record of tape usage on a tape medium formatted according to a format that does not specify such a cumulative record.
In another aspect the present invention relates to a backward compatible storage apparatus for storing data on a sequential storage medium. The apparatus comprises means for transferring data between the sequential storage medium and the backward compatible storage apparatus in at least one data recording session, and means for formatting the sequential storage medium according to a legacy format. The legacy format specifies an unused area of the sequential storage medium that is unaffected by data recording sessions employing the legacy storage apparatus. The backward compatible storage apparatus further comprises means for recording an identifier of the sequential storage medium in the unused area of the sequential storage medium.
BRIEF DESCRIPTION OF THE DRAWINGS
In the following embodiments of the invention will be described in greater detail by way of example only making reference to the drawings in which:
FIG. 1 is a block diagram of a tape drive apparatus of an embodiment, and a legacy tape drive apparatus to which it is backward compatible,
FIG. 2 is a schematic depiction of a layout of a tape medium, on which data have been stored according to a method embodying the invention,
FIG. 3 is a flowchart of a method embodying the invention,
FIG. 4 is a flowchart of a determining step of an embodiment, and
FIG. 5 is a diagram depicting the recording of an extended log of tape usage according to an embodiment.
DETAILED DESCRIPTION
Referring to FIG. 1, there is shown a first tape drive apparatus 102 embodying the present invention, and a second tape drive apparatus 104 to which the first tape drive apparatus 102 is backward compatible. The first tape drive apparatus 102 comprises a data transfer unit 106, adapted to load a tape medium 100 and capable of transferring data between the loaded tape medium 100 and the first tape drive apparatus 102. The second tape drive apparatus 104 analogously comprises a data transfer unit 106′ adapted to load the same tape medium 104 and capable of transferring data between the tape medium 104 and the second tape drive apparatus.
The first 102 and second 104 tape drive apparatuses comprise respective data processing units 134, 134′ for controlling the reading and writing of data on the tape medium 100. The data processing unit 134 of the first tape drive apparatus 102 is connected via an interface 135 to a host computer 136 comprising a processor 138 capable of executing a backup application 140 for sending commands and data to be stored on the tape medium 100 to the data processing unit 134. Analogously, the data processing unit 134′ of the second tape drive apparatus 104 is connected via an interface 135′ to a host 136′ comprising a processor 138′ capable of executing a backup application 140′ for sending commands and data to be stored on the tape medium 100 to the data processing unit 134′ when the tape medium 100 is loaded on the second tape drive apparatus.
The data processing unit 134 of the first tape drive apparatus comprises a formatting module 108 operable to control the data transfer unit 106 to format the tape medium according to a format that is compatible with an analogous formatting module 108′ of the second tape drive apparatus 104. In operation, after having been formatted either in the first tape drive apparatus 102 under the control of formatting module 108, or in the second tape drive apparatus 104 under the control of formatting module 108′, tape medium 100 can be loaded interchangeably on either the first 102 or the second 104 tape drive apparatus for data recording sessions, in which data stored in preceding recording sessions is overwritten or appended to.
In data recording sessions employing the second tape drive apparatus 104, an unused area of the tape medium that is specified by the format is excluded from being written to and therefore remains unaffected. Optionally, the unused area also remains unaffected when the tape medium 100 is formatted in the second tape drive apparatus 104 under the control of formatting module 108′.
The data processing unit 134 of the first tape drive apparatus 102 comprises a recording module 110 for recording a tape medium identifier in the unused area of the tape medium 100. Optionally, the recording module 110 is controlled by a determiner 112 operable to determine whether the tape medium has previously been formatted, and whether a previously recorded tape medium identifier is present in the unused area of the tape medium 100. The determiner 112 relies on a first reading module 114 for controlling the data transfer unit 106 to read a previously recorded tape medium identifier from the unused area of the tape medium 100. A second reading module 116 and a detector 118 enable the determiner to determine whether the tape medium 100 has previously been formatted. A writing module 120, a third reading module 122, a comparer 124, and a calculator 126 in conjunction enable the determiner 112 to verify a finding that the tape medium 100 is unformatted by performing an error rate test for testing the reliable operation of the data transfer unit 106.
Optionally, the data processing unit 134 of the first tape drive apparatus comprises a fourth reading module 128 for reading from the tape medium 100 a count of the data recording sessions that the tape medium 100 has so far been subjected to, the count of data recording sessions being recorded in the system area of the tape medium 100 in accordance with the specifications of the format. Both the first 102 and the second 104 tape drive apparatuses comprise respective counting modules 130, 130′ for updating the count of data recording sessions during a data recording session. The data processing unit 134 of the first tape drive apparatus optionally comprises a logger 132 for controlling the data transfer unit 106 to record an extended log of tape usage information in the unused area of the tape medium 100.
FIG. 2 schematically depicts a layout of the tape medium 100 on which data have been stored according to a method embodying the invention. To enable the tape medium 100 to be used for recording data in recording sessions employing the second tape drive apparatus, the layout follows the format specifications. As specified by the format, the layout is divided into adjacent areas 200, 210, 214, comprising a data area 214 for recording user data, a system area 210 for recording information for managing the tape medium, in particular a count of data recording sessions 208, and an unused area 200. The use of the unused area 200 is not specified by the format. The unused area 200 remains unaffected by recording sessions in the second tape drive apparatus, and optionally also by using the second tape drive apparatus to format the tape medium 100.
While both first and second tape drive apparatuses record data in the data 214 and system 210 areas in accordance with the specifications of the format, the first tape drive apparatus additionally uses the unused area 200 to record a tape medium identifier 202 and an extended log 212 of tape usage information. Optionally, a test location 206 for writing and reading test data as part of an error rate test is also located in the unused area. In this way it is assured that user data from the user area and information for managing the tape medium from the system area remain unaffected by an error rate test performed in the test location. Optionally, the test location 206 furthermore does not overlap with locations in which the first tape drive apparatus records the tape medium identifier 202 and the extended log 212.
When tape medium 100 is formatted in either the first or second tape drive apparatus, mandatory content 203 specified by the format is written to a specified location 204 of the tape medium, optionally located within the system area 210. Optionally, the format specifies the location 204 involving a range of distances measured from the beginning of the tape medium 100, between which the mandatory content is specified to start. Optionally, the format further specifies the mandatory content 204, for example by specifying frame numbers of data frames constituting the mandatory content, in such a way that compliance of the mandatory content with the format specifications is verifiable. In this way, the presence of the mandatory data 204 in the specified location and its compliance with the format specification provides a criterion enabling the first tape drive apparatus to determine whether the tape medium 100 has previously been formatted.
In accordance with the format specifications, the layout of tape medium 100 can comprise further areas such as an end-of-data area following the end of the data area 214, or additional position tolerance bands interspersed between areas. The tape medium 100 can furthermore be formatted as a partitioned tape, in which data can be recorded in one partition independently of data recorded in another partition of the tape medium 100, each partition comprising a separate data area corresponding to data area 214.
FIG. 3 shows a flowchart of a method of an embodiment of the invention. In decision step 308 the tape medium is examined to determine whether the medium is blank or has been previously formatted. If the tape medium is found to not have been formatted before, a new tape medium identifier is generated in step 310 to be assigned to the tape medium. Optionally, the tape medium identifier is generated in such a way that it is unique to the tape medium, avoiding assigning the same identifier to two or more tape media. One way of achieving the tape medium identifier to be unique involves using a counter that changes its counter value each time the tape drive apparatus performs a formatting operation, and combining the counter value with a tape drive identifier that uniquely identifies the tape drive apparatus. In step 302, the first tape drive apparatus records the tape drive identifier in the unused area of the tape medium, followed in step 300 by formatting the tape medium according to the format, preserving the tape medium identifier recorded in the unused area.
If in decision step 308 it is found that the tape medium has been previously formatted, in a further decision step 304 it is determined whether the unused area of the tape medium comprises a tape medium identifier. Optionally the unused area of the tape medium is unaffected by both formatting and data recording sessions in the second tape drive apparatus, so that the unused area will be found to not comprise any data, and a in particular comprise no tape medium identifier if the tape medium has been used for formatting and data recording sessions in the second tape drive apparatus only. However, since the format does not specify the use of the unused area, the tape medium can comprise arbitrary data frames recorded in the unused area, for example stemming from recording sessions in a further tape drive apparatus that is compliant with the format and uses the unused area for proprietary purposes. Optionally the likelihood of misinterpreting an arbitrary data frame recorded in the unused area as the tape medium identifier is significantly reduced by adding a verifiable redundancy check to the tape medium identifier.
If in decision step 304 it is found that the unused area of the tape medium comprises a tape medium identifier, in step 306 the tape medium identifier is read from the unused area. Optionally, step 306 is integrated with decision step 304, in such a way that a function is called to read the tape medium identifier from the unused area, where the function either returns an indication of success together with the tape medium identifier, or an indication that the function failed to read a tape medium identifier. In step 302, the tape medium identifier is then re-recorded in the unused area, followed by formatting of the tape medium according to the format in step 300.
If in decision step 304 it is found that the unused area of the tape medium does not comprise a tape medium identifier, the method proceeds to step 300, formatting the tape medium according to the legacy format. In this way, the method enables to rely on that any tape medium bearing a tape medium identifier in the unused area has been identifiable by the same tape medium identifier throughout its entire history of past use.
Alternatively, the method can be modified to proceed to step 310 from decision step 304 if it is found that the unused area of the tape medium does not comprise a tape medium identifier, generating in step 310 a new tape medium identifier for the tape medium. In this way, the method enables to track the future use also for tape media that have not been identifiable by a tape medium identifier during a part of its past use history.
FIG. 4 shows a flowchart depicting in detail how a method of an embodiment of the invention determines whether the tape medium has previously been formatted. In step 410, data are read from a location of the tape medium that is specified by the format to comprise mandatory content. In step 412, the data read from the location is examined to detect whether it comprises the mandatory content. Optionally, steps 410 and 412 are integrated, in such a way that a function is called to read the mandatory content from the specified location, the function returning an indication of either success or failure. If the mandatory content is read successfully from the specified location, decision step 414 arrives at the conclusion that the tape medium is formatted.
Failure to detect the mandatory content in step 412 can be caused by the tape medium being unformatted, or by improper functioning of the first tape drive apparatus, for example by clogged tape heads preventing data from being read from the tape medium. In order to verify that the tape medium is unformatted, a test is performed in steps 416-422 to confirm that the first tape drive apparatus is functional for reading data from the tape medium.
In step 416, first test data are written to a test location of the tape medium, optionally within the unused area. In step 418, second test data are read from the same test location. In step 420, the first and second test data are compared, optionally in a bit-by-bit fashion. In step 422, an error rate is calculated, optionally by dividing the number of bits found to differ between the first and second test data by the overall number of bits written to the tape medium in step 416. If the calculated error rate remains below a predefined threshold, decision step 424 arrives at the conclusion that the first tape drive apparatus is functional for reading data from the tape medium and therefore the tape medium has been verified to be unformatted.
If the error rate exceeds the predefined threshold, decision step 424 arrives at the conclusion that the first tape drive apparatus is not functioning correctly. Optionally, the first tape drive apparatus indicates a trouble condition 426, for example by flashing an indicator light.
FIG. 5 is a diagram depicting the recording of an extended log 212 of tape usage information in the unused area 200 of the tape medium 100 according to an embodiment. The same tape medium 100 is shown in four stages, demonstrating the effect of subsequently subjecting the tape medium 100 to a data recording session 506 in the first tape drive apparatus, a data recording session 508 in the second tape drive apparatus, and a further data recording session 506′ in the first tape drive apparatus.
In each stage the system area 210 of tape medium 100 is shown to comprise the count 208 of recording sessions. The contents of the system area 210, including the count 208 of recording sessions, are specified by the format, and in accordance with the format specifications updated by both the first and second tape drive apparatuses. Optionally, the count 208 of recording sessions is set to zero upon the first formatting of the tape medium 100, and during each recording session in either the first or second tape apparatus incremented by one. Optionally, during re-formatting of the tape medium 100 in either the first or second tape drive apparatuses, the count 208 of recording sessions is read from the tape medium and re-used for the re-formatting operation, thus preserving the value of the count 208.
The tape medium 100 is shown in the first of the four depicted stages to comprise a value “6” for the count of recording sessions, signifying that the tape medium 100 at this stage has been subjected to six data recording sessions since it was first formatted. During data recording session 506 the first tape drive apparatus in reading operation 500 reads the value “6” of count 208 into a volatile memory, in updating operation 502 increments it by one, and in writing operation 505 writes the resulting value of “7” back to the system area 210 of the tape medium 100.
The tape medium 100 is now ejected from the first tape drive apparatus and loaded on the second tape drive apparatus for recording session 508. The second tape drive apparatus in reading operation 500′ reads the value “7” of count 208 into a volatile memory, in updating operation 502′ increments it by one, and in writing operation 505′ writes the resulting value of “8” back to the system area 210 of the tape medium 100.
The tape medium 100 is in turn ejected from the second tape drive apparatus and loaded on the first tape drive apparatus for a further recording session 506′, which results in an updated value “9” of the count 208 of recording sessions being written to the system area 210 of the tape medium 100. In the way shown, the first tape drive apparatus updates the count 208 of recording sessions analogously to the second tape drive apparatus, observing the specifications of the format.
For each stage, the unused area 200 of the tape medium 100 is shown to comprise the extended log 212 of tape usage information. Optionally, the extended log 212 comprises a plurality of log sections 510. Each of the log sections 510 contains information relating to a corresponding one of the data recording sessions that the tape medium 100 has so far been subjected to. In particular, each of the log sections 510 is shown to comprise the value that the count 208 of recording sessions was updated to during the corresponding recording session. In the first stage of the tape medium, the log sections 510 of the extended log 212 are shown as respectively relating to the 6th, 5th, 4th, 3rd, and 2nd data recording session that the tape medium 100 was subjected to since formatting, thus constituting a cumulative record of tape usage covering the previous five recording sessions.
During data recording session 506, which according to the count 208 of recording sessions amounts to the 7th data recording session that the tape medium 100 was subjected to since formatting, the first tape drive apparatus in copying operation 510 copies the log sections 510 respectively relating to the 6th, 5th, 4th, and 3rd recording session to the respective positions previously occupied by the log sections 510 respectively relating to the 5th, 4th, 3rd, and 2nd recording sessions. Then, in recording operation 504 a log section relating to the recording session 506 and comprising the updated value “7” of the count 208 is written as part of the extended log 212, overwriting the position previously occupied by the log section relating to the 6th recording session.
During data recording session 508 in the second tape drive apparatus, the extended log 212 in the unused area 200 is not updated. Because the second tape drive apparatus updates the count 208 of recording sessions, a mismatch arises between the count 208 of recording sessions and the value of the count in the log section 510 of the extended log 212 that relates to the last recording session in the first tape drive apparatus.
During the following data recording session 506′ in the first apparatus the same copying 512 and recording 504 operations are carried out as described for the data recording session 506. There no longer is a mismatch between the count 208 of recording sessions and the value of the count in the log section 510 of the extended log 212 that relates to the last recording session in the first tape drive apparatus. However, because data recording session 508 employed the second tape drive apparatus, there is no section 510 relating to it in the extended log 212.
Optionally, the extended log 212 is used by the first tape drive apparatus, or by an external backup or utility application for analysing the history of past use of the tape medium. Because of the correspondence between the count 208 of recording sessions and the values of the count 208 stored in each log section 510 of the extended log 212, the analysing tape drive apparatus or application is enabled to identify to which of the sequence of past recording sessions each of the log sections 510 relates.
LIST OF REFERENCE NUMERALS
  • 100 Tape medium
  • 102 First tape drive apparatus
  • 104 Second tape drive apparatus
  • 106, 106′ Data transfer unit
  • 108, 108′ Formatting module
  • 110 Recording module
  • 112 Determiner
  • 114 First reading module
  • 116 Second reading module
  • 118 Detector
  • 120 Writing module
  • 122 Third reading module
  • 124 Comparer
  • 126 Calculator
  • 128 Fourth reading module
  • 130, 130′ Counting module
  • 132 Logger
  • 134 Data processing unit
  • 135, 135′ Interface
  • 136, 136′ Host computer
  • 138, 138′ Processor
  • 140, 140′ Backup application
  • 200 Unused area
  • 202 Tape medium identifier
  • 203 Mandatory content
  • 204 Specified location on the tape medium
  • 206 Test location
  • 208 Count of data recording sessions
  • 210 System area
  • 212 Extended log of tape usage information
  • 214 Data area
  • 300 Formatting of tape medium
  • 302 Recording of tape medium identifier
  • 304 Determining of existence of previously recorded tape identifier
  • 306 Reading of previously recorded tape identifier
  • 308 Determining whether tape medium has previously been formatted
  • 310 Generating of tape medium identifier
  • 410 Reading from specified location
  • 412 Detecting of presence of mandatory content
  • 414 Determining that tape medium has previously been formatted
  • 416 Writing of first test data
  • 418 Reading of second test data
  • 420 Comparing of first and second test data
  • 422 Calculating of an error rate
  • 424 Determining that tape medium has not previously been formatted
  • 426 Trouble condition
  • 500 Reading of count of recording sessions
  • 502, 502′ Updating of count of recording sessions
  • 504 Recording of extended log
  • 505, 505′ Writing of count of recording sessions
  • 506, 506′ Data recording session in first tape drive apparatus
  • 508 Data recording session if second tape drive apparatus
  • 510 Log sections of extended log
  • 512 Copying of log sections of extended log

Claims (16)

The invention claimed is:
1. A method of storing data on a tape medium in at least one data recording session employing a tape drive apparatus operable to record the data in accordance with a format specifying an unused area of the tape medium, the method comprising:
determining whether the tape medium has previously been formatted by writing and reading test data to a test location in the unused area of the tape medium,
formatting the tape medium according to the format,
determining whether the unused area of the tape medium comprises a previously recorded tape medium identifier according to the format, the determining adapted to determine that the tape medium has not previously been formatted when the tape medium does not comprise mandatory content in the specified unused area and an error rate does not exceed a predefined threshold, and
reading the previously recorded tape medium identifier from the unused area for re-use as the tape medium identifier when it is determined that the unused area of the tape medium comprises the previously recorded tape medium identifier, and recording the previously recorded tape medium identifier as the tape medium identifier, and
recording a new tape medium identifier in the unused area of the tape medium, when it is determined that the unused area of the tape medium does not comprise the previously recorded tape medium identifier or when the tape medium has not previously been formatted, wherein the tape medium identifier uniquely identifies the tape medium from other tape media.
2. The method of claim 1, the format further specifying the tape medium to comprise mandatory content in a specified location on the tape medium, the determining whether the tape medium has previously been formatted comprising:
reading data from the specified location of the tape medium,
detecting from the data whether the tape medium comprises the mandatory content in the specified location, and
determining that the tape medium has previously been formatted when the tape medium comprises the mandatory content in the specified location.
3. The method of claim 2, the determining whether the tape medium has previously been formatted further comprising:
writing first test data to a test location of the tape medium,
reading second test data from the test location of the tape medium,
comparing the second test data with the first test data,
calculating an error rate based on the comparison, and
determining that the tape medium has not previously been formatted when the tape medium does not comprise the mandatory content in the specified location and the error rate does not exceed a predefined threshold.
4. The method of claim 1, the format further specifying a count of data recording sessions in a tape drive apparatus to be stored in a system area of the tape medium, the method further comprising:
reading the count of recording sessions from the system area of the tape medium,
updating the count of recording sessions, and
recording an extended log of tape usage information in the unused area of the tape medium, the extended log comprising the updated count of recording sessions.
5. The method of claim 4, wherein the recording of the extended log is performed only when the unused area comprises the tape medium identifier.
6. The method of claim 4 wherein the extended log comprises a plurality of log sections in which tape usage information is recorded relating respectively to corresponding ones of the at least one data recording sessions, the log sections together constituting a cumulative record of tape usage, each log section in respect of a recording session comprising the count of recording sessions.
7. The method of any one of claim 1 wherein the format is selected from the group consisting of DDS-3. DDS-4, and DAT 72, the unused area being a device area specified by the respective format selected.
8. A tape drive apparatus comprising:
a data transfer unit for transferring data between a tape medium and the tape drive apparatus in at least one data recording session;
a formatting module operable to control the data transfer unit to format the tape medium according to a format specifying an unused area of the tape medium, the specified unused area configured to store mandatory content;
a determiner for determining whether the unused area of the tape medium comprises a previously recorded tape medium identifier according to the format, wherein the tape medium identifier uniquely identifies the tape medium from other tape media, the determiner adapted to determine that the tape medium has not previously been formatted when the tape medium does not comprise mandatory content in the specified unused area and an error rate does not exceed a predefined threshold; and
a recording module operable to control the data transfer unit to record a new tape medium identifier in the specified unused area of the tape medium when the determiner has determined that the unused area of the tape medium does not comprise the previously recorded tape medium identifier or when the tape medium has not previously been formatted,
a first reading module operable to control the data transfer unit to read the previously recorded tape medium identifier from the unused area when the determiner has determined that the unused area of the tape medium comprises the previously recorded tape medium identifier,
and wherein the recording module is operable to re-use the previously recorded tape medium identifier for the controlling of the data transfer unit to record the previously recorded tape medium identifier as the tape medium identifier when the determiner has determined that the unused area of the tape medium comprises the previously recorded tape medium identifier.
9. The tape drive apparatus of claim 8, the format further specifying the tape medium to comprise mandatory content in a specified location on the tape medium, the tape drive apparatus further comprising:
a second reading module operable to control the data transfer unit to read data from the specified location of the tape medium, and
a detector for detecting from the data whether the tape medium comprises the mandatory content in the specified location,
the determiner adapted to determine that the tape medium has previously been formatted when the tape medium comprises the mandatory content in the specified location;
the determiner adapted to determine that the tape medium has not previously been formatted when the tape medium does not comprise the mandatory content in the specified location and the error rate does not exceed a predefined threshold.
10. The tape drive apparatus of claim 9, further comprising:
a writing module operable to control the data transfer unit to write first test data to a test location of the tape medium, and
a third reading module operable to control the data transfer unit to read second test data from the test location of the tape medium,
a comparer for comparing the second test data with the first test data, and
a calculator for calculating an error rate based on the comparison.
11. The tape drive apparatus of claim 10, the format further specifying a count of data recording sessions of the tape medium to be stored in a system area of the tape medium, the first tape apparatus further comprising:
a fourth reading module operable to control the data transfer unit to read the count of recording sessions from the system area of the tape medium,
a counting module for updating the count of recording sessions, and
a logger operable to control the data transfer unit to record an extended log of tape usage information in the unused area of the tape medium, the extended log comprising the updated count of recording sessions.
12. The tape drive apparatus of claim 11, the logger being adapted to control the data transfer unit to record the extended log only when the unused area comprises the tape medium identifier.
13. The tape drive apparatus of claim 11, wherein the extended log comprises a plurality of log sections in which tape usage information is recorded relating respectively to corresponding ones of the at least one data recording sessions, the log sections together constituting a cumulative record of tape usage, each log section in respect of a recording session comprising the count of recording sessions.
14. The tape drive apparatus of claim 8, the format being selected from the group consisting of DDS-3, DDS-4, and DAT 72, the unused area being a device area specified by the respective format selected.
15. A backward compatible storage apparatus for storing data on a sequential storage medium, the apparatus comprising:
means for transferring data between the sequential storage medium and the backward compatible storage apparatus in at least one data recording session;
means for formatting the sequential storage medium according to a legacy format specifying an unused area of the sequential storage medium, the specified unused area configured to store mandatory content;
means for determining whether the unused area of the tape medium comprises a previously recorded tape medium identifier, wherein the tape medium identifier uniquely identifies the tape medium from other tape media, the means for determining adapted to determine that the tape medium has not previously been formatted when the tape medium does not comprise mandatory content in the specified unused area and an error rate does not exceed a predefined threshold;
means for reading the previously recorded tape medium identifier from the unused area for re-use as the tape medium identifier when the means for determining has determined that the unused area of the tape medium comprises the previously recorded tape medium identifier;
means for recording a new tape medium identifier of the sequential storage medium in the specified unused area of the sequential storage medium when the means for determining has determined that the unused area of the tape medium does not comprise the previously recorded tape medium identifier or when the tape medium has not previously been formatted;
wherein the means for recording records the same previously recorded medium identifier as the tape medium identifier, when the means for determining has determined that the unused area of the tape medium comprises the previously recorded tape medium identifier; and
means for recording an extended log of tape usage information in the unused area of the tape medium, the extended log comprising an updated count of recording sessions, wherein the extended log is recorded only when the unused area comprises the tape medium identifier.
16. The backward-compatible storage apparatus of claim 15, the legacy format further specifying a count of data recording sessions of the sequential storage medium to be stored in a system area of the sequential storage medium, the backward-compatible storage apparatus further comprising:
means for reading the count of recording sessions from the system area of the tape medium, and
means for updating the count of recording sessions.
US11/260,994 2005-10-28 2005-10-28 Tape drive apparatus and method Active 2030-04-19 US8576505B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US11/260,994 US8576505B2 (en) 2005-10-28 2005-10-28 Tape drive apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US11/260,994 US8576505B2 (en) 2005-10-28 2005-10-28 Tape drive apparatus and method

Publications (2)

Publication Number Publication Date
US20070097534A1 US20070097534A1 (en) 2007-05-03
US8576505B2 true US8576505B2 (en) 2013-11-05

Family

ID=37995935

Family Applications (1)

Application Number Title Priority Date Filing Date
US11/260,994 Active 2030-04-19 US8576505B2 (en) 2005-10-28 2005-10-28 Tape drive apparatus and method

Country Status (1)

Country Link
US (1) US8576505B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10134427B1 (en) 2018-03-07 2018-11-20 International Business Machines Corporation Storing data on unused areas of a storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080155319A1 (en) * 2006-10-28 2008-06-26 Robert Duncan Methods and systems for managing removable media
US8046509B2 (en) 2007-07-06 2011-10-25 Prostor Systems, Inc. Commonality factoring for removable media
US7796354B2 (en) * 2007-10-16 2010-09-14 International Business Machines Corporation Method and apparatus for controlling data rate of a tape drive
WO2011099975A1 (en) * 2010-02-11 2011-08-18 Hewlett-Packard Development Company, L.P. Data de-duplication for serial-access storage media
FR2985838B1 (en) * 2012-01-18 2014-02-07 Antoine Simkine METHOD FOR SAVING DIGITAL CINEMATOGRAPHIC CONTENT.

Citations (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5081548A (en) * 1989-03-09 1992-01-14 Hewlett-Packard Ltd. Data storage apparatus and method
US5182678A (en) * 1987-08-12 1993-01-26 Hitachi Ltd. PCM signal reproducing/recording apparatus
US5182675A (en) * 1991-12-12 1993-01-26 Prince Corporation Pivot down articulated mirror
US5249231A (en) * 1992-05-04 1993-09-28 Motorola, Inc. Memory tagging for object reuse protection
US5287478A (en) * 1991-08-06 1994-02-15 R-Byte, Inc. Digital data tape storage system utilizing plurality of read/write heads with system diagnostic capability
US5367410A (en) * 1992-03-10 1994-11-22 Hewlett-Packard Company Storage of data on tape in multi-track frames of interleaved data, with data transfer on individual track basis
US5485321A (en) * 1993-12-29 1996-01-16 Storage Technology Corporation Format and method for recording optimization
US5493455A (en) * 1993-04-20 1996-02-20 Matsushita Electric Industrial Co., Ltd. Recording apparatus using a tape cassette with a memory
US5576903A (en) * 1991-11-12 1996-11-19 Storage Technology Corporation Method and apparatus for administering data on magnetic tape medium by way of a header segment
US5602686A (en) * 1992-02-28 1997-02-11 Ampex Corporation Magnetic tape resident volume format table for data recording system
US5617265A (en) * 1991-09-20 1997-04-01 Mita Industrial Co., Ltd. Magnetic tape recording device comprising a variable data region length system
US5862008A (en) * 1994-03-15 1999-01-19 Sony Corporation Data recording method
US5892633A (en) * 1996-01-26 1999-04-06 Exabyte Corporation Dynamic control of magnetic tape drive
US5923810A (en) * 1993-02-22 1999-07-13 Sony Corporation Index signal recording and reproduction apparatus and method for a recording medium
US6025967A (en) * 1993-08-24 2000-02-15 Imation Corp. Method of identifying magnetic tape characteristics
US6058494A (en) * 1996-07-23 2000-05-02 Hewlett-Packard Company Storage system with procedure for monitoring low level status codes, deriving high level status codes based thereon and taking appropriate remedial actions
US6084736A (en) * 1996-12-19 2000-07-04 Sony Corporation Reading device for reading identification information of a cartridge storing recording medium, recording/replaying apparatus using the same, and information managing apparatus
US6216057B1 (en) * 1998-04-03 2001-04-10 International Business Machines Corporation System for auditing storage cartridges in a library storage system
US6433951B1 (en) 1999-02-17 2002-08-13 Imation Corp. Magnetic data storage tape with etched servo pattern, method of manufacturing same, and method of servo positioning on same
US20020151992A1 (en) * 1999-02-01 2002-10-17 Hoffberg Steven M. Media recording device with packet data interface
US20020167753A1 (en) * 2001-05-09 2002-11-14 International Business Machines Corporation Decreased load time by storing cassette initialization information
US6493166B1 (en) * 1997-11-28 2002-12-10 Sony Corporation Tape cassette and tape recording and/or reproducing apparatus
US20030126460A1 (en) * 2001-12-28 2003-07-03 Camble Peter Thomas System and method for securing drive access to data storage media based on medium identifiers
US6611394B1 (en) * 1998-12-18 2003-08-26 Sony Corporation Recording medium, tape drive, and method for identifying type of recording medium
US6624961B1 (en) * 1998-08-14 2003-09-23 Sony Corporation Tape drive apparatus and recording medium
US6667846B2 (en) * 2000-05-08 2003-12-23 Sony Corporation Information storage device having tape cassette with noncontact memory and antenna
US20040012876A1 (en) * 2002-05-21 2004-01-22 Fuji Photo Film Co., Ltd. Magnetic tape cartridge, magnetic tape drive for recording, and magnetic tape drive for reproducing
US6762898B2 (en) 2000-08-23 2004-07-13 Sony Corporation Magnetic recording and playback apparatus and magnetic recording and playback method
US20040190179A1 (en) * 2003-01-08 2004-09-30 Tatsuya Kato Tape drive apparatus and recording and/or reproducing method
US20050018342A1 (en) 2003-01-07 2005-01-27 Tatsuya Kato Tape drive apparatus, recording and/or reproducing method, and recording medium
US6918554B2 (en) 2002-03-14 2005-07-19 Quantum Corporation Tape cartridge format identification in a single reel tape handling device
US20060023357A1 (en) * 2004-07-30 2006-02-02 Hewlett Packard Development Company Medium for use in a tape drive apparatus
US20060082916A1 (en) 2004-10-14 2006-04-20 Evans Nigel R Tape drive apparatus
US7262778B1 (en) * 2000-02-11 2007-08-28 Sony Corporation Automatic color adjustment of a template design
US7805563B2 (en) * 2004-04-30 2010-09-28 Hewlett-Packard Development Company, L.P. Tape drive apparatus

Patent Citations (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5182678A (en) * 1987-08-12 1993-01-26 Hitachi Ltd. PCM signal reproducing/recording apparatus
US5081548A (en) * 1989-03-09 1992-01-14 Hewlett-Packard Ltd. Data storage apparatus and method
US5287478A (en) * 1991-08-06 1994-02-15 R-Byte, Inc. Digital data tape storage system utilizing plurality of read/write heads with system diagnostic capability
US5617265A (en) * 1991-09-20 1997-04-01 Mita Industrial Co., Ltd. Magnetic tape recording device comprising a variable data region length system
US5576903A (en) * 1991-11-12 1996-11-19 Storage Technology Corporation Method and apparatus for administering data on magnetic tape medium by way of a header segment
US5182675A (en) * 1991-12-12 1993-01-26 Prince Corporation Pivot down articulated mirror
US5602686A (en) * 1992-02-28 1997-02-11 Ampex Corporation Magnetic tape resident volume format table for data recording system
US5367410A (en) * 1992-03-10 1994-11-22 Hewlett-Packard Company Storage of data on tape in multi-track frames of interleaved data, with data transfer on individual track basis
US5249231A (en) * 1992-05-04 1993-09-28 Motorola, Inc. Memory tagging for object reuse protection
US5923810A (en) * 1993-02-22 1999-07-13 Sony Corporation Index signal recording and reproduction apparatus and method for a recording medium
US5493455A (en) * 1993-04-20 1996-02-20 Matsushita Electric Industrial Co., Ltd. Recording apparatus using a tape cassette with a memory
US6025967A (en) * 1993-08-24 2000-02-15 Imation Corp. Method of identifying magnetic tape characteristics
US5485321A (en) * 1993-12-29 1996-01-16 Storage Technology Corporation Format and method for recording optimization
US5862008A (en) * 1994-03-15 1999-01-19 Sony Corporation Data recording method
US5892633A (en) * 1996-01-26 1999-04-06 Exabyte Corporation Dynamic control of magnetic tape drive
US6058494A (en) * 1996-07-23 2000-05-02 Hewlett-Packard Company Storage system with procedure for monitoring low level status codes, deriving high level status codes based thereon and taking appropriate remedial actions
US6084736A (en) * 1996-12-19 2000-07-04 Sony Corporation Reading device for reading identification information of a cartridge storing recording medium, recording/replaying apparatus using the same, and information managing apparatus
US6493166B1 (en) * 1997-11-28 2002-12-10 Sony Corporation Tape cassette and tape recording and/or reproducing apparatus
US6216057B1 (en) * 1998-04-03 2001-04-10 International Business Machines Corporation System for auditing storage cartridges in a library storage system
US6624961B1 (en) * 1998-08-14 2003-09-23 Sony Corporation Tape drive apparatus and recording medium
US6611394B1 (en) * 1998-12-18 2003-08-26 Sony Corporation Recording medium, tape drive, and method for identifying type of recording medium
US20020151992A1 (en) * 1999-02-01 2002-10-17 Hoffberg Steven M. Media recording device with packet data interface
US6433951B1 (en) 1999-02-17 2002-08-13 Imation Corp. Magnetic data storage tape with etched servo pattern, method of manufacturing same, and method of servo positioning on same
US7262778B1 (en) * 2000-02-11 2007-08-28 Sony Corporation Automatic color adjustment of a template design
US6667846B2 (en) * 2000-05-08 2003-12-23 Sony Corporation Information storage device having tape cassette with noncontact memory and antenna
US6762898B2 (en) 2000-08-23 2004-07-13 Sony Corporation Magnetic recording and playback apparatus and magnetic recording and playback method
US20020167753A1 (en) * 2001-05-09 2002-11-14 International Business Machines Corporation Decreased load time by storing cassette initialization information
US20030126460A1 (en) * 2001-12-28 2003-07-03 Camble Peter Thomas System and method for securing drive access to data storage media based on medium identifiers
US6918554B2 (en) 2002-03-14 2005-07-19 Quantum Corporation Tape cartridge format identification in a single reel tape handling device
US20040012876A1 (en) * 2002-05-21 2004-01-22 Fuji Photo Film Co., Ltd. Magnetic tape cartridge, magnetic tape drive for recording, and magnetic tape drive for reproducing
US20050018342A1 (en) 2003-01-07 2005-01-27 Tatsuya Kato Tape drive apparatus, recording and/or reproducing method, and recording medium
US20040190179A1 (en) * 2003-01-08 2004-09-30 Tatsuya Kato Tape drive apparatus and recording and/or reproducing method
US7805563B2 (en) * 2004-04-30 2010-09-28 Hewlett-Packard Development Company, L.P. Tape drive apparatus
US20060023357A1 (en) * 2004-07-30 2006-02-02 Hewlett Packard Development Company Medium for use in a tape drive apparatus
US20060082916A1 (en) 2004-10-14 2006-04-20 Evans Nigel R Tape drive apparatus
US7480113B2 (en) * 2004-10-14 2009-01-20 Hewlett-Packard Development Company, L.P. Tape drive apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10134427B1 (en) 2018-03-07 2018-11-20 International Business Machines Corporation Storing data on unused areas of a storage medium
US10388304B1 (en) 2018-03-07 2019-08-20 International Business Machines Corporation Storing data on unused areas of a storage medium

Also Published As

Publication number Publication date
US20070097534A1 (en) 2007-05-03

Similar Documents

Publication Publication Date Title
KR100288203B1 (en) Real time data recording method
US5966358A (en) Signal recording apparatus and signal recording method
US5265230A (en) Method and apparatus for determining sector status in a data storage device by writing a status of read-only, writable, or obliterated in an error recovery area of each sector
US7206151B2 (en) System, method and computer program product for tape failure detection
EP1791125A2 (en) Use of directory revision number to validate directory
JPH08501172A (en) Volume format table for data recording system
JPH08501169A (en) Digital servo track format
JPH04263182A (en) Method and apparatus for quickly accessing logic data block on tape
JPH08500927A (en) Data recording system with improved longitudinal and spiral search capabilities
US20050246509A1 (en) Tape drive apparatus, method and computer program product
US8576505B2 (en) Tape drive apparatus and method
US5828511A (en) Writing and reading high density magnetic tapes
US7177108B2 (en) Emulation of auxiliary memory
JPH08501168A (en) Data recording system having a single end-of-record and start-of-record format indicator
US8027109B1 (en) Reuse of partially expired physical tape volume
US6405283B1 (en) Method for handling buffer under-run during disc recording
US7443624B2 (en) Method for recording data freshness degrees by a tape drive
JPH08501175A (en) Data recording system with improved reservation function
JPH08501173A (en) Longitudinal track format for data recording systems
JPH08500002U (en) Data recording system and method having demarking function
US6385557B1 (en) Tracking the remaining useful life of a magnetic data storage tape
US7483231B2 (en) Apparatus, system, and method for redundant identification of a storage medium format
US7167332B2 (en) Method and apparatus for recording data onto a recording medium including warning of the approach to an end of medium position
JPH08501171A (en) Data recording system with single non-record detection
US7894154B2 (en) Method and system for improving data access time

Legal Events

Date Code Title Description
AS Assignment

Owner name: HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P., TEXAS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HEWLETT-PACKARD LIMITED;REEL/FRAME:017483/0248

Effective date: 20060111

STCF Information on status: patent grant

Free format text: PATENTED CASE

CC Certificate of correction
AS Assignment

Owner name: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP, TEXAS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.;REEL/FRAME:037079/0001

Effective date: 20151027

FPAY Fee payment

Year of fee payment: 4

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8