JP2005100467A - Storage device for storing portable medium - Google Patents

Storage device for storing portable medium Download PDF

Info

Publication number
JP2005100467A
JP2005100467A JP2004367001A JP2004367001A JP2005100467A JP 2005100467 A JP2005100467 A JP 2005100467A JP 2004367001 A JP2004367001 A JP 2004367001A JP 2004367001 A JP2004367001 A JP 2004367001A JP 2005100467 A JP2005100467 A JP 2005100467A
Authority
JP
Japan
Prior art keywords
media
storage
portable
recording
group
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.)
Granted
Application number
JP2004367001A
Other languages
Japanese (ja)
Other versions
JP4218636B2 (en
Inventor
Naoto Matsunami
直人 松並
Akira Yamamoto
彰 山本
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2004367001A priority Critical patent/JP4218636B2/en
Publication of JP2005100467A publication Critical patent/JP2005100467A/en
Application granted granted Critical
Publication of JP4218636B2 publication Critical patent/JP4218636B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for confirming a storage position of media when a failure occurs in an arbitrary storage means and it becomes necessary to replace multiple media along with replacement of the failed storage means, to provide a method for correcting a storage position when the media is erroneously stored, and thereby to prevent data loss due to inconsistency of a media group by erroneous storage, in a redundant library device including a RAIL (Redundant Arrays of Inexpensive Libraries) device. <P>SOLUTION: A media group information storage part is formed at a specific position of used media in the RAIL device. Library storage position information shown in the figure and the like are stored in the storage part; a RAIL controller inspects the library storage position information provided for the media when the media is replaced together with library device replacement, and consistency of the media group is assured by storing the media at a correct storage position. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、可搬メディアを対象とした可用性の高い記憶装置システムに関する。特に、可用性向上のために、各構成要素に冗長性をもつ記憶装置システムに関する。   The present invention relates to a highly available storage device system for portable media. In particular, the present invention relates to a storage device system in which each component has redundancy in order to improve availability.

(1)RAIDの説明
ディスクアレイは、複数のディスク装置(以下、単にディスクと称する)を並列に動作させることで、単体のディスクに比べ高速化を実現する技術である。しかし、ディスクをn台並べた場合、その故障確率はn倍に悪化する。そこで、高速化と高信頼化を両立するための技術として、「RAID(Redundant Arrays of Inexpensive Disks)」が知られている。RAIDは、非特許文献1に詳しい。
(1) Description of RAID A disk array is a technology that realizes higher speed than a single disk by operating a plurality of disk devices (hereinafter simply referred to as disks) in parallel. However, when n disks are arranged, the failure probability deteriorates n times. Therefore, “RAID (Redundant Arrays of Inexpensive Disks)” is known as a technique for achieving both high speed and high reliability. RAID is detailed in Non-Patent Document 1.

RAIDは、複数のディスクを並列に動作させることで高速制御を実現し、また、パリティと呼ぶ冗長データをパリティディスクと呼ぶ特定のディスクに格納することにより、万一、データを格納する1台のディスクが故障しても、他のディスクとパリティディスクのパリティとから故障したディスクのデータを再現することができ、耐ディスク障害信頼性を高めることができるディスク制御の方法である。   RAID realizes high-speed control by operating a plurality of disks in parallel, and by storing redundant data called parity in a specific disk called parity disk, it is possible to store data in one unit. This is a disk control method that can reproduce the data of the failed disk from the parity of the other disk and the parity disk even if the disk fails, and can improve the disk failure reliability.

RAIDはそのパリティの格納の方法によりレベル1から5がある。図2にこのうちの一例としてレベル4型のRAIDのデータ配置図を示す。この例では、ディスクが5台あり、4台がデータディスク0〜3、1台がパリティディスクとすると、データをディスク0、ディスク1、ディスク2、ディスク3の順番で、ある一定のデータブロック毎に順に分散して格納する。このデータブロック単位のことをストライプと称し、この分散する制御のことをストライピングと称する。ディスク0〜3に格納した同一ストライプのデータD0〜3の排他的論理和(以下XORと称する)を計算することで冗長データであるパリティP0を生成する。すなわち、
P0=D0+D1+D2+D3 (式a) ただし、+はXOR演算を示す。
RAID has levels 1 to 5 depending on the method of storing the parity. FIG. 2 shows a data layout diagram of a level 4 type RAID as an example of these. In this example, if there are 5 disks, 4 are data disks 0 to 3, and 1 is a parity disk, the data is in the order of disk 0, disk 1, disk 2, and disk 3 in a certain data block. Are distributed and stored in order. This data block unit is called a stripe, and this distributed control is called striping. The parity P0, which is redundant data, is generated by calculating the exclusive OR (hereinafter referred to as XOR) of the data D0-3 of the same stripe stored in the disks 0-3. That is,
P0 = D0 + D1 + D2 + D3 (formula a) where + indicates an XOR operation.

また、D0を格納するディスク0が故障した際には、
D0=D1+D2+D3+P0 (式b)
により、故障したディスク0のD0を再現できる。
Also, when disk 0 storing D0 fails,
D0 = D1 + D2 + D3 + P0 (Formula b)
Thus, D0 of the failed disk 0 can be reproduced.

また、パリティを生成するための同一列のデータ及びパリティストライプ群のことを「パリティグループ」と称する。図2の場合、D0,D1,D2,D3,P0が同一パリティグループを形成する。上記RAID4の他、レベル3、5が上記式aと同一の方法でパリティを生成する。   Further, the data and parity stripe group in the same column for generating parity is referred to as a “parity group”. In the case of FIG. 2, D0, D1, D2, D3, and P0 form the same parity group. In addition to RAID 4, levels 3 and 5 generate parity in the same manner as in equation a above.

図1にRAID装置の構成を示す。1はホスト計算機、2はRAID装置であり、両者はホストインターフェース11で接続している。RAID装置2は、RAIDの制御を行うRAID制御手段3と、複数台のディスク装置210〜214で構成され、RAID制御手段3が複数のディスク装置210〜214を制御し、図1のデータ配置でデータのリードライトを行う。また、RAID制御手段3は、上記のパリティの生成や、故障ディスク装置のデータの復元の制御を行う。   FIG. 1 shows the configuration of a RAID device. 1 is a host computer, 2 is a RAID device, and both are connected by a host interface 11. The RAID device 2 is composed of RAID control means 3 for performing RAID control and a plurality of disk devices 210 to 214. The RAID control means 3 controls the plurality of disk devices 210 to 214, and the data arrangement shown in FIG. Read / write data. The RAID control means 3 controls the generation of the parity and the restoration of data of the failed disk device.

(2)可搬メディア(DVD)の説明
計算機システムにおいて、ディスク装置以外にしばしば用いられる記憶装置として、磁気テ−プ記憶装置、光ディスク記憶装置等がある。これらの記憶装置の特徴は、いずれも記憶メディア(記憶媒体ともいう)と記録再生装置が分離されており、記憶メディアを任意の記録再生装置に装填し、記憶メディア上のデ−タを読み書きするという点である。一般にこれらのメディアは、「可搬メディア」と呼ばれる。以下単に「メディア」と称することにする。大規模計算機システムにおいては、非常に多くの枚数のメディアの管理を容易に実現するために、ライブラリ装置が導入される。ライブラリ装置には、記憶メディア、記録再生装置に加えて、多くの枚数の記憶メディアを収納する収納庫と、収納庫と記録再生装置との間で、記憶メディアを転送する搬送装置などが含まれる。
(2) Description of Portable Media (DVD) In a computer system, there are a magnetic tape storage device, an optical disk storage device, and the like as a storage device that is often used in addition to a disk device. The characteristics of these storage devices are that the storage medium (also referred to as storage medium) and the recording / reproducing device are separated, and the storage medium is loaded into an arbitrary recording / reproducing device, and data on the storage medium is read and written. That is the point. Generally, these media are called “portable media”. Hereinafter, it will be simply referred to as “media”. In a large-scale computer system, a library apparatus is introduced in order to easily manage a very large number of media. In addition to storage media and recording / playback devices, the library device includes a storage for storing a large number of storage media, and a transport device for transferring the storage media between the storage and the recording / playback device. .

可搬メディアの一つとして、DVD(Digital Video Disk)がある。DVDは光ディスクの一種である。大容量、低価格で、かつ書き換え可能といった特徴を備えた可搬メディアであり、主にディジタルビデオ装置への適用を目的に開発されたものである。しかし、DVDは計算機で使用することも可能であり、プログラムやデータの配布、データのバックアップ、磁気ディスクの代替等、その特徴を生かした様々な計算機への適用が注目されている。   As one of portable media, there is a DVD (Digital Video Disk). DVD is a kind of optical disk. It is a portable medium with large capacity, low cost and rewritable characteristics, and was developed mainly for the purpose of application to digital video devices. However, DVDs can also be used in computers, and their application to various computers that take advantage of their characteristics, such as distribution of programs and data, backup of data, and replacement of magnetic disks, has attracted attention.

(3)RAILの説明
計算機システムで扱うデ−タは、ますます大規模化しているため、その可用性の向上に対するニ−ズも非常に高い。したがって、上記のような可搬メディアで構成される記憶装置システムにおいても、Pattersonの論文で提案されているようなコンセプトを適用することにより、高可用性を実現することは有効である。
(3) Description of RAIL Since the data handled in the computer system is becoming larger and larger, the need for improving its availability is very high. Therefore, even in a storage device system composed of portable media as described above, it is effective to realize high availability by applying the concept as proposed in the Paper of Patterson.

可搬メディアにこのようなコンセプトを適用した技術として、非特許文献2がある。本文献ではDVD、記録再生手段、搬送手段等から構成される通常のライブラリ装置を複数組み合わせて冗長性を持たせたRAIL( Redundant Arrays of Inexpensive Libralies)が提案されている。   Non-patent document 2 is a technology that applies such a concept to portable media. This document proposes RAIL (Redundant Arrays of Inexpensive Libraries) in which redundancy is provided by combining a plurality of ordinary library devices composed of a DVD, a recording / reproducing unit, a conveying unit, and the like.

RAILは、その構成要素となる1つのライブラリ装置は、通常のライブラリ装置(Inexpensive Libraliy)であるため、冗長性はないものと考えられる。RAILのコンセプトは、ライブラリ装置を構成する個々の手段に冗長性を持たせるという考え方ではなく、ライブラリ装置自体を1つのディスク装置と考え、冗長性の単位をラリブラリ装置としている点にある。すなわち、1台のライブラリ装置が故障しても、他の複数台のライブラリ装置に格納したDVDのデータから、上記(1)RAIDの(式b)と同一の方法で、故障ライブラリ装置に格納したDVDのデータを再現できる。このように、RAILは、可搬メディアを使用したライブラリ装置の高信頼化を実現する技術である。   RAIL is considered to have no redundancy because one library device that is a component of RAIL is a normal library device (Inexpensive Libraliy). The RAIL concept is not based on the idea of providing redundancy to individual means constituting the library device, but is that the library device itself is considered as one disk device and the unit of redundancy is a library device. That is, even if one library device fails, it is stored in the failure library device from the DVD data stored in other library devices in the same manner as (1) RAID (formula b). DVD data can be reproduced. As described above, RAIL is a technology that realizes high reliability of a library apparatus using portable media.

本明細書では説明を容易にするため、上記のRAID4型のRAILを考えることにする。もちろん他のRAIDレベルでも同様である。RAID同様、一定のブロックサイズでデータを分割し、異なるライブラリのメディアに分散配置するものとする。この時の分割単位はRAIDと同様「ストライプ」であり、パリティを生成するための同一列のデータストライプとパリティストライプを総称して「パリティグループ」と称する。RAID4なので、パリティは同一メディアに集中配置するが、そのパリティを格納するメディアのことを「パリティメディア」と称する。   In the present specification, for the sake of easy explanation, the above-described RAID4 type RAID is considered. Of course, the same applies to other RAID levels. Similar to RAID, data is divided into a fixed block size and distributed on different library media. The division unit at this time is “stripes” as in RAID, and the data stripes and parity stripes in the same column for generating parity are collectively referred to as “parity groups”. Since it is RAID 4, the parity is concentrated on the same medium, but the medium storing the parity is referred to as “parity medium”.

また、ライブラリ装置の冗長性を提供する一群のライブラリ装置群のことを「RAILグループ」と称することにする。また、ECCグループを構成するメディア群のことを「メディアグループ」と称することにする。   A group of library devices that provide redundancy of library devices is referred to as a “RAIL group”. A media group constituting the ECC group is referred to as a “media group”.

"A Case for Redundant Arrays of Inexpensive Disks (RAID) "; In Proc. ACM SIGMOD, June 1988(カリフォルニア大学バークレー校発行)"A Case for Redundant Arrays of Inexpensive Disks (RAID)"; In Proc. ACM SIGMOD, June 1988 (published by the University of California, Berkeley) コムデックス96:DVD アプリケ−ション(Alan E. Bell (IBM Research Division): DVD Applications ,COMDEX 96 ,Nov.20,1996)Comdex 96: DVD application (Alan E. Bell (IBM Research Division): DVD Applications, COMDEX 96, Nov. 20, 1996)

■課題
(1)ライブラリ装置交換時のメディアの交換
上記RAIL装置において、ライブラリ装置はメディアを数十枚から数百枚格納できる装置であるが、ひとたびライブラリ装置を交換したならば、障害ライブラリ装置に格納された全てのメディアを、新しいライブラリ装置の適切な位置(障害ライブラリ装置における格納位置と同じ位置)に収納し直さなくてはならない。もし、メディアの収納位置を間違えてしまうと、他のライブラリ装置に格納されたメディアとの間で構成するECCグループである「メディアグループ」が正しく構成できない。その結果、メディアグループに格納するデータの整合性が崩れ、正しいリード/ライトができなくなり、データ喪失してしまうという問題がある。
■ Issues
(1) Media replacement at the time of library device replacement In the above RAIL device, the library device is a device that can store tens to hundreds of media, but once the library device is replaced, it is stored in the faulty library device. All media must be re-stored in the appropriate location of the new library device (the same location as the storage location in the failed library device). If the media storage position is wrong, a “media group” that is an ECC group configured with media stored in another library apparatus cannot be configured correctly. As a result, there is a problem that the consistency of data stored in the media group is lost, correct read / write cannot be performed, and data is lost.

(2)RAIL装置のオンライン中のメディア交換
RAIL装置が接続されるホスト計算機は、一般にサーバと呼ばれる計算機であることが多く、多数のクライアント計算機からの要求を受けライブラリのオンラインサービスを提供する。このようなサーバには、24時間連続運転のような高い可用性が要求されるので、通常、RAILの障害ライブラリ装置が故障した際にもメディアの復旧のためにRAILを停止することはできない。よって、障害ライブラリ装置の新規ライブラリ装置への交換と併せてメディアの交換もRAILがオンライン中に実施することが課題になる。
(2) Media exchange while the RAIL device is online The host computer to which the RAIL device is connected is generally a computer called a server, and provides online services for the library in response to requests from a large number of client computers. Since such a server is required to have high availability such as 24-hour continuous operation, it is usually impossible to stop RAIL for media recovery even when a failure library device of RAIL fails. Therefore, it is a problem that the RAIL is also performed while the RAIL is online together with the replacement of the failed library device with the new library device.

■目的
(1)第一の目的
本発明の第一の目的は、複数の記録再生装置と、複数のメディアを収納する複数の収納手段と、少なくとも1台以上のメディアの搬送手段と、少なくとも1台以上のメディアの投入手段を備えた、RAIL装置を含む冗長ライブラリ装置において、任意の1台の収納手段(RAIL装置においてはライブラリ装置)に障害が発生した際に、その障害収納手段(RAIL装置においては障害ライブラリ装置)の交換と併せて多数のメディアの交換も行う必要があり、その際、メディアの収納位置の確認の方法と、誤収納された場合にはそれを修正する方法を提供し、これにより、誤収納による「メディアグループ」の不整合によるデータ喪失を防止することである。
■ Purpose
(1) First object The first object of the present invention is to provide a plurality of recording / playback apparatuses, a plurality of storage units for storing a plurality of media, at least one medium transport unit, and at least one or more units. In the redundant library device including the RAIL device having the media input means, when a failure occurs in any one storage means (the library device in the RAIL device), the failure storage means (in the RAIL device) It is necessary to exchange a large number of media in conjunction with the replacement of the faulty library device. At that time, a method for confirming the storage location of the media and a method for correcting it if it is erroneously stored are provided Thus, data loss due to inconsistency of the “media group” due to erroneous storage is prevented.

(2)第二の目的
本発明の第二の目的は、上記第一の目的のメディア交換時の収納位置の確認と修正処理を、冗長ライブラリ装置がリード/ライトサービスを提供している「オンライン中」に実施して、冗長ライブラリ装置のリード/ライトサービスと、障害ラ収納手段(RAIL装置においては障害ライブラリ装置)の復旧処理を同時並行的に行うことができる方法を提供することである。
(2) Second object The second object of the present invention is to check the storage position and correct processing at the time of media replacement of the first object. In other words, it is possible to provide a method in which the read / write service of the redundant library apparatus and the recovery process of the faulty storage means (the faulty library apparatus in the RAIL apparatus) can be performed in parallel.

ホスト計算機に接続する冗長ライブラリ装置において、複数の可搬メディアにデータの記録再生を行うアレイ上に配した複数の記録再生手段と、複数の可搬メディアを収納できる収納位置を備え交換可能な、アレイ上に配した複数の収納手段と、可搬メディアを収納手段に投入するための少なくとも1台以上の投入手段と、投入手段と収納手段と記録再生手段の間で可搬メディアの搬送を行う少なくとも1台以上の搬送手段と、複数の記録再生装置が並列に動作するよう制御するコントローラとを備え、複数の異なる収納手段に収納した複数のメディアで、ECCグループである「メディアグループ」を構成し、同一メディアグループ中の少なくとも1枚のメディアに他のメディアのデータから生成する冗長データを格納する。   In a redundant library device connected to a host computer, a plurality of recording / reproducing means arranged on an array for recording / reproducing data on a plurality of portable media and a storage position capable of storing a plurality of portable media can be exchanged. A plurality of storage means arranged on the array, at least one input means for inputting portable media into the storage means, and transporting the portable media between the input means, the storage means, and the recording / reproducing means An “media group” that is an ECC group is composed of a plurality of media stored in a plurality of different storage means, including at least one transport unit and a controller that controls a plurality of recording / reproducing apparatuses to operate in parallel. Then, redundant data generated from data of other media is stored in at least one media in the same media group.

また、メディアは、メディアグループを構成するメディアグループの識別番号と、メディアを格納する収納手段番号と、メディアを格納する収納手段の収納位置番号を格納するメディアグループ情報格納部を備える。   The media also includes a media group information storage unit that stores identification numbers of media groups constituting the media group, storage unit numbers for storing media, and storage location numbers of storage units for storing media.

コントローラは、ホスト計算機との接続をするためのホスト接続手段と、複数の記録再生手段を接続しメディアとのデータ転送を行う少なくとも1つ以上の記憶装置接続手段と、搬送手段を制御するための少なくとも1つ以上の搬送装置接続手段と、パリティメディアに格納するパリティを生成し、また、障害メディアのデータや、障害ライブラリ装置に格納するメディアのデータを再生成するための冗長データ演算手段と、コントローラ全体の制御を行う中央制御手段と、任意の1台の収納手段に障害が発生したことを検出する収納手段障害検出手段と、障害収納手段を新規収納手段に交換する時にあわせてメディアを交換する際に、各々のメディアに格納されたメディアグループ情報のメディア収納位置番号を参照し、この番号の示す収納位置にメディアを収納するよう制御するメディア検査手
段を備える。
The controller controls a host connection means for connecting to a host computer, at least one storage device connection means for connecting a plurality of recording / reproducing means and transferring data to a medium, and a transport means. At least one transport device connecting means, parity data to be stored in the parity medium, redundant data operation means for regenerating the data of the failed media and the media to be stored in the failed library device, Central control means for controlling the entire controller, storage means for detecting failure in any one storage means, failure detection means, and media exchange when replacing the failure storage means with new storage means When referring to the media storage location number of the media group information stored in each media, Located comprises a media inspection means for controlling so as to house the media.

以上の構成により、冗長ライブラリ装置を構成する任意の収納手段の1台に障害が発生した際には、コントローラは、障害収納手段を検出し、障害収納手段を閉塞し他の正常収納装置のメディアのデータとパリティから障害収納手段のデータを再現しながらリード/ライト処理を行う縮退運転に移行する。   With the above configuration, when a failure occurs in one of the arbitrary storage means constituting the redundant library device, the controller detects the failure storage means, closes the failure storage means, and media of other normal storage devices The operation shifts to the degenerate operation in which the read / write processing is performed while reproducing the data of the failure storage means from the data and the parity.

その後、使用者は、障害収納手段を新規収納手段に交換する。   Thereafter, the user replaces the failure storage means with a new storage means.

その後、使用者は、障害収納手段に格納されていたメディアのうちの1枚を投入手段に投入する。   Thereafter, the user inputs one of the media stored in the failure storage unit into the input unit.

コントローラは、投入されたメディアを搬送し複数の記録再生手段のうちのホスト計算機からのオンライン処理に使用していない1台に装填し、メディアに格納されたメディア収納位置番号を検査し、検査したメディア収納位置番号の示す収納位置に該投入されたメディアを搬送し収納し、全てのメディアを新規収納手段に収納が終了したかどうか確認し、もし終了していないならばメディアの投入から収納までのステップを繰り返す。   The controller transports the inserted media, loads it into one of the plurality of recording / reproducing means that is not used for online processing from the host computer, and checks and checks the media storage position number stored in the media. The loaded media is transported and stored in the storage position indicated by the media storage position number, and it is confirmed whether or not all the media have been stored in the new storage means. Repeat the steps.

全てのメディアの収納が終了したならば、コントローラは、新規収納手段に収納した複数のメディアのうち、現在ホストからのオンライン処理に使用中のメディアグループのメディアを新規収納手段から搬送してオンライン処理に未使用の記録再生手段に装填し、縮退運転から正常運転に復帰する。   When the storage of all the media is completed, the controller transports the media of the media group currently used for online processing from the host from the new storage means among the plurality of media stored in the new storage means, and performs online processing. Are loaded in unused recording / reproducing means, and the normal operation is restored from the degenerate operation.

以上のように、メディア内部にそのメディアを格納すべき収納手段の収納位置情報を格納してあるので、コントローラがそれを検査して適切な位置に収納することができるので、収納位置を間違えることが無い。   As described above, since the storage position information of the storage means in which the medium is to be stored is stored inside the medium, the controller can check it and store it in an appropriate position, so that the storage position is wrong. There is no.

また、以上の方法では、多数のメディアを順次人手で投入しなくてはならず、人間の立会時間が長時間化するという問題がある。そこで、連続的に収納手段へ全てのメディアの投入する、もしくは、人間が障害収納手段の全てのメディアを新規収納手段の収納手段に直接移動し収納することを行ってから、後でコントローラが順次全てのメディアの収納位置を確認することが可能である。この場合、確認作業には一切人手を介さないので、省力化することが可能である。   In addition, the above method has a problem in that a large number of media must be sequentially inserted manually, which increases the time required for humans to be present. Therefore, after all the media has been continuously inserted into the storage means, or the human has moved all the media of the fault storage means directly to the storage means of the new storage means and stored it, the controller sequentially It is possible to confirm the storage positions of all media. In this case, since the confirmation work does not involve any manual work, it is possible to save labor.

また、このように一度にまとめて投入した場合、人為的ミスにより投入時のメディアの位置に誤りが有る場合がある。この場合、コントローラのメディア検査手段は、メディアに格納したメディアグループ情報の収納位置番号を参照しながら適切な位置にメディアを並び替える。この際、正しい位置に収納しようとした場合、すでに他のメディアが格納されているので、一旦、搬送手段を制御し、他のメディアを一時待避し、その後、正しい位置にメディアを格納する。待避場所には、現メディアが元々収納してあった場所が空いているのでその場所を利用してもよいし、他の一時収納場所を用意してもよい。並び替えの方法には、発見的手法や、「クイックソート」等のよく知られた並び替え手法がある。このように、一度に全てのメディアを交換した場合にはその全てのメディアの格納位置を検査し、もし間違っている場合には修正することができるので、適切な位置にメディアを収納することができる。   In addition, if all the media are input at once as described above, there may be an error in the media position at the time of input due to human error. In this case, the media inspection unit of the controller rearranges the media to an appropriate position while referring to the storage position number of the media group information stored in the media. At this time, if another medium is already stored when trying to be stored in the correct position, the conveying means is temporarily controlled to temporarily save the other medium, and then the medium is stored in the correct position. Since the place where the current media was originally stored is vacant in the save place, the place may be used, or another temporary storage place may be prepared. The sorting method includes a heuristic method and a well-known sorting method such as “quick sort”. In this way, if all media are replaced at once, the storage location of all media can be inspected, and if it is wrong, it can be corrected, so that media can be stored in an appropriate location. it can.

また、収納手段の交換処理の間は、縮退運転を行っているので少なくとも1台の記録再生手段はリード/ライト処理には使用しない。そこで、この記録再生装置を上記のような投入メディアの収納位置の検査作業に使用することができ、冗長ライブラリ装置がホスト計算機からのリード/ライト要求を処理する「オンライン処理」と、障害収納手段の交換及びメディアの交換・確認・収納処理を平行して実行することができる。   Further, since the degenerate operation is performed during the storage means exchange process, at least one recording / reproducing means is not used for the read / write process. Therefore, this recording / reproducing apparatus can be used for the inspection work of the storage position of the inserted medium as described above, and the redundant library apparatus performs “online processing” in which a read / write request from the host computer is processed, and fault storage means. And media exchange / confirmation / storage processing can be executed in parallel.

本発明によれば、冗長ライブラリ装置を構成する収納手段の任意の1台に障害が発生した場合、その障害収納手段に格納していた多数のメディアを新規収納手段に入れ替えを実施した時、そのメディアの収納位置の確認と、万一誤収納された場合にはその位置の修正を実施できるので、これにより、誤収納による、メディアグループの不整合発生に起因するデータの喪失を防止することができるという効果がある。   According to the present invention, when a failure occurs in any one of the storage means constituting the redundant library device, when a large number of media stored in the failure storage means are replaced with new storage means, Checking the storage position of the media and correcting the position in the event of incorrect storage, it is possible to prevent data loss due to media group inconsistency due to incorrect storage. There is an effect that can be done.

また、本発明によれば、上記第一の効果のメディア交換時の収納位置の確認と修正処理を冗長ライブラリ装置のオンライン中に実施できるので、リード/ライト処理を行うオンラインサービスと、障害収納手段の復旧処理を同時並行的に行うことができるという効果がある。   In addition, according to the present invention, the storage position confirmation and correction processing at the time of media replacement of the first effect can be performed while the redundant library device is online, so that an online service for performing read / write processing and fault storage means The recovery process can be performed in parallel.

さらに、本発明によれば、上記第一、第二の効果を実現しながら、新規収納手段へのメディアの交換処理において、人手によるメディアの投入作業時間を最小化することができ、省力化の効果がある。   Furthermore, according to the present invention, it is possible to minimize the time for manually loading media in the process of exchanging media to the new storage means while realizing the first and second effects described above. effective.

さらに、本発明によれば、上記メディアの検査において現使用中のメディアグループのメディアの検出を一番最初に行うことで現使用中のメディアグループの復旧を直ちに行い、縮退運転から正常運転に復帰し、他のメディアの収納位置の確認及びいちの修正を後回しにすることができるので性能劣化の発生する縮退運転時間を短縮できるという効果がある。   Furthermore, according to the present invention, the media group in the currently used media group is detected first in the media inspection to immediately restore the currently used media group and return from the degenerate operation to the normal operation. In addition, since it is possible to postpone confirmation of the storage position of other media and one correction, there is an effect that it is possible to shorten the degenerate operation time in which performance degradation occurs.

本発明の実施形態を説明する。本実施形態の冗長ライブラリ装置の構成は、説明を明確にするために、上記従来の技術のRAIL装置を想定するものとする。すなわち、RAIL装置は複数台の独立したライブラリ装置をアレイ状に配置し、各ライブラリ装置は図4のように記録再生手段と、搬送手段と、収納手段と、投入手段の各々を独立に備えている。しかし、本発明は、このようなRAIL装置に適用できるばかりでなく、記録再生手段と、搬送手段と、収納手段と、投入手段の各々が任意の冗長度を有するような一般的な冗長ライブラリ装置においても適用できるものであることを明記しておく。   An embodiment of the present invention will be described. The configuration of the redundant library apparatus according to the present embodiment assumes the above-described conventional RAIL apparatus for the sake of clarity. That is, the RAIL apparatus has a plurality of independent library devices arranged in an array, and each library device includes recording / reproducing means, transport means, storage means, and input means independently as shown in FIG. Yes. However, the present invention is not only applicable to such a RAIL apparatus, but also a general redundant library apparatus in which each of the recording / reproducing means, transport means, storage means, and input means has an arbitrary redundancy. It should be noted that this is also applicable to.

■第一の実施形態(投入口から1枚ずつ入れる方法)
(1)RAIL装置の構成
第一の実施形態を説明する。図3は本発明のシステム構成図である。
■ First embodiment (Method of inserting one sheet at a time from the slot)
(1) Configuration of RAIL Device A first embodiment will be described. FIG. 3 is a system configuration diagram of the present invention.

1はホスト計算機、5はRAIL装置であり、ホストインターフェース(以下単にI/Fと略記する)11で接続する。   1 is a host computer, and 5 is a RAIL device, which are connected by a host interface (hereinafter simply referred to as I / F) 11.

RAIL装置5において、6はRAILコントローラ、400〜404はライブラリ装置である。各ライブラリ装置の記録再生手段(後述)は記録再生I/F50〜54でRAILコントローラ6に接続している。また、各ライブラリ装置400〜404の搬送制御手段(後述)は、搬送制御I/F55でRAILコントローラ6に接続している。   In the RAIL device 5, 6 is a RAIL controller, and 400 to 404 are library devices. Recording / reproducing means (described later) of each library apparatus is connected to the RAIL controller 6 through recording / reproducing I / Fs 50 to 54. Further, the transport control means (described later) of each of the library apparatuses 400 to 404 is connected to the RAIL controller 6 by a transport control I / F 55.

(2)ライブラリ装置の構成
図4は、ライブラリ装置の構成図である。40は、可搬メディアを装填し、このメディアからデータをリード/ライトする記録再生手段、41は、可搬メディアを投入手段43から収納手段42へ収納したり、収納手段42から記録再生手段40に装填したりするための搬送手段、42は、複数の可搬メディアを収納しておく収納手段、43は、可搬メディアを外部からライブラリ装置4に格納するための投入手段、44は、上位システムからの指令により搬送手段41を動作させてメディアを移動させたり、投入手段を動作させたりするための搬送制御手段、45は、DVD、CD−ROM、CD−R、MO(光磁気ディスク)等の可搬メディア(以下単にメディアと称する)である。また、収納手段42には、n個(n>0以上の整数)のメディアの収納位置が設けてあり、その位置には一意に場所を特定できる論理的な位置番号0〜(n-1)が付加してある。搬送手段41で特定の収納位置にメディアを移動する際にはこの収納位置の論理番号を使用する。以下、この番号を「収納位置番号」と称する。
(2) Configuration of Library Device FIG. 4 is a configuration diagram of the library device. 40 is a recording / reproducing unit that loads portable media and reads / writes data from / to this medium. Is a storage means for storing a plurality of portable media, 43 is an input means for storing the portable media from the outside in the library device 4, and 44 is a host Transport control means 45 for operating the transport means 41 in response to a command from the system to move the media or operating the input means, 45 is a DVD, CD-ROM, CD-R, MO (magneto-optical disk) Or other portable media (hereinafter simply referred to as media). The storage means 42 is provided with storage locations for n (integers greater than or equal to n) 0, and logical location numbers 0 to (n−1) that can uniquely identify locations. Is added. When the medium is moved to a specific storage position by the transport means 41, the logical number of this storage position is used. Hereinafter, this number is referred to as a “storage position number”.

上記のように、記録再生手段40は記録再生I/F50(もしくは51〜54)でRAILコントローラ6に接続している。また、搬送制御手段44は搬送制御I/F55でRAILコントローラ6に接続している。   As described above, the recording / reproducing means 40 is connected to the RAIL controller 6 through the recording / reproducing I / F 50 (or 51 to 54). Further, the transport control means 44 is connected to the RAIL controller 6 by a transport control I / F 55.

本実施形態では、図4に示したようにライブラリ装置4内部に記録再生手段40が設けられた例を示したが、記録再生手段40がその他の手段と分離した構成のものもある。以下の説明は図4に基づき行うが、このように分離構成のライブラリ装置でも同様に本発明を用いることができる。   In the present embodiment, as shown in FIG. 4, an example in which the recording / reproducing means 40 is provided inside the library apparatus 4 is shown, but there is a configuration in which the recording / reproducing means 40 is separated from other means. The following description will be made with reference to FIG. 4, but the present invention can also be used in a library device having such a separation configuration.

なお、RAIL装置の説明において、複数のライブラリ装置400〜404のその各々の構成要素を示すときは、図8に示した記号を用いることにする。   In the description of the RAIL apparatus, the symbols shown in FIG. 8 are used to indicate the respective constituent elements of the plurality of library apparatuses 400 to 404.

(3)RAILコントローラの構成
図5は、RAILコントローラ6の構成図である。61はホスト計算機からのコマンドの受信やデータ転送をホストI/F11を介して行うホスト接続手段、640〜644は、ライブラリ装置400〜404の記録再生手段40へのコマンドの送信やデータ転送を記録再生I/F50〜54を介して行う記憶装置接続手段、62は、ライブラリ装置の記録再生手段40とホスト計算機1との間のデータ転送速度の違いを吸収し、また、最近使用したデータを一時格納しておきホスト計算機1から同データに再アクセス要求があった場合にはライブラリ装置400〜404を動作させずにデータ転送を行えるようにしたディスクキャッシュとして構成したデータ記憶手段、63は、パリティメディアに格納する冗長データ(パリティ)を生成したり、障害の発生したライブラリ装置に格納されたメディアや、障害の発生したライブラリ装置やメディアに格納されたデータの再現を行う冗長データ演算手段、65は、ライブラリ装置4の搬送手段41を制御するために、搬送制御手段44に搬送制御I/F55を介しコマンドを発行する搬送装置接続手段、60は上記のRAILコントローラ6を構成する手段の制御を行う中央制御手段である。
(3) Configuration of RAIL Controller FIG. 5 is a configuration diagram of the RAIL controller 6. 61 is a host connection means for receiving commands from the host computer and transferring data via the host I / F 11, and 640 to 644 are records of command transmission and data transfer to the recording / reproducing means 40 of the library devices 400 to 404 The storage device connection means 62, which is performed via the reproduction I / Fs 50 to 54, absorbs the difference in data transfer speed between the recording / reproduction means 40 of the library device and the host computer 1, and temporarily stores recently used data. Data storage means 63 configured as a disk cache that can be stored and transferred when the host computer 1 re-accesses the same data without operating the library devices 400 to 404. Redundant data (parity) to be stored on the media is generated, the media stored in the failed library device, the failed library device or media Redundant data calculation means for reproducing the data stored in the storage device 65, a transport device connection for issuing a command to the transport control means 44 via the transport control I / F 55 in order to control the transport means 41 of the library device 4 Means 60 is a central control means for controlling the means constituting the RAIL controller 6.

本実施形態では、記憶装置接続手段と各ライブラリ装置を1対1で接続した構成にしたが、1つの記憶装置接続手段に対しn台(n>0の整数)のライブラリ装置を接続しても構わない。また、搬送装置接続手段には5台のライブラリ装置を接続した構成にしたが、この接続台数も任意である。さらに、記憶装置接続手段と搬送装置接続手段を別なものとして記載したが、これらを同一の接続手段で混在させることも可能である。混在させるための好適な接続手段として、SCSI(Small Computer Systems Interface)が用いられることが多い。以下の説明は図5に基づき行うが、接続手段の構成が異なる場合でも同様に本発明を用いることができる。   In the present embodiment, the storage device connection means and each library device are connected in a one-to-one manner. However, even if n (n> 0 integer) library devices are connected to one storage device connection means. I do not care. Further, although the five library devices are connected to the transport device connecting means, the number of connected devices is arbitrary. Further, although the storage device connecting means and the transport device connecting means are described as different ones, they can be mixed in the same connecting means. As a suitable connection means for mixing, SCSI (Small Computer Systems Interface) is often used. Although the following description will be made based on FIG. 5, the present invention can be similarly used even when the configuration of the connecting means is different.

(4)中央制御手段の構成
中央制御手段6は好適な実施形態として、マイクロプロセッサユニット(MPU)とその実行プログラムとプログラム及びデータ格納用のメモリとを用いて実現できる。図6は、中央制御手段6の構成図である。601は、ホスト接続手段61を制御するホスト接続制御部、602は、ホスト計算機1から受信したコマンドを解析し、各ライブラリ装置400〜404の記録再生装置40へのコマンドに生成し直すコマンド制御部、603は、データ記憶手段62に同コマンドによりリード/ライトするデータを格納するエリアを決定したり、ディスクキャッシュのヒット/ミス判定を行うデータ記憶手段制御部、604は、ライト時に冗長データ(パリティ)を生成したり、障害メディアや、障害ライブラリに格納されたメディアのデータを再現するときに、冗長データ演算手段63を制御する冗長データ演算制御部、605は、コマンド制御部602が生成した、各記録再生手段40へのコマンドを発行するために記憶装置接続手段640〜644を制御する記憶装置接続制御部である。
(4) Configuration of Central Control Unit As a preferred embodiment, the central control unit 6 can be realized using a microprocessor unit (MPU), its execution program, and a memory for storing programs and data. FIG. 6 is a block diagram of the central control means 6. 601 is a host connection control unit that controls the host connection means 61, and 602 is a command control unit that analyzes a command received from the host computer 1 and regenerates the command to the recording / reproducing device 40 of each library device 400 to 404 603, a data storage unit control unit for determining an area for storing data to be read / written by the same command in the data storage unit 62, and determining a hit / miss of the disk cache, and 604, redundant data (parity) at the time of writing ), Or the redundant data calculation control unit 605 for controlling the redundant data calculation means 63 when reproducing the data of the faulty media or the media stored in the fault library, the command control unit 602 generates It is a storage device connection control unit that controls the storage device connection means 640 to 644 in order to issue commands to the recording / reproducing means 40.

