JPH10320134A - Optical disk library device - Google Patents

Optical disk library device

Info

Publication number
JPH10320134A
JPH10320134A JP9130674A JP13067497A JPH10320134A JP H10320134 A JPH10320134 A JP H10320134A JP 9130674 A JP9130674 A JP 9130674A JP 13067497 A JP13067497 A JP 13067497A JP H10320134 A JPH10320134 A JP H10320134A
Authority
JP
Japan
Prior art keywords
data
optical disk
written
writing
write
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.)
Pending
Application number
JP9130674A
Other languages
Japanese (ja)
Inventor
Yoshihiro Yokoyama
佳弘 横山
Atsushi Nishiyama
淳 西山
Seiichi Higaki
誠一 檜垣
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 JP9130674A priority Critical patent/JPH10320134A/en
Publication of JPH10320134A publication Critical patent/JPH10320134A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To accelerate the data transfer speed on the average, to secure high minimum performance with a small number of drives, and to reduce cost by writing data a half of the drives from the outer peripheries of optical disk media and writing data to the rest half of the drives from the inner peripheries. SOLUTION: A next writable block position on an optical disk medium set on a drive is read out (procedure 201). It is decided which of the outer and inner peripheries of the disk medium data are written from (procedure 202). For example, when the data are written from the inner periphery, blocks which are written from the write block position are counted (procedure 208). The number of blocks is calculated to obtain a constant read/write time without depending upon each read/write block position. The block position where the data are actually written is recalculated (procedure 203). A writable block position is calcuated (procedure 204). A processor issues an instruction having the calculated parameter to the drive (procedure 207).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は取り外し可能な記憶
媒体を使用する記憶装置に係り、特に多量なデータを一
度にバックアップするため、複数個のドライブ装置を備
え、前記記憶媒体を複数個同時に書き込みあるいは読み
出しする装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device using a removable storage medium, and more particularly to a plurality of drive devices for backing up a large amount of data at one time, and simultaneously writing a plurality of the storage media. Alternatively, it relates to a device for reading.

【0002】[0002]

【従来の技術】近年、銀行のオンラインサービス等、重
要なデータのコンピュータ処理が普及すると同時に記憶
装置の信頼性に対する要求がますます厳しくなってきて
いる。この要求への対応には大きく2種類あり、一つは
常時使用している記憶装置の信頼性を高くする事であ
る。このために、例えば同じデータを2台の磁気ディス
ク装置へ同時に書き込み、1台が故障しても他方の磁気
ディスク装置でデータの読み書き機能を維持するミラー
リングや、後で説明するRAID機能を備えたディスク
アレイ装置を使用する事が多い。
2. Description of the Related Art In recent years, computer processing of important data such as online services of banks has become widespread, and at the same time, the demand for reliability of storage devices has become more and more severe. There are roughly two types of responses to this demand, and one is to increase the reliability of the storage device that is always used. For this purpose, for example, the same data is simultaneously written to two magnetic disk devices, and even if one device fails, the other magnetic disk device has a mirroring function for maintaining the data read / write function and a RAID function described later. Disk array devices are often used.

【0003】一方、記憶装置自体の信頼性を高くするだ
けでなく、記憶したデータを特定の期間毎に別の記憶装
置にコピーするバックアップも対応の手段となってい
る。常時使用している記憶装置が故障した場合、正常な
記憶装置と交換してバックアップしておいたデータを戻
すのである。正常な記憶装置と交換したり、データを戻
すために多くの時間がかかるため、ノンストップの運用
が要求される業務には適さないが、地震や火災などの災
害により常時使用している記憶装置が致命的に壊れてし
まった場合や、記憶装置の故障ではないが、操作ミスで
データを失ってしまった場合のデータの復旧に効果的で
ある。
On the other hand, in addition to increasing the reliability of the storage device itself, a backup method of copying stored data to another storage device at specific time intervals has also become a countermeasure. When a storage device that is constantly used fails, the data that has been backed up by replacing the storage device with a normal storage device is returned. It takes a lot of time to replace with a normal storage device or return data, so it is not suitable for work that requires non-stop operation, but storage device that is always used due to disaster such as earthquake or fire This is effective in recovering data in the case where the data has been fatally broken or the storage device has not failed, but the data has been lost due to an operation error.

【0004】データのバックアップの問題点は、故障な
どがなければ不要であるにもかかわらず、常時使用して
いる記憶装置に頻繁にアクセスするため負担となり、業
務に本質的に必要な処理を圧迫する事である。このた
め、バックアップは業務の処理が記憶装置にアクセスし
ない期間に行われる事が多い。ところが、最近では様々
なサービスが何時でも受けられ便利になったが、これに
伴い業務の処理時間が長くなっており、短時間にバック
アップすることが要求されている。しかしながら、バッ
クアップに使用する記憶装置はコストの面から、従来は
主に磁気テープや光ディスクが使用されてきた。これら
の記憶装置はその書き込み性能が磁気ディスク装置より
劣り、短時間にバックアップするという要求には適して
いない。
[0004] The problem of data backup is that it is unnecessary if there is no failure, but frequently accesses the storage device that is always in use, which is a burden and puts a burden on processes essentially required for business. It is to do. For this reason, backup is often performed during a period when business processing does not access the storage device. In recent years, however, various services have been available at any time and have become convenient. However, the processing time of business has been lengthened, and backup is required in a short time. However, magnetic tapes and optical disks have conventionally been mainly used for storage devices used for backup in terms of cost. These storage devices have inferior write performance to magnetic disk devices, and are not suitable for a demand for short-time backup.

