Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3518232B2 - Portable media library device - Google Patents
[go: Go Back, main page]

JP3518232B2 - Portable media library device - Google Patents

Portable media library device

Info

Publication number
JP3518232B2
JP3518232B2 JP06051497A JP6051497A JP3518232B2 JP 3518232 B2 JP3518232 B2 JP 3518232B2 JP 06051497 A JP06051497 A JP 06051497A JP 6051497 A JP6051497 A JP 6051497A JP 3518232 B2 JP3518232 B2 JP 3518232B2
Authority
JP
Japan
Prior art keywords
medium
storage medium
library
failure
storage
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.)
Expired - Fee Related
Application number
JP06051497A
Other languages
Japanese (ja)
Other versions
JPH10254649A (en
Inventor
山本  政行
直人 松並
高 大枝
山本  彰
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 JP06051497A priority Critical patent/JP3518232B2/en
Publication of JPH10254649A publication Critical patent/JPH10254649A/en
Application granted granted Critical
Publication of JP3518232B2 publication Critical patent/JP3518232B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は可搬記憶媒体を対象
とした可用性の高い記憶装置システムの運用方式に関わ
り、特に、故障した可搬記憶媒体の排出処理に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of operating a highly available storage device system for a portable storage medium, and more particularly to a process for discharging a defective portable storage medium.

【0002】[0002]

【従来の技術】[Prior art]

(1)ディスクアレイについて 本発明が適用される記憶装置システムに最も近い公知例
としては、Pattersonの論文(D.Patterson, et al, “A
Case for Redundant Arrays of InexpensiveDisks(RAI
D)”, ACM SIGMOD Conference Proceeding, Chicago, I
L, June1-3, 1988, pp.109-116)が知られている。本論
文はディスクアレイ上のデータ配置に関する技術を開示
したものである。
(1) Regarding the disk array, as a known example closest to the storage device system to which the present invention is applied, a paper by Patterson (D. Patterson, et al, “A.
Case for Redundant Arrays of Inexpensive Disks (RAI
D) ”, ACM SIGMOD Conference Proceeding, Chicago, I
L, June 1-3, 1988, pp.109-116). This paper discloses a technique for arranging data on a disk array.

【0003】ディスクアレイは、ディスクシステムの高
性能化・高信頼化を実現するための機構である。ディス
クアレイでは、高性能化のために物理的には複数のディ
スク装置を処理装置に対しては1台のディスク装置に見
せかけ、一方、高信頼化のために、データを格納したデ
ィスク装置に障害が発生した場合はデータの回復を行う
ための冗長データを別のディスク装置に格納しておく。
The disk array is a mechanism for realizing high performance and high reliability of the disk system. In a disk array, multiple disk devices are physically made to appear as one disk device to a processing device for high performance, while a disk device storing data fails for high reliability. If the error occurs, redundant data for data recovery is stored in another disk device.

【0004】ここでPattersonの論文で述べられている
冗長データとしてパリティを用いる場合のデータの回復
方法について説明する。データをライトするときは、ビ
ット、バイト、ないしは処理装置からの書き込み単位で
あるブロックの大きさにn分割し(n≧1)、この分割
した複数のデータをそれぞれ別のディスクドライブに書
き込む。そして分割した複数のデータの排他的論理和を
計算することによってパリティを作成し、データとは別
のディスクドライブに書き込む。例えばデータを5分割
する場合、それぞれのデータをD1〜D5、パリティを
Pとすると、「P=D1 xor D2 xor D3 x
or D4 xor D5(xorは排他的論理和演算子
とする)」の関係式が成立する。このD1〜D5とPか
らなる集合をパリティグループといい、D1〜D5の値
が更新されるときは常にPも上式に従った値を保つよう
に更新される。任意の一つのディスクが故障した場合、
そのデータは、残りのディスク上のデータの排他的論理
和を計算することで復元でき、復元したデータを予備デ
ィスクに書き込み、予備ディスクと故障したディスクを
交換することでシステムの復旧が可能となる。
Here, a data recovery method when parity is used as redundant data described in Patterson's paper will be described. When data is written, it is divided into n (n ≧ 1) into bits, bytes, or the size of a block which is a unit of writing from the processing device, and the plurality of divided data are written into different disk drives. Then, the parity is created by calculating the exclusive OR of the divided plurality of data, and the parity is written to a disk drive different from the data. For example, when the data is divided into five, if each data is D1 to D5 and the parity is P, "P = D1 xor D2 xor D3 x
or D4 xor D5 (xor is an exclusive OR operator) ”holds. This set of D1 to D5 and P is called a parity group, and when the values of D1 to D5 are updated, P is also updated so as to maintain the value according to the above formula. If any one disk fails,
The data can be restored by calculating the exclusive OR of the data on the remaining disks, and the restored data can be written to the spare disk and the system can be restored by replacing the failed disk with the spare disk. .

【0005】(2)可搬媒体ライブラリ装置について ところで、計算機システムにおいて、ディスク装置以外
にしばしば用いられる記憶装置として、磁気テ−プ・光
記憶装置等があり、特に最近ではDVD(DigitalVideo Dis
k)が注目されている。これらの記憶装置の特徴は、いず
れも記憶媒体とリード/ライト装置(以下データ転送装置
と呼ぶ)が分離されており、記憶媒体を任意のデータ転
送装置に装填し、記憶媒体上のデ−タを読み書きすると
いう点である。一般にこれら記憶媒体は可搬媒体とも呼
ばれる。大規模計算機システムにおいては、非常に多く
の枚数の可搬媒体の管理を容易に実現するために、ライ
ブラリが導入される。ライブラリには、記憶媒体・デー
タ転送装置に加えて、多数の記憶媒体を格納する格納庫
と、格納庫とデータ転送装置との間で記憶媒体を転送す
るロボット(以下搬送手段と呼ぶ)等が含まれる。このよ
うなライブラリ装置の可用性の向上に対するニーズも非
常に高いので、Pattersonの論文で提案されているよう
な概念を適用することにより、高可用性を実現すること
は有効である。
(2) Portable media library device By the way, in computer systems, there are magnetic tape and optical storage devices as storage devices often used in addition to disk devices.
k) is receiving attention. The characteristics of these storage devices are that a storage medium and a read / write device (hereinafter referred to as a data transfer device) are separated, and the storage medium is loaded into an arbitrary data transfer device and data on the storage medium is loaded. The point is to read and write. Generally, these storage media are also called portable media. In a large-scale computer system, a library is introduced to easily manage a large number of portable media. The library includes, in addition to the storage medium / data transfer device, a storage for storing a large number of storage media, a robot (hereinafter, referred to as a transport means) for transferring the storage medium between the storage and the data transfer device, and the like. . Since there is a very high need for improving the availability of such a library device, it is effective to realize high availability by applying the concept proposed in Patterson's paper.