また、608は、各ライブラリ装置400〜404の搬送手段41を操作するためのコマンドを発行するために搬送装置接続手段65を制御する搬送制御部、607は、ライブラリ装置400〜404に障害が発生したことを検出するライブラリ障害検出部、609は、正しいメディアが正しい収納位置に収納するようメディアを検査するメディア検査部、610は、RAIL装置5の構成や、メディアの管理情報や、メディアグループの管理情報や、ライブラリ装置の障害情報等、中央制御部60が使用するRAIL装置5の様々な管理情報を保持する構成情報保持部、606は、ライブラリ装置や、メディアに障害が発生した際等に、使用者に障害情報を通知したり、使用者から障害復旧の命令を受信したりする障害通信部である。   Also, 608 is a transport control unit that controls the transport device connection means 65 to issue a command for operating the transport means 41 of each library device 400 to 404, and 607 is a failure in the library devices 400 to 404 609 is a media inspection unit that inspects the media so that the correct media is stored in the correct storage position, and 610 is the configuration of the RAIL device 5, the management information of the media, and the media group A configuration information holding unit 606 that holds various management information of the RAIL device 5 used by the central control unit 60, such as management information and failure information of the library device, is provided when a failure occurs in the library device or media. A fault communication unit that notifies the user of fault information or receives a fault recovery command from the user.