【0005】低速な記憶装置の書き込み性能を向上する
には書き込むデータ量を減らす必要がある。書き込むデ
ータ量を減らすには圧縮してデータ量を減らす方法と、
複数台の記憶装置を並列にして1台の記憶装置に書き込
むデータ量を少なくする方法などがある。後者の方法と
してはディスクアレイで使用されているRAID(Red
undant Arrays of Inexpensive Disks)がある。
To improve the write performance of a low-speed storage device, it is necessary to reduce the amount of data to be written. To reduce the amount of data to be written, you can compress it to reduce the amount of data.
There is a method in which a plurality of storage devices are arranged in parallel to reduce the amount of data written to one storage device. The latter method uses a RAID (Red
undant Arrays of Inexpensive Discs).

【0006】ディスクアレイは複数台の磁気ディスク装
置から構成されており、データの書き込みかたによりR
AID1からRAID5までの種類がある。例えば、R
AID3は5台の磁気ディスク装置から成り、4台にデ
ータを分散して書き込むとともに1台の磁気ディスク装
置にパリティを書き込む。各種オーバーヘッドを除けば
論理上1台の磁気ディスク装置の4倍の性能が得られ
る。また、パリティにより1台の磁気ディスク装置が故
障してもデータの読み書きを継続できるので、性能向上
だけでなく前記のように記憶装置の信頼性を向上でき
る。このようなディスクアレイに関しては、電子情報通
信学会誌Vol.79No.11pp.1109−1115等に
記載されている。ここでの例では一度に書き込むデータ
量(ストライピングサイズ)は全磁気ディスク装置が同
じ200KBの場合と50KBの場合が説明されてい
る。
[0006] The disk array is composed of a plurality of magnetic disk devices.
There are types from AID1 to RAID5. For example, R
AID3 is composed of five magnetic disk devices, writes data in a distributed manner to four magnetic disk devices, and writes parity to one magnetic disk device. Except for various overheads, four times the performance of a single magnetic disk device can be theoretically obtained. In addition, even if one magnetic disk device fails due to the parity, data read / write can be continued, so that not only performance can be improved but also reliability of the storage device can be improved as described above. Such a disk array is described in IEICE Journal Vol. 79 No. 11 pp. 1109-1115 and the like. In this example, the amount of data written at a time (striping size) is described for a case where all the magnetic disk devices have the same 200 KB and a case where the data amount is 50 KB.

【0007】図4は通常のRAIDによるデータの分散
書込み方法の概念である。RAIDの種類によりパリテ
ィを書込む記憶媒体すなわちディスクが変わるが、スト
ライピングサイズの説明には不要なため、図4では省略
してある。データ401は光ディスク403へ書込む1
個のデータである。データ分散の説明のために便宜的に
「A1」から「D2」までの名前を付けてある。データ
402はデータ401を小さなデータ「A1」から「D
2」へ分割したものである。「A1」から「D2」は同
じサイズであり、「A1」「B1」「C1」「D1」を
同時に光ディスク403へ書込み、その後に「A2」
「B2」「C2」「D2」を同時に光ディスク403へ
書込むことにより、「A1」だけの書込み時間の約2倍
の時間でデータ401全てを光ディスク403へ書込む
ことができる。
FIG. 4 shows the concept of a distributed data write method using ordinary RAID. Although the storage medium or disk into which parity is written changes depending on the type of RAID, it is omitted in FIG. 4 because it is not necessary to explain the striping size. Write data 401 to optical disc 403
Data. For the sake of explanation of data distribution, names from “A1” to “D2” are given for convenience. Data 402 is obtained by converting data 401 from small data “A1” to “D”.
2 ". “A1” to “D2” are the same size, and “A1”, “B1”, “C1” and “D1” are simultaneously written on the optical disc 403, and then “A2”
By writing “B2”, “C2”, and “D2” to the optical disc 403 at the same time, the entire data 401 can be written to the optical disc 403 in about twice the writing time of “A1” alone.

【0008】[0008]

【発明が解決しようとする課題】上記ディスクアレイの
従来技術は、データ読み書きの高速化を実現するととも
に信頼性が高い点では非常に優れている。しかしなが
ら、元々磁気ディスクを使用する事を前提にして開発さ
れた技術であるため、光ディスクの特性に対する処理が
欠けていた。
The prior art of the above-mentioned disk array is extremely excellent in realizing high-speed data reading / writing and high reliability. However, since the technology was originally developed on the premise that a magnetic disk was used, processing for the characteristics of the optical disk was lacking.

【0009】光ディスクでは媒体の外周と内周の記録密
度を一定にしているにもかかわらず、回転速度も一定の
ために外周の方が内周より接線方向の速度が早くなり、
データの転送速度が外周の方が内周より高くなる。ま
た、光ディスクのドライブ装置ではヘッドにレーザの発
光器やレンズが付いているために磁気ディスク装置のヘ
ッドより重く、シーク速度が低い。このため、一般に磁
気ディスクではFAT(File Allocation Table)等
のファイルの管理データを一ヶ所に備え、この管理デー
タの位置と実際のデータの位置の間をヘッドが移動しな
がらデータを読み書きするランダムなアクセスを採用し
ているのに対し、光ディスクではファイルの管理データ
を実際のデータを書き込むにつれて複数個所に備え、シ
ーケンシャルなアクセスを採用している事が多い。
In an optical disk, despite the fact that the recording density on the outer and inner circumferences of the medium is constant, the rotational speed is also constant, so that the outer circumference has a higher tangential speed than the inner circumference.
The data transfer speed is higher on the outer circumference than on the inner circumference. Further, in the optical disk drive device, since the head has a laser light emitter and a lens, it is heavier than the magnetic disk device head and has a lower seek speed. For this reason, generally, a magnetic disk is provided with file management data such as FAT (File Allocation Table) in one place, and a random read and write of data while the head moves between the position of the management data and the position of the actual data. In contrast to the access method, the optical disk often employs sequential access by providing file management data at a plurality of locations as the actual data is written.