【0006】このような概念を適用した技術例として、
DVDアプリケーション(Alan E. Bell(IBM Research Divi
sion) : “DVD Applications”, COMDEX 96, Nov. 20,
1996)がある。本文献ではDVD・データ転送装置・搬送手
段等から構成される通常のライブラリを複数組み合わせ
て冗長性をもつRAIL(Redundant Arrays of Inexpensive
Libraries)を提案している。以降では可搬媒体で構成
されたライブラリ装置のことを単純にライブラリ装置と
呼ぶことにする。
As a technical example to which such a concept is applied,
DVD application (Alan E. Bell (IBM Research Divi
sion): “DVD Applications”, COMDEX 96, Nov. 20,
1996). In this paper, RAIL (Redundant Arrays of Inexpensive) that has redundancy by combining multiple ordinary libraries consisting of DVDs, data transfer devices, transporting means, etc.
Libraries) are proposed. Hereinafter, a library device configured by a portable medium will be simply referred to as a library device.

【0007】[0007]

【発明が解決しようとする課題】可搬媒体は一般にその
媒体が故障しているか否か外見上の違いは存在しない。
つまり、ユーザはその媒体が故障しているか否かを見た
目で識別するすることはできない。ライブラリ装置から
媒体が排出される場合に、その媒体が故障しているか否
かを判断できないと、故障媒体を誤ってその媒体を再度
利用する可能性がある(課題1)。例えばその故障媒体を
通常どおりライブラリを構成する媒体の一部として利用
しようとすると、結果的にライブラリ全体を利用できな
い状態になる。またその故障媒体を予備の媒体として再
度利用しようとした場合、その媒体を用いて行われた処
理は、故障媒体と判断されると再度やり直す必要があ
る。
Portable media generally have no apparent difference in whether the media is defective or not.
That is, the user cannot visually identify whether or not the medium is defective. When a medium is ejected from the library device, if it is not possible to determine whether or not the medium has a failure, there is a possibility that the failed medium will be mistakenly used again (problem 1). For example, if the faulty medium is used as a part of the medium constituting the library as usual, the entire library is eventually unusable. Further, when the failed medium is to be reused as a spare medium, the processing performed using the medium needs to be redone when it is determined to be the failed medium.

【0008】また一般に、記憶媒体が故障したと判断さ
れるのは、当該媒体内の全てのブロックが読み出しの際
にエラーが発生するようになった時点ではなく、媒体内
でエラーが発生したブロックの数がある一定の値を越え
た時点である。そのため、故障媒体内には、ライブラリ
装置がエラーなしに読み出し可能なブロックも残されて
いる。ここで、「エラーなしに読み出し可能」とは、ラ
イブラリ装置が当該ブロックをアクセスしたときエラー
が発生することなく、かつ、読み出し時にブロック内部
のエラー訂正情報(以下ECC情報と呼ぶ)によってデ
ータの誤りがないことが確認できたことを指す。このよ
うに、故障媒体内にエラーなしに読み出し可能なブロッ
クを残っていると、たとえ前記課題1の物理的識別が可
能であったとしても、当該媒体をライブラリ装置に投入
してしまうと、データ転送装置がホスト装置からエラー
なしに読み出し可能なブロックに対する要求をうけれ
ば、当該媒体が故障媒体であると判断することはできな
い。つまり、当該媒体は読み出しが不可能なブロックに
対する要求があるまで利用可能な媒体であるとみなされ
て運用される(課題2)。
Further, it is generally judged that the storage medium has failed, not when all the blocks in the medium have errors in reading, but in the block in which the error has occurred in the medium. It is the time when the number of exceeds a certain value. Therefore, a block that can be read by the library device without error remains in the failed medium. Here, “readable without error” means that an error does not occur when the library device accesses the block, and that the error of data is caused by error correction information (hereinafter referred to as ECC information) inside the block at the time of reading. It means that it was confirmed that there is no. In this way, if a block that can be read without error remains in the faulty medium, even if the physical identification of Problem 1 is possible, if the medium is thrown into the library device, the If the transfer device receives a request from the host device for a block that can be read without error, it cannot be determined that the medium is a defective medium. In other words, the medium is regarded as a medium that can be used until there is a request for a block that cannot be read, and is operated (Problem 2).