(5)メディアの構成
図7は本発明のRAIL装置で使用するメディア45の構成を示したものである。4500は、メディアの特定の領域にRAILコントローラ5が格納するメディアグループ情報格納部である。同部4500は、メディア上の特定の論理アドレス(例えば論理アドレス0)に設けられ、この領域はホスト計算機1から隠蔽されている必要がある。
(5) Media Configuration FIG. 7 shows the configuration of the media 45 used in the RAIL apparatus of the present invention. Reference numeral 4500 denotes a media group information storage unit stored in the RAIL controller 5 in a specific area of the media. The part 4500 is provided at a specific logical address (for example, logical address 0) on the medium, and this area needs to be hidden from the host computer 1.

該部45に格納するデータ内容は、4501はメディアグループ情報が格納されていることを示すメディアグループ情報識別子、4502は、メディアグループの識別番号、4503が同メディアを格納するライブラリ装置4の番号、4504は、ライブラリ装置4の収納手段42の収納位置番号、4505は、メディアの初期化日時や、エラー情報等の情報を管理するためのデータである。   The data content stored in the unit 45 includes a media group information identifier 4501 indicating that the media group information is stored, 4502 an identification number of the media group, 4503 a number of the library apparatus 4 storing the media, Reference numeral 4504 denotes a storage position number of the storage means 42 of the library apparatus 4, and reference numeral 4505 denotes data for managing information such as media initialization date and error information.

(6)メディアグループの構成
図8はメディアグループの構成を示したものである。メディア450〜454が記録再生手段4000〜4004に格納されている。このように、データの分散を行う複数のメディアとそのパリティを格納するメディアで構成されるECCグループを「メディアグループ」と称する。また、RAID4構成の場合、データを格納するメディア450〜453をデータメディア0〜4、パリティを格納するメディア454をパリティメディアと称する。
(6) Media Group Configuration FIG. 8 shows the media group configuration. Media 450 to 454 are stored in recording / reproducing means 4000 to 4004. An ECC group composed of a plurality of media for distributing data and a medium for storing the parity is referred to as a “media group”. In the RAID 4 configuration, media 450 to 453 for storing data are referred to as data media 0 to 4 and media 454 for storing parity are referred to as parity media.

