JPH09282110A - Medium management method and management device in library device - Google Patents

Medium management method and management device in library device

Info

Publication number
JPH09282110A
JPH09282110A JP9636796A JP9636796A JPH09282110A JP H09282110 A JPH09282110 A JP H09282110A JP 9636796 A JP9636796 A JP 9636796A JP 9636796 A JP9636796 A JP 9636796A JP H09282110 A JPH09282110 A JP H09282110A
Authority
JP
Japan
Prior art keywords
medium
real
virtual
cell
virtual cell
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
JP9636796A
Other languages
Japanese (ja)
Inventor
Tomonori Mase
朋憲 間瀬
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP9636796A priority Critical patent/JPH09282110A/en
Publication of JPH09282110A publication Critical patent/JPH09282110A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To bring a storage capacity managed by a library close to the maximum storage capacity of the library as much as possible. SOLUTION: This device is provided with a real cell 2 for housing a real medium, a driving device for setting the real medium 11 and reading or writing data recorded in the real medium 11, a real medium housing body 1 for respectively housing the real medium 11 and an accessor for taking out the real medium 11 from the real medium housing body 1 and housing, it. Then, the real medium 11 is divided into plural sections, the sections are considered as virtual cells and the real medium 11 is managed corresponding to the management information of the virtual cells.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は,磁気テープ,磁気
ディスク,光ディスク等の記憶媒体(以後,媒体と称す
る)の取り出し,収納等を自動的に行うライブラリ装置
における媒体管理方法および管理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a medium management method and a management device in a library device for automatically taking out and storing a storage medium (hereinafter referred to as a medium) such as a magnetic tape, a magnetic disk and an optical disk.

【0002】コンピュータシステムで扱う磁気テープ装
置(MTU),磁気ディスク装置,光ディスク装置等の
外部記憶装置の媒体数が増加するとともに,それらの媒
体の運用管理の効率化と信頼性,保守の容易性等が要求
されている。そのために,多数の媒体を保管し,その媒
体の取り出し,収納を自動化して運用するライブラリ装
置が提供されている。
As the number of external storage devices such as magnetic tape devices (MTU), magnetic disk devices, and optical disk devices handled by computer systems increases, the efficiency and reliability of the operation management of these media and the ease of maintenance are increased. Etc. are required. Therefore, there is provided a library device that stores a large number of media and automates the operation of taking out and housing the media.

【0003】[0003]

【従来の技術】媒体を収納する従来のライブラリ装置
は,データを記録,再生,保管する場合,ホストコンピ
ュータの指示により収納するセルから1個の媒体を取り
出して記録・再生装置(駆動装置)に運搬し,記録,再
生を行い,処理が終了すると再びその媒体をもとのセル
に格納している。
2. Description of the Related Art In a conventional library device for storing a medium, when recording, reproducing, or storing data, one medium is taken out from a cell to be stored in a recording / reproducing device (driving device) according to an instruction from a host computer. After carrying, recording and reproducing, the medium is stored in the original cell again when the processing is completed.

【0004】[0004]

【発明が解決しようとする課題】媒体の性能の向上にと
もない媒体1個あたりの記憶容量は増加し続けている。
一方,ライブラリ装置の性能の評価として,媒体の収納
数および最大記憶容量がある。ライブラリ装置の性能を
上げるためには,ライブラリ装置が管理する媒体の記憶
領域の空きスペースができるだけ少なくなるようにデー
タ管理をし,ライブラリ装置が実際に記憶する記憶容量
が最大記憶容量にできるだけ近づけるように媒体管理を
する必要がある。
The storage capacity per medium continues to increase as the performance of the medium improves.
On the other hand, the evaluation of the performance of the library device includes the number of stored media and the maximum storage capacity. In order to improve the performance of the library device, data management is performed so that the free space of the storage area of the medium managed by the library device is as small as possible, and the storage capacity actually stored by the library device is made as close as possible to the maximum storage capacity. It is necessary to manage the medium.

【0005】従来のライブラリ装置は,媒体1個あたり
のデータ記録量の多少にかかわらず,ボリューム(媒体
の指定値)が異なれば,他の媒体に記録される。そのた
め,このような記録量の少ない媒体を多く管理する場合
には,ライブラリで管理される実際に記憶されている記
憶容量はライブラリの最大記憶容量より大幅に小さくな
り,ライブラリの性能は低下する。
In the conventional library apparatus, regardless of the amount of data recorded per medium, if the volume (specified value of medium) is different, the data is recorded on another medium. Therefore, when managing a large amount of such a medium with a small recording amount, the actual storage capacity managed by the library is significantly smaller than the maximum storage capacity of the library, and the performance of the library deteriorates.

【0006】本発明は,ライブラリで管理する媒体の記
憶容量がライブラリの最大記憶容量にできるだけ近づく
ように管理することのできるライブラリの媒体管理方法
および管理装置を提供することを目的とする。
It is an object of the present invention to provide a library medium management method and a management apparatus capable of managing the storage capacity of a medium managed by the library as close as possible to the maximum storage capacity of the library.

【0007】[0007]

【課題を解決するための手段】本発明は,実媒体を収納
する実セルと実媒体をセットして実媒体に記録されてい
るデータの読み出しもしくは書き込みを行う駆動装置と
実媒体を個別に収納する実媒体収納体と,実媒体収納体
からの実媒体の取り出しと収納を行うアクセッサとを備
えるライブラリ装置において,実媒体を複数の区画に分
割し,該区画を仮想セルとみなし,仮想セルの管理情報
に従って実媒体を管理するようにした。
According to the present invention, an actual cell for accommodating an actual medium, a drive device for setting an actual medium and reading or writing data recorded in the actual medium, and an actual medium are individually accommodated. In a library device that includes a real medium container and an accessor that extracts and stores the real medium from the real medium container, the real medium is divided into a plurality of partitions, and the partitions are regarded as virtual cells. The actual medium is managed according to the management information.