【0010】以上の様な光ディスクの特性に対する処理
を欠くと、高速バックアップのために光ディスクでディ
スクアレイを構成しても全てのドライブ装置のヘッドが
内周になるようなアクセスが発生し、性能が低下するた
め、最低限の性能を確保するには外周では不要な程の個
数のドライブ装置で並列に読み書きしなければならず、
装置のコストが高くなる。
If the processing for the characteristics of the optical disk as described above is omitted, even if a disk array is configured with optical disks for high-speed backup, access occurs such that the heads of all the drive devices are located on the inner circumference, and the performance is reduced. In order to ensure the minimum performance, it is necessary to read and write in parallel with an unnecessary number of drive devices on the outer periphery to secure the minimum performance,
The cost of the device increases.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、本発明では、書き込むデータを複数個に分割する手
段と、読み出した複数個に分割されたデータをまとめて
復元する手段と、複数台の光ディスクドライブ装置を備
え、この複数台の光ディスクドライブ装置を使用して、
複数枚の光ディスク媒体に同時にデータを読み書きする
手段を使用する。
In order to achieve the above object, the present invention provides a means for dividing data to be written into a plurality of pieces of data, a means for collectively restoring the read plurality of pieces of data, Optical disk drive device, and using the plurality of optical disk drive devices,
A means for simultaneously reading and writing data on a plurality of optical disc media is used.

【0012】また、複数台の光ディスクドライブ装置の
半分は光ディスク記憶媒体の外周からデータを書き込む
手段と、残りの半分のドライブ装置は光ディスク記憶媒
体の内周からデータを書き込む手段を使用する。
Also, half of the plurality of optical disk drive devices use means for writing data from the outer circumference of the optical disk storage medium, and the other half drive device uses means for writing data from the inner circumference of the optical disk storage medium.

【0013】また、光ディスク記憶媒体の外周へデータ
を書き込む場合は一度に書き込むデータ量を内周へ書き
込むデータ量より多くする手段を使用する。
When data is written to the outer periphery of the optical disk storage medium, means for increasing the amount of data to be written at one time to the amount of data to be written to the inner periphery is used.

【0014】また、光ディスク記憶媒体のデータを書き
込む位置によらず、一度に書き込むデータ量を変更する
事により、この書き込む時間を一定にする手段を使用す
る。
Further, a means for keeping the writing time constant by changing the amount of data to be written at once regardless of the position where the data is written on the optical disk storage medium is used.

【0015】バックアップのために光ディスクライブラ
リ装置へデータを書き込むとき、書き込むデータを複数
個に分割する手段により、備えている複数台の光ディス
クドライブ装置へ分割したデータを送り込む。更に複数
枚の光ディスク媒体に同時にデータを読み書きする手段
により、各光ディスクドライブ装置にセットされた光デ
ィスク媒体へ書き込むデータ量が1台の光ディスクドラ
イブ装置へ全てのデータを書き込む場合より減らすこと
ができ、書き込み時間が短くなる。分割処理等のオーバ
ーヘッドを無視し、光ディスクの書き込むトラック位置
が同一であれば、光ディスクドライブ装置の台数に比例
した性能が得られる。
When writing data to the optical disk library device for backup, the divided data is sent to a plurality of optical disk drive devices provided by means for dividing the data to be written into a plurality. Further, by means of reading and writing data to a plurality of optical disk media at the same time, the amount of data to be written to the optical disk medium set in each optical disk drive can be reduced as compared with writing all data to one optical disk drive. Time is shortened. If the track position on the optical disk is the same and the overhead of the division processing is ignored, performance in proportion to the number of optical disk drive devices can be obtained.

【0016】ところが、光ディスクの通常のファイルシ
ステムでは光ディスク媒体の外周からシーケンシャルに
データを書くため、最初は書き込み性能が高いが、デー
タを書くにつれて光ディスク媒体の内周へ書き込みが移
動するため、書き込み性能が低下する。特に全ての光デ
ィスクで内周トラックへデータを書き込むと性能が最も
低下してしまう。ここで、データの書き込み始めは、複
数台の光ディスクドライブ装置の半分は光ディスク記憶
媒体の外周からデータを書き込む手段により、内周に書
き込むより高速に書き込む事ができるとともに、残りの
半分のドライブ装置は光ディスク記憶媒体の内周からデ
ータを書き込む手段により、外周に書き込むより低速に
書き込む事になる。これに対してデータの書き込みが進
むと、複数台の光ディスクドライブ装置の半分は光ディ
スク記憶媒体の外周からデータを書き込む手段により書
き込む速度は低下するが、残りの半分のドライブ装置は
光ディスク記憶媒体の内周からデータを書き込む手段に
より書き込む速度が向上し、平均的な書き込み速度を確
保することができる。
However, in a normal file system of an optical disk, data is written sequentially from the outer periphery of the optical disk medium, so that the writing performance is initially high. However, as the data is written, the writing moves to the inner circumference of the optical disk medium. Decrease. In particular, when data is written to the inner track of all the optical disks, the performance is most deteriorated. Here, at the beginning of data writing, half of the plurality of optical disk drive devices can write data at a higher speed than the inner circumference by means of writing data from the outer circumference of the optical disk storage medium, and the other half of the drive devices By means of writing data from the inner circumference of the optical disk storage medium, writing is performed at a lower speed than writing to the outer circumference. On the other hand, as the data writing progresses, half of the plurality of optical disk drive devices decrease the writing speed by the means for writing data from the outer periphery of the optical disk storage medium, but the other half of the drive devices store the data in the optical disk storage medium. The writing speed is improved by means for writing data from the periphery, and an average writing speed can be secured.