【0009】以上のような二つの課題のため、故障媒体
をライブラリ装置に投入されるとライブラリ装置の運用
に大きな支障をきたすことがわかった。そこで、本発明
では、上記二つの課題を双方とも解決することでライブ
ラリ装置の円滑な運用を図る。
Due to the above two problems, it has been found that the operation of the library device is seriously hindered when the faulty medium is put into the library device. Therefore, in the present invention, the library device is smoothly operated by solving both of the above two problems.

【0010】[0010]

【課題を解決するための手段】前記課題を解決するため
に、本発明では、ライブラリ装置内で故障媒体に二つの
処理を行ったうえで排出する。
In order to solve the above-mentioned problems, in the present invention, the defective medium is subjected to two processes in the library device and then discharged.

【0011】(1)課題1に対する手段(ユーザの物理
的識別を可能にする) 課題1に対しては、ユーザがその媒体が故障媒体である
と見た目で識別できる(以降では物理的識別と呼ぶ)よう
に、ライブラリ装置が故障媒体を加工する故障媒体物理
識別処理装置を設ける。故障媒体物理識別処理装置は、
故障媒体がライブラリ装置から排出される前に、故障媒
体に対してユーザが当該媒体が故障媒体であると明確に
識別できるような故障識別子を付加する。そして、故障
識別子が付加された故障媒体をライブラリ装置から排出
するようにする。
(1) Means for Problem 1 (Enables Physical Identification of User) For Problem 1, the user can visually identify the medium as a defective medium (hereinafter referred to as physical identification). ), The library device is provided with a failed medium physical identification processing device for processing the failed medium. The failure medium physical identification processing device is
Before the faulty medium is ejected from the library device, a fault identifier is added to the faulty medium so that the user can clearly identify the medium as the faulty medium. Then, the failure medium to which the failure identifier is added is ejected from the library device.

【0012】(2)課題2に対する手段(ライブラリ装
置の論理的識別を可能にする) 課題2に対しては、たとえその故障媒体がデータ転送装
置に装填されても、ライブラリ装置が当該故障媒体にア
クセスするとただちに故障媒体であると識別できる(以
降では論理的識別と呼ぶ)ように、ライブラリ装置が故
障媒体のデータを加工する故障媒体論理識別処理手段を
設ける。故障媒体論理識別処理手段では、媒体の認識を
行う際のアクセスに対して、当該媒体が故障媒体である
ことを識別できるようにする。
(2) Means for Problem 2 (Enables Logical Identification of Library Device) With respect to problem 2, even if the faulty medium is loaded in the data transfer device, the library device becomes the faulty medium. A failure medium logical identification processing means for processing the data of the failed medium by the library device is provided so that the defective medium can be immediately identified upon access (hereinafter referred to as logical identification). The failed medium logical identification processing means makes it possible to identify that the medium is a failed medium with respect to an access when recognizing the medium.

【0013】[0013]

【発明の実施の形態】以下、前記解決手段に基づいた本
発明の実施形態を図1・図2を用いて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention based on the solving means will be described below with reference to FIGS.

【0014】(1) 実施形態のライブラリ装置の構成 図1において、100はホスト装置、200はライブラ
リ制御部、300はライブラリ群、400は記憶媒体搬
送部である。ライブラリ制御部200は、アレイ制御部
200の制御を行うメイン制御部201と、記憶媒体8
00の故障を検出する記憶媒体障害検出手段202と、
故障媒体900を論理的に識別可能とする処理を行う故
障媒体論理識別処理手段203と、ホスト入出力手段2
04と、記憶媒体搬送部の制御を行う記憶媒体搬送制御
手段210と、データ転送装置入出力手段221〜22
5で構成し、それぞれをライブラリ制御部内部バス20
5で接続する。ホスト入出力手段204は、ホストイン
タフェース500を介してホスト装置100と接続す
る。
(1) Configuration of Library Device of Embodiment In FIG. 1, 100 is a host device, 200 is a library control unit, 300 is a library group, and 400 is a storage medium carrying unit. The library control unit 200 includes a main control unit 201 that controls the array control unit 200 and a storage medium 8.
Storage medium failure detection means 202 for detecting a failure of 00,
Fault medium logical identification processing means 203 for logically identifying the fault medium 900 and host input / output means 2
04, a storage medium transport control unit 210 for controlling the storage medium transport unit, and data transfer device input / output units 221 to 22.
5, the library control unit internal bus 20
Connect at 5. The host input / output unit 204 is connected to the host device 100 via the host interface 500.