ライブラリ装置400〜404の収納手段に収納されたメディアも、上記の記録再生手段4000〜4004に収納されたメディアと同様、異なるライブラリ装置400〜404間でメディアグループを構成している。各メディアグループにはすべて一連の識別番号が付加され、この情報が上記の通り、各メディアのメディアグループ情報格納部4500に格納されている。このメディアグループ番号は、他のRAIL装置で使用されたメディアや、以前このRAIL装置で使用された他のメディアグループと混同してしまわないように、唯一絶対の番号で無くてはならない。そこで、番号の生成には、一意性を保証するために、RAIL装置のシリアル番号や、メディアグループの作成日時などのデータを組み合わせて作成することが望ましい。   Similarly to the media stored in the recording / reproducing means 4000 to 4004, the media stored in the storage means of the library apparatuses 400 to 404 constitute a media group between different library apparatuses 400 to 404. A series of identification numbers is added to each media group, and this information is stored in the media group information storage unit 4500 of each media as described above. This media group number must be the only absolute number so as not to be confused with media used in other RAIL devices or other media groups previously used in this RAIL device. Therefore, it is desirable to generate the number by combining data such as the serial number of the RAIL device and the creation date and time of the media group in order to guarantee uniqueness.

本実施形態では、メディアグループを構成する複数のメディアは、異なるライブラリ装置の同一収納位置番号に収納するものとする。すなわち、横並びに一列に同一メディアグループのメディアを収納する。これにより、マウントするメディアグループを交換するときに、搬送手段を動作させてメディアグループを交換する平均時間(平均メディアグループ交換時間)が最小になるという効果がある。もし、任意の位置にメディアグループが格納されていると、それらのメディアのうち搬送に最も時間がかかるものによりメディアグループの交換時間が律速されてしまうので、平均メディアグループ交換時間は悪化する。また、この収納方法では、RAILコントローラによるメディアの管理が容易になるという効果もある。もちろん、お互いの収納位置を任意にして、RAILコントローラ6がその関連を管理して対応つけることも可能である。   In this embodiment, a plurality of media constituting a media group are stored in the same storage position number of different library devices. That is, the media of the same media group are stored horizontally and in a line. Accordingly, when exchanging the media group to be mounted, there is an effect that the average time (average media group exchange time) for exchanging the media group by operating the transport unit is minimized. If a media group is stored at an arbitrary position, the media group exchange time is limited by the media that takes the longest time to transport, so the average media group exchange time deteriorates. In addition, this storage method also has an effect of facilitating media management by the RAIL controller. Of course, it is also possible for the RAIL controller 6 to manage and associate the relation with each other in any storage position.

(7)メディアの初期化(メディアグループ情報の登録)
本実施形態の動作を説明する。はじめに、新規のメディアをライブラリ装置に収納する動作を説明する。使用者は、新規メディアを各ライブラリ装置400〜404の投入手段430〜434に投入する。使用者はホスト計算機を操作し、同メディアの初期化指示のコマンドを発行する。RAILコントローラ6のホスト接続手段61はこのコマンドを受信し、中央処理手段60に通知する。中央処理手段60のホスト接続制御部601はこのコマンドを受信し、コマンド制御部602はコマンドを解析する。引き続き搬送制御部608に処理を渡し、同部608は各ライブラリ装置400〜404の搬送制御手段440〜444に対し投入手段430〜434からメディアを記録再生手段4000〜4004に移動するようコマンドを発行する。各ライブラリ装置400〜404は、コマンドを受信し、メディアを記録再生装置4000〜4004にセットする。
(7) Initializing media (Registering media group information)
The operation of this embodiment will be described. First, an operation for storing a new medium in the library apparatus will be described. The user inputs new media into the input means 430 to 434 of each library apparatus 400 to 404. The user operates the host computer and issues a command for instructing initialization of the media. The host connection means 61 of the RAIL controller 6 receives this command and notifies the central processing means 60 of it. The host connection control unit 601 of the central processing unit 60 receives this command, and the command control unit 602 analyzes the command. Subsequently, the processing is transferred to the transport control unit 608, which issues commands to the transport control units 440-444 of the respective library devices 400-404 to move the media from the input unit 430-434 to the recording / reproducing unit 4000-4004. To do. Each of the library devices 400 to 404 receives the command, and sets the media in the recording / reproducing devices 4000 to 4004.

続けて中央制御手段60のメディア検査部609は、記憶装置接続制御部605を介し、各記録再生装置4000〜4004にメディアグループ情報格納部のあるべきメディアのアドレスからメディアグループ情報をリードするようコマンドを発行する。リードしたデータは記録再生手段4000〜4004から、記録再生I/F50〜54、記憶装置接続手段640〜644を介しデータ記憶手段62の指定された領域に転送される。メディア検査部609はこのリードしたデータを検査する。このメディアは新メディアなので、このリードしたデータにはメディアグループ識別情報4501は含まれない。メディア検査部609はこれらのメディアが新メディアであることを認識し、構成情報保持部610を参照し、ライブラリ装置400〜404の収納手段420〜424における同メディアの収納位置を確定する。この場所は空いていた収納位置であればよい。次に同部609はこれらのメディアでメディアグループを構築し、メディアグループ識別番号4502を上記のような方法で生成し、構成情報保持部610に決定した収納位置とともに同メディアグループ識別番号を格納する。次に、同部609は、記憶装置接続制御部605を介し、メディアグループ情報識別子4101と、メディアグループ番号4502と、ライブラリ装置番号4503と、ライブラリ収納位置番号4504と、その他の情報4505をライトするコマンドを発行し、各メディアそれぞれにメディアグループ情報を格納する。続けて、同部609は全てのメディアのデータ格納部に0を書き込むことにより、メディアグループのデータとパリティの整合性をとる。以上でメディアの初期化が終了し、ホスト計算機1に初期化指示コマンドの終了を通知する。   Subsequently, the media inspection unit 609 of the central control means 60 commands the recording / playback devices 4000 to 4004 to read the media group information from the address of the media in the media group information storage unit via the storage device connection control unit 605. Issue. The read data is transferred from the recording / reproducing means 4000 to 4004 to the designated area of the data storing means 62 via the recording / reproducing I / F 50 to 54 and the storage device connecting means 640 to 644. The media inspection unit 609 inspects the read data. Since this media is a new media, the read data does not include the media group identification information 4501. The media inspection unit 609 recognizes that these media are new media, refers to the configuration information holding unit 610, and determines the storage positions of the media in the storage units 420 to 424 of the library apparatuses 400 to 404. This place may be an empty storage position. Next, the part 609 constructs a media group with these media, generates the media group identification number 4502 by the above method, and stores the media group identification number together with the determined storage position in the configuration information holding part 610. . Next, the unit 609 writes the media group information identifier 4101, media group number 4502, library device number 4503, library storage location number 4504, and other information 4505 via the storage device connection control unit 605. A command is issued, and media group information is stored in each medium. Subsequently, the same unit 609 writes 0 in the data storage unit of all media, thereby ensuring consistency between the data of the media group and the parity. This completes the initialization of the media, and notifies the host computer 1 of the end of the initialization instruction command.

以降、ホスト計算機1は、このメディアグループを論理ボリュームとして扱うことができ、この論理ボリュームの論理フォーマットを実行する。論理フォーマットが終了すると、ホスト計算機1から同メディアグループを使用することができるようになる。   Thereafter, the host computer 1 can handle this media group as a logical volume, and executes the logical format of this logical volume. When the logical format is completed, the same media group can be used from the host computer 1.

なお、以下の説明において、中央制御手段60はライブラリ装置4の搬送手段41を制御し記録再生手段40、収納手段42、投入手段43の間をメディアを移動させるが、その方法も上記と同様である。そこで、特別に断らない限り「搬送制御を行う」として同搬送制御の説明を省略する。   In the following description, the central control means 60 controls the transport means 41 of the library apparatus 4 to move the media between the recording / reproducing means 40, the storage means 42, and the input means 43. The method is the same as above. is there. Therefore, unless otherwise specified, description of the conveyance control is omitted as “conveyance control is performed”.

また、以下の説明において、中央制御手段60はライブラリ装置4の記録再生手段40にメディアへのデータのリード/ライトのコマンドを発行するが、その方法も上記と同様である。そこで、特別に断らない限り「リード/ライト制御を行う」として同記録再生制御の説明を省略する。   In the following description, the central control means 60 issues a data read / write command to the medium to the recording / reproducing means 40 of the library apparatus 4, and the method is the same as described above. Therefore, the description of the recording / reproducing control is omitted as “read / write control is performed” unless otherwise specified.

(8)構成情報保持部の初期化
RAIL装置に電源が投入された時、中央制御手段60の構成情報保持部610にはなにも記録されていないので、これを初期化する必要がある。さらに、メディアがメディアグループの関係を保って正しい収納位置に収納されていることを確認しなくてはならない。これは、ライブラリ装置間で構成するメディアグループは、以前動作時にはメディアグループが正しい位置関係を保っていたとしても、一旦電源を遮断し、再立ち上げした際にメディアの収納位置が元通りである保証はないためである。RAIL装置のメディアは上記のように可搬媒体であるため、電源遮断時に人間によってメディアの移動がなされているかもしれないのである。
(8) Initialization of Configuration Information Holding Unit When the RAIL device is turned on, nothing is recorded in the configuration information holding unit 610 of the central control means 60, so it is necessary to initialize it. Furthermore, it must be confirmed that the media is stored in the correct storage position while maintaining the relationship of the media group. This is because the media group configured between the library devices is restored to the original media storage position when the power is turned off and then restarted even if the media group maintained the correct positional relationship during the previous operation. This is because there is no guarantee. Since the media of the RAIL device is a portable medium as described above, the media may be moved by a human when the power is shut off.

メディア検査部609は、搬送制御部608を制御して搬送制御を行い、さらに記憶装置接続制御部605を制御してリード/ライト制御を行い、各ライブラリ装置400〜404の収納手段420〜424の全格納メディアを順次マウントし、メディアグループ情報をリードし、構成情報保持部610に情報を格納する。なお、ここで、マウントとは、指定されたメディアグループのメディアを各ライブラリ装置の収納手段からとりだし、記録再生装置にセットする動作のことである。なお、構成情報保持部610に情報を格納する際、同一収納位置に収納されている異なるライブラリ装置のメディアが正しく同じメディアグループのメディアであることを確認し、お互いを関連づけて情報を格納する。   The media inspection unit 609 controls the transport control unit 608 to perform transport control, further controls the storage device connection control unit 605 to perform read / write control, and controls the storage means 420 to 424 of each library device 400 to 404. All the storage media are mounted sequentially, the media group information is read, and the information is stored in the configuration information holding unit 610. Here, “mount” refers to an operation of taking out media of a designated media group from the storage means of each library device and setting the media in the recording / reproducing device. When information is stored in the configuration information holding unit 610, it is confirmed that the media of different library devices stored in the same storage position are correctly the media of the same media group, and the information is stored in association with each other.

(9)メディアのマウント
次に、メディアのマウント動作について説明する。ホスト計算機1からメディアのマウント要求が発行されたと仮定する。このマウント要求は、ホスト計算機1がメディアグループを論理ボリュームとして管理していて直接メディアグループ番号で指定されると仮定する。
(9) Media Mounting Next, media mounting operation will be described. It is assumed that a media mount request is issued from the host computer 1. This mount request assumes that the host computer 1 manages the media group as a logical volume and is directly specified by the media group number.

RAILコントローラ6のホスト接続手段61は、ホスト計算機1からマウント要求コマンドを受信し、中央制御手段60に通知する。中央制御手段60は、コマンドを獲得し、それを解析しメディアグループのマウント要求であることを認識する。中央制御手段60は搬送制御を行い、各ライブラリ装置400〜404に対し現在記録再生手段4000〜4004にマウントされているメディアを収納手段420〜424の適切な収納位置に収納する。続けて、中央制御手段60は搬送制御を行い、マウント要求のあったメディアグループのメディアを収納手段420〜424から取り出し記録再生手段に移動しマウントする。なお、この際、収納位置は、構成情報保持部610を参照することで獲得することができる。   The host connection means 61 of the RAIL controller 6 receives the mount request command from the host computer 1 and notifies the central control means 60 of it. The central control means 60 obtains the command, analyzes it, and recognizes that it is a media group mount request. The central control means 60 performs transport control, and stores the media currently mounted on the recording / reproducing means 4000 to 4004 in the appropriate storage positions of the storage means 420 to 424 for the respective library devices 400 to 404. Subsequently, the central control means 60 performs conveyance control, takes out the media of the media group for which the mount request has been made from the storage means 420 to 424, moves to the recording / reproducing means, and mounts it. At this time, the storage position can be obtained by referring to the configuration information holding unit 610.

また、もし、ホスト計算機からRAIL装置のアドレス空間がフラットに見える場合、すなわち、一つの論理ボリュームに見える場合には、マウント要求は発行されない場合がある。この場合、ホスト計算機から見えるアドレス空間と、各メディアグループの対応関係を構成情報保持部610に格納し、コマンド制御部602でアクセスされたアドレスを認識し、必要に応じ異なるメディアグループをマウントする必要があるかもしれない。この場合は、マウント要求をRAILコントローラ6内部で生成することになるが、それ以外は上記と同様である。   Also, if the address space of the RAIL device looks flat from the host computer, that is, if it looks like one logical volume, the mount request may not be issued. In this case, it is necessary to store the address space visible to the host computer and the correspondence between each media group in the configuration information holding unit 610, recognize the address accessed by the command control unit 602, and mount a different media group as necessary. There may be. In this case, the mount request is generated inside the RAIL controller 6, but other than that is the same as the above.

