摘要 |
Multiple data elements are efficiently read from a recording medium on which the data elements to be read are recorded in the dispersed manner. In a controller 16 of a tape drive, when a command processor 61 receives an identifier d-id of data and an identifier m-id of metadata, a CM input-output unit 64 acquires a location table indicating wraps on which the data identified by the d-id and the metadata identified by the m-id are recorded and physical locations (L-POSs) thereof in wrap directions, and a reading order determination unit 65 determines an order of reading the data and metadata by controlling a record extractor 71, a direction judgment unit 72, and an evaluation execution list generator 73 according to the L-POSs in each of the wrap directions. Subsequently, the channel input-output unit 63 reads the data and the metadata from the tape in accordance with the reading order, and then the buffer manager 62 outputs the data and the metadata to an external device through the command processor 61. |