【0008】図1は,本発明の原理説明を示す図であ
る。図1 (a)は実媒体を収納する実媒体収納体および実
セルと仮想セルの関係を示す概念図である。図1 (b)は
実媒体の区画(仮想セル)とディレクトリ部の関係を示
す図である。図1 (c)は仮想媒体の移動を説明する図で
ある。
FIG. 1 is a diagram showing the principle of the present invention. FIG. 1 (a) is a conceptual diagram showing the relationship between a real medium storage body for storing a real medium and a real cell and a virtual cell. FIG. 1B is a diagram showing the relationship between the partition (virtual cell) of the real medium and the directory portion. FIG. 1C is a diagram for explaining the movement of the virtual medium.

【0009】図1 (a),図1 (b),図1 (c)において,
1は実媒体を収納する実セルをもつ実媒体収納体であ
る。2は実セルであって,実セルA,実セルB,実セル
C,実セルDの4つのセルをもつ場合を例として示した
ものである。また,各実セルは,実セルAに示されるよ
うに複数の仮想セルが対応する(図1 (a)は仮想セル
0,仮想セル1,仮想セル2の仮想セルが3つの場合を
例として示したものである)。
In FIGS. 1 (a), 1 (b) and 1 (c),
Reference numeral 1 is a real medium storage body having a real cell for storing a real medium. Reference numeral 2 is a real cell, and shows a case where it has four cells, that is, a real cell A, a real cell B, a real cell C, and a real cell D as an example. Further, each real cell corresponds to a plurality of virtual cells as shown in the real cell A (FIG. 1 (a) shows an example in which there are three virtual cells of virtual cell 0, virtual cell 1 and virtual cell 2). It has been shown).

【0010】11は実媒体であって,データを記録領域
の単位を区画(仮想セル)として持つものである(図1
(b),図1 (c)は3つの区画(仮想セル)を有する場合
を例として示す)。
Reference numeral 11 denotes an actual medium having data as recording area units as partitions (virtual cells) (see FIG. 1).
(b) and FIG. 1 (c) show an example in which there are three partitions (virtual cells)).

【0011】12はディレクトリ部であって,区画(仮
想セル)の管理情報を保持するものである。区画番号
(仮想セル番号)とその記憶の有無を表す情報を持つも
のである。図1 (b)では,仮想セル0(区画0)はデー
タが記録されていることを表す(記憶の有無のフラグが
1)。仮想セル1(区画1)はデータが記録されていな
いことを表す(記憶の有無のフラグが0)。仮想セル2
(区画2)はデータが記録されていることを表す。仮想
セルは仮想媒体であって,データの記録されている仮想
セルは仮想媒体が存在することを表し,記録されていな
い仮想セルは仮想媒体が存在しないことを表す。
Reference numeral 12 denotes a directory section, which holds management information of partitions (virtual cells). It has information indicating the partition number (virtual cell number) and whether or not the memory is stored. In FIG. 1B, the virtual cell 0 (section 0) indicates that data is recorded (the storage presence / absence flag is 1). Virtual cell 1 (section 1) indicates that no data is recorded (the storage flag is 0). Virtual cell 2
(Section 2) represents that data is recorded. A virtual cell is a virtual medium, a virtual cell in which data is recorded represents that a virtual medium exists, and a virtual cell in which data is not recorded represents that a virtual medium does not exist.

【0012】図1 (c)は,図1 (b)において,区画0
(仮想セル0)の仮想媒体を区画1(仮想セル1)に移
動した状態を示す。即ち,図1 (c)は,区画0(仮想セ
ル0)にデータの記憶無し,区画1(仮想セル1)にデ
ータの記憶有り,区画2に(仮想セル2)データの記憶
有りを示す。
FIG. 1 (c) is a block diagram of section 0 in FIG. 1 (b).
The state where the virtual medium of (virtual cell 0) is moved to the partition 1 (virtual cell 1) is shown. That is, FIG. 1C shows that data is not stored in the partition 0 (virtual cell 0), data is stored in the partition 1 (virtual cell 1), and (virtual cell 2) is stored in the partition 2.

【0013】図1の本発明の基本構成の動作を説明す
る。図1の構成において,例えば,区画0(仮想セル
0)に記録されているデータを区画1(仮想セル1)に
移す場合には,例えば,移動元のアドレスと移動先のア
ドレスを指定して移動する従来と同様の移動コマンド
(MOVEコマンド等)を使用し,移動元のアドレスと
して仮想セル番号0,移動先のアドレスとして仮想セル
番号1を指定することにより行う。そして,コマンドを
実行することにより,実セルAから実媒体11を取り出
し,駆動装置(図示せず)にセットし,区画0のデータ
を区画1に移す(仮想セル0の仮想媒体を仮想セル1に
移動する)。そして仮想セル1の記憶の有無を表すディ
レクトリ部12のフラグを記憶有り(フラグ1)に書き
換え,仮想セル0の記憶の有無を表すフラグを記憶無し
(フラグ1)とする(図1 (c)参照)。そして,実媒体
11を実セルAに収納する。
The operation of the basic configuration of the present invention shown in FIG. 1 will be described. In the configuration of FIG. 1, for example, when the data recorded in the partition 0 (virtual cell 0) is transferred to the partition 1 (virtual cell 1), for example, the source address and the destination address are specified. This is performed by using a move command (MOVE command or the like) similar to the conventional move, and designating the virtual cell number 0 as the source address and the virtual cell number 1 as the destination address. Then, by executing the command, the real medium 11 is taken out from the real cell A, set in a driving device (not shown), and the data of the section 0 is transferred to the section 1 (the virtual medium of the virtual cell 0 is set to the virtual cell 1). Move to). Then, the flag of the directory unit 12 indicating whether or not the virtual cell 1 is stored is rewritten to the storage (flag 1), and the flag indicating whether or not the virtual cell 0 is stored is set to no storage (flag 1) (FIG. 1 (c)). reference). Then, the real medium 11 is stored in the real cell A.

【0014】あるいは,本発明は,図2に示すように,
ディレクトリ部12の仮想セルの情報を移動することに
より仮想媒体の移動を高速に行うことができる。図2
(a)は仮想媒体の移動前である。図2 (b)は仮想媒体の
移動後である。
Alternatively, the present invention, as shown in FIG.
By moving the information of the virtual cell in the directory section 12, the virtual medium can be moved at high speed. FIG.
(a) is before the movement of the virtual medium. FIG. 2B shows the state after the movement of the virtual medium.

