EP2000897A2

Read device for processing a read error, system, its method, and program

Abstract

[Object] To provide a technique for continuing to read data rapidly and appropriately when a read error occurs. [Solution] A tape reader comprises a reading section for reading data in data units from a tape medium, a reading control section for controlling the data reading section to read data in accordance with a command from a host computer, and on condition that an error occurs in reading the data unit, to skip an error data unit where the error occurs and read the next readable data unit immediately after the error data unit, a computation section for computing the number of records and the number of boundary marks included in the data unit where the error is detected from the information on the records and boundary marks indicating the boundary of record block included in the data unit preceding to the error data unit and the information on the records and boundary marks included in the data unit next to the error data unit, and a communication section for sending the number information on the computed number of records and the computed number of boundary marks to the host computer.

EP2000897A2, drawing sheet 1
Sheet 1 of 15

Term

Projected expiry 2 March 2027.

  1. Priority
  2. Filed
  3. Published
  4. Today
  5. Projected expiry

19 claims: 7 independent, 12 dependent

  1. 1
    A tape reader for processing a data read error from a tape medium, comprising:a reading section for reading data in every data unit of data reading unit from said tape medium;a reading control section for controlling said reading section to read data in accordance with a command from a host computer, and on condition that an error occurs in reading said data unit, to skip an error data unit where the error occurs and read the next readable data unit immediately after the error data unit;a computation section for computing the number of records and the number of boundary marks included in the error data unit where said error occurs from the information on the records and boundary marks included in the data unit preceding to the error data unit that is read immediately before said error occurs, and the information on the records and boundary marks included in the data unit next to said error data unit, the boundary marks indicating the boundary of record block;and a communication section for sending the number information on said computed number of records and said computed number of boundary marks to said host computer.
  2. 12
    A system for processing a data read error from a tape medium, comprising:a tape reader;and a host computer connected to said tape reader;said tape reader comprising: a receiving section for receiving a data reading command from said host computer;a reading section for reading data in every data unit of data reading unit from said tape medium;a reading control section for controlling said reading section to read data in accordance with said data reading command and on condition that an error occurs in reading said data unit, to skip an error data unit where the error occurs and read the next readable data unit immediately after the error data unit;a computation section for computing the number of records and the number of boundary marks included in the data unit where said error occurs from the information on the records and boundary marks included in the data unit preceding to the error data unit that is read immediately before said error occurs, and the information on the records and boundary marks included in the data unit next to said error data unit, the boundary marks indicating the boundary of record block;and a sending section for sending the number information on said computed number of records and said computed number of boundary marks to said host computer;and said host computer comprising: a sending section for sending said data reading command to said tape reader;a receiving section for receiving said number information;and a judgment section for judging the reading position of data based on said number information.
  3. 14
    A system for processing a data read error from a tape medium, comprising:a tape reader;and a host computer connected to said tape reader;said tape reader comprising: a receiving section for receiving a data reading command from said host computer;a reading section for reading data in every data unit of data reading unit from said tape medium;a reading control section for controlling said reading section to read data in accordance with said data reading command and on condition that an error occurs in reading said data unit, to skip an error data unit where the error occurs and read the next readable data unit immediately after the error data unit;a buffer for storing the data unit read by said reading section;and a sending section for retrieving the first information on the records and boundary marks included in the data unit preceding to the error data unit that is read immediately before said error occurs and the second information on the records and boundary marks included in the data unit next to said error data unit from said buffer and sending them to said host computer, the boundary marks indicating the boundary of record block;and said host computer comprising: a sending section for sending said data reading command to said tape reader;a receiving section for receiving said first information and said second information;and a judgment section for judging the reading position of data by computing the number of records and the number of boundary marks included in the data unit where the error occurs based on said first information and said second information.
  4. 15
    A method for processing a data read error from a tape medium in a tape reader, comprising the steps of:receiving a data reading command from a host computer;controlling the reading of data to read data in every data unit of data reading unit in accordance with said data reading command, and on condition that an error occurs in reading said data unit, to skip an error data unit where the error occurs and read the next readable data unit immediately after the error data unit;computing the number of records and the number of boundary marks included in the data unit where said error occurs from the information on the records and boundary marks included in the data unit preceding to the error data unit that is read immediately before said error occurs, and the information on the records and boundary marks included in the data unit next to said error data unit, the boundary marks indicating the boundary of record block;and sending the number information on said computed number of records and said computed number of boundary marks to said host computer.
  5. 16
    A method for processing a data read error from a tape medium in a system comprising a tape reader and a host computer connected to said tape reader, comprising the steps of:in said tape reader, receiving a data reading command from said host computer;controlling the reading of data to read data in every data unit of data reading unit in accordance with said data reading command, and on condition that an error occurs in reading said data unit, to skip an error data unit where the error occurs and read the next readable data unit immediately after the error data unit;computing the number of records and the number of boundary marks included in the data unit where said error occurs from the information on the records and boundary marks included in the data unit preceding to the error data unit that is read immediately before said error occurs, and the information on the records and boundary marks included in the data unit next to said error data unit, the boundary marks indicating the boundary of record block;and sending the number information on said computed number of records and said computed number of boundary marks to said host computer;in said host computer, sending said data reading command to said tape reader;receiving said number information;and judging the reading position of data based on said number information.
  6. 18
    A program for a tape reader to process a data read error from a tape medium, said program enabling said tape reader to function as:a reading section for reading data in every data unit of data reading unit from said tape medium;a reading control section for controlling said reading section to read data in accordance with a command from a host computer, and on condition that an error occurs in reading said data unit, to skip an error data unit where the error occurs and read the next readable data unit immediately after the error data unit;a computation section for computing the number of records and the number of boundary marks included in the data unit where said error occurs from the information on the records and boundary marks included in the data unit preceding to the error data unit that is read immediately before said error occurs, and the information on the records and boundary marks included in the data unit next to said error data unit, the boundary marks indicating the boundary of record block;and a communication section for sending the number information on said computed number of records and said computed number of boundary marks to said host computer.
  7. 19
    A program for a system comprising a tape reader and a host computer connected to said tape reader, said program enabling said tape reader to function as:a receiving section for receiving a data reading command from said host computer;a reading section for reading data in every data unit of data reading unit from said tape medium;a reading control section for controlling said reading section to read data in accordance with said data reading command, and on condition that an error occurs in reading said data unit, to skip an error data unit where the error occurs and read the next readable data unit immediately after the error data unit;a computation section for computing the number of records and the number of boundary marks included in the data unit where said error occurs from the information on the records and boundary marks included in the data unit preceding to the error data unit that is read immediately before said error occurs, and the information on the records and boundary marks included in the data unit next to said error data unit, the boundary marks indicating the boundary of record block;and a sending section for sending the number information on said computed number of records and said computed number of boundary marks to said host computer;and said program enabling said host computer to function as: a sending section for sending said data reading command to said tape reader;a receiving section for receiving said number information;and a judgment section for judging the reading position of data based on said number information.