【0015】ライブラリ群300は、本実施形態におい
ては五つのライブラリグループ301〜305により構
成されているものとする。さらに、ライブラリを構成す
る記憶媒体800はライブラリグループ1〜4に格納さ
れ、冗長データをパリティとするディスクアレイの概念
を用いてデータが分割されているものとする。ライブラ
リグループ5は、予備の媒体を保持し、故障した媒体の
データの回復処理に用いられる。ライブラリグループ1
〜5の内部の構成について、ライブラリグループ1を例
に用いて説明する。ライブラリグループ1は、記憶媒体
800のデータのリード/ライトを行いデータを転送す
るデータ転送装置311と、記憶媒体800を格納する
記憶媒体格納手段321を有する。ライブラリグループ
1はデータ転送装置インタフェース701を介してライ
ブラリ制御部200のデータ転送装置入出力手段221
と接続する。
It is assumed that the library group 300 is composed of five library groups 301 to 305 in this embodiment. Further, it is assumed that the storage medium 800 that constitutes the library is stored in the library groups 1 to 4 and the data is divided using the concept of the disk array in which the redundant data is the parity. The library group 5 holds a spare medium and is used for a recovery process of data of a failed medium. Library group 1
The internal configuration of each of to 5 will be described using the library group 1 as an example. The library group 1 includes a data transfer device 311 that reads / writes data in the storage medium 800 and transfers the data, and a storage medium storage unit 321 that stores the storage medium 800. Library group
Reference numeral 1 denotes a data transfer device input / output unit 221 of the library control unit 200 via the data transfer device interface 701.
Connect with.

【0016】記憶媒体搬送部400は、記憶媒体800
の外部からの投入/外部への排出を行う記憶媒体投入/排
出手段420と、記憶媒体投入/排出手段420とライ
ブラリ装置群300の間での記憶媒体の搬送を行う記憶
媒体搬送手段410から構成される。さらに、記憶媒体
投入/排出手段420は、記憶媒体搬送手段410から
受け取った故障媒体900に対してユーザが識別可能な
故障識別子901を付加する故障媒体物理識別処理装置
421と、外部からの記憶媒体800の投入/外部への
記憶媒体800の排出/外部への故障識別子901付き
故障媒体900を排出を行う記憶媒体投入/排出装置4
22を有する。以上の構成に基づく記憶媒体搬送部40
0は、記憶媒体搬送制御インタフェース600を介し
て、ライブラリ制御部200の記憶媒体搬送制御手段2
10と接続する。
The storage medium transport unit 400 includes a storage medium 800.
Storage medium loading / discharging means 420 for loading / unloading the storage medium from outside and storage medium transporting means 410 for transporting the storage medium between the storage medium loading / unloading means 420 and the library apparatus group 300. To be done. Further, the storage medium loading / ejecting means 420 adds a failure identifier 901 that can be identified by the user to the failure medium 900 received from the storage medium transporting means 410, and a storage medium from the outside. Storage medium loading / unloading device 4 for loading 800 / ejecting storage medium 800 to the outside / ejecting failure medium 900 with failure identifier 901 to the outside
22. Storage medium transport unit 40 based on the above configuration
0 is the storage medium transport control means 2 of the library control unit 200 via the storage medium transport control interface 600.
Connect with 10.

【0017】以上が本発明の実施形態のライブラリ装置
構成である。
The above is the configuration of the library apparatus according to the embodiment of the present invention.

【0018】(2) 故障媒体回復処理 次に、本発明の実施形態における、解決手段を含めた故
障媒体の回復処理の動作を図1と図2を用いて説明す
る。ここで、回復処理の説明上、故障が発生した記憶媒
体はライブラリグループ1のデータ転送装置311にあ
るものとする。
(2) Failure Medium Recovery Process Next, the operation of the failure medium recovery process including the solving means in the embodiment of the present invention will be described with reference to FIGS. 1 and 2. Here, for the purpose of explaining the recovery processing, it is assumed that the storage medium in which the failure has occurred is in the data transfer device 311 of the library group 1.

【0019】(2−1) 故障媒体回復処理の流れ 図2において、従来例と同様の方法で記憶媒体障害検出
手段202によりデータ転送装置311の記憶媒体80
0が故障媒体900であると判断されると回復処理を開
始する(11)。まず、故障媒体900の先頭ブロックをア
クセスする(12)。従来例と同様に当該ブロックがエラー
なしに読み出し可能であるかを調べる(13)。読み出し可
能であれば、メイン制御部201は、故障媒体のブロッ
クデータを読み出し(16)、そのデータをライブラリグル
ープ5に装填されている予備媒体の同一ブロックへ書き
込む(17)。読み出し不可能であれば、メイン制御部20
1は、ライブラリグループ2〜4に装填されている他の
全ての記憶媒体の同一ブロックのデータを読み出し(1
4)、排他的論理和の演算を行うことで故障媒体のブロッ
クデータを作成し(15)、そのデータをライブラリグルー
プ5に装填されている予備媒体の同一ブロックへ書き込
む(17)。
(2-1) Flow of Failure Medium Recovery Processing In FIG. 2, the storage medium failure detection means 202 operates the storage medium 80 of the data transfer device 311 in the same manner as in the conventional example.
When it is determined that 0 is the failure medium 900, the recovery process is started (11). First, the head block of the failed medium 900 is accessed (12). As in the conventional example, it is checked whether the block can be read without error (13). If the data can be read, the main control unit 201 reads the block data of the defective medium (16) and writes the data in the same block of the spare medium loaded in the library group 5 (17). If the data cannot be read, the main controller 20
1 reads the data of the same block of all other storage media loaded in the library groups 2 to 4 (1
4) Then, block data of the defective medium is created by performing an exclusive OR operation (15), and the data is written to the same block of the spare medium loaded in the library group 5 (17).