【0015】図2は,仮想セル0の仮想媒体を仮想セル
1に移動する(区画0に記憶されているデータを区画1
に移動する)場合を例として示したものである。移動前
は区画0(仮想セル0)と区画2(仮想セル2)にデー
タが記憶されているとする。この時,ディレクトリ部は
図示のようになる。
In FIG. 2, the virtual medium of virtual cell 0 is moved to virtual cell 1 (data stored in partition 0 is stored in partition 1).
Move to) is shown as an example. Before the movement, it is assumed that data is stored in the partition 0 (virtual cell 0) and the partition 2 (virtual cell 2). At this time, the directory part becomes as shown in the figure.

【0016】そこで,区画0のデータを実際に区画1に
移動する代わりに,図2 (a)の仮想セル0の情報を仮想
セル1の情報の保持領域に移動し,仮想セル1の情報を
仮想セル0の情報の保持領域に移動する。その結果,デ
ィレクトリ部は図2 (b)のようになる。
Therefore, instead of actually moving the data of the partition 0 to the partition 1, the information of the virtual cell 0 in FIG. 2A is moved to the information holding area of the virtual cell 1 and the information of the virtual cell 1 is transferred. Move to the information holding area of virtual cell 0. As a result, the directory part becomes as shown in Fig. 2 (b).

【0017】図2 (b)に示されるように,ディレクトリ
部において仮想セル0(区画0)の記憶は無し,仮想セ
ル1(区画1)は記憶有りとなって,仮想セル0の仮想
媒体が仮想セル1に移動されたことになる。
As shown in FIG. 2B, the virtual cell 0 (partition 0) is not stored in the directory portion, the virtual cell 1 (partition 1) is stored, and the virtual medium of the virtual cell 0 is This means that it has been moved to virtual cell 1.

【0018】上記のように,本発明によれば,実媒体の
区画を複数区画に分割し,仮想セルとして扱うことによ
り,従来の移動コマンド等のコマンドをそのまま使用し
て実媒体を効率的に管理することができるそのため,特
別に管理方法を変更することなくライブラリ装置が実際
に記憶する記憶容量を大幅に向上させることができるよ
うになる。また,仮想セルの情報を移動するだけで,仮
想セルの仮想媒体の移動をすることが可能になるので,
区画のデータの移動管理を高速に行うことができ,ライ
ブラリ装置の性能を大幅に向上させることができる。
As described above, according to the present invention, the partition of the real medium is divided into a plurality of partitions and treated as a virtual cell, so that the commands such as the conventional move command can be used as they are to efficiently use the real medium. Therefore, the storage capacity actually stored in the library device can be significantly improved without specially changing the management method. Moreover, since it becomes possible to move the virtual medium of the virtual cell simply by moving the information of the virtual cell,
The movement management of the data in the partition can be performed at high speed, and the performance of the library device can be greatly improved.

【0019】[0019]

【発明の実施の形態】図3は本発明の実施例であって,
ライブラリの例を示す。図3において,31は実媒体収
納体である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 3 shows an embodiment of the present invention.
An example of a library is shown. In FIG. 3, reference numeral 31 is an actual medium container.

【0020】32,32’,33’は実セルであって,
実媒体を格納するセルである。各実セルは複数の仮想セ
ル(図3では各実セルが3つの仮想セルをもつものとし
である)を備えるものである。
32, 32 'and 33' are real cells,
It is a cell that stores a real medium. Each real cell comprises a plurality of virtual cells (in FIG. 3, each real cell is assumed to have three virtual cells).

【0021】33”,34’は実媒体である。実媒体は
複数の区画(仮想セル)を持つ。図3は各実媒体が3つ
の仮想セルを持つものである。41はアクセッサAであ
って,指定された実セルから実媒体を取り出し,指定さ
れたMTU1,2,3(51,52,53)にセットし
たり,あるいは指定されたMTU1,2,3(51,5
2,53)から実媒体を取り外して,指定された実セル
に収納するものである。
33 "and 34 'are real media. The real media has a plurality of partitions (virtual cells). In FIG. 3, each real media has three virtual cells. 41 is an accessor A." Then, the real medium is taken out from the designated real cell and set in the designated MTU 1, 2, 3 (51, 52, 53), or the designated MTU 1, 2, 3 (51, 5)
2, 53), the actual medium is removed and stored in a designated actual cell.

【0022】42はアクセッサBである。51はMTU
(磁気テープユニット)であって,セットされた実媒体
(磁気テープ)に対する書き込み,読み出しを行う駆動
装置である。
Reference numeral 42 is an accessor B. 51 is MTU
It is a (magnetic tape unit) and is a drive device that performs writing and reading on the set real medium (magnetic tape).

【0023】図3は,実媒体33”がアクセッサA(4
1)により実セル32’から取り出され,MTU1(5
1)にセットされることを表している。また,実媒体3
4’が,アクセッサB(42)によりMTU3(53)
から取り外され,実セル33’に収納される動作を表し
ている。
In FIG. 3, the real medium 33 "has an accessor A (4
1) is taken out from the real cell 32 ', and MTU1 (5
It means that it is set to 1). Also, the real medium 3
4'is MTU3 (53) by Accessor B (42)
The operation is shown in FIG.

【0024】図4は本発明のライブラリ装置のシステム
構成の実施例である。図4において,61はホストコン
ピュータであって,ライブラリ装置71の動作を制御す
るコンピュータである。
FIG. 4 shows an embodiment of the system configuration of the library device of the present invention. In FIG. 4, reference numeral 61 is a host computer, which is a computer for controlling the operation of the library apparatus 71.

【0025】62はライブラリ制御部であって,CP
U,メモリ,ライブラリ支援プログラム,管理テーブル
により構成されるものである。63はCPUである。
Reference numeral 62 denotes a library control unit, which is a CP
It is composed of U, memory, library support program, and management table. 63 is a CPU.

【0026】64はメモリである。65は管理テーブル
であって,ライブラリの管理テーブルであって,実媒体
と仮想セルの3次元座標の対応をもつものである。
Reference numeral 64 is a memory. Reference numeral 65 denotes a management table, which is a management table of the library and has correspondence between the three-dimensional coordinates of the real medium and the virtual cell.