【0017】更に、書き込むデータを複数個に分割する
手段で分割する際、分割するデータ量を均等にすると内
周に書き込む速度が低いので、外周への書き込みが先に
終了して書き込み時間が内周への書き込みに依存してし
まう。そこで、光ディスク記憶媒体の外周へデータを書
き込む場合は一度に書き込むデータ量を内周へ書き込む
データ量より多くする手段を使用することにより、内周
への書き込み時間を短縮して全体の書き込み時間を短く
する。ただし、内周への書き込みデータ量を減らし過ぎ
ると外周への書き込み時間が内周への書き込みより長く
なり、外周への書き込み時間に依存するようになってし
まう。このため、光ディスク記憶媒体のデータを書き込
む位置によらず、一度に書き込むデータ量を変更する事
により、この書き込み時間を一定にする手段を使用し、
外周への書き込み時間と内周への書き込み時間を一致さ
せ、全体として最も書き込み時間を短くできる。
Furthermore, when the data to be written is divided by a plurality of means, if the amount of data to be divided is equalized, the writing speed on the inner circumference is low, so that the writing on the outer circumference is completed first and the writing time is reduced. It depends on writing to the circumference. Therefore, when writing data to the outer circumference of the optical disk storage medium, by using means for making the amount of data to be written at one time larger than the amount of data to be written to the inner circumference, the writing time to the inner circumference can be shortened, and the entire writing time can be reduced. shorten. However, if the amount of data written to the inner periphery is excessively reduced, the time required for writing to the outer periphery becomes longer than the time required to write to the inner periphery, and the time depends on the time required for writing to the outer periphery. For this reason, regardless of the position where the data of the optical disk storage medium is written, by changing the amount of data written at a time, a means for keeping this writing time constant is used.
The writing time to the outer circumference and the writing time to the inner circumference are made to coincide with each other, so that the writing time as a whole can be minimized.

【0018】[0018]

【発明の実施の形態】以下、本発明の一実施例を図1に
より説明する。図1は光ディスクライブラリ装置の構成
図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIG. FIG. 1 is a configuration diagram of an optical disk library device.

【0019】プロセッサ101は装置全体を管理する中
央演算装置(CPU)であり、メモリ102に記憶され
た命令に従って装置内の各部へデータを書き込んだり、
各部からデータを読み出したりする。メモリ102は半
導体記憶装置であり、プロセッサ101の命令や一時的
なワークデータ、および光ディスクにバックアップする
データを一時的に記憶するものである。LAN103は
ローカルネットワークに接続するためのアダプタ装置で
あり、ネットワーク経由で他の装置のデータをバックア
ップする場合は、LAN103から入力され、メモリ1
02へ一時的に格納される。また、光ディスクにバック
アップされたデータをリストアする場合にLAN103
から他の装置へ出力する。磁気ディスク104は、メモ
リ102が小容量であり装置の電源を切ると記憶内容が
消えてしまうので、メモリ102に記憶しきれない容量
のLAN103からのデータや電源を切っているときの
プロセッサ101の命令などを記憶する。SCSI10
5、106、107は周辺装置とデータの入出力をする
ためのアダプタ装置であり、SCSI(Small Comput
er System Interface)の仕様に従ったインタフェー
スとなっている。これらSCSI105、106、10
7は光ディスクのドライブ108、109、110、1
11と光ディスクの搬送装置であるアクセッサ112と
のデータの交換に使用する。
The processor 101 is a central processing unit (CPU) that manages the entire apparatus, writes data to each unit in the apparatus according to instructions stored in the memory 102,
It reads data from each part. The memory 102 is a semiconductor storage device for temporarily storing instructions of the processor 101, temporary work data, and data to be backed up on an optical disk. The LAN 103 is an adapter device for connecting to the local network. When data of another device is backed up via the network, the data is input from the LAN 103 and the
02 is temporarily stored. When restoring data backed up on an optical disk,
Output to other devices. The magnetic disk 104 has a small capacity in the memory 102 and loses its stored contents when the power of the apparatus is turned off. Therefore, data from the LAN 103 having a capacity that cannot be stored in the memory 102 or the capacity of the processor 101 when the power is turned off. Stores instructions and the like. SCSI10
Reference numerals 5, 106, and 107 denote adapter devices for inputting and outputting data to and from peripheral devices, and are SCSI (Small Computer).
er System Interface). These SCSI 105, 106, 10
7 is an optical disk drive 108, 109, 110, 1
11 is used for data exchange between the optical disk 11 and an accessor 112 which is an optical disk transport device.