【0020】処理(17)が終わった後、メイン制御部20
1は、故障媒体論理識別処理手段203を用いて、故障
媒体900で判断(13)が行われたブロックのデータを論
理的識別可能にする(18)。この「故障媒体論理識別可能
処理」は、そのブロックが正常に読み書きができない状
態にする処理を指す。具体例は後述する。
After the processing (17) is completed, the main controller 20
1 uses the failed medium logical identification processing means 203 to enable logical identification of the data of the block judged (13) in the failed medium 900 (18). This "fault medium logically identifiable process" refers to a process that puts the block into a state in which reading and writing cannot be performed normally. A specific example will be described later.

【0021】処理(18)が終わった後、メイン制御部20
1はそのブロックが故障媒体900の最終ブロックであ
ったかどうか調べる(19)。もし後続のブロックが存在す
れば、故障媒体900の次のブロックをアクセスし(2
0)、判断(13)に戻り処理を繰り返す。もし最終ブロ
ックであれば、メイン制御部201は故障媒体をライブ
ラリ装置から閉塞させる(21)。
After the processing (18) is completed, the main controller 20
1 checks whether the block was the last block of the failed medium 900 (19). If the following block exists, the next block of the failed medium 900 is accessed (2
0), return to the determination (13) and repeat the processing. If it is the final block, the main control unit 201 blocks the failed medium from the library device (21).

【0022】処理(21)が終わった後、メイン制御部20
1はライブラリグループ1のデータ転送装置311にあ
る故障媒体900を記憶媒体搬送手段410を用いて故
障媒体物理識別処理装置421に搬送し、故障媒体を物
理的識別可能にする(22)。この「故障媒体物理識別可能
処理」は、故障媒体900に対して故障媒体識別子90
1を付加することでユーザが見た目で故障媒体であるこ
とを知ることができるようにする処理を指す。具体例は
後述する。
After the processing (21) is completed, the main controller 20
1 carries the failed medium 900 in the data transfer device 311 of the library group 1 to the failed medium physical identification processing device 421 using the storage medium carrying means 410 so that the failed medium can be physically identified (22). This “faulty medium physical identifiable process” is performed by the faulty medium identifier 90 for the faulty medium 900.
It means a process that allows the user to visually recognize that the medium is a faulty medium by adding 1. A specific example will be described later.

【0023】処理(22)が終わった後、メイン制御部20
1は故障識別子901付き故障媒体900を故障媒体物
理識別処理装置421から記憶媒体投入/排出装置42
2へ搬送し、記憶媒体投入/排出装置422から故障識
別子901付き故障媒体900を排出し(23)、回復処理
を終了する(24)。
After the processing (22) is completed, the main controller 20
The reference numeral 1 designates the fault medium 900 with the fault identifier 901 from the fault medium physical identification processing device 421 to the storage medium loading / unloading device 42.
The defective medium 900 with the failure identifier 901 is discharged from the storage medium loading / unloading device 422 (23), and the recovery process ends (24).

【0024】(2−2) 故障媒体論理識別処理の具体
例 故障媒体論理識別処理(18)の具体例を以下に示す。
(2-2) Specific Example of Fault Medium Logical Identification Process A specific example of the fault medium logical identification process (18) is shown below.

【0025】第一の方法は、故障媒体の全てのブロック
に対して誤ったECC情報を持つデータを書き込む方法
である。
The first method is a method of writing data having incorrect ECC information to all blocks of the defective medium.

【0026】一般に記憶媒体内部において、ECC情報
は、データのビット列に対して、ある生成多項式Qの除
算結果が0となるように一定長の冗長ビット列を加えた
ものを一つの単位(以下ECC単位と呼ぶ)として構成
される。データが読み出される際は、ECC単位で生成
多項式との除算結果が0となることを確認し、0になら
ない場合は誤りとみなされる。
In general, in the storage medium, the ECC information is a unit of a bit string of data to which a redundant bit string of a certain length is added so that the division result of a certain generator polynomial Q becomes 0 (hereinafter referred to as ECC unit). Called)). When the data is read, it is confirmed that the division result with the generator polynomial is 0 in ECC units, and if it is not 0, it is regarded as an error.