【0027】67はライブラリ支援プログラムである。
68は入出力処理部であって,ホストコンピュータ61
とライブラリ装置71の間の入出力処理を行うものであ
る。
Reference numeral 67 is a library support program.
Reference numeral 68 denotes an input / output processing unit, which is a host computer 61.
And the library device 71.

【0028】71はライブラリ装置である。72はディ
レクタ(管理装置)であって,MTUとアクセッサコン
トローラの動作管理を行うものである。
Reference numeral 71 is a library device. A director (management device) 72 manages the operation of the MTU and accessor controller.

【0029】73はMTU処理部であって,MTU84
を制御するものである。81はアクセッサコントローラ
処理部であって,アクセッサコントローラ82の動作管
理を行うものである。
Reference numeral 73 is an MTU processing unit, and MTU 84
Is to control. Reference numeral 81 denotes an accessor controller processing unit that manages the operation of the accessor controller 82.

【0030】82はアクセッサコントローラであって,
アクセッサの動作制御を行うものである。83はアクセ
ッサである。
Reference numeral 82 is an accessor controller,
It controls the operation of the accessor. 83 is an accessor.

【0031】84はMTUである。85はディスプレイ
である。86は磁気ディスク装置である。
Reference numeral 84 is an MTU. Reference numeral 85 is a display. 86 is a magnetic disk device.

【0032】図4の構成の動作は後述する。図5は本発
明の管理テーブルの実施例である。65は管理テーブル
である。
The operation of the configuration of FIG. 4 will be described later. FIG. 5 shows an embodiment of the management table of the present invention. Reference numeral 65 is a management table.

【0033】110は仮想セルテーブルであって,仮想
セル番号,仮想セルの3次元座標の対応を持つものであ
る(仮想セルの3次元座標については図6で説明す
る)。111はMTUテーブルであって,MTUの装置
番号と使用中(フラグ1)であるか空き(フラグ0)で
あるかを表すフラグを保持するものである。
Reference numeral 110 denotes a virtual cell table, which has correspondence between virtual cell numbers and three-dimensional coordinates of virtual cells (three-dimensional coordinates of virtual cells will be described with reference to FIG. 6). Reference numeral 111 denotes an MTU table, which holds a device number of the MTU and a flag indicating whether it is in use (flag 1) or free (flag 0).

【0034】112は仮想媒体(ボリューム)テーブル
であって,ボリューム名とボリューム名が格納されてい
る仮想セル番号の対応を持つものである。図6は本発明
の仮想セルの概念図であって,仮想セルを3次元座標で
表したものである。図6は実セルが16個あり,各実セ
ルに3個ずつの仮想セルがある場合を示すものである。
A virtual medium (volume) table 112 has a correspondence between a volume name and a virtual cell number in which the volume name is stored. FIG. 6 is a conceptual diagram of a virtual cell according to the present invention, in which the virtual cell is represented by three-dimensional coordinates. FIG. 6 shows a case where there are 16 real cells and each real cell has 3 virtual cells.

【0035】図6において,31は実媒体収納体であっ
て,XY平面に実セルを16個もつものである。32は
実セルであって,XY平面の実媒体収納体のセルであ
る。各実セルはZ軸方向の座標で表される3つの仮想セ
ルをもつ。
In FIG. 6, reference numeral 31 designates a real medium container having 16 real cells in the XY plane. Reference numeral 32 is a real cell, which is a cell of the real medium container on the XY plane. Each real cell has three virtual cells represented by coordinates in the Z-axis direction.

【0036】Aは仮想セル0であって座標(0,0,
0)である。Bは仮想セル1であって,座標(0,0,
1)である。Cは仮想セル2であって,座標(0,0,
2)である。Dは仮想セル45であって,座標(3,
3,0)である。Eは仮想セル47であって座標(3,
3,3)である。
A is a virtual cell 0 and has coordinates (0, 0,
0). B is virtual cell 1 and has coordinates (0, 0,
1). C is a virtual cell 2 and has coordinates (0, 0,
2). D is a virtual cell 45 having coordinates (3,
3, 0). E is a virtual cell 47 having coordinates (3,
3, 3).

【0037】A(仮想セル0)からB(仮想セル1)へ
媒体を移動する場合は,ホストコンピュータにより,次
の移動コマンドを発行する。 MOVE(0,0,0),(0,0,1) ライブラリ装置は,このコマンドを受け取るとA(実セ
ル32)にある実媒体を空いているMTUに移動し,仮
想セル0のデータ(仮想媒体)をホストコンピュータの
メモリに書き込み,仮想セル1にそのデータ(仮想媒
体)を書き込んで,仮想セル0のデータ(仮想媒体)を
消去する。そして,その実媒体のディレクトリ部を更新
し,その実媒体をA(実セル2)に戻す。
When moving the medium from A (virtual cell 0) to B (virtual cell 1), the host computer issues the next move command. MOVE (0,0,0), (0,0,1) Upon receipt of this command, the library device moves the real medium in A (real cell 32) to the vacant MTU, and the virtual cell 0 data ( The virtual medium) is written in the memory of the host computer, the data (virtual medium) is written in the virtual cell 1, and the data (virtual medium) in the virtual cell 0 is erased. Then, the directory portion of the actual medium is updated, and the actual medium is returned to A (actual cell 2).

【0038】また,異なる実セル間で実媒体に記録され
ているデータを移動する場合には,ホストコンピュータ
で同様に移動コマンドを発行する。例えは,図6のセル
A(仮想セル0)からセルE(仮想セル47)に仮想媒
体を移動する場合には,次の移動コマンドを発行する。
When moving the data recorded in the real medium between different real cells, the move command is similarly issued by the host computer. For example, when moving a virtual medium from cell A (virtual cell 0) in FIG. 6 to cell E (virtual cell 47), the next move command is issued.