【0020】ドライブ108、109、110、111
は挿入された光ディスク媒体にデータを読み書きするも
のである。図1ではドライブ110と111がSCSI
105に接続され、ドライブ108と109がSCSI
106に接続されているが、SCSIの仕様では7台ま
での装置をディジーチェインで接続できるため、SCS
I106を備えず、ドライブ108、109、110、
111の4台をSCSI105の1個に接続することも
できる。また、ドライブ108、109、110、11
1の4台に対して4個のSCSIのアダプタ装置を1対
1に接続することもできる。この様な接続の形態はドラ
イブ110のデータ読み書き性能とSCSI105のデ
ータ転送性能の性能比で決まる。ここではドライブ11
0の読み書き性能がSCSI105のデータ転送性能の
半分であり、ドライブ110と111の2台を接続して
いる。アクセッサ112は棚においてある光ディスクの
媒体をドライブ108、109、110、111に挿入
するロボットである。ドライブから棚へ光ディスク媒体
を戻したり、ドライブ内の光ディスク媒体を一度抜き出
して表裏を反転する操作も行う。
Drives 108, 109, 110, 111
Is for reading and writing data on the inserted optical disk medium. In FIG. 1, drives 110 and 111 are SCSI
105 and drives 108 and 109 are SCSI
106, but up to seven devices can be connected in a daisy chain in the SCSI specification.
Without I106, drives 108, 109, 110,
It is also possible to connect four units 111 to one SCSI 105. Also, the drives 108, 109, 110, 11
Four SCSI adapter devices can be connected one-to-one to four devices. Such a connection form is determined by the performance ratio between the data read / write performance of the drive 110 and the data transfer performance of the SCSI 105. Here drive 11
The read / write performance of 0 is half of the data transfer performance of the SCSI 105, and the two drives 110 and 111 are connected. The accessor 112 is a robot that inserts a medium of an optical disk on a shelf into the drives 108, 109, 110, and 111. An operation of returning the optical disk medium from the drive to the shelf or extracting the optical disk medium in the drive once and inverting the front and back is also performed.

【0021】他の装置のデータをネットワーク経由でバ
ックアップする処理は以下の通りである。先ず、メモリ
102に記憶した命令に従って、プロセッサ101はS
CSI107を介してアクセッサ112に命令を送り、
バックアップに使用する光ディスク媒体を棚から取り出
し、ドライブ108、109、110、111へ1枚ず
つ挿入する。次にプロセッサ101はSCSI105と
106を介してドライブ108、109、110、11
1に命令を送り、各ドライブ内の光ディスクから制御デ
ータを読み取り、正しい光ディスクがセットされている
ことを確認する。以上の準備をしてデータを待つ。
The process of backing up data of another device via a network is as follows. First, in accordance with the instruction stored in the memory 102, the processor 101
Sends a command to accessor 112 via CSI 107,
The optical disk medium used for the backup is taken out of the shelf and inserted into the drives 108, 109, 110 and 111 one by one. Next, the processor 101 drives the drives 108, 109, 110, and 11 via the SCSIs 105 and 106.
1 to read control data from the optical disk in each drive and confirm that the correct optical disk is set. Make the above preparations and wait for data.

【0022】バックアップすべきデータはLAN103
を経由してメモリ102に記憶する。更に、データが多
い場合は磁気ディスク104へ一時的に記憶する。この
データを光ディスクの媒体へ書き込む手順を図2を用い
て説明する。
The data to be backed up is the LAN 103
Through the memory 102. Further, when there is much data, the data is temporarily stored on the magnetic disk 104. The procedure for writing this data to the optical disk medium will be described with reference to FIG.