(10)リード/ライトコマンド処理
次に、マウントされたメディアグループへのホストからのリード/ライト要求が発行された場合の動作を説明する。ホスト計算機1からリードコマンドが発行された場合、中央制御手段60のコマンド制御部602はコマンドを解析する。図2に示すようなデータの分散を行っているので、ホスト計算機からのリード要求のデータがどのメディアに格納されているのかを計算する。このような計算をアドレス変換と称する。アドレス変換の結果、図2のD2がアクセスデータであったとすると、データメディア2が当該データを格納していることになる。そこで、コマンド制御部602はライブラリ装置402の記録再生装置4002へのリードコマンドを生成する。また、データ記憶手段制御部603はリードしたデータを格納する領域をデータ記憶手段62に確保する。記憶装置接続制御部605は、上記のリードコマンドを記憶装置接続手段642に発行し、記憶装置接続手段642は記録再生装置4002から該データをデータ記憶手段に転送し、終了すると中央制御手段60に通知する。中央制御手段60のホスト接続制御部601はホスト接続手段61にデータ転送命令を発行し、ホスト接続手段61はホスト計算機1にデータ記憶手段62に格納された当該データを転送し、終了すると中央制御手段60に通知する。中央制御手段60のホスト接続制御部601はホスト接続手段61を制御し、ホスト計算機に終了報告を送信しリードコマンド処理が終了する。
(10) Read / Write Command Processing Next, the operation when a read / write request from the host to the mounted media group is issued will be described. When a read command is issued from the host computer 1, the command control unit 602 of the central control means 60 analyzes the command. Since data distribution as shown in FIG. 2 is performed, it is calculated in which medium the read request data from the host computer is stored. Such calculation is called address conversion. As a result of the address conversion, if D2 in FIG. 2 is access data, the data medium 2 stores the data. Therefore, the command control unit 602 generates a read command to the recording / reproducing apparatus 4002 of the library apparatus 402. Further, the data storage means control unit 603 reserves an area for storing the read data in the data storage means 62. The storage device connection control unit 605 issues the above read command to the storage device connection means 642, and the storage device connection means 642 transfers the data from the recording / playback device 4002 to the data storage means, and upon completion, the storage device connection means 642 sends the data to the central control means 60. Notice. The host connection control unit 601 of the central control means 60 issues a data transfer command to the host connection means 61, and the host connection means 61 transfers the data stored in the data storage means 62 to the host computer 1, and when finished, the central control The means 60 is notified. The host connection control unit 601 of the central control unit 60 controls the host connection unit 61, transmits an end report to the host computer, and the read command processing ends.

ホスト計算機1からライトコマンドが発行された場合、リードコマンドとの相違点はその転送方向が異なることと、パリティを演算することの2点である。リードと同様図2のD2がライトデータであったとしたとき、その対応するパリティP1も更新する必要がある。ここで、パリティの更新には次に示す(式c)(式d)の2つの方法がある。   When a write command is issued from the host computer 1, there are two differences from the read command: the transfer direction is different and the parity is calculated. Similar to the read, when D2 in FIG. 2 is write data, the corresponding parity P1 also needs to be updated. Here, there are the following two methods of updating the parity: (Formula c) (Formula d).

新P0=D0+D1+新D2+D3(式c)
ただし、+は排他的論理和演算を示す。
New P0 = D0 + D1 + New D2 + D3 (Formula c)
However, + indicates an exclusive OR operation.

新P0=旧D2+新D2+旧P0 (式d)
(式c)の方法では、パリティの生成に先立ち、D0、D1、D3のデータをデータ記憶手段62にリードしておく必要がある。また(式d)の方法では、パリティの生成に先立ち、旧D2と旧P0を同じくリードしておく必要がある。これらのデータのリード制御は上記リードコマンドの動作と同様である。また、すでにデータ記憶手段62にD0、D1、D3が記憶されている(もしくは旧D2と旧P0が記憶されている)ならば、これらのリード制御は行う必要がない。
New P0 = old D2 + new D2 + old P0 (formula d)
In the method of (Formula c), it is necessary to read the data of D0, D1, and D3 to the data storage means 62 prior to the generation of parity. In the method of (formula d), it is necessary to read the old D2 and the old P0 in the same manner before generating the parity. The read control of these data is the same as the operation of the read command. If D0, D1, and D3 are already stored in the data storage means 62 (or the old D2 and the old P0 are stored), it is not necessary to perform these read controls.

(式c)、(式d)いずれの方法であるにしても、全てのデータをデータ記憶手段62に用意することが終了すると、冗長データ演算制御部604は冗長データ演算手段63を起動し、(式c)、もしくは(式d)の演算を実行し、終了すると中央制御手段60に通知する。中央制御手段60のコマンド制御部602は、D2のライトコマンドと、新P0のライトコマンドを生成し、上記同様記録再生手段4002、4004に両ライトコマンドを発行し、記憶装置接続手段642と644はデータ記憶手段62から記録再生手段4002、4004に両データをそれぞれ転送し、データメディア451とパリティメディア454に格納する。転送が終了すると中央制御手段60はリードコマンドと同様ホスト計算機1に終了報告を発行し、ライトコマンド処理が終了する。   Regardless of the method (Equation c) or (Equation d), when all the data is prepared in the data storage means 62, the redundant data calculation control unit 604 activates the redundant data calculation means 63, The calculation of (Expression c) or (Expression d) is executed, and when it is finished, the central control means 60 is notified. The command control unit 602 of the central control means 60 generates a D2 write command and a new P0 write command, issues both write commands to the recording / reproducing means 4002 and 4004 as described above, and the storage device connection means 642 and 644 Both data are transferred from the data storage means 62 to the recording / reproducing means 4002 and 4004 and stored in the data medium 451 and the parity medium 454, respectively. When the transfer ends, the central control means 60 issues an end report to the host computer 1 as with the read command, and the write command processing ends.

(11)ライブラリ装置の故障検出
次に、図8に示すようにRAIL装置5を構成する1台のライブラリ装置400に障害が発生した場合について、図9のフローチャートを用いて説明する。はじめに、ライブラリ装置の障害について説明する。大きくわけて2種類の障害検出が考えられる。第一はライブラリ装置自体が障害を検出する場合であり、記録再生手段40がリード/ライト不可能になったり、搬送手段41が動作不可能になったりしたことをライブラリ自体が検出し、エラー情報をRAILコントローラ6に報告する。第二はライブラリ装置が動作しなくなり、それを中央制御手段60が検出する場合である。いずれにしても、中央制御手段60のライブラリ障害検出部607がこれらの事象を認知すると、このライブラリ装置を障害ライブラリとして検出する(図9の1000)。
(11) Failure Detection of Library Device Next, a case where a failure occurs in one library device 400 constituting the RAIL device 5 as shown in FIG. 8 will be described with reference to the flowchart of FIG. First, the failure of the library apparatus will be described. There are roughly two types of failure detection. The first is a case where the library apparatus itself detects a failure. The library itself detects that the recording / reproducing means 40 has become unreadable / writable or the conveying means 41 has become inoperable, and error information is detected. Is reported to the RAIL controller 6. The second is a case where the library apparatus stops operating and the central control means 60 detects it. In any case, when the library failure detection unit 607 of the central control means 60 recognizes these events, this library device is detected as a failure library (1000 in FIG. 9).

(12)縮退動作
ライブラリ障害検出部607は、RAILコントローラ6を縮退運転に移行する(1001)。ここで、縮退運転とは、1台のライブラリ装置に障害が発生したときに、そのライブラリ装置に格納されたすべてのメディアのデータのリード/ライトを、他のライブラリ装置のメディアのデータとパリティを用いて行う運転のことである。例えば、ライブラリ装置400のデータメディア0(450)に格納するデータD0へのリード要求時には、上記従来の技術の(式b)により、他の正常なライブラリ装置401〜404のデータメディア1〜3(451〜453)に格納するデータD1,D2,D3と、パリティメディア454に格納するパリティP0からD0を再現する。また、D0のライト要求時には、ライトするD0と、D1,D2,D3からP0を生成し、P0だけを更新する。ライブラリ障害検出部607は、縮退運転に移行したことを構成情報保持部610に記録し、以降、コマンド制御部602は上記のような縮退運転用のアドレス変換を行うことになる。また、同ライブラリ装置4000の全メディアが使用不可能であることを同じく構成情報保持部610に記録する。
(12) Degeneration Operation The library failure detection unit 607 shifts the RAIL controller 6 to the degeneration operation (1001). Here, degenerate operation refers to reading / writing data of all media stored in a library device when a failure occurs in one library device, and data and parity of media in other library devices. It is the operation performed using. For example, at the time of a read request to the data D0 stored in the data medium 0 (450) of the library device 400, the data media 1 to 3 ( 451 to 453) and the data D1, D2, D3 stored in the parity media 454 and the parity P0 to D0 stored in the parity medium 454 are reproduced. When a write request for D0 is made, P0 is generated from D0 to be written and D1, D2, and D3, and only P0 is updated. The library failure detection unit 607 records the transition to the degenerate operation in the configuration information holding unit 610, and thereafter, the command control unit 602 performs address conversion for the degenerate operation as described above. In addition, the configuration information holding unit 610 records that all the media in the library device 4000 cannot be used.

(13)障害通知とライブラリ装置の交換
ライブラリ障害検出部607は、障害通信部606を制御し、ホスト接続手段61を介しホスト計算機1にライブラリ装置400に障害が発生したことを通知する。このとき、新しいライブラリ装置400'に交換することを促すようなメッセージや、インジケータを表示し、使用者に知らせる(1002)。使用者がライブラリ装置の交換を実施すると、ホスト計算機1は交換完了をRAILコントローラ6に通知し、障害通信部606はこれをライブラリ障害検出部607に通知する(1003)。
(13) Failure Notification and Replacement of Library Device The library failure detection unit 607 controls the failure communication unit 606 to notify the host computer 1 that a failure has occurred in the library device 400 via the host connection means 61. At this time, a message prompting the user to replace the library device 400 'with a new one and an indicator are displayed to inform the user (1002). When the user replaces the library device, the host computer 1 notifies the RAIL controller 6 of the replacement completion, and the failure communication unit 606 notifies this to the library failure detection unit 607 (1003).

(14)メディアの投入
次に、同部607は、メディア検査部609に処理を渡す。同部609は障害通信部606を制御し、ホスト計算機1に、障害ライブラリ装置400の1枚のメディアを取り出し、新ライブラリ装置400'の投入手段430'に投入することを促す(1004)。また、メディア検査部609は搬送制御を行い、投入手段430'に搬送手段410'を移動させ待機する(1005)。
(14) Inserting Media Next, the same unit 607 passes the processing to the media inspection unit 609. The unit 609 controls the fault communication unit 606 to prompt the host computer 1 to take out one medium of the fault library device 400 and put it into the input means 430 ′ of the new library device 400 ′ (1004). Further, the media inspection unit 609 controls the conveyance, moves the conveyance unit 410 ′ to the input unit 430 ′, and waits (1005).

(15)メディアの検査と収納
使用者によるメディアの投入待ちをし(1006)、メディアが投入されると、メディア検査部609は搬送制御を行い投入されたメディアを記録再生手段4000'に移動しマウントする(1007)。同部609はリード制御を行い、メディアに格納されたメディアグループ情報をデータ記憶手段62にリードする(1008)。メディア検査部609は、同情報のライブラリ装置番号4503を検査し、ライブラリ装置400のメディアであったことを確認する(1009)。もし、異なるライブラリ装置のメディアであるならば、搬送処理を行いメディアを排出する(1010)。正しいライブラリ装置のメディアであるならばライブラリ収納位置番号4004を検査し(1011)、その示す位置にメディアを収納するよう搬送処理を行う(1012)。メディア検査部609は、ホスト計算機1に1枚のメディアの収納が終了したことを通知し、次のメディアを投入するか、投入処理を終了するかの指示を促す通知を発行する(1013)。もし、つぎのメディアを投入するならば、上記(14)メディアの投入(1004)に戻り、以下全てのメディアを収納し終えるまで処理を繰り返す。
(15) Media inspection and storage The user waits for the media to be inserted (1006), and when the media is inserted, the media inspection unit 609 performs transport control and moves the inserted media to the recording / reproducing means 4000 ′. Mount (1007). The unit 609 performs read control, and reads the media group information stored in the medium to the data storage means 62 (1008). The media inspection unit 609 inspects the library device number 4503 of the same information to confirm that the media is the library device 400 (1009). If the media is in a different library device, the transport process is performed and the media is ejected (1010). If it is a correct medium of the library apparatus, the library storage position number 4004 is inspected (1011), and a carrying process is performed so that the medium is stored at the indicated position (1012). The media inspection unit 609 notifies the host computer 1 that the storage of one piece of media has been completed, and issues a notification that prompts an instruction whether to insert the next media or end the input processing (1013). If the next medium is to be inserted, the process returns to (14) Media insertion (1004) and the process is repeated until all the media have been stored.

(16)縮退運転から正常運転への復帰
すべてのメディアの収納を終了した通知をホスト計算機1から受信したならば(1014)、メディア検査部609はライブラリ障害検出部607に処理を戻す。ライブラリ障害検出部607は現在マウント中のメディアグループを構成情報保持部610を参照して確認し、新ライブラリ装置4000'にも同一メディアグループのメディアをマウントする。さらに、同部607は、縮退運転から正常運転に復旧し、構成情報保持部610に記録する。また、すべての同ライブラリ装置に格納されたメディアを使用可能状態に構成情報保持部610に記録する。続けてホスト計算機1に正常に復帰したことを通知し、ライブラリ障害状態からの復旧を終了する(1016)。
(16) Return from degenerate operation to normal operation If a notification of completion of storage of all media is received from the host computer 1 (1014), the media inspection unit 609 returns the processing to the library failure detection unit 607. The library failure detection unit 607 confirms the currently mounted media group with reference to the configuration information holding unit 610, and mounts the media of the same media group on the new library device 4000 ′. Further, the same unit 607 recovers from the degenerate operation to the normal operation and records it in the configuration information holding unit 610. Further, the media stored in all the library devices are recorded in the usable state in the configuration information holding unit 610. Subsequently, the host computer 1 is notified of normal recovery, and the recovery from the library failure state is terminated (1016).