【0039】MOVE(0,0,0),(3,3,2) そして,ライブラリ装置は,セルAにある実媒体を空い
ているMTUに移動して,その仮想セル0のデータ(仮
想媒体)をメモリ上に読み取り,仮想セル0のデータを
消去し,その実媒体のディレクトリ部を更新する。そし
て,その実媒体をセルAに戻す。次にライブラリ装置は
セルD(座標(3,3,0))にある実媒体を取り出
し,MTUにセットする。そして,メモリに書き込まれ
たデータをその実媒体の仮想セル2(セルC)に書き込
み,その実媒体のディレクトリ部のデータを更新し,そ
の実媒体をセルDに戻す。
MOVE (0,0,0), (3,3,2) Then, the library device moves the real medium in the cell A to the vacant MTU, and the data of the virtual cell 0 (virtual medium ) Is read on the memory, the data of the virtual cell 0 is erased, and the directory portion of the real medium is updated. Then, the actual medium is returned to the cell A. Next, the library device takes out the real medium in the cell D (coordinates (3, 3, 0)) and sets it in the MTU. Then, the data written in the memory is written in the virtual cell 2 (cell C) of the real medium, the data in the directory part of the real medium is updated, and the real medium is returned to the cell D.

【0040】図4の動作を説明する。ホストコンピュー
タ61において,ライブラリ支援プログラム67により
MOVEコマンドを発行する。そのコマンドは入出力処
理部68を介してディレクタ72に転送される。ディレ
クタ72はホストコンピュータより受領した3次元座標
のうちの2次元成分をもとに移動元と移動先の実媒体の
番号(実媒体が収納されている実セルの番号)を求め
る。また,空いているMTUの番号を求める。そして,
移動元,移動先のデータはアクセッサコントローラ処理
部81によりアクセッサコントローラ82に転送され,
アクセッサコントローラ82はアクセッサ83を制御
し,データの移動元の実媒体を取り出し,MTU84に
セットする。そこでMTU処理部はそのコマンドのアド
レスに従って,区画のデータを読み出しディレクタ72
内のメモリに転送する。そして,その実媒体のディレク
トリ部を更新する。次に,同じ実媒体上の移動であれ
ば,ディレクタ72内のメモリに保持されているデータ
を取り出し,その実媒体をセットしたままで移動先の区
画(仮想セル)にそのデータを書き込み,ディレクトリ
部を更新して,取り出した実セルに実媒体を戻す。別の
実媒体にデータを移動するのであれば,取り出した実媒
体を元の実セルに戻し,コマンドで指定される仮想セル
の3次元座標から2次元成分を参照して書き込みの対象
の仮想セルをもつ実媒体の番号を求め,その実媒体を収
納する実セルからその実媒体を取り出す。そしてその実
媒体をMTUにセットする。MTU処理部73はディレ
クタ72のメモリに保持されているデータを取り出し,
コマンドの座標で指定される仮想セルにメモリから取り
出したデータを書き込む。そして,その実媒体のディレ
クトリ部を更新し,その実媒体を元の実セルに戻す。
The operation of FIG. 4 will be described. In the host computer 61, the library support program 67 issues a MOVE command. The command is transferred to the director 72 via the input / output processing unit 68. The director 72 obtains the numbers of the real media of the movement source and the movement destination (the numbers of the real cells storing the real media) based on the two-dimensional components of the three-dimensional coordinates received from the host computer. Moreover, the number of the vacant MTU is calculated. And
The source and destination data is transferred to the accessor controller 82 by the accessor controller processing unit 81,
The accessor controller 82 controls the accessor 83 to take out the real medium of the data transfer source and set it in the MTU 84. Therefore, the MTU processing unit reads out the data of the partition according to the address of the command, and the director 72
Transfer to internal memory. Then, the directory part of the actual medium is updated. Next, if it is the movement on the same real medium, the data held in the memory in the director 72 is taken out, the data is written to the movement destination partition (virtual cell) with the real medium set, and the directory portion is written. Is updated and the actual medium is returned to the taken-out actual cell. If data is to be moved to another real medium, the extracted real medium is returned to the original real cell, and the virtual cell to be written is referenced by referring to the two-dimensional component from the three-dimensional coordinates of the virtual cell specified by the command. Then, the number of the real medium that has is obtained, and the real medium is taken out from the real cell that stores the real medium. Then, the actual medium is set in the MTU. The MTU processing unit 73 takes out the data held in the memory of the director 72,
The data fetched from the memory is written to the virtual cell specified by the command coordinates. Then, the directory part of the actual medium is updated, and the actual medium is returned to the original actual cell.

【0041】また,必要であれば,移動したファイルの
ファイル名と新たに格納された仮想セルの対応をとり,
ファイルテーブル112を更新する。本発明の実施例1
は図1の原理説明(1) の実施例である。
If necessary, the file name of the moved file is associated with the newly stored virtual cell,
The file table 112 is updated. Example 1 of the present invention
Is an embodiment of the principle explanation (1) of FIG.

【0042】図7は本発明の実施例1のフローチャート
であって,ディレクタ(管理装置)の動作のフローチャ
ートである。図7 (a)は同一実媒体間での仮想媒体の移
動を行う場合のフローチャートである。仮想セル0から
仮想セル1へ媒体を移動するものとする。
FIG. 7 is a flowchart of the first embodiment of the present invention, which is a flowchart of the operation of the director (management device). FIG. 7A is a flow chart when moving a virtual medium between the same real mediums. It is assumed that the medium is moved from virtual cell 0 to virtual cell 1.

【0043】S1 ホストコンピュータより移動命令を
受け取る(仮想セル0から仮想セル1へ移動する移動コ
マンドを受け取る)。 S2 実セルから仮想セル0を含む実媒体(仮想セルA
の実媒体)を取り出し,MTUにセットする。
S1 Receives a move command from the host computer (receives a move command for moving from virtual cell 0 to virtual cell 1). S2 Real media including real cell to virtual cell 0 (virtual cell A
Of the actual medium) and set it in the MTU.

【0044】S3 その区画0(仮想セル0)のデータ
をホストコンピュータのメモリに書き込む。 S4 メモリの内容をその区画1(仮想セル1)に書き
込む。
S3 The data of the partition 0 (virtual cell 0) is written in the memory of the host computer. The contents of the S4 memory are written to the partition 1 (virtual cell 1).