【0023】図2はメモリ102に記憶されているプロ
セッサ101の光ディスクに対するデータ書き込み手順
である。ここではSCSI106を経由してドライブ1
08へデータを書き込む手順を特に説明するが、ドライ
ブ109、110、111も同様な手順を実施する。先
ず、手順201でドライブ108にセットされた光ディ
スク媒体上の次に書き込み可能なブロック位置を読み出
す。この位置は光ディスクの決まった位置に書き込むと
ともに、高速に位置を読み出すために磁気ディスク10
4に記憶しておく場合もある。次に書き込み可能なブロ
ック位置は自体は常にデータが書き込まれておらず、空
である。次に手順202でドライブ108にセットされ
た光ディスク媒体が外周からデータを書き込むものか、
内周からデータを書き込むものかを判定する。ここで
は、ドライブ108にセットされた光ディスク媒体は内
周から書き込みものであるとする。なお、この場合は、
ドライブ109にセットされた光ディスク媒体は外周か
ら書き込み、ドライブ110にセットされた光ディスク
媒体は内周から書き込み、ドライブ111にセットされ
た光ディスク媒体は外周から書き込むことになる。この
外周から書き込むか、内周から書き込むかは光ディスク
媒体をフォーマッティングし、4枚で1個のグループを
設定したときに2枚ずつ決定しておく。手順202の判
定結果により、手順208へ進む。手順208では書き
込むブロック位置から書き込むブロック数を計算する。
ブロック数は図7のテーブルを参照して得る。図7の読
み書きブロック数テーブルは読み書きするブロック位置
からブロック数を求めるためのテーブルであり、各ブロ
ック位置に対して外周から開始する場合と内周から開始
する場合のブロック数が記録されている。図7のテーブ
ルでは読み書き位置が0から9までは同じブロック数で
あることを表わしており、ブロック位置の値が大きくな
る、すなわち外周から内周へ進むに従って、ブロック数
を少なくしている。ブロック数は各読み書きブロック位
置によらず、一定の読み書き時間になるように計算して
ある。ここでは最外周と最内周のデータ転送速度が2倍
異なるとしおり、最外周と最内周のブロック数も2倍異
なる。また、外周から書き込みを開始する場合は指定さ
れたブロック位置から内周へ向けて書いて行くため、ブ
ロック位置の値が0からスタートし、ブロック位置の値
が999まで書き込むが、内周から書き込みを開始する
場合はブロック位置の値が1000からスタートし、手
順203にて書き込み開始位置を一度外周からの書き込
み位置へ変換してから書き込んで行く。このときにブロ
ック位置が100の場合、ブロック数が20であるの
は、ブロック位置が80からブロック数を20書くため
である。一方、外周から開始するときにブロック位置が
100の場合はブロック位置が100からブロック数を
19書くので、ブロック位置が100の項目のブロック
数が19と20になっている。次に手順203へ進む。
手順203では実際にデータを書き込むブロック位置を
計算しなおす。ドライブ108へのデータ書き込み命令
は、データを書き込む開始ブロック位置、書き込むデー
タのブロック数、書き込むデータ、の内容の3種類のパ
ラメタを必要とする。そして、これらのパラメタに従
い、開始ブロック位置からブロック数分のデータを外周
から内周へ向かって書き込む。ドライブ108では内周
から外周へ向けて書き込むので、手順203において開
始ブロック位置をブロック数分だけ外周へ移動させるよ
うに計算する。手順204では次にデータを書き込むと
きのために、次に書き込み可能なブロック位置を計算す
る。最後に手順207でプロセッサ101からSCSI
106を介してドライブ108へ計算したパラメタを持
った命令を発行する。
FIG. 2 shows a procedure for writing data to the optical disk by the processor 101 stored in the memory 102. Here, drive 1 via SCSI 106
A procedure for writing data to the data 08 will be particularly described, but the drives 109, 110, and 111 also perform a similar procedure. First, in step 201, the next writable block position on the optical disk medium set in the drive 108 is read. This position is written to a fixed position on the optical disk, and the magnetic disk 10
4 in some cases. The next writable block position is empty in which data is not always written itself. Next, whether the optical disk medium set in the drive 108 in step 202 writes data from the outer circumference,
It is determined whether data is to be written from the inner circumference. Here, it is assumed that the optical disk medium set in the drive 108 is for writing from the inner periphery. In this case,
The optical disk medium set in the drive 109 is written from the outer circumference, the optical disk medium set in the drive 110 is written from the inner circumference, and the optical disk medium set in the drive 111 is written from the outer circumference. Whether the writing is performed from the outer circumference or the inner circumference is performed by formatting the optical disk medium, and when one group is set with four disks, two disks are determined in advance. The process proceeds to step 208 according to the determination result of step 202. In step 208, the number of blocks to be written is calculated from the position of the block to be written.
The number of blocks is obtained by referring to the table in FIG. The read / write block number table in FIG. 7 is a table for obtaining the number of blocks from the block position to be read / written, and records the number of blocks for each block position when starting from the outer circumference and when starting from the inner circumference. The table in FIG. 7 indicates that the read / write position has the same number of blocks from 0 to 9, and the value of the block position increases, that is, the number of blocks decreases as going from the outer circumference to the inner circumference. The number of blocks is calculated so as to have a constant read / write time regardless of the position of each read / write block. Here, it is assumed that the data transfer speed of the outermost circumference and the innermost circumference is twice different, and the number of blocks of the outermost circumference and the innermost circumference is also twice as different. Also, when writing is started from the outer periphery, the writing is performed from the designated block position toward the inner periphery. Therefore, the value of the block position starts from 0 and the value of the block position is written up to 999. Is started from 1000, the write start position is once converted to a write position from the outer circumference in step 203, and then write is started. In this case, if the block position is 100, the number of blocks is 20 because the block position is 80 and the number of blocks is 20. On the other hand, when the block position is 100 when starting from the outer circumference, the number of blocks is written 19 from the block position 100, and the number of blocks of the item having the block position 100 is 19 and 20. Next, the procedure proceeds to step 203.
In step 203, the block position where data is actually written is calculated again. The data write instruction to the drive 108 requires three types of parameters: the starting block position to write data, the number of blocks of data to be written, and the contents of data to be written. Then, in accordance with these parameters, data for the number of blocks from the start block position is written from the outer periphery to the inner periphery. Since the drive 108 writes data from the inner circumference to the outer circumference, a calculation is made in step 203 to move the start block position to the outer circumference by the number of blocks. In step 204, the next writable block position is calculated for the next data write. Finally, in step 207, the SCSI
A command having the calculated parameter is issued to the drive 108 via the command 106.

【0024】ドライブ109では外周から内周へ向かっ
て書き込むので、手順202の判定で手順209へ進
む。手順209では書き込むブロック位置から書き込む
ブロック数を計算する。ブロック数は図7のテーブルを
参照して得る方法は手順208と同じである。次に手順
205へ進む。手順205と206は手順203と20
4に対応しているが、ドライブ109の書き込み命令の
パラメタ通りのため単純な計算である。
The drive 109 writes data from the outer circumference to the inner circumference. In step 209, the number of blocks to be written is calculated from the position of the block to be written. The method of obtaining the number of blocks with reference to the table of FIG. Next, the procedure proceeds to step 205. Steps 205 and 206 are steps 203 and 20
4, but is a simple calculation because it is in accordance with the parameters of the write command of the drive 109.