(17)効果
以上のように、RAIL装置においては、ライブラリ装置に障害が発生し、新しいライブラリ装置に交換した際に、すべての障害ライブラリ装置に収納されていたメディアを新しいライブラリ装置に収納し直さなくてはならないが、本実施形態によれば、間違いなく正しい収納位置にメディアを収納し、障害が発生する以前の状態に復旧することができるので、誤収納によるメディアグループの整合性の喪失に起因するデータの喪失を防止できるという効果がある。
(17) Effect As described above, in the RAIL device, when a failure occurs in the library device, and the medium is replaced with a new library device, the media stored in all the failed library devices must be re-stored in the new library device. Although it is essential, according to the present embodiment, the medium can be stored in the correct storage position and can be restored to the state before the occurrence of the failure. This has the effect of preventing the loss of data caused by it.

また、常に同一メディアグループのメディアをライブラリ装置の同一収納位置番号に収納できるので、メディアグループを交換する際にその平均交換時間を最小にでき、高速な搬送性能を実現できるという効果がある。   In addition, since the media of the same media group can always be stored in the same storage location number of the library apparatus, the average replacement time can be minimized when the media group is replaced, and high-speed transport performance can be realized.

さらに、1台のライブラリ装置が故障しRAIL装置が縮退運転でサービスを提供している間に、バックグラウンドで障害ライブラリ装置のメディアを新ライブラリ装置の正しい位置に収納できるので、可用性の高いRAIL装置を実現できるという効果がある。   In addition, while one library device fails and the RAIL device provides services in a degenerate operation, the media of the failed library device can be stored in the correct position of the new library device in the background, so a highly available RAIL device There is an effect that can be realized.

■第二の実施形態(適当な順番で連続投入する。後で装置が確認しソートする方
法)
次に第二の実施形態について説明する。上記第一の実施形態ではメディアを1枚ずつ操作者が投入していきその都度RAIL装置が正しい位置にメディアを収納していくというものであった。確実に正しい位置に収納することが可能であるが、一方、操作者が長時間この作業に立ち会う必要があり、ライブラリ装置に収納するメディア枚数が数百枚に達する場合その所要時間は長大になってしまう。本実施形態ではこの課題を解決する方法を提供する。
■ Second Embodiment (Continuously Putting in Appropriate Order. Method for Device to Check and Sort Later)
Next, a second embodiment will be described. In the first embodiment, the operator inputs media one by one and each time the RAIL device stores the media in the correct position. Although it is possible to securely store it in the correct position, on the other hand, it is necessary for the operator to witness this work for a long time, and when the number of media stored in the library device reaches several hundreds, the required time becomes long. End up. The present embodiment provides a method for solving this problem.

本実施形態の構成は、第一実施例の構成につけ加え、図11に示すメディア収納管理テーブル6101を構成情報保持部610に設ける。メディア収納管理テーブル6101は、各ライブラリ装置毎に格納できる収納位置に応じて用意する必要があり、電源投入時には全て「空き」に設定し、メディアの検査により、正しく収納した場合は「本収納」を記録する。また、ライブラリ装置障害時には、同ライブラリ装置のテーブルを全て「空き」に設定する。   In the configuration of this embodiment, in addition to the configuration of the first example, a media storage management table 6101 shown in FIG. The media storage management table 6101 needs to be prepared according to the storage position that can be stored for each library device. When the power is turned on, all media are set to “empty”. Record. When a library device fails, all the tables of the library device are set to “free”.

以下、第一の実施形態との動作の相違点のみを説明する。   Only the difference in operation from the first embodiment will be described below.

(1)障害ライブラリの交換
図10は本実施形態のライブラリ装置障害発生時の動作を示すフローチャートであり、以下、この図を用いて説明する。
(1) Replacement of Fault Library FIG. 10 is a flowchart showing the operation when a fault occurs in the library apparatus according to this embodiment, and will be described below with reference to this figure.

ライブラリ装置400に障害が発生したことを中央制御手段60が検出し(1000)、縮退運転に移行し(1001)、使用者に障害を通知し(1002)、使用者は新しいライブラリ装置400'を接続し交換が完了する(1003)。   The central control means 60 detects that a failure has occurred in the library device 400 (1000), shifts to degenerate operation (1001), notifies the user of the failure (1002), and the user uses a new library device 400 ′. Connection and replacement are completed (1003).

(2)メディアの交換(順次連続投入)
次に中央制御手段60のメディア検査部609は、カウンタnを0初期化する(1017)。そして、障害通信部606を介し、ホスト計算機1に新しいメディアの投入を指示し、操作者が1枚のメディアを投入する(1018)。メディア検査部609は、搬送制御を行い投入されたメディアを収納位置nに仮収納し、メディア収納管理テーブル6101の位置nに「仮収納」を設定する(1019)。該部609は障害通信部606を介し、全てのメディアの投入が終了したか確認を要求し(1020)、もし、まだメディアがあるならばカウンタnをインクリメントし(1021)、以下、全てのメディアの仮収納を繰り返す。この処理が終了すると、収納メディア枚数nが確定する。
(2) Media exchange (sequential continuous input)
Next, the media inspection unit 609 of the central control means 60 initializes the counter n to 0 (1017). Then, the host computer 1 is instructed to insert a new medium via the failure communication unit 606, and the operator inserts one medium (1018). The media inspection unit 609 performs transport control, temporarily stores the inserted media in the storage position n, and sets “temporary storage” in the position n of the media storage management table 6101 (1019). The unit 609 requests confirmation through the fault communication unit 606 whether all media have been inserted (1020). If there is still media, the counter n is incremented (1021). Repeat the temporary storage. When this process ends, the number n of stored media is determined.

(3)メディア収納管理テーブルの検査
続けて、メディア検査部609は別のカウンタkを0初期化する(1022)。図11に示す構成情報保持部610のメディア収納管理テーブルを参照し収納位置kにすでに正しいメディアが移動され収納されているかどうか確認する(1023)。k=0の場合は、まだメディアを1枚も検査していないのでメディア収納管理テーブル6101には、「仮収納」が設定されているので、この判定は偽になる。また、k=j(n≧j≧1)の時には、k<jなるkにおいて既に後述の移動が実施されて「正収納」になっている場合がある。このときは1035に進みkをインクリメントし(1035)、k<nを確認し、もし、k<nであれば1023に戻り(3)の処理を繰り返す(1036)。
(3) Inspection of media storage management table Subsequently, the media inspection unit 609 initializes another counter k to 0 (1022). With reference to the media storage management table of the configuration information holding unit 610 shown in FIG. 11, it is confirmed whether the correct media has already been moved and stored in the storage position k (1023). In the case of k = 0, since no medium has been inspected yet, “temporary storage” is set in the media storage management table 6101, so this determination is false. In addition, when k = j (n ≧ j ≧ 1), there is a case where the movement described later has already been performed and k is “normal storage” when k <j. At this time, the process proceeds to 1035, k is incremented (1035), k <n is confirmed, and if k <n, the process returns to 1023 and repeats the process (3) (1036).

(4)メディアの移動
上記移動済みメディアかどうかのメディア収納管理テーブルの検査において偽になった場合、収納位置kに仮収納されたメディアを搬送制御し、記録再生装置4000'に装填する(1024)。続けて中央制御部60のメディア検査部609はメディアグループ情報をリードし、ライブラリ収納位置番号4504がi(i≧0の整数)であることを確認する(1025)。
(4) Movement of media If the result of the inspection of the media storage management table as to whether the media has been moved is false, the media temporarily stored in the storage position k is transported and loaded into the recording / reproducing apparatus 4000 ′ (1024 ). Subsequently, the media inspection unit 609 of the central control unit 60 reads the media group information and confirms that the library storage position number 4504 is i (an integer of i ≧ 0) (1025).

もし、このメディアが本ライブラリ装置400'に格納すべきでないメディアであった場合や、新規メディアの場合等、誤った投入であった場合には、このメディアを搬送制御し排出し(1027)、メディア収納管理テーブルの位置kに「空き」を設定する(1028)。   If this media should not be stored in this library device 400 ', or if it is a wrong media such as a new media, this media is transported and ejected (1027) “Free” is set at position k of the media storage management table (1028).

もし、k=iの場合には(1029)、そのままの位置で正しいので、同メディアを収納位置jに搬送制御により収納し(1030)、メディア収納管理テーブル6101の位置k(=i)に「正収納」を設定する(1031)。以下1035に進みkをインクリメントし(1035)、k<nを確認し、もし、k<nであれば1023に戻り(3)(4)の処理を繰り返す(1036)。   If k = i (1029), the position is correct as it is, so that the same medium is stored in the storage position j by conveyance control (1030), and the position “k” (= i) of the medium storage management table 6101 is “ “Normal storage” is set (1031). Thereafter, the process proceeds to 1035, k is incremented (1035), k <n is confirmed, and if k <n, the process returns to 1023 and the processes of (3) and (4) are repeated (1036).

もし、k≠iの場合には(1029)、搬送制御を行い、現在、収納位置iに格納されているメディアを、一旦、収納位置kに移動してメディア収納管理テーブルの位置kを「仮収納」に設定し(1032)、記録再生装置4000'に装填された収納位置jに収納すべきメディアを搬送制御により正しい収納位置iに収納し(1032)、メディア収納管理テーブルの位置iに「正収納」を設定する(1034)。以下、kをインクリメントせずに1023に戻り、上記(3)(4)の処理を収納位置kに正しいメディアが収納されるまで繰り返す。   If k ≠ i (1029), the conveyance control is performed, and the medium currently stored in the storage position i is temporarily moved to the storage position k and the position k in the medium storage management table is set to “temporary”. Set to “storage” (1032), the medium to be stored in the storage position j loaded in the recording / reproducing apparatus 4000 ′ is stored in the correct storage position i by the conveyance control (1032), and “ “Normal storage” is set (1034). Thereafter, the process returns to 1023 without incrementing k, and the above processes (3) and (4) are repeated until the correct medium is stored in the storage position k.

(5)縮退運転から正常運転への復帰
以上の処理を全てのk<nについて実行すると、正しい収納位置に全てのメディアを収納することができる。その後、上記第一の実施形態と同様、メディア検査部609はライブラリ障害検出部607に処理を戻し、ライブラリ障害検出部607は現在マウント中のメディアグループを構成情報保持部610を参照して確認し、新ライブラリ装置4000'にも同一メディアグループのメディアをマウントする。さらに、同部607は、縮退運転から正常運転に復旧し、構成情報保持部610に記録する。また、すべての同ライブラリ装置に格納されたメディアを使用可能状態に構成情報保持部610に記録する。続けてホスト計算機1に正常に復帰したことを通知し、ライブラリ障害状態からの復旧を終了する(1016)。
(5) Returning from the degenerate operation to the normal operation When the above processing is executed for all k <n, all media can be stored in the correct storage position. After that, as in the first embodiment, the media inspection unit 609 returns the processing to the library failure detection unit 607, and the library failure detection unit 607 confirms the currently mounted media group with reference to the configuration information holding unit 610. The media of the same media group is also mounted on the new library device 4000 ′. Further, the same unit 607 recovers from the degenerate operation to the normal operation and records it in the configuration information holding unit 610. Further, the media stored in all the library devices are recorded in the usable state in the configuration information holding unit 610. Subsequently, the host computer 1 is notified of normal recovery, and the recovery from the library failure state is terminated (1016).

なお、上記の説明では、正しい位置へのメディアの移動処理(ソーティング処理)を発見的手法を用いて行う方法を示したが、別の方法として、はじめに全てのメディアのメディアグループ情報をリードし、現状の収納位置とメディアの正規の収納位置を全て認識した後、並び替えを既知の「クイックソート」等のアルゴリズムを使用してソーティング処理を実施することもできる。   In the above description, the method of performing media movement processing (sorting processing) to the correct position using a heuristic method has been shown. However, as another method, first, the media group information of all media is read, After all the current storage positions and the regular storage positions of the media are recognized, the sorting process can be performed using an algorithm such as “quick sort” whose sorting is known.

(6)効果
以上のように、本実施形態によれば、操作者の全メディア投入に立ち会う時間を短縮した上で、上記第一の実施形態と同じ効果を実現できる。
(6) Effect As described above, according to the present embodiment, the same effect as that of the first embodiment can be realized while shortening the time for the operator to attend to all media inputs.

■第三の実施形態(人間が手でいれる。後で装置が確認しソートする方法)
上記第二実施形態では、全てのメディアを人間が順次連続的に1枚ずつ投入する方法を示したが、この方法では上記第一実施例よりは人手をかけずに実施し立会時間を短縮できるものの、いまだ、数百枚もの多数のメディアを投入しなくてはならないため、立会時間が長時間必要であるという課題を持つ。そこで、第三の実施形態としてさらに投入のための時間を削減する方法を示す。
(1)方法
この方法は、障害ライブラリ装置400をはずした段階で全てのメディアを一旦ライブラリ装置から取り出し、新規ライブラリ装置400'にオフラインで人間が手で収納する方法である。その後、新ライブラリ装置400'を接続し、上記実施形態2の図10の1023から1036の手順を実施することで、ソーティング処理を行う方法である。
■ Third embodiment (Human hands can be used. The device will check and sort later)
In the second embodiment, a method in which all the media are sequentially inserted one by one by one person has been shown. However, this method can be performed without manpower as compared with the first embodiment, and the witness time can be shortened. However, it still has a problem that it takes a long time to attend because it has to throw in hundreds of media. Therefore, a method for further reducing the time for input will be described as a third embodiment.
(1) Method This method is a method in which all the media are once taken out from the library device when the failed library device 400 is removed, and stored offline in a new library device 400 ′ by a human. Thereafter, the new library apparatus 400 ′ is connected, and the sorting process is performed by performing the steps 1023 to 1036 of FIG.

人間が人手でメディアを収納すると、そこには当然、収納ミスが発生する恐れがある。しかし、上記実施形態2のソーティング処理の方法を併用することで、たとえ収納ミスがあってもそれを後で修正することができる。   When humans manually store media, there is a risk that storage errors will occur. However, by using the sorting processing method of the second embodiment together, even if there is a storage error, it can be corrected later.

(2)効果
上記第三の実施形態によれば、人手によるメディアを新ライブラリ装置に投入する時間を最小限に短縮でき、この上で上記第一、第二実施形態と同じ効果を実現することができる。
(2) Effects According to the third embodiment, it is possible to minimize the time required for manually inserting media into the new library apparatus, and to achieve the same effects as in the first and second embodiments. Can do.