【0045】S5 区画0(仮想セル0)のデータ消去
し,ディレクトリ部を更新する。 S6 実媒体を元の実セルに移動する。図7 (b)は異な
る実媒体間で仮想媒体の移動を行う場合のフローチャー
トである。仮想セル0((A(0,0,0))から仮想
セル47(E(3,3,2))へ仮想媒体を移動するも
のとする。
S5: Data in the partition 0 (virtual cell 0) is erased, and the directory portion is updated. S6 Move the real medium to the original real cell. FIG. 7B is a flow chart in the case of moving a virtual medium between different real media. It is assumed that the virtual medium is moved from virtual cell 0 ((A (0,0,0)) to virtual cell 47 (E (3,3,2)).

【0046】S1 ホストコンピュータから移動命令を
受け取る(仮想セル0から仮想セル47へ移動する移動
コマンドを受け取る)。 S2 仮想セル0を持つ実媒体を実セルから取り出し
て,MTUに移動する。
S1 Receives a move command from the host computer (receives a move command for moving from virtual cell 0 to virtual cell 47). The real medium having the S2 virtual cell 0 is taken out from the real cell and moved to the MTU.

【0047】S3 区画0(仮想セル0)のデータをホ
ストコンピュータのメモリに読み込む。 S4 その区画0(仮想セル0)のデータを消し,ディ
レクトリ部を更新する。
S3 The data of section 0 (virtual cell 0) is read into the memory of the host computer. S4 The data in the partition 0 (virtual cell 0) is erased and the directory portion is updated.

【0048】S5 その実媒体を実セル(0,0)に戻
す。 S6 仮想セルDを含む実セル(3,3)の実媒体を取
り出して,MTUにセットする。
S5 The actual medium is returned to the actual cell (0,0). The real medium of the real cell (3, 3) including the S6 virtual cell D is taken out and set in the MTU.

【0049】S7 メモリの内容をその区画2(仮想セ
ル47)に書き込み,ディレクトリ部を更新する。 S8 実媒体を実セル(3,3)に戻す。
The contents of the S7 memory are written into the partition 2 (virtual cell 47) and the directory portion is updated. S8 The real medium is returned to the real cell (3, 3).

【0050】本発明の実施例2は図1の原理説明図(2)
の実施例である。図8は本発明の実施例2のフローチャ
ートであって,ディレクトリ部の仮想セルの情報を入れ
換えることにより仮想媒体の移動を行うディレクタ(管
理装置)のフローチャートである。仮想セル0の情報と
仮想セル1の情報を入れ換えることにより仮想セル0か
ら仮想セル1に仮想媒体を移動するものとする。
Embodiment 2 of the present invention is a principle explanatory view (2) of FIG.
This is an embodiment of the present invention. FIG. 8 is a flowchart of the second embodiment of the present invention, which is a flowchart of a director (management device) that moves a virtual medium by exchanging information of virtual cells in a directory section. It is assumed that the virtual medium is moved from the virtual cell 0 to the virtual cell 1 by exchanging the information of the virtual cell 0 and the information of the virtual cell 1.

【0051】S1 ディレクタはホストコンピュータか
ら仮想媒体を移動する移動命令を受け取る(仮想セル0
から仮想セル1へ仮想媒体を移動するコマンドを受け取
る)。
The S1 director receives a move command for moving the virtual medium from the host computer (virtual cell 0
Receives a command to move a virtual medium to virtual cell 1).

【0052】S2 実セルから仮想セル0を含む実媒体
をとり出してMTUに移動する。 S3 ディレクトリ部の内容をメモリに書き込む。 S4 メモリ上でディレクトリ部の仮想セル0のデータ
(仮想セル0の情報)と仮想セル1のデータ(仮想セル
1の情報)を入れ換える。
The real medium including the virtual cell 0 is taken out from the real cell S2 and moved to the MTU. The contents of the S3 directory section are written to the memory. The data of the virtual cell 0 (information of the virtual cell 0) and the data of the virtual cell 1 (the information of the virtual cell 1) in the directory portion are exchanged on the S4 memory.

【0053】S5 メモリの内容を実媒体のディレクト
リ部に書き込む。 S6 実媒体を実セルに移動する(実媒体を元の位置に
戻す)。 本発明の実施例3について。
S5 Write the contents of the memory in the directory section of the real medium. S6 Move the real medium to the real cell (return the real medium to the original position). About Example 3 of the present invention.

【0054】上記の説明では,1個の実媒体を複数の区
画に分割した場合に,それらを仮想セルと見做して管理
する方法について説明した。しかし,本発明は,複数の
実媒体をまとめて1つの仮想セル(1個の仮想媒体)と
して管理することもできる。本発明の実施例3はライブ
ラリ装置をこのようにしたものである。
In the above description, when one real medium is divided into a plurality of partitions, a method of managing them as virtual cells has been described. However, the present invention can also manage a plurality of real media as one virtual cell (one virtual media). The third embodiment of the present invention is such a library device.

【0055】図9は本発明の実施例3の説明図である。
図9 (a)は,14個の実セルを持つライブラリ装置にお
いて,実セル6個の実媒体を1個の仮想セルとして管理
する場合について,例として示したものである。
FIG. 9 is an explanatory diagram of the third embodiment of the present invention.
FIG. 9A shows, as an example, a case where a real medium having six real cells is managed as one virtual cell in a library device having 14 real cells.

【0056】図9 (a)において,31は実媒体収納体で
ある。32は実セルである(実セルは番号が0〜23ま
である)。
In FIG. 9A, reference numeral 31 is an actual medium container. Reference numeral 32 is a real cell (the real cells have numbers 0 to 23).

【0057】33は仮想セル0であって,実セル0,実
セル1,実セル4,実セル5,実セル8,実セル9を含
むものである。34は仮想セル1であって,実セル2,
実セル3,実セル6,実セル7,実セク10,実セル1
1を含むものである。
A virtual cell 0 33 includes a real cell 0, a real cell 1, a real cell 4, a real cell 5, a real cell 8 and a real cell 9. 34 is a virtual cell 1, which is a real cell 2,
Real cell 3, real cell 6, real cell 7, real section 10, real cell 1
1 is included.

【0058】35は仮想セル2であって,実セル12,
実セル13,実セル16,実セル17,実セル20,実
セル21を含むものである。36は仮想セル3であっ
て,実セル14,実セル15,実セル18,実セル1
9,実セル22,実セル23を含むものである。
Reference numeral 35 is a virtual cell 2, which is a real cell 12,
The real cell 13, the real cell 16, the real cell 17, the real cell 20, and the real cell 21 are included. 36 is a virtual cell 3, which is a real cell 14, a real cell 15, a real cell 18, a real cell 1
9, a real cell 22 and a real cell 23 are included.

【0059】図9 (b)は,図9 (a)に対応する仮想セル
テーブルを示すものである。110は本発明の仮想セル
テーブルである。仮想セルテーブル110は,実セル番
号0,1,4,5,8,9に対応して仮想セル番号0を
もつ。実セル番号2,3,6,7,10,11に対応し
て仮想セル番号1をもつ。以下図示を省略しているが,
実セル番号12,13,16,17,20,21に対応
して仮想セル番号2をもち,実セル番号14,15,1
8,19,22,23に対応して仮想セル番号3をも
つ。
FIG. 9 (b) shows a virtual cell table corresponding to FIG. 9 (a). Reference numeral 110 is a virtual cell table of the present invention. The virtual cell table 110 has the virtual cell number 0 corresponding to the real cell numbers 0, 1, 4, 5, 8, and 9. It has a virtual cell number 1 corresponding to the real cell numbers 2, 3, 6, 7, 10, and 11. Although not shown below,
It has a virtual cell number 2 corresponding to the real cell numbers 12, 13, 16, 17, 20, 21 and the real cell numbers 14, 15, 1
It has a virtual cell number 3 corresponding to 8, 19, 22, and 23.

【0060】このようにして,複数の実媒体を1個の仮
想媒体としてまとめて扱うことができ,1セル(実セ
ル)あたりの記録量が1つの実媒体の記憶容量を越える
場合には,複数の実セル(実媒体)を1つの媒体(仮想
媒体)として扱うことができ,仮想的に1セルあたりの
記憶容量を大きくすることができる。そのため,複数の
実媒体を一個のファイルとして管理しなければならない
ような場合にも,媒体の管理を容易に行うことができる
ようになり,ライブラリ装置の性能を大幅に向上させる
ことができる。
In this way, a plurality of real media can be collectively handled as one virtual media, and when the recording amount per cell (real cell) exceeds the storage capacity of one real medium, A plurality of real cells (real media) can be treated as one medium (virtual medium), and the storage capacity per cell can be virtually increased. Therefore, even when a plurality of real media must be managed as one file, the media can be easily managed, and the performance of the library device can be greatly improved.

【0061】[0061]

【発明の効果】本発明によれば,従来の移動コマンド等
のコマンドを使用して実媒体を効率的に管理することが
できる。そのため,特別に管理方法を変更することな
く,1個の最大記憶容量の実媒体を複数の小容量の仮想
媒体として扱うことができる。その結果,ライブラリ装
置が実際に記憶する記憶容量の無駄を無くし,性能を大
幅に向上させることができるようになる。
According to the present invention, a real medium can be efficiently managed by using a conventional command such as a move command. Therefore, one real medium with the maximum storage capacity can be treated as a plurality of virtual media with small capacities without changing the management method. As a result, it is possible to eliminate the waste of the storage capacity actually stored in the library device and significantly improve the performance.

【0062】本発明の原理(2) の管理方法によれば,デ
ィレクトリ部の仮想セルの情報を移動するだけて,仮想
媒体の移動を行うことができるので,区画のデータの移
動管理を高速に行うことができ,ライブラリ装置の管理
の能率を大幅に向上させることができる。
According to the management method of the principle (2) of the present invention, since the virtual medium can be moved only by moving the information of the virtual cell of the directory portion, the movement management of the data of the partition can be performed at high speed. It is possible to improve the management efficiency of the library device.

【0063】また,本発明の実施例3のように,複数の
実媒体を1個の仮想媒体としてまとめて扱うこともでき
る。その場合には,仮想的に1セルあたりの記憶容量を
大きくすることができ,複数の実媒体を一個のファイル
として管理したいような場合にも,媒体の管理を容易に
行うことができるようになり,ライブラリ装置の性能を
大幅に向上させることができる。
Further, as in the third embodiment of the present invention, a plurality of real media can be collectively handled as one virtual media. In that case, the storage capacity per cell can be virtually increased, and the medium can be easily managed even when it is desired to manage a plurality of real media as one file. Therefore, the performance of the library device can be significantly improved.

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

【図1】本発明の原理説明図(1) である。FIG. 1 is an explanatory view (1) of the principle of the present invention.

【図2】本発明の原理説明図(2) である。FIG. 2 is an explanatory view (2) of the principle of the present invention.

【図3】本発明の実施例を示す図である。FIG. 3 is a diagram showing an embodiment of the present invention.

【図4】本発明のシステム構成の実施例を示す図であ
る。
FIG. 4 is a diagram showing an example of a system configuration of the present invention.

【図5】本発明の管理テーブルの実施例を示す図であ
る。
FIG. 5 is a diagram showing an example of a management table of the present invention.

【図6】本発明の仮想セルの概念図である。FIG. 6 is a conceptual diagram of a virtual cell of the present invention.

【図7】本発明の実施例1のフローチャートを示す図で
ある。
FIG. 7 is a diagram showing a flowchart of the first embodiment of the present invention.

【図8】本発明の実施例2のフローチャートを示す図で
ある。
FIG. 8 is a diagram showing a flowchart of a second embodiment of the present invention.

【図9】本発明の実施例3を示す図である。FIG. 9 is a diagram showing Embodiment 3 of the present invention.

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

1:実媒体収納体 2:実セルA 11:実媒体 12:ディレクトリ部 1: Real medium container 2: Real cell A 11: Real medium 12: Directory part

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 実媒体を収納する実セルと実媒体をセッ
トして実媒体に記録されているデータの読み出しもしく
は書き込みを行う駆動装置と実媒体を個別に収納する実
媒体収納体と,実媒体収納体からの実媒体の取り出しと
収納を行うアクセッサとを備えるライブラリ装置におい
て,実媒体を複数の区画に分割し,該区画を仮想セルと
みなし,仮想セルの管理情報に従って実媒体を管理する
ことを特徴とするライブラリ装置における媒体管理方
法。
1. An actual cell for accommodating an actual medium, a drive device for setting the actual medium and reading or writing data recorded on the actual medium, and an actual medium container for individually accommodating the actual medium, In a library device including an accessor for taking out and storing a real medium from a medium container, the real medium is divided into a plurality of partitions, the partitions are regarded as virtual cells, and the real media are managed according to the management information of the virtual cells. A medium management method in a library device characterized by the above.
【請求項2】 区画上にデータが記録されている場合に
は仮想セルに仮想媒体が存在するとみなし,データが記
録されていない場合には媒体が存在しないものとみなす
ことを特徴とする請求項1に記載のライブラリ装置にお
ける媒体管理方法。
2. The virtual medium is considered to be present in the virtual cell when data is recorded on the partition, and the medium is considered to be absent when the data is not recorded. 1. A medium management method in the library device according to 1.
【請求項3】 仮想セル間の仮想媒体の移動により実媒
体の区画間でのデータ移動を行うことを特徴とする請求
項1もしくは2に記載のライブラリ装置における媒体管
理方法。
3. The medium management method in the library device according to claim 1, wherein data movement between partitions of a real medium is performed by moving a virtual medium between virtual cells.
【請求項4】 仮想セルの位置を3次元座標(x,y,
z)で表し,その2次元平面座標成分(x,y)は実媒
体収納体の実媒体を実際に収納する位置に表すものであ
ることを特徴とする請求項1,2もしくは3に記載のラ
イブラリ装置における媒体管理方法。
4. The position of the virtual cell is defined by three-dimensional coordinates (x, y,
z), and the two-dimensional plane coordinate component (x, y) thereof is represented at the position where the real medium is actually stored in the real medium storage body. A medium management method in a library device.
【請求項5】 実媒体上に仮想セルの情報を保持するデ
ィレクトリ部を設け,ディレクトリ部は仮想媒体の存在
の有無を表す情報を持ち,ディレクトリ部の仮想セルの
情報を入れ換えることにより仮想媒体の入れ換えを行う
ことを特徴とするライブラリ装置における媒体管理方
法。
5. A directory section for holding information of virtual cells is provided on a real medium, and the directory section has information indicating the presence or absence of the virtual medium, and the virtual cell information of the virtual medium is exchanged by exchanging the virtual cell information of the directory section. A medium management method in a library apparatus, which is characterized by performing replacement.
【請求項6】 実媒体を格納する複数の実セルを1つの
仮想セルとし,その仮想セルの複数の実媒体を1つの仮
想媒体とすることで複数の実媒体を1セルとして管理す
ることを特徴とするライブラリ装置における媒体管理方
法。
6. A method of managing a plurality of real media as one cell by setting a plurality of real cells storing real media as one virtual cell, and making a plurality of real media of the virtual cell one virtual medium. A medium management method in a characteristic library device.
【請求項7】 実媒体を収納する実セルと実媒体をセッ
トして実媒体に記録されているデータの読み出しもしく
は書き込みを行う駆動装置と実媒体を個別に収納する実
媒体収納体と,実媒体収納体からの実媒体の取り出しと
収納を行うアクセッサとを備えるライブラリ装置におい
て,駆動装置およびアクセッサの動作を管理するもので
あって,実媒体を複数の区画に分割し,該区画を仮想セ
ルと見做し,仮想セルの管理情報に従って実媒体を管理
することを特徴とするライブラリ装置における管理装
置。
7. A real cell for accommodating a real medium, a drive device for setting the real medium and reading or writing data recorded in the real medium, and a real medium container for separately accommodating the real medium, In a library device having an accessor for taking out and storing a real medium from a medium container, the operation of a drive unit and an accessor is managed, the real medium is divided into a plurality of sections, and the sections are virtual cells. A management device in a library device, which is characterized by managing a real medium according to management information of a virtual cell.
JP9636796A 1996-04-18 1996-04-18 Medium management method and management device in library device Pending JPH09282110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9636796A JPH09282110A (en) 1996-04-18 1996-04-18 Medium management method and management device in library device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9636796A JPH09282110A (en) 1996-04-18 1996-04-18 Medium management method and management device in library device

Publications (1)

Publication Number Publication Date
JPH09282110A true JPH09282110A (en) 1997-10-31

Family

ID=14163013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9636796A Pending JPH09282110A (en) 1996-04-18 1996-04-18 Medium management method and management device in library device

Country Status (1)

Country Link
JP (1) JPH09282110A (en)

Similar Documents

Publication Publication Date Title
US6031798A (en) Library control of media capacity scaling and library component attributes
US6336163B1 (en) Method and article of manufacture for inserting volumes for import into a virtual tape server
US7647135B2 (en) Robotic data storage library comprising a virtual port
US6950723B2 (en) Method, system, and program for virtualization of data storage library addresses
US5805864A (en) Virtual integrated cartridge loader for virtual tape storage system
US4945428A (en) Method of managing a media library
JPH01305419A (en) Peripheral data memory
US9159357B2 (en) Efficient moves via repository
JP2003150322A (en) Virtual electronic data library for supporting drive types by using virtual library in single library
JPH09160727A (en) Information storage and library device
JP6042346B2 (en) System and method for storing data using host settings of storage medium
US8682471B2 (en) Efficient magazine moves
JPH10232800A (en) Magnetic tape storage device
US20020087783A1 (en) Low cost, high performance tape drive
US20120127607A1 (en) Efficient moves via repository
JPH09282110A (en) Medium management method and management device in library device
JP3183781B2 (en) Library device and library system
JP3121387B2 (en) Magnetic tape control device
JPH05274760A (en) Magnetic cartridge tape device of library type
JP2752750B2 (en) Auto changer
JPH02113467A (en) Disk control system
JP2008243116A (en) Library controller
JPH03102511A (en) Recording medium selecting method for device with large storage capacity
JPH09265763A (en) Information recorder
JPH0748289B2 (en) Storage volume input processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20050303

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20050315

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20050712

Free format text: JAPANESE INTERMEDIATE CODE: A02