【0025】図6は光ディスク媒体毎のデータ書き込み
位置管理テーブルの構造である。テーブルの項目とし
て、光ディスク媒体を収める棚の番号、光ディスク媒体
4枚を1個のグループとしてグループを識別するための
グループ番号、グループ内の光ディスク媒体を識別する
ためのディスク番号、各ディスク媒体が内周から書き込
むか外周から書き込むかを示す開始位置、現在どのブロ
ック位置から書き込みを開始するかを示す書込み位置が
ある。図6のテーブルでは、例えばグループ番号が2番
の光ディスク媒体でデータを読み書きする場合、棚番号
が5、6、7、8に収めてある光ディスク媒体をドライ
ブにセットし、ディスク番号1の光ディスク媒体は内周
から外周に向けて書き込み開始ブロック位置600から
書き込みを開始する。また、ディスク番号2の光ディス
ク媒体は外周から内周に向けて書き込み開始ブロック位
置399から書き込みを開始する。このようにして、デ
ータ書き込み位置管理テーブルで棚にある全ての光ディ
スク媒体を管理する。
FIG. 6 shows the structure of a data write position management table for each optical disk medium. Items in the table include a shelf number for storing optical disk media, a group number for identifying a group of four optical disk media as one group, a disk number for identifying optical disk media within a group, and each disk medium being There is a start position indicating whether writing is performed from the periphery or from the outer periphery, and a writing position indicating from which block position the writing is currently started. In the table of FIG. 6, for example, when data is read / written on the optical disk medium having the group number 2, the optical disk medium contained in the shelf numbers 5, 6, 7, and 8 is set in the drive, and the optical disk medium having the disk number 1 is set. Starts writing from the write start block position 600 from the inner circumference to the outer circumference. The optical disk medium of disk number 2 starts writing from the write start block position 399 from the outer circumference to the inner circumference. In this way, all the optical disk media on the shelf are managed by the data writing position management table.

【0026】図5は本発明のデータ書込み方法の概念図
であり、図4の従来のRAIDのデータ書込み方法と対
比するものである。図5の光ディスク503、504、
505、506へ書込むデータ501の各「A1」から
「D2」の枠の大きさは、それぞれのデータの大きさを
表わしている。本発明では内周へ書き込む際には外周へ
書き込むときよりデータ量を小さくする。図5では媒体
A503と媒体C505は外周から書き込み、媒体B5
04と媒体D506は内周から書き込むので、書き込む
データ501の最初に書き込むA1とC1はデータ量が
多く、B1とD1はデータ量が少ない。ところが、デー
タを書き込むにつれ、媒体A503と媒体C505は内
周を書き込み、媒体B504と媒体D506は外周を書
き込むようになるので、書き込むデータ501の最後に
書き込むA2とC2はデータ量が少なく、B2とD2は
データ量が多い。
FIG. 5 is a conceptual diagram of the data writing method of the present invention, which is in contrast to the conventional RAID data writing method of FIG. The optical disks 503, 504 of FIG.
The size of each frame from “A1” to “D2” of the data 501 to be written to 505 and 506 represents the size of each data. In the present invention, the data amount is smaller when writing to the inner circumference than when writing to the outer circumference. In FIG. 5, the medium A 503 and the medium C 505 are written from the outer circumference, and the medium B 5
04 and the medium D506 are written from the inner circumference, so that A1 and C1 to be written first in the data 501 to be written have a large data amount, and B1 and D1 have a small data amount. However, as the data is written, the medium A 503 and the medium C 505 write the inner circumference, and the medium B 504 and the medium D 506 write the outer circumference. D2 has a large data amount.

【0027】以上の手順により、光ディスク媒体上のデ
ータの書き込み位置は図3のように推移する。光ディス
ク媒体の外周と内周の長さが2倍違う場合はデータ転送
速度も外周と内周で2倍異なり、内周で1MB/秒であ
れば外周は2MB/秒である。4台のドライブ108、
109、110、111の2台が外周のときに他の2台
は内周であるから全部で6MB/秒のデータ転送速度が
得られる。
By the above procedure, the data write position on the optical disk medium changes as shown in FIG. When the length of the outer circumference and the inner circumference of the optical disk medium are twice different, the data transfer speed is also twice different between the outer circumference and the inner circumference. If the inner circumference is 1 MB / sec, the outer circumference is 2 MB / sec. Four drives 108,
When two of 109, 110, and 111 are on the outer circumference, the other two are on the inner circumference, so that a total data transfer rate of 6 MB / sec can be obtained.

【0028】以上説明したように、本実施例によれば、
2台のドライブのデータ転送速度が低いときに他の2台
のドライブのデータ転送速度が高いため、4台のドライ
ブで6MB/秒のデータ転送速度が得られるので、従来
の4台のドライブでは8MB/秒から4MB/秒とデー
タ転送速度が変動するため、最低6MB/秒の要求があ
った場合に6台必要となり、少ないドライブ台数で高い
最低性能を確保できる。
As described above, according to this embodiment,
Since the data transfer speed of the other two drives is high when the data transfer speed of the two drives is low, the data transfer speed of 6 MB / sec can be obtained with the four drives. Since the data transfer speed fluctuates from 8 MB / sec to 4 MB / sec, when a request of at least 6 MB / sec is required, 6 drives are required, and a high minimum performance can be secured with a small number of drives.

【0029】[0029]

【発明の効果】本発明によれば、半数のドライブのデー
タ転送速度が低いときに他の半数のドライブのデータ転
送速度が高いため、平均的にデータ転送速度を高くでき
るので、少ないドライブ台数で高い最低性能を確保で
き、光ディスクライブラリ装置のコストを下げる効果が
ある。
According to the present invention, when the data transfer speed of half of the drives is low, the data transfer speed of the other half of the drives is high, so that the data transfer speed can be increased on average. High minimum performance can be ensured, and the cost of the optical disk library device can be reduced.

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

【図1】光ディスクライブラリ装置の構成図である。FIG. 1 is a configuration diagram of an optical disk library device.

【図2】データ書き込み手順のフロー図である。FIG. 2 is a flowchart of a data write procedure.

【図3】光ディスク媒体上のデータ書き込み概念図であ
る。
FIG. 3 is a conceptual diagram of data writing on an optical disk medium.

【図4】従来RAIDのデータ分散書込み方法である。FIG. 4 shows a conventional RAID data distribution writing method.

【図5】本発明のデータ分散書込み方法である。FIG. 5 is a data distributed writing method of the present invention.