【0027】そこで、第一の方法では、まず故障媒体論
理識別処理手段203にデータビット列を全て0、冗長
ビット列を生成多項式の結果が0にならないビット列と
してECC単位を構成したブロックを保持しておく。処
理(18)では、メイン制御部201から故障媒体論理識別
処理手段203の保持するデータを書き込む。処理(18)
が最後のブロックまで繰り返されることで、故障媒体9
00のデータは全て読み込みでエラーが生じるので、当
該媒体を再度ライブラリ装置が認識することはできず、
ただちに故障媒体であると判断できる。
Therefore, in the first method, first, the failure medium logical identification processing unit 203 holds a block which constitutes an ECC unit, in which the data bit string is all 0s and the redundant bit string is a bit string in which the result of the generating polynomial is not 0. . In the process (18), the data stored in the failed medium logical identification processing unit 203 is written from the main control unit 201. Processing (18)
Is repeated up to the last block, the failure medium 9
Since an error occurs when reading all 00 data, the library device cannot recognize the medium again,
It can be immediately determined that the medium is a failure medium.

【0028】第二の方法として、第一の方法を簡略化し
たもので、ライブラリ装置において記憶媒体を認識する
際に最初にアクセスされる記憶媒体の管理情報を保持す
るブロックのみ誤ったECC情報を持ったデータに書き
換える方法もある。この場合、全てのブロックを壊すよ
りも論理識別処理を早く終了させることができる。
As a second method, a simplified version of the first method is used. When the storage medium is recognized in the library apparatus, only the block holding the management information of the storage medium to be accessed first is provided with incorrect ECC information. There is also a method to rewrite the data you have. In this case, the logic identification process can be completed earlier than destroying all the blocks.

【0029】(2−3) 故障媒体物理識別処理の具体
例 故障媒体物理識別処理(22)の具体例を以下に示す。
(2-3) Concrete Example of Faulty Medium Physical Identification Processing A concrete example of the faulty medium physical identification processing (22) is shown below.

【0030】第一の方法は、故障媒体物理識別処理装置
421において、当該媒体の情報と当該媒体が故障媒体
であることが明記されたシールを作成し、処理(22)とし
て、これを故障識別子901として故障媒体900に貼
る方法である。この方法は任意の可搬媒体に適用可能で
ある。
In the first method, the faulty medium physical identification processing device 421 creates a seal in which information on the medium and the medium is clearly a faulty medium, and as a process (22), this is used as a fault identifier. 901 is a method of pasting on the faulty medium 900. This method is applicable to any portable medium.

【0031】第二の方法は、故障媒体物理識別装置42
1において、上記と同じ内容を故障媒体900に直接印
刷することで故障識別子901を付加する処理(22)を実
現する方法である。この方法は、例えばDVDのように
直接印刷可能な可搬媒体に適用できる。
The second method is the failure medium physical identification device 42.
1 is a method for realizing the processing (22) of adding the failure identifier 901 by directly printing the same content as described above on the failure medium 900. This method can be applied to a directly printable portable medium such as a DVD.

【0032】第三の方法は、故障媒体物理識別装置42
1において、故障媒体900を割ったり曲げたりするこ
とで記憶媒体として利用不可能とする方法である。この
方法は、媒体を割る/曲げる等を行うことで記憶媒体と
して利用できなくなるような可搬媒体に適用できる。
The third method is the failure medium physical identification device 42.
1 is a method of making the failure medium 900 unusable as a storage medium by breaking or bending it. This method can be applied to a portable medium that cannot be used as a storage medium by breaking / bending the medium.

【0033】以上の構成・動作により、本発明によれ
ば、故障媒体回復処理時に故障媒体を論理的・物理的に
識別可能とした上で故障媒体を排出するので、ユーザが
故障媒体を誤って利用することを未然に防ぐことができ
る。またたとえ誤って利用されても、ライブラリ装置が
直ちに故障媒体と判断可能である。したがって、ライブ
ラリ装置の円滑な運用が可能となる。
With the above configuration and operation, according to the present invention, the failed medium is ejected after the failed medium can be identified logically and physically during the failed medium recovery process. You can prevent it from being used. Even if it is used by mistake, the library device can be immediately determined to be a failed medium. Therefore, the smooth operation of the library device becomes possible.

【0034】また、上記実施形態ではディスクアレイの
パリティによる冗長データの作成を行ったデータ配置の
概念を適用したライブラリ装置について述べたが、本発
明は、適切な冗長データ作成手段と回復処理を行えば、
上記実施形態に拘束されるものではない。
Further, in the above embodiment, the library device to which the concept of the data arrangement in which the redundant data is created by the parity of the disk array is applied is described, but the present invention performs the appropriate redundant data creating means and the recovery process. For example,
It is not restricted to the above embodiment.

【0035】[0035]

【発明の効果】本発明の物理的識別可能な処理によっ
て、ユーザはその媒体が故障していることを見た目で識
別できる。その結果ユーザが故障媒体を再度利用するこ
とを防ぐ効果がある。また論理的識別可能な処理によっ
て、たとえ故障媒体が誤って投入されてもライブラリ装
置はただちに故障媒体であることを識別できる。その結
果、誤って投入された後、その故障媒体を用いてライブ
ラリ装置が運用されたために生じる多重障害の可能性を
未然に防ぐことができる。
The physically identifiable process of the present invention allows the user to visually identify that the medium is defective. As a result, there is an effect of preventing the user from using the failed medium again. Further, by the logically identifiable processing, even if the failed medium is mistakenly input, the library device can immediately identify the failed medium. As a result, it is possible to prevent the possibility of multiple failures caused by the operation of the library apparatus using the faulty medium after the faulty medium is thrown in.