■第四の実施形態
以上の第一〜第三実施形態では、障害ライブラリ装置を交換したとき併せてメディアを実施するときに、すべてのメディアが正しい収納位置に格納されたことが確認された後に縮退運転から正常運転に復帰するものとして説明した。
Fourth Embodiment In the first to third embodiments described above, when media are executed together with replacement of a fault library device, it is confirmed that all media are stored in the correct storage position. It was described as returning from normal operation to degenerate operation.

しかしながら、この方法では縮退運転で動作しなくてはならない時間が長時間に及ぶ。縮退運転は正常運転に対して、性能は低下してしまうという問題があるので、上記第一〜第三実施形態の縮退運転時間を短縮することが課題になる。本実施例はその方法について説明する。   However, this method takes a long time to operate in a degenerate operation. Since the degenerate operation has a problem that the performance is deteriorated with respect to the normal operation, it is a problem to shorten the degenerate operation time of the first to third embodiments. This embodiment will explain the method.

上記第一〜第三実施形態の全てに適用することが可能であるが、以下、代表して第二実施形態に基づき相違点を説明する。   Although it is possible to apply to all of said 1st-3rd embodiment, hereafter, a difference is demonstrated based on 2nd embodiment typically.

新ライブラリ装置への全てのメディアの仮収納が終了した段階で、現在、ホストからのリード/ライト要求の処理である「オンライン処理」に使用しているメディアグループ(現メディアグループと称する)のうちの、新ライブラリ装置のメディアを検索する。具体的には、メディア検査部609は、現メディアグループ番号を構成情報保持部610を参照し確認し、また、そのメディアグループの格納されている収納位置を他のライブラリ装置のメディア収納の情報から確認する。つづけて、搬送制御を行い、確認した収納位置のメディアを1枚取り出し記録再生手段4000'に装填しメディアグループ情報を検査し、現メディアグループのメディアであるかどうか確認する。もし、確認ができたならば、現メディアグループは復旧が済んだ訳であるから、この時点で縮退運転から正常運転に復帰する。   Of the media groups (referred to as current media groups) currently used for “online processing”, which is the processing of read / write requests from the host, at the stage where all the media is temporarily stored in the new library device Search the media of the new library device. Specifically, the media inspection unit 609 confirms the current media group number with reference to the configuration information holding unit 610, and determines the storage location of the media group from the media storage information of other library devices. Confirm. Subsequently, the conveyance control is performed, one medium at the confirmed storage position is taken out and loaded into the recording / reproducing means 4000 ′, the media group information is inspected, and it is confirmed whether the medium is in the current media group. If the confirmation can be made, the current media group has been restored, and at this point, the normal operation is restored from the degenerate operation.

また、もし、装填したメディアが検査の結果、現メディアグループのメディアで無かった場合、任意の順番で仮収納されたメディアを1枚ずつ記録再生手段4000'に装填しメディアグループ情報を検査し、現メディアグループ番号を見つけるまで全てのメディアに対してこの検索処理を繰り返し、見つけた時点で縮退運転から正常運転に復帰する。   Also, if the loaded media is not the media of the current media group as a result of the inspection, the media temporarily stored in an arbitrary order is loaded into the recording / reproducing means 4000 ′ one by one and the media group information is inspected. This search process is repeated for all media until the current media group number is found, and when it is found, the normal operation is restored from the degenerate operation.

その後、ホストからリード/ライト要求が一定時間来ないRAIL装置の使用頻度が低いときに、同ライブラリ装置の記録再生装置を用いてメディアのメディア収納位置情報の検査による第二実施形態記載の並び替え処理を実施する。また、もしこの並び替え作業をしている間にホストからアクセス要求がきた場合には、一時的に縮退運転に移行してもよいし、もしくは、現メディアグループのメディアの収納位置は分かっているので、アクセスがあった時点でこのメディアをマウントしてもよい。   Thereafter, when the read / write request from the host does not come for a certain period of time and the use frequency of the RAIL device is low, the reordering described in the second embodiment is performed by checking the media storage position information of the media using the recording / playback device of the library device Perform the process. Also, if there is an access request from the host during this rearrangement operation, the operation may temporarily shift to the degeneration operation, or the media storage location of the current media group is known. Therefore, this media may be mounted when accessed.

本実施形態は、メディアの収納に際しては多くの場合人間が順番にメディアを投入するので、以前と同じ位置にメディアが並んでいる可能性が高いことを利用したものである。また、万一順番が変わっていた場合でも、並び替えを後回しにするので、現メディアグループの復旧のための処理時間は大幅に短縮できるという効果がある。   This embodiment uses the fact that in many cases, humans sequentially insert media when storing the media, so there is a high possibility that the media are arranged in the same position as before. In addition, even if the order has changed, since the rearrangement is postponed, the processing time for restoring the current media group can be greatly shortened.

また、上記説明では第二実施形態を基に説明したが、第三実施例でも同一である。また、第一実施例では、ユーザが現メディアグループを分かっている場合にはそのメディアを最初に収納すれば、同様の効果が得られる。もし、分からない場合でも、現メディアグループのメディアが収納された時点で縮退運転から正常運転に復帰すれば、第二、第三実施形態よりは効果は低減するが、第一実施形態を単独で実施する場合に比べ、メディアの交換作業中の縮退運転時間の平均時間を2分の1に低減できるという効果がある。   In the above description, the second embodiment has been described, but the same applies to the third embodiment. In the first embodiment, if the user knows the current media group, the same effect can be obtained by storing the media first. Even if you do not know, if you return to normal operation from the degenerate operation when the media of the current media group is stored, the effect will be less than the second and third embodiments, but the first embodiment alone Compared with the case where it implements, there exists an effect that the average time of the degeneration operation time during the replacement | exchange operation | work of a medium can be reduced to a half.

また、上記説明では、並び替えを後で実施する方法を示したが、以前と同じ位置にメディアが並んでいる可能性が高い場合には並び替えを実施しない方法も考えられる。この場合、マウントするメディアグループの交換が発生するたびに正しい位置に該当メディアが収納されているかどうか確認する。もし、間違っていた場合には最悪全てのメディアを検索しなくてはならないというデメリットもあるが、正しい可能性が高いならば、メディアの仮収納が終わった段階で縮退運転から正常運転にすぐに復帰できるという効果がある。   Further, in the above description, a method of rearranging is shown. However, when there is a high possibility that media are arranged in the same position as before, a method of not rearranging may be considered. In this case, each time the media group to be mounted is exchanged, it is confirmed whether or not the corresponding medium is stored in the correct position. If it is wrong, there is a demerit that you have to search all the worst media, but if there is a high possibility that it is correct, immediately after the temporary storage of the media is over, it will immediately go from degenerate operation to normal operation It has the effect of being able to return.

■第五実施形態
上記の実施形態では、実施形態の説明の最初に述べたとおり、上記従来の技術のRAIL装置を想定し説明した。しかし、本発明は、このようなRAIL装置に適用できるばかりでなく、記録再生手段と、搬送手段と、収納手段と、投入手段の各々が任意の冗長度を有するような一般的な冗長ライブラリ装置においても適用できるものである。
(5) Fifth Embodiment In the above-described embodiment, as described at the beginning of the description of the embodiment, the above-described conventional RAIL apparatus has been described. However, the present invention is not only applicable to such a RAIL apparatus, but also a general redundant library apparatus in which each of the recording / reproducing means, transport means, storage means, and input means has an arbitrary redundancy. It can also be applied.

たとえば、このような冗長ライブラリ装置として図12に記載する装置がある。この例では、冗長ライブラリ装置は、1台のコントローラ6と、6台の記録再生手段4000〜4005と、3台の搬送手段410〜412と、5台の収納手段420〜424と、2台の投入手段430〜431を備えている。   For example, there is an apparatus shown in FIG. 12 as such a redundant library apparatus. In this example, the redundant library apparatus includes one controller 6, six recording / reproducing units 4000 to 4005, three transport units 410 to 412, five storage units 420 to 424, and two units. Input means 430 to 431 are provided.

例えばRAILグループを記録再生装置6台のうちの5台で構成し、他の1台はスペアの記録再生装置であるとする。また、任意の収納手段から全ての3台の搬送手段が任意の記録再生手段へ、そして、任意の投入手段から任意の収納手段へメディアを搬送できる。また、記録再生手段と、搬送手段と、収納手段と、投入手段の全ての手段毎に冗長性があるので、全ての手段毎に1台に障害が発生しても他を利用したり、縮退運転をしたりすることでオンラインサービスを継続できる。   For example, it is assumed that the RAIL group is composed of five of the six recording / reproducing apparatuses, and the other one is a spare recording / reproducing apparatus. Also, all three transport means can be transported from any storage means to any recording / reproducing means, and from any input means to any storage means. In addition, since all the recording / reproducing means, transport means, storage means, and input means have redundancy, even if a failure occurs in one of all means, the other can be used or degraded. The online service can be continued by driving.

このような、冗長ライブラリ装置でも、上記第一〜第四実施例が同様に適用可能であり、任意の収納手段の障害が発生した際に、新規収納手段の交換と同時に正しい収納位置へのメディアの交換を実現することができる。ただし、この実施例のようにRAILグループを構成する記録再生手段より台数が多い場合は、縮退運転に移行する必要はない。   In such a redundant library apparatus, the first to fourth embodiments can be similarly applied. When a failure of an arbitrary storage means occurs, the medium to the correct storage position is replaced simultaneously with the replacement of the new storage means. Can be exchanged. However, when there are more units than the recording / reproducing means constituting the RAIL group as in this embodiment, it is not necessary to shift to the degenerate operation.

従来の技術のRAID装置の構成図である。It is a block diagram of the RAID apparatus of a prior art. RAID及びRAILにおけるデータストライピングの構成図である。It is a block diagram of data striping in RAID and RAID. 本発明のRAIL装置の構成図である。It is a block diagram of the RAIL apparatus of this invention. 本発明の実施形態のライブラリ装置の構成図である。It is a block diagram of the library apparatus of embodiment of this invention. 本発明の実施形態のRAILコントローラの構成図である。It is a block diagram of the RAIL controller of embodiment of this invention. 本発明の実施形態の中央制御手段の構成図である。It is a block diagram of the central control means of embodiment of this invention. 本発明の実施形態のメディアの構成とメディアグループ情報の構成図である。FIG. 3 is a configuration diagram of media and media group information according to the embodiment of this invention. 本発明の実施形態のメディアグループの構成図である。It is a block diagram of the media group of embodiment of this invention. 本発明の第一の実施形態のフローチャートである。It is a flowchart of 1st embodiment of this invention. 本発明の第二の実施形態のフローチャートである。It is a flowchart of 2nd embodiment of this invention. 本発明の第二の実施形態のメディア収納管理テーブルの構成図である。It is a block diagram of the media storage management table of 2nd embodiment of this invention. 本発明の第五の実施形態の冗長ライブラリ装置の構成図である。It is a block diagram of the redundant library apparatus of 5th embodiment of this invention.

符号の説明Explanation of symbols

1:ホスト計算機、2:RAID装置、3:RAID制御手段、4:ライブラリ装置、5:RAIL装置、6:RAILコントローラ、40:記録再生手段、41:搬送制御手段、42:収納手段、43:投入手段、44:搬送制御手段、45:メディア、60:中央制御手段、61:ホスト接続手段、62:データ記憶手段、63:冗長デ−タ演算手段、64:記憶装置接続手段、65:搬送装置接続手段、606:障害通知部、607:ライブラリ障害検出部、608:搬送制御部、609:メディア検査部、610:構成情報保持部、4500:メディアグループ情報格納部、4501:メディアグループ情報識別子、4502:メディアグループ識別番号、4503:ライブラリ装置番号、4504:ライブラリ収納位置番号
1: host computer, 2: RAID device, 3: RAID control means, 4: library device, 5: RAID device, 6: RAID controller, 40: recording / reproducing means, 41: transport control means, 42: storage means, 43: Input means 44: Transport control means 45: Media 60: Central control means 61: Host connection means 62: Data storage means 63: Redundant data calculation means 64: Storage device connection means 65: Transport Device connection means, 606: failure notification unit, 607: library failure detection unit, 608: transport control unit, 609: media inspection unit, 610: configuration information holding unit, 4500: media group information storage unit, 4501: media group information identifier , 4502: Media group identification number, 4503: Library device number, 4504: Library storage position number

Claims (15)