【図6】データ書込み位置管理テーブルの構造である。FIG. 6 shows the structure of a data write position management table.

【図7】読み書きブロック数テーブルである。FIG. 7 is a read / write block number table.

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

101…プロセッサ、 102…メモリ、 103…L
AN、104…磁気ディスク、105…SCSI、10
6…SCSI、107…SCSI、 108…ドライ
ブ、109…ドライブ、110…ドライブ、 111
…ドライブ、112…アクセッサ。
101: Processor, 102: Memory, 103: L
AN, 104: magnetic disk, 105: SCSI, 10
6 SCSI, 107 SCSI, 108 drive, 109 drive, 110 drive, 111
... drive, 112 ... accessor.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】複数枚の光ディスク記憶媒体と該記憶媒体
にデータを読み書きする複数台のドライブ装置を備えた
光ディスク記憶装置において、前記ドライブ装置の半分
は前記光ディスク記憶媒体の外周からデータを書き込
み、前記残りの半分のドライブ装置は前記光ディスク記
憶媒体の内周からデータを書き込む処理を特徴とする光
ディスクライブラリ装置。
1. An optical disk storage device comprising a plurality of optical disk storage media and a plurality of drive devices for reading and writing data from and to the storage medium, wherein half of the drive devices write data from an outer periphery of the optical disk storage medium. An optical disk library device, wherein the other half of the drive device writes data from the inner periphery of the optical disk storage medium.
【請求項2】請求項1記載の光ディスクライブラリ装置
において、前記光ディスク記憶媒体の外周へデータを書
き込む場合は一度に書き込むデータ量を内周へ書き込む
データ量より多くする処理を特徴とする光ディスクライ
ブラリ装置。
2. An optical disk library apparatus according to claim 1, wherein when writing data to the outer circumference of said optical disk storage medium, the amount of data to be written at once is larger than the amount of data to be written to the inner circumference. .
【請求項3】請求項2記載の光ディスクライブラリ装置
において、前記光ディスク記憶媒体のデータを書き込む
位置によらず、前記一度に書き込むデータ量を変更する
ことにより、該書き込む時間を一定にする処理を特徴と
する光ディスクライブラリ装置。
3. The optical disk library device according to claim 2, wherein the write time is made constant by changing the amount of data to be written at one time regardless of the position where the data on the optical disk storage medium is written. Optical disk library device.
JP9130674A 1997-05-21 1997-05-21 Optical disk library device Pending JPH10320134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9130674A JPH10320134A (en) 1997-05-21 1997-05-21 Optical disk library device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9130674A JPH10320134A (en) 1997-05-21 1997-05-21 Optical disk library device

Publications (1)

Publication Number Publication Date
JPH10320134A true JPH10320134A (en) 1998-12-04

Family

ID=15039911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9130674A Pending JPH10320134A (en) 1997-05-21 1997-05-21 Optical disk library device

Country Status (1)

Country Link
JP (1) JPH10320134A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010282703A (en) * 2009-06-05 2010-12-16 Nippon Hoso Kyokai <Nhk> Recording/reproduction control device, and recording/reproduction device using hard disk drive
WO2012147267A1 (en) * 2011-04-27 2012-11-01 日立コンシューマエレクトロニクス株式会社 Recording and reproduction device
JP2013229081A (en) * 2012-04-26 2013-11-07 Toshiba Corp File processing device and file processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010282703A (en) * 2009-06-05 2010-12-16 Nippon Hoso Kyokai <Nhk> Recording/reproduction control device, and recording/reproduction device using hard disk drive
WO2012147267A1 (en) * 2011-04-27 2012-11-01 日立コンシューマエレクトロニクス株式会社 Recording and reproduction device
JP2012230746A (en) * 2011-04-27 2012-11-22 Hitachi Consumer Electronics Co Ltd Recording and reproduction device
JP2013229081A (en) * 2012-04-26 2013-11-07 Toshiba Corp File processing device and file processing method

Similar Documents

Publication Publication Date Title
JP3135751B2 (en) Data storage device
US5584008A (en) External storage unit comprising active and inactive storage wherein data is stored in an active storage if in use and archived to an inactive storage when not accessed in predetermined time by the host processor
US6490648B1 (en) Virtual tape storage apparatus
US6170037B1 (en) Method and apparatus for storing information among a plurality of disk drives
JP3316500B2 (en) Increase the number of drives in a RAID set while maintaining the integrity of the moved data
US6615327B1 (en) Method and system for backing up data of data processing devices including fixed length block format data conversion to variable length block format
JPH02176822A (en) File system
JP3096392B2 (en) Method and apparatus for full motion video network support using RAID
JPH06131233A (en) Access method and library device for multi-file type storage medium
JPH10320134A (en) Optical disk library device
JP3669103B2 (en) Storage device and storage device subsystem
US20020144028A1 (en) Method and apparatus for increased performance of sequential I/O operations over busses of differing speeds
JP3584665B2 (en) Library storage device using portable media
JP2000305719A (en) Method for backing-up data in information processing system
JPS63291266A (en) Multi-disk type optical disk device
JPH06274282A (en) Magnetic recorder
JP3304368B2 (en) Array disk device and control method therefor
JPH10240450A (en) Storage device system
JP3084756B2 (en) Disk striping device
JPS597986B2 (en) Magnetic disk subsystem
JP2861342B2 (en) Optical disk media transfer method
JP3620205B2 (en) Reliable storage system using removable storage media
JP3412442B2 (en) Storage device using portable media
JPH11119915A (en) Disk array device
JPH09114737A (en) Cache disk control