【図面の簡単な説明】[Brief description of drawings]

【図1】実施形態におけるライブラリ装置構成図であ
る。
FIG. 1 is a configuration diagram of a library device according to an embodiment.

【図2】実施形態における故障媒体論理識別手段の構成
図である。
FIG. 2 is a configuration diagram of a fault medium logical identification means in the embodiment.

【符号の説明】[Explanation of symbols]

100:ホスト装置、200:ライブラリ制御部、20
1:メイン制御部、202:記憶媒体障害検出手段、2
03:故障媒体論理識別処理手段、204:ホスト入出
力手段、205:ライブラリ制御部内部バス、210:
記憶媒体搬送制御手段、221〜225データ転送装置
入出力手段、300:ライブラリ群、301:ライブラ
リグループ1、302:ライブラリグループ2、30
3:ライブラリグループ3、304:ライブラリグルー
プ4、305:ライブラリグループ5、311:データ
転送装置、321:記憶媒体格納手段、400:記憶媒
体搬送部、410:記憶媒体搬送手段、420:記憶媒
体投入/排出手段、421:故障媒体物理識別処理装
置、422:記憶媒体投入/排出装置、500:ホスト
インタフェース、600:記憶媒体搬送制御インタフェ
ース、701:データ転送装置インタフェース、80
0:記憶媒体、900:故障媒体、901:故障媒体識
別子
100: host device, 200: library control unit, 20
1: main control unit, 202: storage medium failure detection means, 2
03: failure medium logical identification processing means, 204: host input / output means, 205: library control unit internal bus, 210:
Storage medium conveyance control means, 221-225 data transfer device input / output means, 300: library group, 301: library group 1, 302: library group 2, 30
3: Library group 3, 304: Library group 4, 305: Library group 5, 311: Data transfer device, 321: Storage medium storage means, 400: Storage medium transport unit, 410: Storage medium transport means, 420: Storage medium input / Ejecting means, 421: physical processor for physical identification of failed medium, 422: storage medium inserting / ejecting device, 500: host interface, 600: storage medium transport control interface, 701: data transfer device interface, 80
0: storage medium, 900: failed medium, 901: failed medium identifier

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大枝 高 神奈川県川崎市麻生区王禅寺1099番地 株式会社日立製作所 システム開発研究 所内 (72)発明者 山本 彰 神奈川県川崎市麻生区王禅寺1099番地 株式会社日立製作所 システム開発研究 所内 (56)参考文献 特開 平7−201162(JP,A) 特開 平7−244563(JP,A) 特開 平7−319634(JP,A) 特開 昭62−235551(JP,A) 特開 平5−24316(JP,A) 特開 昭63−306635(JP,A) 特開 平1−183832(JP,A) 特開 昭55−157043(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/06 - 3/08 G11B 20/10 - 20/18 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Takashi Oeda, Takashi Oeda 1099, Ozenji, Aso-ku, Kawasaki-shi, Kanagawa Hitachi, Ltd. System Development Laboratory (72) Akira Yamamoto, 1099, Ozenji, Aso-ku, Kawasaki-shi, Kanagawa Hitachi, Ltd. (56) Reference JP-A-7-201162 (JP, A) JP-A-7-244563 (JP, A) JP-A-7-319634 (JP, A) JP-A-62-235551 ( JP, A) JP 5-24316 (JP, A) JP 63-306635 (JP, A) JP 1-183832 (JP, A) JP 55-157043 (JP, A) (58 ) Fields surveyed (Int.Cl. 7 , DB name) G06F 3/06-3/08 G11B 20/10-20/18

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の記憶媒体から構成される複数のライ
ブラリグループへのアクセス制御を行うライブラリ制御
部と前記複数の記憶媒体の搬送を行う記憶媒体搬送部を
有し、 前記ライブラリ制御部は、 前記複数のライブラリグループに対するデータの読み出
し/書き込み制御及び前記複数の記憶媒体の搬送制御を
行うメイン制御部並びに前記複数の記憶媒体の故障を検
出する記憶媒体障害検出手段を有し、 前記記憶媒体障害検出手段によって故障と判断された記
憶媒体に対して、前記メイン制御部が、前記故障と判断
された記憶媒体が有する記憶領域の所定の場所にデータ
誤りを生じさせるデータを書き込み、前記記憶媒体搬送
部を制御して前記データ誤りを生じさせるデータが書き
込まれた前記故障と判断された記憶媒体を排出すること
を特徴とする可搬媒体ライブラリ装置。
1. A library control unit for controlling access to a plurality of library groups composed of a plurality of storage media, and a storage medium transport unit for transporting the plurality of storage media, wherein the library control unit comprises: A storage medium failure detection means for detecting a failure of the plurality of storage media, and a main control unit for controlling data read / write control for the plurality of library groups and conveyance control of the plurality of storage media; For the storage medium determined to be defective by the detection means, the main control unit writes data that causes a data error in a predetermined location of a storage area of the storage medium determined to be defective, and the storage medium is conveyed. Control unit to eject the storage medium judged to be defective, in which the data causing the data error is written. Characteristic portable media library device.
【請求項2】 前記所定の場所とは、前記故障と判断され
た記憶媒体が有するブロック全てであることを特徴とす
る請求項1記載の可搬媒体ライブラリ装置。
2. The portable medium library device according to claim 1, wherein the predetermined location is all blocks included in the storage medium determined to be in failure.
【請求項3】 前記所定の場所とは、前記故障と判断され
た記憶媒体において該記憶媒体を管理するための情報が
格納されるブロックであることを特徴とする請求項1記
載の可搬媒体ライブラリ装置。
3. The portable medium according to claim 1, wherein the predetermined location is a block in which information for managing the storage medium is stored in the storage medium determined to be the failure. Library device.
【請求項4】 前記記憶媒体搬送部は更に故障識別子を前
記故障と判断された記憶媒体に付加する故障媒体物理識
別処理部を有し、 前記記憶媒体搬送部は、前記故障と判断された記憶媒体
を外部に排出する際に、前記故障媒体識別処理部を持ち
いて前記故障と判断された記憶媒体に前記故障識別子を
付加することを特徴とする請求項1、2又は3記載の可
搬媒体ライブラリ装置。
4. have a failure medium physical identification processor for adding said storage medium conveying unit further fault identifier is the storage medium determining that the failure, the storage medium conveying unit, the malfunction determination has been stored The portable medium according to claim 1, 2 or 3, wherein when the medium is discharged to the outside, the fault identifier is added to the storage medium that has the fault medium identification processing unit and is determined to have the fault. Library device.
【請求項5】 前記故障識別子は、前記故障と判断された
記憶媒体が故障であることを示す情報が記載されたシー
ルであることを特徴とする請求項4記載の可搬媒体ライ
ブラリ装置。
Wherein said fault identifier is a portable medium library apparatus according to claim 4, wherein the malfunction determination is a storage medium is a seal information is described to indicate that it is faulty.
【請求項6】 前記故障識別子は、前記故障と判断された
記憶媒体が故障であることを示す、該故障と判断された
記憶媒体に印字された文字であることを特徴とする請求
項4記載の可搬媒体ライブラリ装置。
Wherein said fault identifier is the failure judged to be a storage medium indicating that a fault, according to claim 4, wherein it is a character printed on the storage medium determining that the fault Portable media library device.
JP06051497A 1997-03-14 1997-03-14 Portable media library device Expired - Fee Related JP3518232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06051497A JP3518232B2 (en) 1997-03-14 1997-03-14 Portable media library device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06051497A JP3518232B2 (en) 1997-03-14 1997-03-14 Portable media library device

Publications (2)

Publication Number Publication Date
JPH10254649A JPH10254649A (en) 1998-09-25
JP3518232B2 true JP3518232B2 (en) 2004-04-12

Family

ID=13144509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06051497A Expired - Fee Related JP3518232B2 (en) 1997-03-14 1997-03-14 Portable media library device

Country Status (1)

Country Link
JP (1) JP3518232B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001026112A1 (en) * 1999-09-30 2001-04-12 Fujitsu Limited Method for administrating life of storage medium, storage, storage system, and storage medium
US7213119B2 (en) 2002-12-05 2007-05-01 Canon Kabushiki Kaisha Inhibiting access to a portable storage device
JP4665870B2 (en) * 2006-08-25 2011-04-06 セイコーエプソン株式会社 Method for controlling disk processing apparatus

Also Published As

Publication number Publication date
JPH10254649A (en) 1998-09-25

Similar Documents

Publication Publication Date Title
US6006308A (en) Removable library media system utilizing redundant data storage and error detection and correction
US5588012A (en) Apparatus and method for ensuring data in external storage system
JPH04205619A (en) Disk control system
US6237109B1 (en) Library unit with spare media and it's computer system
KR0162121B1 (en) An improved data storage device and method of operation
US6041421A (en) Storage apparatus system
US20070174678A1 (en) Apparatus, system, and method for a storage device's enforcing write recovery of erroneous data
JP3518232B2 (en) Portable media library device
JP2001092600A (en) Computer system having large capacity storage device and its operating method
JPWO1999039347A1 (en) Automatic lead replacement method and magnetic disk device using the same
JPH08249218A (en) File control device and data writing method
JP2001142650A (en) Method and device for controlling array disk
JP4205364B2 (en) Data integrity check method for external storage
JPH10254634A (en) Storage device and storage device recovery means
JP3288071B2 (en) Information conversion processing device and information transfer control method
EP0316867A2 (en) Semiconductor file apparatus
JP3665921B2 (en) Array type storage device and array type storage management method
JP4218636B2 (en) Storage device for storing portable media
JP2868003B1 (en) Magnetic disk drive
JP4268689B2 (en) Storage system
JPH0962461A (en) Automatic data restoring method for disk array device
JP3412442B2 (en) Storage device using portable media
KR100205289B1 (en) How to prevent loss of recorded data
JP3597550B2 (en) Disk array device
JPH103361A (en) Data backup device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040119

LAPS Cancellation because of no payment of annual fees