可搬メディアに対してデータの記録再生処理を行う記録再生手段と、
複数の可搬メディアを収納する収納手段と、
収納手段と記録再生装置の間で可搬メディアの搬送を行う搬送手段とを備えるライブラリ装置。
Recording / reproducing means for performing data recording / reproducing processing on portable media;
Storage means for storing a plurality of portable media;
A library apparatus comprising transport means for transporting portable media between a storage means and a recording / reproducing apparatus.
可搬メディアに対してデータの記録再生処理を行う複数の記録再生手段と、
各々複数の可搬メディアを収納する複数の収納手段と、
収納手段と記録再生装置の間で可搬メディアの搬送を行う一台以上の搬送手段と、
前記複数の記録再生手段を制御する制御手段とを有し、
各々、同じパリティグループに属するデータ若しくはパリティのいずれかを格納する、複数の可搬メディアにより、メディアグループが構成されており、
前記制御手段は、記録再生手段を用いて、可搬メディアに、該可搬メディアが属するメディアグループを識別するためのメディアグループ識別情報と、該メディアグループ識別情報が記録されていることを示すメディアグループ情報識別子とを記録する記憶装置システム。
A plurality of recording / reproducing means for performing data recording / reproducing processing on portable media;
A plurality of storage means each storing a plurality of portable media;
One or more transport means for transporting portable media between the storage means and the recording / reproducing apparatus;
Control means for controlling the plurality of recording / reproducing means,
Each of the media groups is composed of a plurality of portable media that store either data or parity belonging to the same parity group,
The control means uses the recording / playback means to identify media group identification information for identifying a media group to which the portable media belongs, and a medium indicating that the media group identification information is recorded on the portable media A storage system that records a group information identifier.
請求項2記載の記憶装置システムであって、
メディアグループは、データを格納する可搬メディアと、該メディアグループに属する可搬メディアに記録されたデータから生成されるパリティを格納する可搬メディアとから構成される記憶装置システム。
The storage system according to claim 2,
The media group is a storage device system including a portable medium that stores data and a portable medium that stores parity generated from data recorded on the portable medium belonging to the media group.
請求項2又は3記載の記憶装置システムであって、
前記可搬メディアは磁気テープ記憶装置である記憶装置システム。
The storage device system according to claim 2 or 3,
A storage device system in which the portable medium is a magnetic tape storage device.
請求項2記載の記憶装置システムであって、
前記制御手段は、記録再生手段を用いて、可搬メディアに、該可搬メディアが収納される収納手段を示す収納手段識別番号と、該収納手段内の該可搬メディアの収納位置を示す収納位置情報とを記録する記憶装置システム。
The storage system according to claim 2,
The control means uses a recording / reproducing means to store in the portable medium a storage means identification number indicating a storage means in which the portable medium is stored, and a storage indicating a storage position of the portable medium in the storage means. A storage system that records position information.
請求項5記載の記憶装置システムであって、
前記制御装置は、可搬メディアが該記憶装置システムに投入されると、前記搬送手段を用いて、該可搬メディアに記録された収納手段識別番号と収納位置情報が示す収納位置に、該可搬メディアを収納する記憶装置システム。
The storage device system according to claim 5,
When the portable medium is inserted into the storage device system, the control device uses the transport means to move the portable medium to the storage position indicated by the storage means identification number and the storage position information recorded on the portable medium. A storage system for storing portable media.
各々、可搬メディアにデータの読み書きを行う記録再生手段と複数の可搬メディアを収納する収納手段とを有する、複数の記憶装置と、
該複数の記憶装置を制御する制御手段とを有し、
各々異なる記憶装置の収納手段に収納される複数の可搬メディアによってメディアグループが構成されており、データと該データを再生するために用いられるパリティとは各々同じメディアグループに属する異なる可搬メディアに記録されており、
第一の記憶装置に障害が生じた場合に、前記制御手段は、該第一の記録装置の可搬メディアに対するデータの読み書き処理を、該可搬メディアと同じメディアグループに属する他の可搬メディアを用いて処理することにより、該制御手段が計算機より受信するデータの入出力コマンドを処理し、
前記第一の記録装置が第二の記録装置に交換されて該第一の記録装置の可搬メディアが投入されると、
前記制御装置は、計算機より受信したデータの入出力コマンドを処理しながら、投入された可搬メディアに記録されている該可搬メディアの収納位置情報を、記録再生手段を用いて読み出し、読み出した収納位置情報に基づいて該可搬メディアを前記第二の記憶装置の収納手段内の所定の収納位置に収納するよう制御する記憶装置システム。
A plurality of storage devices each having recording / reproducing means for reading and writing data to / from portable media and storage means for storing a plurality of portable media;
Control means for controlling the plurality of storage devices,
A media group is composed of a plurality of portable media stored in storage units of different storage devices, and data and parity used for reproducing the data are different for different portable media belonging to the same media group. Recorded,
When a failure occurs in the first storage device, the control means performs a data read / write process with respect to the portable media of the first recording device to another portable media belonging to the same media group as the portable media. To process data input / output commands received from the computer by the control means,
When the first recording device is replaced with a second recording device and portable media of the first recording device is inserted,
The control device reads and reads out the storage position information of the portable medium recorded in the input portable medium using the recording / reproducing means while processing the input / output command of the data received from the computer A storage system that controls to store the portable medium in a predetermined storage position in the storage unit of the second storage device based on storage position information.
請求項7記載の記憶装置システムであって、
前記第一の記録装置の可搬メディアは一ずつ投入され、
前記制御手段は、一の可搬メディアを該可搬メディアに記録された収納位置情報に基づいて収納手段内に収納した後に、次の可搬メディアの投入を受け付け、
前記第一の記録装置の複数の可搬メディアを前記第二の記憶装置に投入し終えた後に、前記制御手段は、データの入出力コマンドの対象となっているメディアグループに属する前記第二の記憶装置に収納された可搬メディアを、該第二の記憶装置の記録再生手段に装填し、該可搬メディアと該メディアグループに属する他の可搬メディアとを用いて、計算機から受信する入出力コマンドを処理する記憶装置システム。
The storage device system according to claim 7,
The portable media of the first recording device are loaded one by one,
The control means accepts input of the next portable medium after storing the one portable medium in the storage means based on the storage position information recorded on the portable medium,
After the plurality of portable media of the first recording device have been put into the second storage device, the control means is configured to control the second media belonging to the media group that is the target of the data input / output command. The portable media stored in the storage device is loaded into the recording / playback means of the second storage device, and the portable media and other portable media belonging to the media group are used to receive from the computer. A storage system that processes output commands.
請求項7記載の記憶装置システムであって、
前記制御装置は、投入された前記第一の記憶装置の複数の可搬メディアを前記第二の記憶装置の収納手段に仮収納し、仮収納された可搬メディアから記録再生手段を用いて該可搬メディアの収納位置情報を読み出し、該収納位置情報に基づき該可搬メディアを正規の収納位置に収納し直し、
投入された前記第一の記憶装置の複数の可搬メディアを、正規の収納位置に収納し終えた後に、前記制御手段は、データの入出力コマンドの対象となっているメディアグループに属する前記第二の記憶装置に収納された可搬メディアを、記録再生手段に装填し、該可搬メディアと該メディアグループに属する他の可搬メディアとを用いて入出力コマンドを処理する記憶装置システム。
The storage device system according to claim 7,
The control device temporarily stores a plurality of portable media stored in the first storage device in a storage unit of the second storage device, and uses the recording / reproducing unit from the temporarily stored portable media. Read the storage position information of the portable medium, re-store the portable medium in the regular storage position based on the storage position information,
After the plurality of portable media in the input first storage device have been stored in the normal storage position, the control means includes the first group belonging to the media group that is the target of the data input / output command. A storage device system for loading a portable medium stored in a second storage device into a recording / reproducing means and processing an input / output command using the portable medium and another portable medium belonging to the media group.
請求項7記載の記憶装置システムであって、
前記制御装置は、投入された前記第一の記録装置の複数の可搬メディアを前記第二の記憶装置の収納手段に仮収納し、
入出力コマンドの対象となっているメディアグループの識別情報を、記憶再生手段に装填されている可搬メディアから読み出し、
仮収納された可搬メディアのうち、読み出したメディアグループの識別情報と同じメディアグループの識別情報が記録された可搬メディアを記録再生手段を用いて検索し、
検索にて検出された可搬メディアを記録再生手段に装填して、該可搬メディアと該可搬メディアと同じメディアグループに属する既に記録再生手段に装填されている他の可搬メディアとを用いて、計算機から受信する入出力コマンドを処理する記憶装置システム。
The storage system according to claim 7,
The control device temporarily stores the plurality of portable media of the first recording device that is input in the storage means of the second storage device,
Read the identification information of the media group that is the target of the I / O command from the portable media loaded in the storage / playback means,
Use the recording / reproducing means to search for the portable media in which the identification information of the same media group as the read identification information of the media group is recorded among the temporarily stored portable media,
The portable medium detected by the search is loaded into the recording / reproducing means, and the portable medium and another portable medium that is already loaded in the recording / reproducing means belonging to the same media group as the portable medium are used. A storage system that processes input / output commands received from a computer.
各々、可搬メディアにデータの読み書きを行う記録再生手段と、複数の可搬メディアを収納する収納手段と、該収納手段と該記録再生手段との間で可搬メディアの搬送を行う搬送手段とを有する、複数のライブラリ装置と
該複数のライブラリ装置を制御する制御手段とを有し、
各々異なるライブラリ装置に属する複数の可搬メディアがメディアグループを構成しており、データとデータの復旧に用いられるパリティとは各々、同じメディアグループに属する別の可搬メディアに記録されており、
前記ライブラリ装置の収納手段に収納される可搬メディアには、該可搬メディアが属するメディアグループを識別するためのメディアグループ識別情報と、該メディアグループ識別情報が記録されている旨を示すメディアグループ情報識別子とが記録されることを特徴とする記憶装置システム。
Recording / reproducing means for reading / writing data from / to portable media, storage means for storing a plurality of portable media, and transport means for transporting portable media between the storage means and the recording / reproducing means, A plurality of library devices, and control means for controlling the plurality of library devices,
A plurality of portable media belonging to different library devices constitutes a media group, and data and parity used for data recovery are recorded on different portable media belonging to the same media group,
Media group identification information for identifying a media group to which the portable media belongs and a media group indicating that the media group identification information is recorded in the portable media stored in the storage unit of the library apparatus An information identifier is recorded, and a storage device system.
請求項11記載の記憶装置システムであって、
メディアグループは、データが記録される可搬メディアと、パリティが記録される可搬メディアとから構成されることを特徴とする記憶装置システム。
The storage device system according to claim 11,
The media group is composed of a portable medium in which data is recorded and a portable medium in which parity is recorded.
請求項11記載の記憶装置システムであって、
前記可搬メディアは磁気テープ装置であることを特徴とする記憶装置システム。
The storage device system according to claim 11,
A storage device system wherein the portable medium is a magnetic tape device.
請求項11記載の記憶装置システムであって、
前記ライブラリ装置の収納手段に格納される可搬メディアには、該可搬メディアが格納されるライブラリ装置の識別情報と、該ライブラリ装置の収納手段内の該可搬メディアの格納位置を示す格納位置情報が更に記録されることを特徴とする記憶装置システム。
The storage device system according to claim 11,
The portable medium stored in the storage unit of the library apparatus includes identification information of the library apparatus in which the portable medium is stored, and a storage position indicating the storage position of the portable medium in the storage unit of the library apparatus A storage device system in which information is further recorded.
請求項14記載の記憶装置システムであって、
該記憶装置システムに可搬メディアが投入された際に前記制御手段は、該可搬メディアに記録されたライブラリ装置の識別情報と格納位置情報とに基づいて、該可搬メディアを所定の収納位置に収納するよう制御することを特徴とする記憶装置システム。

15. The storage device system according to claim 14, wherein
When the portable medium is inserted into the storage device system, the control means stores the portable medium in a predetermined storage position based on the identification information and the storage position information of the library device recorded on the portable medium. The storage device system is controlled so as to be stored in the storage device.

JP2004367001A 2004-12-20 2004-12-20 Storage device for storing portable media Expired - Fee Related JP4218636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004367001A JP4218636B2 (en) 2004-12-20 2004-12-20 Storage device for storing portable media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004367001A JP4218636B2 (en) 2004-12-20 2004-12-20 Storage device for storing portable media

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP06051397A Division JP3674227B2 (en) 1997-03-14 1997-03-14 Storage device for storing portable media

Publications (2)

Publication Number Publication Date
JP2005100467A true JP2005100467A (en) 2005-04-14
JP4218636B2 JP4218636B2 (en) 2009-02-04

Family

ID=34464522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004367001A Expired - Fee Related JP4218636B2 (en) 2004-12-20 2004-12-20 Storage device for storing portable media

Country Status (1)

Country Link
JP (1) JP4218636B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009230212A (en) * 2008-03-19 2009-10-08 Fujitsu Ltd Virtual tape device and control method for virtual tape device
JP2013196305A (en) * 2012-03-19 2013-09-30 Fujitsu Ltd Information processing apparatus and maintenance method of information processing apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5954128B2 (en) 2012-11-15 2016-07-20 日本軽金属株式会社 Manufacturing method of battery case aluminum alloy plate with excellent formability and weldability

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009230212A (en) * 2008-03-19 2009-10-08 Fujitsu Ltd Virtual tape device and control method for virtual tape device
JP2013196305A (en) * 2012-03-19 2013-09-30 Fujitsu Ltd Information processing apparatus and maintenance method of information processing apparatus
US9195554B2 (en) 2012-03-19 2015-11-24 Fujitsu Limited Information processing apparatus and maintenance method of an information processing apparatus

Also Published As

Publication number Publication date
JP4218636B2 (en) 2009-02-04

Similar Documents

Publication Publication Date Title
JP3674227B2 (en) Storage device for storing portable media
CN1776675B (en) Method and system for storing and using metadata in multiple storage locations
JP3184171B2 (en) DISK ARRAY DEVICE, ERROR CONTROL METHOD THEREOF, AND RECORDING MEDIUM RECORDING THE CONTROL PROGRAM
US7143308B2 (en) Apparatus, system, and method for differential rebuilding of a reactivated offline RAID member disk
US9104321B2 (en) Redundant array of independent disks (RAID) system backup management
US6195761B1 (en) Method and apparatus for identifying and repairing mismatched data
US6233696B1 (en) Data verification and repair in redundant storage systems
US7689890B2 (en) System and method for handling write commands to prevent corrupted parity information in a storage array
US20050283654A1 (en) Method and apparatus for decreasing failed disk reconstruction time in a raid data storage system
US20090265510A1 (en) Systems and Methods for Distributing Hot Spare Disks In Storage Arrays
US6389511B1 (en) On-line data verification and repair in redundant storage system
WO2024098696A1 (en) Data recovery method, apparatus and device, and readable storage medium
JP2006285527A (en) Storage device and program
JP4218636B2 (en) Storage device for storing portable media
JPH07261945A (en) Disk array device and disk array dividing method
JP2006079219A (en) Disk array controller and disk array control method
US20130212428A1 (en) Information storage medium library array apparatus, information recording method and information recording program
JP2006260376A (en) Storage device and media error restoring method
US20130227217A1 (en) Archive system and processing method
CN107122261B (en) Data reading and writing method and device of storage equipment
JP5640618B2 (en) Management program, management apparatus, and management method
JP3518232B2 (en) Portable media library device
JP3584665B2 (en) Library storage device using portable media
JPH10254634A (en) Storage device and restoration means for storage device
JP5598124B2 (en) DATA RECORDING / REPRODUCING DEVICE, DATA RECORDING METHOD, AND DATA RECORDING PROGRAM

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080331

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081021

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081103

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131121

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees