JP2008134682A - Virtual library device - Google Patents

Virtual library device Download PDF

Info

Publication number
JP2008134682A
JP2008134682A JP2006318392A JP2006318392A JP2008134682A JP 2008134682 A JP2008134682 A JP 2008134682A JP 2006318392 A JP2006318392 A JP 2006318392A JP 2006318392 A JP2006318392 A JP 2006318392A JP 2008134682 A JP2008134682 A JP 2008134682A
Authority
JP
Japan
Prior art keywords
logical
mount
logical volume
volume
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006318392A
Other languages
Japanese (ja)
Other versions
JP4921938B2 (en
JP2008134682A5 (en
Inventor
Koichi Doi
巧一 土井
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 JP2006318392A priority Critical patent/JP4921938B2/en
Publication of JP2008134682A publication Critical patent/JP2008134682A/en
Publication of JP2008134682A5 publication Critical patent/JP2008134682A5/ja
Application granted granted Critical
Publication of JP4921938B2 publication Critical patent/JP4921938B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a virtual library device which, after a request to mount a logical volume in a logical drive has been issued from a host, cancels this mount process by the completion of mounting of the logical volume. <P>SOLUTION: If, after mounting of a logical volume 141 in a logical drive 13 is directed by a host 3, cancellation of this mount process is directed, a logical layer control part 11 of the virtual library device 1 directs a physical layer control part 12 to cancel a RECALL process, and the process of mounting the logical volume 141 in the logical drive 13 is suspended after waiting for completion of cancellation of the RECALL process by the physical layer control part 12. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、仮想ライブラリ装置に関し、特に、ホストから論理ボリュームを論理ドライブにマウントする要求が出された後、当該論理ボリュームのマウント完了までに上記マウント処理をキャンセルする仮想ライブラリ装置に関する。   The present invention relates to a virtual library apparatus, and more particularly, to a virtual library apparatus that cancels the mount processing until a logical volume is mounted after a request for mounting a logical volume on a logical drive is issued from a host.

図22は、従来のライブラリシステムを示す図である。従来のライブラリシステムでは、ホスト(Host Computer )3’が直接移送機構22’を制御して、実ライブラリ装置2’が備える物理ボリューム21' の物理ドライブ23’へのマウント/アンマウント処理を実行する。そして、ホスト3’は、当該物理ドライブ23’にマウントされた物理ボリューム21' のデータのRead/Writeを行っていた。   FIG. 22 is a diagram showing a conventional library system. In the conventional library system, the host (Host Computer) 3 'directly controls the transfer mechanism 22' to execute the mounting / unmounting process to the physical drive 23 'of the physical volume 21' included in the real library apparatus 2 '. Then, the host 3 'performs Read / Write of the data of the physical volume 21' mounted on the physical drive 23 '.

一方、図23に示す従来の仮想ライブラリ装置1’は、ホスト3’と実ライブラリ装置2’の間に設けられ、ホスト3’に対して論理ドライブ12’と論理ボリューム131’とを提供する。ホスト3’は、仮想ライブラリ装置1’と接続されているが、ホスト3’からは、ホスト3’があたかも実ライブラリ装置2’と接続されているかのように見える。従って、ホスト3’からは特別な意識を持つことなく仮想ライブラリ装置1’内の論理ドライブ12’を介して論理ボリューム131’へアクセスすることが可能となる。
仮想ライブラリ装置1’が備える制御部11’は、論理ボリューム131’へ記録したデータ(論理ボリュームデータ)を仮想ライブラリ装置1’内のキャッシュディスク13’に格納し、その後、ホストアクセスとは非同期に実ライブラリ装置2’内の物理ボリューム21’へ保存する。
On the other hand, the conventional virtual library apparatus 1 ′ shown in FIG. 23 is provided between the host 3 ′ and the real library apparatus 2 ′, and provides a logical drive 12 ′ and a logical volume 131 ′ to the host 3 ′. The host 3 ′ is connected to the virtual library device 1 ′. From the host 3 ′, it appears as if the host 3 ′ is connected to the real library device 2 ′. Therefore, the host 3 ′ can access the logical volume 131 ′ via the logical drive 12 ′ in the virtual library device 1 ′ without any special awareness.
The control unit 11 ′ included in the virtual library device 1 ′ stores the data (logical volume data) recorded in the logical volume 131 ′ in the cache disk 13 ′ in the virtual library device 1 ′, and then asynchronously with host access. Save to the physical volume 21 'in the real library device 2'.

実ライブラリ装置2’内の物理ボリューム21’へ保存された論理ボリュームデータは、キャッシュディスク13’の容量の許す限り、キャッシュディスク13’内に保持される。そのため、再度同じ論理ボリューム131’へのアクセスをホスト3’が要求した場合、即座にReady状態を応答することが可能である。   The logical volume data stored in the physical volume 21 'in the real library device 2' is held in the cache disk 13 'as long as the capacity of the cache disk 13' permits. Therefore, when the host 3 ′ requests access to the same logical volume 131 ′ again, the Ready state can be immediately responded.

一方、キャッシュディスク13’の容量が不足した場合、制御部11’は、物理ボリューム21’へ保存済みの論理ボリュームデータについて、使用頻度等を考慮した論理に基づきキャッシュディスク13’上から追い出し処理を行い、他の論理ボリュームデータの保存に必要な容量を確保する。キャッシュディスク13’から追い出された論理ボリュームデータは、次回ホスト3’が該論理ボリュームデータの論理ドライブ12’へのマウントを要求した時に、物理ボリューム21’からキャッシュディスク13’に展開される(RECALL処理が行われる)。上記RECALL処理が行われる場合、ホスト3’がマウント要求を出してから、マウントが完了するまでに数十秒〜数分の時間がかかる。   On the other hand, when the capacity of the cache disk 13 ′ is insufficient, the control unit 11 ′ performs the eviction process on the logical volume data stored in the physical volume 21 ′ from the cache disk 13 ′ based on the logic considering the usage frequency and the like. To secure the capacity required to store other logical volume data. The logical volume data evicted from the cache disk 13 ′ is expanded from the physical volume 21 ′ to the cache disk 13 ′ when the host 3 ′ next requests mounting of the logical volume data to the logical drive 12 ′ (RECALL). Processing is performed). When the RECALL process is performed, it takes several tens of seconds to several minutes after the host 3 'issues a mount request until the mount is completed.

なお、下記の特許文献1には、キャッシュディスクを新たに別のキャッシュディスクに取り替えた場合でも、キャッシュディスク取り替え直後に発生した論理ボリュームのマウント要求に対する応答速度が、キャッシュディスク交換前の応答速度よりも遅くなることを抑止する仮想ライブラリ装置について記載されている(特許文献1参照)。
特開2006−134217号公報
In Patent Document 1 below, even when a cache disk is newly replaced with another cache disk, the response speed for the logical volume mount request generated immediately after the cache disk replacement is higher than the response speed before the cache disk replacement. Is described as a virtual library device (see Patent Document 1).
JP 2006-134217 A

図23において、論理ボリューム131’のマウント要求は、ホスト3’上において当該論理ボリューム131’を使用するJOBが起動されると発生するが、これらのJOBは、様々な状況で実行がキャンセルされることがある。JOBのキャンセルでは、確保した論理ドライブ12’を他のJOBで使用可能状態にするため、論理ドライブ12’の解放処理が行われる。論理ドライブ12’の解放の際には、通常、マウント済みの論理ボリューム131’のアンマウントが行われる。   In FIG. 23, the mount request for the logical volume 131 ′ is generated when a job using the logical volume 131 ′ is started on the host 3 ′. However, the execution of these jobs is canceled in various situations. Sometimes. In canceling a job, the logical drive 12 'is released in order to make the secured logical drive 12' usable by another job. When releasing the logical drive 12 ', the mounted logical volume 131' is normally unmounted.

しかし、仮想ライブラリ装置1’は、指定された論理ボリュームデータがキャッシュディスク13’上に無い場合、物理ボリューム21’からのRECALL処理が必要となり、論理ボリューム131' のマウントが完了してアンマウントができるようになるまでに数十秒〜数分かかる場合がある。従って、JOBが起動されてから、論理ボリューム131’のマウント処理が完了するまでに、JOBキャンセルを行いたい場合でも、場合により、数十秒〜数分経過しなければ、JOBキャンセルが完了できないという問題が発生する。   However, if the specified logical volume data is not on the cache disk 13 ′, the virtual library device 1 ′ needs to perform RECALL processing from the physical volume 21 ′, and the mounting of the logical volume 131 ′ is completed and unmounting is possible. It may take several tens of seconds to several minutes to become. Therefore, even if it is desired to cancel the job after the job is started and before the mount processing of the logical volume 131 ′ is completed, the job cancel cannot be completed until several tens of seconds to several minutes have passed. A problem occurs.

上記の問題は、図22に示すような、ホスト3’が直接実ライブラリ装置2’を制御する構成でも存在する問題である。しかし、図22に示す実ライブラリ装置2’では、物理ボリューム21’をマウントする処理は、通常数秒〜十数秒であって、この時間だけはJOBキャンセルが待たされるが、実運用上それほど問題視されることは無かった。   The above problem exists even in a configuration in which the host 3 'directly controls the real library apparatus 2' as shown in FIG. However, in the actual library device 2 ′ shown in FIG. 22, the processing for mounting the physical volume 21 ′ is usually several seconds to several tens of seconds, and JOB cancellation is waited only during this time. There was nothing to do.

本発明は上記問題点を解決するためになされたものであって、ホストから論理ボリュームを論理ドライブにマウントする要求が出された後、当該論理ボリュームのマウント完了までに上記マウント処理をキャンセルする仮想ライブラリ装置の提供を目的とする。   The present invention has been made in order to solve the above-described problem, and a virtual machine that cancels the mounting process before the completion of mounting of the logical volume after a request for mounting the logical volume to the logical drive is issued from the host. An object is to provide a library apparatus.

上記課題を解決するため、本発明においては、JOBがキャンセルされた時に、ホストから仮想ライブラリ装置に対して、論理ボリュームのマウント処理をキャンセルするコマンドであるCANCEL MOUNTコマンドを発行する。当該CANCEL MOUNTコマンドには、直前にホストから発行された、論理ボリュームのマウント処理を実行するコマンド(MOUNTコマンド)で指示したパラメータが付与される。仮想ライブラリ装置は、ホストからCANCEL MOUNTコマンドを受けた場合、該当するMOUNTコマンドの実行状態に応じて、マウント済み以外のケースで、マウント処理を中断し、論理ボリュームおよび論理ドライブの解放を行う。当該マウント処理の中断処理、論理ボリュームおよび論理ドライブの解放は、論理層で実行可能であり、物理処理を必要としないため、即座に完了することができる。   In order to solve the above problem, in the present invention, when a job is canceled, a CANCEL MOUNT command, which is a command for canceling the logical volume mounting process, is issued from the host to the virtual library apparatus. The CANCEL MOUNT command is given the parameter indicated by the command (MOUNT command) issued from the host immediately before for executing the logical volume mounting process. When the virtual library device receives a CANCEL MOUNT command from the host, the virtual library device suspends the mounting process and releases the logical volume and logical drive in cases other than mounted according to the execution state of the corresponding MOUNT command. The suspension processing of the mount processing and the release of the logical volume and the logical drive can be executed in the logical layer and do not require physical processing, and can be completed immediately.

すなわち、本発明においては次のようにして前記課題を解決する。
(1)物理ボリュームとしての記録媒体と、該物理ボリュームに対するアクセスを行なう物理ドライブを有する実ライブラリ装置と、処理装置との間に設けられ、上記物理ボリュームから読み出されたデータを論理ボリュームとして保持するキャッシュディスクと、該キャッシュディスクに保持される該論理ボリュームに対するアクセスを行なう論理ドライブとを備えた仮想ライブラリ装置を設ける。
上記仮想ライブラリ装置は、上記処理装置からのマウント指示があったとき、要求された論理ボリュームが上記キャッシュディスクに保持されている場合には、対応する論理ドライブへの該論理ボリュームのマウント完了を上記処理装置に通知し、要求された論理ボリュームが上記キャッシュディスクに保持されていない場合には、要求された論理ボリュームを保持する実ライブラリ装置の物理ボリュームを物理ドライブにマウントし、上記物理ドライブから論理ボリュームを読み出して上記キャッシュディスクに展開し、対応する論理ドライブへの該論理ボリュームのマウント完了を上記処理装置に通知するマウント処理を行なうマウント処理手段と、上記処理装置から論理ボリュームを論理ドライブにマウントする要求を出された後、当該論理ボリュームの上記マウント完了までの間に、上記マウント処理をキャンセルする指示を出し、論理ボリュームおよび論理ドライブを解放させるマウントキャンセル手段を備える。
(2)上記マウント処理手段は、要求された論理ボリュームが上記キャッシュディスクに保持されていない場合であってキャッシュディスクに空き容量がないとき、キャッシュディスクに保存されている論理ボリュームを上記実ライブラリ装置へ追い出して、要求された論理ボリュームに必要な容量を確保し、ついで上記要求された論理ボリュームを保持する実ライブラリ装置の物理ボリュームを物理ドライブにマウントし、上記論理ボリュームを読み出して上記キャッシュディスクに展開するリコール処理を行う。そして、上記リコール処理の途中で、マウントキャンセル指示が出されたとき、マウントキャンセル手段は、上記リコール処理を中断させる。
That is, in the present invention, the above-mentioned problem is solved as follows.
(1) Provided between a recording medium as a physical volume, a real library device having a physical drive for accessing the physical volume, and a processing device, and holds data read from the physical volume as a logical volume There is provided a virtual library device comprising a cache disk to be accessed and a logical drive for accessing the logical volume held in the cache disk.
When the requested logical volume is held in the cache disk when the virtual library apparatus receives a mount instruction from the processing apparatus, the virtual library apparatus completes mounting the logical volume on the corresponding logical drive. If the requested logical volume is not held in the cache disk, the physical volume of the real library device that holds the requested logical volume is mounted on the physical drive, and the logical drive Mount processing means for reading the volume, expanding it to the cache disk, notifying the processing device of completion of mounting the logical volume on the corresponding logical drive, and mounting the logical volume from the processing device to the logical drive After making a request to Until the mount completion of logical volumes, issues an instruction to cancel the mounting process includes a mount cancellation means for releasing the logical volumes and logical drives.
(2) When the requested logical volume is not held in the cache disk and the cache disk has no free space, the mount processing means transfers the logical volume stored in the cache disk to the real library device. To secure the required capacity for the requested logical volume, then mount the physical volume of the real library device holding the requested logical volume on a physical drive, read the logical volume, and store it on the cache disk Perform the recall process to expand. Then, when a mount cancel instruction is issued during the recall process, the mount cancel means interrupts the recall process.

本発明の仮想ライブラリ装置は、ホストによってJOBが起動されて論理ボリュームを論理ドライブにマウントする要求が出された後に、ホストから該マウントをキャンセルするコマンドが発行された場合に、当該論理ボリュームのマウント完了までに上記マウント処理をキャンセルする。従って、本発明の仮想ライブラリ装置によれば、マウント処理の完了を待つことなく、即座にJOBのキャンセルを行うことが可能となる。   The virtual library apparatus according to the present invention mounts a logical volume when a command for canceling the mount is issued from the host after a job is started by the host and a request to mount the logical volume on the logical drive is issued. Cancel the mounting process before completion. Therefore, according to the virtual library device of the present invention, it is possible to cancel a job immediately without waiting for the completion of the mounting process.

図1は、本発明のシステム構成の一例を示す図である。仮想ライブラリ装置1は、ホスト3からキャッシュディスク14内の論理ボリューム141を論理ドライブ13にマウントする要求が出された後、当該論理ボリューム141のマウント完了までに上記マウント処理をキャンセルする処理装置である。仮想ライブラリ装置1は、実ライブラリ装置2とホスト3との間に設けられている。   FIG. 1 is a diagram showing an example of a system configuration of the present invention. The virtual library device 1 is a processing device that cancels the mount processing until the mounting of the logical volume 141 is completed after the host 3 issues a request to mount the logical volume 141 in the cache disk 14 to the logical drive 13. . The virtual library device 1 is provided between the real library device 2 and the host 3.

実ライブラリ装置2は、例えばテープカードリッジ等の記憶媒体である物理ボリューム21を管理するライブラリ装置である。実ライブラリ装置2は、物理ボリューム21と、物理ボリューム21に対するアクセスを行なう物理ドライブ22と、物理ボリューム21の物理ドライブ22へのマウント/アンマウント処理を実行するための移送機構23と、物理ドライブ22及び移送機構23を制御するライブラリ制御部24とを備える。   The real library device 2 is a library device that manages a physical volume 21 that is a storage medium such as a tape cartridge. The real library apparatus 2 includes a physical volume 21, a physical drive 22 that accesses the physical volume 21, a transfer mechanism 23 for executing mount / unmount processing of the physical volume 21 on the physical drive 22, A library control unit 24 for controlling the transfer mechanism 23.

ホスト(Host Computer )3は、仮想ライブラリ装置1に対して様々なコマンドを発行する処理装置である。   The host (Host Computer) 3 is a processing device that issues various commands to the virtual library device 1.

仮想ライブラリ装置1は、論理層制御部11、物理層制御部12、論理ドライブ13、キャッシュディスク14を備える。論理層制御部11は、仮想ライブラリ装置1内の論理層を制御する。例えば、論理層制御部11は、ホスト3から発行されたMOUNTコマンドに基づいて、キャッシュディスク14内の論理ボリューム141の論理ドライブ13へのマウント処理を行う。より具体的には、論理層制御部11から論理ボリューム141のマウントを指示された論理ドライブ13が、該論理ボリューム141にアクセスして、該論理ボリューム141をマウントする。また、論理層制御部11は、ホスト3から発行されたMOUNT CANCELコマンドに基づいて、キャッシュディスク14内の論理ボリューム141の論理ドライブ13へのマウント処理のキャンセルを行う。   The virtual library device 1 includes a logical layer control unit 11, a physical layer control unit 12, a logical drive 13, and a cache disk 14. The logical layer control unit 11 controls the logical layer in the virtual library device 1. For example, the logical layer control unit 11 mounts the logical volume 141 in the cache disk 14 on the logical drive 13 based on the MOUNT command issued from the host 3. More specifically, the logical drive 13 instructed by the logical layer control unit 11 to mount the logical volume 141 accesses the logical volume 141 and mounts the logical volume 141. Further, the logical layer control unit 11 cancels the mount processing of the logical volume 141 in the cache disk 14 to the logical drive 13 based on the MOUNT CANCEL command issued from the host 3.

物理層制御部12は、仮想ライブラリ装置1内の物理層を制御する。例えば、物理層制御部12は、論理層制御部11から指示を受けて、論理ボリューム141のリコール(RECALL)処理(実ライブラリ装置2の物理ボリューム21から読み出したデータのキャッシュディスク14の論理ボリューム141への格納処理)を実行する。また、例えば、物理層制御部12は、論理層制御部11から指示を受けて、論理ボリューム141のRECALL処理のキャンセルを実行する。   The physical layer control unit 12 controls the physical layer in the virtual library device 1. For example, the physical layer control unit 12 receives an instruction from the logical layer control unit 11 and performs a recall (RECALL) processing of the logical volume 141 (the logical volume 141 of the cache disk 14 of the data read from the physical volume 21 of the real library device 2). Storage process). Further, for example, the physical layer control unit 12 receives an instruction from the logical layer control unit 11 and cancels the RECALL process for the logical volume 141.

論理ドライブ13は、キャッシュディスク14内の論理ボリューム141に対するアクセスを行なうドライブである。キャッシュディスク14は、実ライブラリ装置2の物理ボリューム21から読み出されたデータを論理ボリューム141として保持する記憶手段である。   The logical drive 13 is a drive that accesses the logical volume 141 in the cache disk 14. The cache disk 14 is storage means for holding data read from the physical volume 21 of the real library device 2 as a logical volume 141.

論理層制御部11は、コマンド受け付け部111、コマンド判定部112、コマンド実行管理部113、論理ボリューム管理部114、論理ドライブ管理部115を備える。   The logical layer control unit 11 includes a command reception unit 111, a command determination unit 112, a command execution management unit 113, a logical volume management unit 114, and a logical drive management unit 115.

コマンド受け付け部111は、ホスト3が発行したコマンドを受け付ける。例えば、コマンド受け付け部111は、キャッシュディスク14内の論理ボリューム141の論理ドライブ13へのマウント処理を指示するMOUNTコマンドを受け付ける。また、例えば、コマンド受け付け部111は、キャッシュディスク14内の論理ボリューム141の論理ドライブ13へのマウント処理のキャンセルを指示するMOUNT CANCELLコマンドを受け付ける。   The command receiving unit 111 receives a command issued by the host 3. For example, the command accepting unit 111 accepts a MOUNT command that instructs to mount the logical volume 141 in the cache disk 14 on the logical drive 13. Further, for example, the command receiving unit 111 receives a MOUNT CANCEL command for instructing cancellation of mounting processing of the logical volume 141 in the cache disk 14 to the logical drive 13.

コマンド判定部112は、コマンド受け付け部111によって受け付けられたコマンドを判定する。コマンド実行管理部113は、論理ボリューム管理部114と論理ドライブ管理部115とを制御して、コマンド判定部112によって判定されたコマンドを実行する。例えば、コマンド実行管理部113は、コマンド判定部112によって判定されたコマンドがMOUNTコマンドである場合、論理ボリューム管理部114および論理ドライブ管理部115を制御して、キャッシュディスク14内の論理ボリューム141の論理ドライブ13へのマウント処理を実行する。すなわち、ホスト3から要求された論理ボリューム141がキャッシュディスク14に保持されている場合には、コマンド実行管理部113は、対応する論理ドライブ13へ該論理ボリューム141をマウントして、該マウントの完了をホスト3に通知する。   The command determination unit 112 determines the command received by the command reception unit 111. The command execution management unit 113 controls the logical volume management unit 114 and the logical drive management unit 115 to execute the command determined by the command determination unit 112. For example, when the command determined by the command determination unit 112 is a MOUNT command, the command execution management unit 113 controls the logical volume management unit 114 and the logical drive management unit 115 to control the logical volume 141 in the cache disk 14. A mount process to the logical drive 13 is executed. That is, when the logical volume 141 requested from the host 3 is held in the cache disk 14, the command execution management unit 113 mounts the logical volume 141 on the corresponding logical drive 13, and completes the mounting. Is notified to the host 3.

また、例えば、コマンド実行管理部113は、上記マウント処理の際に、論理ボリュームデータがキャッシュディスク14に保持されていない場合に、物理層制御部12に対してRECALLコマンドを発行して、論理ボリューム141のRECALL処理を指示する。該RECALL処理を指示された物理層制御部12は、要求された論理ボリューム141を保持する実ライブラリ装置2の物理ボリューム21を物理ドライブ22にマウントし、上記物理ドライブ22から論理ボリュームデータを読み出して上記キャッシュディスク14に展開する。また、ホスト3から要求された論理ボリュームデータがキャッシュディスク14に保持されていない場合であってキャッシュディスク14に空き容量がないとき、物理層制御部12は、キャッシュディスク14に保存されている論理ボリューム141を実ライブラリ装置2へ追い出して、要求された論理ボリュームデータに必要な容量を確保し、ついで上記要求された論理ボリュームデータを保持する実ライブラリ装置2の物理ボリューム21を物理ドライブ22にマウントして、上記論理ボリュームデータを読み出してキャッシュディスク14に展開する。   Further, for example, the command execution management unit 113 issues a RECALL command to the physical layer control unit 12 when the logical volume data is not held in the cache disk 14 during the mount process, and the logical volume data 141 RECALL processing is instructed. The physical layer control unit 12 instructed to execute the RECALL process mounts the physical volume 21 of the real library device 2 holding the requested logical volume 141 on the physical drive 22 and reads the logical volume data from the physical drive 22. The cache disk 14 is expanded. When the logical volume data requested from the host 3 is not held in the cache disk 14 and the cache disk 14 has no free space, the physical layer control unit 12 stores the logical volume data stored in the cache disk 14. The volume 141 is evicted to the real library apparatus 2 to secure a necessary capacity for the requested logical volume data, and then the physical volume 21 of the real library apparatus 2 holding the requested logical volume data is mounted on the physical drive 22. The logical volume data is read out and expanded on the cache disk 14.

また、例えば、コマンド実行管理部113は、コマンド判定部によって判定されたコマンドがMOUNT CANCELLコマンドである場合、キャッシュディスク14内の論理ボリューム141の論理ドライブ13へのマウント処理のキャンセルを実行する。特に、コマンド実行管理部113が物理層制御部12に対してRECALLコマンドを発行した後に、ホスト3からMOUNT CANCELコマンドが発行された場合、コマンド実行管理部113は、物理層制御部12に対してRECALL CANCELLコマンドを発行して、RECALL処理のキャンセルを指示する。   Further, for example, when the command determined by the command determination unit is a MOUNT CANCEL command, the command execution management unit 113 cancels the mount processing of the logical volume 141 in the cache disk 14 to the logical drive 13. In particular, when the MOUNT CANCEL command is issued from the host 3 after the command execution management unit 113 issues a RECALL command to the physical layer control unit 12, the command execution management unit 113 sends the command to the physical layer control unit 12. A RECALL CANCEL command is issued to instruct cancellation of the RECALL process.

論理ボリューム管理部114は、キャッシュディスク14内の論理ボリュームを管理する。論理ドライブ管理部115は、論理ドライブ13を管理する。   The logical volume management unit 114 manages the logical volume in the cache disk 14. The logical drive management unit 115 manages the logical drive 13.

物理層制御部12は、コマンド受け付け部121、コマンド判定部122、コマンド実行管理部123、物理ボリューム管理部124、実ライブラリ管理部125を備える。   The physical layer control unit 12 includes a command reception unit 121, a command determination unit 122, a command execution management unit 123, a physical volume management unit 124, and a real library management unit 125.

コマンド受け付け部121は、論理層制御部11(のコマンド実行管理部113)が発行したコマンドを受け付ける。コマンド判定部112は、コマンド受け付け部121によって受け付けられたコマンドを判定する。コマンド実行管理部113は、物理ボリューム管理部124と実ライブラリ管理部125とを制御して、コマンド判定部122によって判定されたコマンドを実行する。例えば、コマンド実行管理部123は、コマンド判定部122によって判定されたコマンドがRECALLコマンドである場合、論理ボリューム141のRECALL処理を実行する。具体的には、コマンド実行管理部123は、実ライブラリ装置2の物理ボリューム21からホスト3から要求された論理ボリュームデータを読み出し、読み出した論理ボリュームデータをキャッシュディスク14に格納する。また、例えば、コマンド実行管理部123は、コマンド判定部122によって判定されたコマンドがRECALL CANCELLコマンドである場合、論理ボリューム141のRECALL処理のキャンセルを実行する。   The command receiving unit 121 receives a command issued by the logical layer control unit 11 (its command execution management unit 113). The command determination unit 112 determines the command received by the command reception unit 121. The command execution management unit 113 controls the physical volume management unit 124 and the real library management unit 125 to execute the command determined by the command determination unit 122. For example, if the command determined by the command determination unit 122 is a RECALL command, the command execution management unit 123 executes RECALL processing for the logical volume 141. Specifically, the command execution management unit 123 reads the logical volume data requested from the host 3 from the physical volume 21 of the real library device 2 and stores the read logical volume data in the cache disk 14. Further, for example, when the command determined by the command determination unit 122 is a RECALL CANCEL command, the command execution management unit 123 cancels the RECALL process of the logical volume 141.

物理ボリューム管理部124は、実ライブラリ装置2が備える物理ボリュームを管理する。実ライブラリ管理部125は、実ライブラリ装置2が備える物理ドライブ22を管理する。   The physical volume management unit 124 manages physical volumes included in the real library device 2. The real library management unit 125 manages the physical drives 22 included in the real library device 2.

本発明の一実施形態によれば、論理ボリューム141及び物理ボリューム21を例えばテープ装置で構成するようにしてもよい。本発明は、その主旨に従った様々な変形が可能である。例えば、論理ボリュームと物理ボリュームは、ライブラリ装置で使用される可換型記憶媒体であればよく、任意の記憶媒体とすることができる。   According to an embodiment of the present invention, the logical volume 141 and the physical volume 21 may be configured by a tape device, for example. The present invention can be variously modified in accordance with the gist thereof. For example, the logical volume and the physical volume may be any storage medium as long as it is a replaceable storage medium used in the library apparatus.

図2乃至図4を参照して、論理ボリュームデータがキャッシュディスクに存在する場合の、仮想ライブラリ装置1による通常のマウント処理について以下に説明する。図2は、論理ボリュームデータがキャッシュディスクに存在する場合の、仮想ライブラリ装置の動作処理を示す図である。図3は、論理ボリュームデータがキャッシュディスクに存在する場合の、JOBが起動してから実行されるまでに行われる処理と当該処理の実施主体とを示す図である。図4は、論理ボリュームデータがキャッシュディスクに存在する場合の、ホストと仮想ライブラリ装置において行われる処理シーケンスを示す図である。図2乃至図4に示す括弧付きの数字[1]〜[6]の各々は、図3中に示す各々の括弧付きの数字に対応する処理のステップを示す。なお、図3中の実施主体の項目の記述のうち、VTL(論理層)は仮想ライブラリ装置1の論理層制御部11、LDは論理ドライブ13、LVは論理ボリューム141を示す。また、図3中の矢印の先は、コマンドの発行先又は処理の指示先を示す。   With reference to FIG. 2 to FIG. 4, a normal mount process by the virtual library apparatus 1 when logical volume data exists in a cache disk will be described below. FIG. 2 is a diagram showing an operation process of the virtual library device when logical volume data exists in the cache disk. FIG. 3 is a diagram illustrating a process performed from when the JOB is activated to when it is executed when the logical volume data exists in the cache disk, and an execution subject of the process. FIG. 4 is a diagram showing a processing sequence performed in the host and the virtual library device when logical volume data exists in the cache disk. Each of the numbers [1] to [6] with parentheses shown in FIGS. 2 to 4 indicates a processing step corresponding to each of the numbers with parentheses shown in FIG. 3, VTL (logical layer) indicates the logical layer control unit 11 of the virtual library apparatus 1, LD indicates the logical drive 13, and LV indicates the logical volume 141. Further, the tip of the arrow in FIG. 3 indicates a command issue destination or a processing instruction destination.

以下に、ステップ[1]〜ステップ[6]までを順に説明する。
ステップ[1]:ホスト3によってJOBが起動する。
ステップ[2]:ホスト3が仮想ライブラリ装置1の論理層制御部11に対して、MOUNTコマンドを発行する。
ステップ[3]:ホスト3からのMOUNTコマンドを受けた論理層制御部11が、論理ドライブ13に論理ボリューム141のマウントを指示する。具体的には、コマンド実行管理部113が論理ボリューム管理部114及び論理ドライブ管理部115を制御して、該論理ボリューム141の論理ドライブ13へのマウント処理を行わせる。
ステップ[4]:論理ドライブ13(を管理する論理ドライブ管理部115)が論理層制御部11のコマンド実行管理部113に論理ボリューム114のマウントの完了を報告する。
ステップ[5]:論理層制御部11がホスト3に対してMOUNTコマンドの完了を報告する。
ステップ[6]:ホスト3がJOBを実行する。すなわち、ホスト3が、論理ドライブ13にアクセスして、論理ボリュームデータのRead/Write処理を行う。
Hereinafter, step [1] to step [6] will be described in order.
Step [1]: JOB is activated by the host 3.
Step [2]: The host 3 issues a MOUNT command to the logical layer control unit 11 of the virtual library device 1.
Step [3]: Upon receiving the MOUNT command from the host 3, the logical layer control unit 11 instructs the logical drive 13 to mount the logical volume 141. Specifically, the command execution management unit 113 controls the logical volume management unit 114 and the logical drive management unit 115 to cause the logical volume 141 to be mounted on the logical drive 13.
Step [4]: The logical drive 13 (the logical drive management unit 115 that manages the logical drive 13) reports the completion of the mounting of the logical volume 114 to the command execution management unit 113 of the logical layer control unit 11.
Step [5]: The logical layer control unit 11 reports the completion of the MOUNT command to the host 3.
Step [6]: The host 3 executes JOB. That is, the host 3 accesses the logical drive 13 and performs read / write processing of the logical volume data.

図5乃至図8を参照して、論理ボリュームデータがキャッシュディスク14に存在する場合の、論理ボリューム141のマウントのキャンセル処理について説明する。   With reference to FIG. 5 to FIG. 8, a description will be given of the mount cancellation processing of the logical volume 141 when the logical volume data exists in the cache disk 14.

図5は、CANCEL MOUNTコマンドの発行時のシチュエーションと仮想ライブラリ装置の動作処理とを説明する図である。図5に示す(1)〜(3)は、仮想ライブラリ装置1の各動作処理を特定する番号である。シチュエーション、シチュエーションの定義、処理といった項目は上記(1)〜(3)までの各々の番号に対応付けられている。   FIG. 5 is a diagram for explaining the situation when the CANCEL MOUNT command is issued and the operation process of the virtual library apparatus. (1) to (3) shown in FIG. 5 are numbers that identify each operation process of the virtual library device 1. Items such as situation, situation definition, and processing are associated with the numbers (1) to (3).

シチュエーションの項目は、前述した図4に示す処理シーケンスにおけるいずれのステップの間でCANCEL MOUNTコマンドが発行されたかを示す。シチュエーション定義の項目は、上記シチュエーションの項目内容の定義である。従って、例えば、(1)に対応するシチュエーションの項目内容である[2]−[3]は、ステップ[2]とステップ[3]との間の時点、すなわち、仮想ライブラリ装置1の論理層制御部11がMOUNTコマンドを受け付けたが、論理ボリューム141のマウント指示を出していない時点でCANCEL MOUNTコマンドが発行された場合を示す。また、(2)に対応するシチュエーションの項目内容である[3]−[4]は、ステップ[3]とステップ[4]との間の時点、すなわち、論理ドライブ13が論理ボリューム141のマウント処理を実行中の時点でCANCEL MOUNTコマンドが発行された場合を示す。また、(3)に対応するシチュエーションの項目内容である[4]−[5]は、ステップ[4]とステップ[5]との間の時点、すなわち、論理ボリューム141のマウント処理の完了後にCANCEL MOUNTコマンドが発行された場合を示す。   The item of the situation indicates which step in the processing sequence shown in FIG. 4 described above has a CANCEL MOUNT command issued. The situation definition item is a definition of the item contents of the situation. Therefore, for example, [2]-[3], which is the item content of the situation corresponding to (1), is a time point between step [2] and step [3], that is, logical layer control of the virtual library device 1 This shows a case where the CANCEL MOUNT command is issued when the unit 11 receives the MOUNT command but has not issued a mount instruction for the logical volume 141. Also, [3]-[4], which is the situation item content corresponding to (2), is the time between step [3] and step [4], that is, the logical drive 13 mounts the logical volume 141. This shows a case where the CANCEL MOUNT command is issued at the time point when the command is executed. [4]-[5], which is the item content of the situation corresponding to (3), is CANCEL at the point in time between step [4] and step [5], that is, after completion of the mount processing of the logical volume 141. The case where the MOUNT command is issued is shown.

処理の項目は、CANCEL MOUNTコマンドの発行時の処理内容を示す。例えば、処理の項目に記述された(1−1)〜(1−3)は、ステップ[2]とステップ[3]との間の時点でCANCEL MOUNTコマンドが発行された場合の処理内容を示し、(2−1)、(2−2)は、ステップ[3]とステップ[4]との間の時点でCANCEL MOUNTコマンドが発行された場合の処理内容を示し、(3−1)、(3−2)は、ステップ[4]とステップ[5]との間の時点でCANCEL MOUNTコマンドが発行された場合の処理内容を示す。   The item of processing indicates the processing content when the CANCEL MOUNT command is issued. For example, (1-1) to (1-3) described in the processing item indicate the processing contents when the CANCEL MOUNT command is issued at the time between step [2] and step [3]. , (2-1), (2-2) show the processing contents when the CANCEL MOUNT command is issued between the time points [3] and [4]. (3-1), (2-2) 3-2) shows the processing contents when the CANCEL MOUNT command is issued at the time between step [4] and step [5].

図6は、ステップ[2]とステップ[3]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。すなわち、図6に示す処理シーケンスは、図5の(1)に対応する処理内容((1−1)〜(1−3))を示している。なお、図6に示すVTL[物理層]は、仮想ライブラリ装置1の物理層制御部12を示す。以下に、図5及び図6を参照して、(1−1)〜(1−3)までの処理について説明する。
(1−1):ホスト3がJOBを起動し(ステップ[1])、ホスト3から仮想ライブラリ装置1の論理層制御部11にMOUNTコマンドが発行された後に(ステップ[2])、CANCEL MOUNTコマンドが発行されると、論理層制御部11は、MOUNTコマンドの処理を中止し、論理ボリューム141及び論理ドライブ13を解放する。
(1−2):論理層制御部11は、ホスト3に対して、CANCEL MOUNTコマンドの正常終了を報告する。
(1−3):論理層制御部11は、MOUNTコマンドを異常終了し、ホスト3に対して、MOUNTコマンドのキャンセル済みを報告する。
FIG. 6 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [2] and step [3]. That is, the processing sequence shown in FIG. 6 shows the processing contents ((1-1) to (1-3)) corresponding to (1) in FIG. Note that VTL [physical layer] illustrated in FIG. 6 indicates the physical layer control unit 12 of the virtual library device 1. Below, with reference to FIG.5 and FIG.6, the process from (1-1)-(1-3) is demonstrated.
(1-1): The host 3 starts JOB (step [1]), and after the MOUNT command is issued from the host 3 to the logical layer control unit 11 of the virtual library device 1 (step [2]), the CANCEL MOUNT When the command is issued, the logical layer control unit 11 stops processing the MOUNT command and releases the logical volume 141 and the logical drive 13.
(1-2): The logical layer control unit 11 reports the normal end of the CANCEL MOUNT command to the host 3.
(1-3): The logical layer control unit 11 abnormally ends the MOUNT command and reports to the host 3 that the MOUNT command has been canceled.

図7は、ステップ[3]とステップ[4]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。すなわち、図7に示す処理シーケンスは、図5の(2)に対応する処理内容((2−1)及び(2−2))を示している。以下に、図5及び図7を参照して、(2−1)及び(2−2)の処理について説明する。
(2−1):ホスト3がJOBを起動し(ステップ[1])、ホスト3から論理層制御部11にMOUNTコマンドが発行され(ステップ[2])、論理層制御部11が論理ドライブ13への論理ボリューム141のマウントを指示した後に(ステップ[3])、CANCEL MOUNTコマンドが発行されると、論理層制御部11は、CANCEL MOUNTコマンドを異常終了し、ホスト3に対して論理ボリューム141のマウント済みを報告する。
(2−2):論理層制御部11は、MOUNTコマンドについては、実行中のマウント結果をもって終了する。また、論理層制御部11は、ホスト3に対してMOUNTコマンドの完了を報告する(ステップ[5])。
FIG. 7 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [3] and step [4]. That is, the processing sequence shown in FIG. 7 shows the processing contents ((2-1) and (2-2)) corresponding to (2) in FIG. Hereinafter, the processes (2-1) and (2-2) will be described with reference to FIGS. 5 and 7.
(2-1): The host 3 starts JOB (step [1]), the MOUNT command is issued from the host 3 to the logical layer control unit 11 (step [2]), and the logical layer control unit 11 performs the logical drive 13 When the CANCEL MOUNT command is issued after instructing to mount the logical volume 141 on the logical volume 141 (step [3]), the logical layer control unit 11 abnormally terminates the CANCEL MOUNT command and sends the logical volume 141 to the host 3. Report mounted for.
(2-2): The logical layer control unit 11 ends the MOUNT command with the mounting result being executed. Further, the logical layer control unit 11 reports the completion of the MOUNT command to the host 3 (step [5]).

図8は、ステップ[4]とステップ[5]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。すなわち、図8に示す処理シーケンスは、図5の(3)に対応する処理内容((3−1)及び(3−2))を示している。以下に、(3−1)及び(3−2)の処理について説明する。
(3−1):ホスト3がJOBを起動し(ステップ[1])、ホスト3から仮想ライブラリ装置1の論理層制御部11にMOUNTコマンドが発行され(ステップ[2])、論理層制御部11が論理ドライブ12への論理ボリューム141のマウントを指示し(ステップ[3])、論理層制御部11に対して論理ボリューム141のマウントの完了が報告された後に(ステップ[4])、CANCEL MOUNTコマンドが発行されると、論理層制御部11は、CANCEL MOUNTコマンドを異常終了し、ホスト3に対して論理ボリューム141のマウント済みを報告する。
(3−2):論理層制御部11は、MOUNTコマンドについては、実行中のマウント結果をもって終了する。また、論理層制御部11は、ホスト3に対してMOUNTコマンドの完了を報告する(ステップ[5])。
FIG. 8 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [4] and step [5]. That is, the processing sequence shown in FIG. 8 shows the processing contents ((3-1) and (3-2)) corresponding to (3) in FIG. The processes (3-1) and (3-2) will be described below.
(3-1): The host 3 starts JOB (step [1]), the MOUNT command is issued from the host 3 to the logical layer control unit 11 of the virtual library device 1 (step [2]), and the logical layer control unit 11 instructs mounting of the logical volume 141 to the logical drive 12 (step [3]), and the completion of mounting of the logical volume 141 is reported to the logical layer control unit 11 (step [4]). When the MOUNT command is issued, the logical layer control unit 11 abnormally terminates the CANCEL MOUNT command and reports to the host 3 that the logical volume 141 has been mounted.
(3-2): The logical layer control unit 11 ends the MOUNT command with the mounting result being executed. Further, the logical layer control unit 11 reports the completion of the MOUNT command to the host 3 (step [5]).

図9乃至図11を参照して、論理ボリュームデータがキャッシュディスク14に存在しない場合の、仮想ライブラリ装置1による通常のマウント処理について以下に説明する。図9は、論理ボリュームデータがキャッシュディスクに存在しない場合の、仮想ライブラリ装置の動作処理を示す図である。また、図10は、論理ボリュームデータがキャッシュディスクに存在しない場合の、JOBが起動してから実行されるまでに行われる処理と当該処理の実施主体とを示す図である。図11は、論理ボリュームデータがキャッシュディスクに存在しない場合の処理シーケンスを示す図である。図9乃至図11中に示す括弧付きの数字[1]〜[11]の各々は、図5中に示す各々の括弧付きの数字に対応する処理のステップを示す。なお、図10中の記述のうち、PVは物理ボリューム21を示す(後述する図12および図13において同じ)。   With reference to FIGS. 9 to 11, a normal mount process by the virtual library apparatus 1 when logical volume data does not exist in the cache disk 14 will be described below. FIG. 9 is a diagram illustrating an operation process of the virtual library device when logical volume data does not exist in the cache disk. FIG. 10 is a diagram showing a process performed from when the JOB is started to when it is executed when the logical volume data does not exist in the cache disk, and an execution subject of the process. FIG. 11 is a diagram showing a processing sequence when logical volume data does not exist in the cache disk. Each of the numbers [1] to [11] with parentheses shown in FIGS. 9 to 11 indicates a processing step corresponding to each of the numbers with parentheses shown in FIG. Of the descriptions in FIG. 10, PV indicates the physical volume 21 (the same applies to FIGS. 12 and 13 described later).

以下にステップ[1]〜ステップ[11]までを順に説明する。
ステップ[1]:ホスト3によってJOBが起動する。
ステップ[2]:ホスト3が仮想ライブラリ装置1の論理層制御部11に対して、MOUNTコマンドを発行する。
ステップ[3]:ホスト3からのMOUNTコマンドを受けた論理層制御部11のコマンド実行管理部113が、物理層制御部12に対して論理ボリューム141のRECALL処理の実行を指示する。
ステップ[4]:仮想ライブラリ装置1の物理層制御部12が、実ライブラリ装置2に対して、物理ボリューム21の物理ドライブ22へのマウントを指示する。
ステップ[5]:実ライブラリ装置21が、仮想ライブラリ装置1の物理層制御部12に対して、物理ボリューム21のマウントの完了を報告する。
ステップ[6]:仮想ライブラリ装置1の物理層制御部12が、物理ドライブ22にアクセスして、論理ボリュームデータを読み込み、キャッシュディスク14に格納する。
ステップ[7]:仮想ライブラリ装置1の物理層制御部12が、論理層制御部11に対して、論理ボリュームデータのRECALL処理の完了を報告する。
ステップ[8]:論理層制御部11のコマンド実行管理部113が、論理ドライブ13への論理ボリューム141のマウントを指示する。
ステップ[9]:論理ドライブ13(を管理する論理ドライブ管理部115)がコマンド実行管理部113に論理ボリューム141のマウントの完了を報告する。
ステップ[10]:論理層制御部11がホスト3に対してMOUNTコマンドの完了を報告する。
ステップ[11]:ホスト3がJOBを実行する。すなわち、ホスト3が、論理ドライブ13にアクセスして、論理ボリュームデータのRead/Write処理を行う。
Steps [1] to [11] will be described in order below.
Step [1]: JOB is activated by the host 3.
Step [2]: The host 3 issues a MOUNT command to the logical layer control unit 11 of the virtual library device 1.
Step [3]: Upon receiving the MOUNT command from the host 3, the command execution management unit 113 of the logical layer control unit 11 instructs the physical layer control unit 12 to execute the RECALL process of the logical volume 141.
Step [4]: The physical layer control unit 12 of the virtual library device 1 instructs the real library device 2 to mount the physical volume 21 on the physical drive 22.
Step [5]: The real library device 21 reports the completion of mounting of the physical volume 21 to the physical layer control unit 12 of the virtual library device 1.
Step [6]: The physical layer control unit 12 of the virtual library device 1 accesses the physical drive 22 to read the logical volume data and store it in the cache disk 14.
Step [7]: The physical layer control unit 12 of the virtual library apparatus 1 reports the completion of the RECALL process for the logical volume data to the logical layer control unit 11.
Step [8]: The command execution management unit 113 of the logical layer control unit 11 instructs to mount the logical volume 141 on the logical drive 13.
Step [9]: The logical drive 13 (the logical drive management unit 115 that manages the logical drive 13) reports the completion of the mounting of the logical volume 141 to the command execution management unit 113.
Step [10]: The logical layer control unit 11 reports the completion of the MOUNT command to the host 3.
Step [11]: The host 3 executes JOB. That is, the host 3 accesses the logical drive 13 and performs read / write processing of the logical volume data.

図12乃至図21を参照して、論理ボリュームデータがキャッシュディスクに存在しない場合の、論理ボリューム141のマウントのキャンセル処理について説明する。   With reference to FIG. 12 to FIG. 21, a description will be given of mount cancel processing of the logical volume 141 when the logical volume data does not exist in the cache disk.

図12、図13は、CANCEL MOUNTコマンドの発行時のシチュエーションと仮想ライブラリ装置の動作処理とを説明する図である。図12、図13に示す番号(1)〜(8)は、仮想ライブラリ装置1の各動作処理を特定する番号である。シチュエーション、シチュエーションの定義、処理といった項目は、上記(1)〜(8)までのいずれかの番号に対応付けられている。なお、図12および図13において、PDは物理ドライブ22を示す。   12 and 13 are diagrams for explaining the situation when the CANCEL MOUNT command is issued and the operation processing of the virtual library apparatus. Numbers (1) to (8) shown in FIG. 12 and FIG. 13 are numbers that specify each operation process of the virtual library device 1. Items such as situation, situation definition, and processing are associated with any of the numbers (1) to (8). In FIGS. 12 and 13, PD indicates the physical drive 22.

シチュエーションの項目は、前述した図11に示す処理シーケンスにおけるいずれのステップの間でCANCEL MOUNTコマンドが発行されたかを示す。シチュエーション定義の項目は、図5を参照して前述したのと同様に、上記シチュエーションの項目内容の定義である。処理の項目は、CANCEL MOUNTコマンドの発行時の処理内容を示す。例えば、処理の項目に記述された(1−1)〜(1−3)、(2−1)〜(2−5)、(3−1)〜(3−7)、(4−1)〜(4−7)、(5−1)〜(5−7)、(6−1)〜(6−3)、(7−1)及び(7−2)、(8−1)及び(8−2)は、それぞれ、ステップ[2]とステップ[3]との間の時点、ステップ[3]とステップ[4]との間の時点、ステップ[4]とステップ[5]との間の時点、ステップ[5]とステップ[6]との間の時点、ステップ[6]とステップ[7]との間の時点、ステップ[7]とステップ[8]との間の時点、ステップ[8]とステップ[9]との間の時点、ステップ[9]とステップ[10]との間の時点でCANCEL MOUNTコマンドが発行された場合の処理内容を示す。   The situation item indicates which step in the above-described processing sequence shown in FIG. 11 the CANCEL MOUNT command is issued. The item of the situation definition is the definition of the item content of the situation as described above with reference to FIG. The item of processing indicates the processing content when the CANCEL MOUNT command is issued. For example, (1-1) to (1-3), (2-1) to (2-5), (3-1) to (3-7), (4-1) described in the item of processing To (4-7), (5-1) to (5-7), (6-1) to (6-3), (7-1) and (7-2), (8-1) and ( 8-2) are the time point between step [2] and step [3], the time point between step [3] and step [4], and the time point between step [4] and step [5], respectively. , A point between step [5] and step [6], a point between step [6] and step [7], a point between step [7] and step [8], a step [ 8] shows the processing contents when the CANCEL MOUNT command is issued at the time between step [9] and at the time between step [9] and step [10].

図14は、ステップ[2]とステップ[3]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。以下に、図12及び図14を参照して、(1−1)〜(1−3)までの処理について説明する。
(1−1):ホスト3がJOBを起動し(ステップ[1])、ホスト3から論理層制御部12にMOUNTコマンドが発行されたが(ステップ[2])、論理層制御部11が物理層制御部12に対して論理ボリュームデータのRECALL指示を出していない時点においてCANCEL MOUNTコマンドが発行されると、論理層制御部11は、MOUNTコマンドの処理を中止し、論理ボリューム141及び論理ドライブ13を解放する。
(1−2):論理層制御部11は、ホスト3に対して、CANCEL MOUNTコマンドの正常終了を報告する。
(1−3):論理層制御部11は、MOUNTコマンドを異常終了し、ホスト3に対して、MOUNTコマンドのキャンセル済みを報告する。
FIG. 14 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [2] and step [3]. Below, with reference to FIG.12 and FIG.14, the process from (1-1)-(1-3) is demonstrated.
(1-1): The host 3 starts JOB (step [1]), and the MOUNT command is issued from the host 3 to the logical layer control unit 12 (step [2]), but the logical layer control unit 11 is physically When the CANCEL MOUNT command is issued at the time when the RECALL instruction of the logical volume data is not issued to the layer control unit 12, the logical layer control unit 11 stops the processing of the MOUNT command, and the logical volume 141 and the logical drive 13 are stopped. To release.
(1-2): The logical layer control unit 11 reports the normal end of the CANCEL MOUNT command to the host 3.
(1-3): The logical layer control unit 11 abnormally ends the MOUNT command and reports to the host 3 that the MOUNT command has been canceled.

図15は、ステップ[3]とステップ[4]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。以下に、図12及び図15を参照して、(2−1)〜(2−5)までの処理について説明する。
(2−1):ステップ[1]、[2]、[3]の後、物理層制御部12が実ライブラリ装置2に対して物理ボリューム21のマウントを指示する前に(ステップ[4])、CANCEL MOUNTコマンドが発行されると、論理層制御部11は、物理層制御部12に対して、RECALL処理のキャンセルを指示する。
(2−2):物理層制御部12は、RECALL処理を中止し、論理層制御部11に対して当該RECALL処理のキャンセルの完了を報告する。
(2−3):論理層制御部11は、物理層制御部12からのRECALL処理のキャンセルの完了の報告を受けて、MOUNTコマンド処理を中止し、論理ボリューム141及び論理ドライブ13を解放する。
(2−4):論理層制御部11は、ホスト3に対して、CANCEL MOUNTコマンドの正常終了を報告する。
(2−5):論理層制御部11は、MOUNTコマンドを異常終了し、ホスト3に対して、MOUNTコマンドのキャンセル済みを報告する。
FIG. 15 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [3] and step [4]. The processes (2-1) to (2-5) will be described below with reference to FIGS.
(2-1): After steps [1], [2], and [3], before the physical layer control unit 12 instructs the real library device 2 to mount the physical volume 21 (step [4]). When the CANCEL MOUNT command is issued, the logical layer control unit 11 instructs the physical layer control unit 12 to cancel the RECALL process.
(2-2): The physical layer control unit 12 stops the RECALL process and reports the completion of the cancellation of the RECALL process to the logical layer control unit 11.
(2-3): The logical layer control unit 11 receives the report of the cancellation of the RECALL process from the physical layer control unit 12, stops the MOUNT command processing, and releases the logical volume 141 and the logical drive 13.
(2-4): The logical layer control unit 11 reports the normal end of the CANCEL MOUNT command to the host 3.
(2-5): The logical layer control unit 11 abnormally ends the MOUNT command and reports to the host 3 that the MOUNT command has been canceled.

図16は、ステップ[4]とステップ[5]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。以下に、図12及び図16を参照して、(3−1)〜(3−7)までの処理について順に説明する。
(3−1):ステップ[1]、[2]、[3]、[4]の後、実ライブラリ装置2が物理ボリューム21の物理ドライブ22へのマウント処理中にCANCEL MOUNTコマンドが発行されると、論理層制御部11は、物理層制御部12に対して、RECALL処理のキャンセルを指示する。
(3−2):物理層制御部12は、実行中の物理ボリューム21のマウント処理について、キャンセルフラグを設定する。
(3−3):物理層制御部12は、論理層制御部11に対して当該物理ボリューム21のマウント処理のキャンセルの完了を報告する。
(3−4):論理層制御部11は、物理層制御部12からの物理ボリューム21のマウント処理のキャンセルの完了の報告を受けて、MOUNTコマンド処理を中止し、論理ボリューム141及び論理ドライブ13を解放する。
(3−5):論理層制御部11は、ホスト3に対して、CANCEL MOUNTコマンドの正常終了を報告する。
(3−6):論理層制御部11は、MOUNTコマンドを異常終了し、ホスト3に対して、MOUNTコマンドのキャンセル済みを報告する。
(3−7):物理層制御部12は、実ライブラリ装置2からの物理ボリューム21のマウント処理の完了報告を非同期に受領し、当該物理ボリューム21のマウント処理の完了報告を受領した時点で物理ボリューム21及び物理ドライブ22のリソースを解放する。
FIG. 16 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [4] and step [5]. Below, with reference to FIG.12 and FIG.16, the process from (3-1) to (3-7) is demonstrated in order.
(3-1): After steps [1], [2], [3], and [4], a CANCEL MOUNT command is issued while the real library device 2 mounts the physical volume 21 to the physical drive 22. Then, the logical layer control unit 11 instructs the physical layer control unit 12 to cancel the RECALL process.
(3-2): The physical layer control unit 12 sets a cancel flag for the mounting process of the physical volume 21 being executed.
(3-3): The physical layer control unit 12 reports to the logical layer control unit 11 the completion of canceling the mounting process of the physical volume 21.
(3-4): The logical layer control unit 11 receives the report of the cancellation of the mounting process of the physical volume 21 from the physical layer control unit 12 and stops the MOUNT command processing, and the logical volume 141 and the logical drive 13 To release.
(3-5): The logical layer control unit 11 reports the normal end of the CANCEL MOUNT command to the host 3.
(3-6): The logical layer control unit 11 abnormally ends the MOUNT command and reports to the host 3 that the MOUNT command has been canceled.
(3-7): The physical layer control unit 12 receives the completion report of the mounting process of the physical volume 21 from the real library device 2 asynchronously, and receives the physical volume 21 mounting process completion report. The resources of the volume 21 and the physical drive 22 are released.

図17は、ステップ[5]とステップ[6]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。以下に、図12及び図17を参照して、(4−1)〜(4−7)までの処理について説明する。
(4−1):ステップ[1]、[2]、[3]、[4]、[5]の後、物理層制御部12が論理ボリュームデータの読み込みを開始する前(または物理ボリューム21上の位置づけ処理中)に、CANCEL MOUNTコマンドが発行されると、論理層制御部11は、物理層制御部12に対して、RECALL処理のキャンセルを指示する。
(4−2):物理層制御部12は、論理ボリュームデータの読み込み処理をキャンセルする。
(4−3):物理層制御部12は、論理層制御部11に対して論理ボリュームデータの読み込み処理のキャンセルの完了を報告する。
(4−4):物理層制御部12は、物理ボリューム21及び物理ドライブ22のリソースを解放する。
(4−5):論理層制御部11は、物理層制御部12からの論理ボリュームデータの読み込み処理のキャンセルの完了の報告を受けて、MOUNTコマンド処理を中止し、論理ボリューム141及び論理ドライブ13を解放する。
(4−6):論理層制御部11は、ホスト3に対して、CANCEL MOUNTコマンドの正常終了を報告する。
(4−7):論理層制御部11は、MOUNTコマンドを異常終了し、ホスト3に対して、MOUNTコマンドのキャンセル済みを報告する。
FIG. 17 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [5] and step [6]. The processes (4-1) to (4-7) will be described below with reference to FIGS.
(4-1): After the steps [1], [2], [3], [4], [5] and before the physical layer control unit 12 starts reading the logical volume data (or on the physical volume 21) When the CANCEL MOUNT command is issued during the positioning process, the logical layer control unit 11 instructs the physical layer control unit 12 to cancel the RECALL process.
(4-2): The physical layer control unit 12 cancels the logical volume data reading process.
(4-3): The physical layer control unit 12 reports the completion of the cancellation of the logical volume data reading process to the logical layer control unit 11.
(4-4): The physical layer control unit 12 releases the resources of the physical volume 21 and the physical drive 22.
(4-5): The logical layer control unit 11 receives the report of the cancellation of the logical volume data reading process from the physical layer control unit 12 and stops the MOUNT command processing, and the logical volume 141 and the logical drive 13 To release.
(4-6): The logical layer control unit 11 reports the normal end of the CANCEL MOUNT command to the host 3.
(4-7): The logical layer control unit 11 abnormally ends the MOUNT command and reports to the host 3 that the MOUNT command has been canceled.

図18は、ステップ[6]とステップ[7]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。以下に、図13及び図18を参照して、(5−1)〜(5−7)までの処理について説明する。
(5−1):ステップ[1]、[2]、[3]、[4]、[5]、[6]の後、物理層制御部12が論理ボリュームデータの読み込み中に、CANCEL MOUNTコマンドが発行されると、論理層制御部11は、物理層制御部12に対して、RECALL処理のキャンセルを指示する。
(5−2):物理層制御部12は、実行中の物理ドライブ22に対するReadコマンド(論理ボリュームデータの読み込みを指示するコマンド)について、キャンセルフラグを設定する。
(5−3):物理層制御部12は、論理層制御部11に対してReadコマンドの実行のキャンセルの完了を報告する。
(5−4):論理層制御部11は、物理層制御部12からのReadコマンドの実行のキャンセルの完了の報告を受けて、MOUNTコマンドの処理を中止し、論理ボリューム141及び論理ドライブ13を解放する。
(5−5):論理層制御部11は、ホスト3に対して、CANCEL MOUNTコマンドの正常終了を報告する。
(5−6):論理層制御部11は、MOUNTコマンドを異常終了し、ホスト3に対して、MOUNTコマンドのキャンセル済みを報告する。
(5−7):物理層制御部12は、実ライブラリ装置2の物理ドライブ22からのReadコマンドの実行の完了を非同期に受領し、以降の論理ボリュームデータの読み込みは行わない。また、物理層制御部12は、読み込み済みの論理ボリュームデータ(読み込み要求された論理ボリュームデータの一部)を、再びキャッシュディスク14上から追い出し、物理ボリューム21及び物理ドライブ22のリソースを解放する。
FIG. 18 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [6] and step [7]. The processes (5-1) to (5-7) will be described below with reference to FIGS. 13 and 18.
(5-1): After the steps [1], [2], [3], [4], [5], [6], the physical layer control unit 12 reads the logical volume data while reading the CANCEL MOUNT command. Is issued, the logical layer control unit 11 instructs the physical layer control unit 12 to cancel the RECALL process.
(5-2): The physical layer control unit 12 sets a cancel flag for the Read command (command for instructing reading of logical volume data) for the physical drive 22 being executed.
(5-3): The physical layer control unit 12 reports completion of canceling execution of the Read command to the logical layer control unit 11.
(5-4): The logical layer control unit 11 receives the report of cancellation of execution of the Read command from the physical layer control unit 12 and stops the MOUNT command processing, and sets the logical volume 141 and the logical drive 13 to release.
(5-5): The logical layer control unit 11 reports the normal end of the CANCEL MOUNT command to the host 3.
(5-6): The logical layer control unit 11 abnormally ends the MOUNT command and reports to the host 3 that the MOUNT command has been canceled.
(5-7): The physical layer control unit 12 receives the completion of execution of the Read command from the physical drive 22 of the real library apparatus 2 asynchronously, and does not read the subsequent logical volume data. Further, the physical layer control unit 12 drives the read logical volume data (a part of the logical volume data requested to be read) from the cache disk 14 again, and releases the resources of the physical volume 21 and the physical drive 22.

図19は、ステップ[7]とステップ[8]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。以下に、図13及び図19を参照して、(6−1)〜(6−3)までの処理について説明する。
(6−1):ステップ[1]、[2]、[3]、[4]、[5]、[6]の後、論理ボリュームデータのRECALLが完了し(ステップ[7])、論理層制御部11が論理ドライブ13に対して論理ボリューム141のマウントを指示する前に、CANCEL MOUNTコマンドが発行されると、論理層制御部11は、MOUNTコマンド処理を中止し、論理ボリューム141及び論理ドライブ13を解放する。
(6−2):論理層制御部11は、ホスト3に対して、CANCEL MOUNTコマンドの正常終了を報告する。
(6−3):論理層制御部11は、MOUNTコマンドを異常終了し、ホスト3に対して、MOUNTコマンドのキャンセル済みを報告する。
FIG. 19 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [7] and step [8]. The processes (6-1) to (6-3) will be described below with reference to FIGS. 13 and 19.
(6-1): After steps [1], [2], [3], [4], [5], [6], the RECALL of the logical volume data is completed (step [7]), and the logical layer If the CANCEL MOUNT command is issued before the control unit 11 instructs the logical drive 13 to mount the logical volume 141, the logical layer control unit 11 stops the MOUNT command processing, and the logical volume 141 and logical drive Release 13
(6-2): The logical layer control unit 11 reports the normal end of the CANCEL MOUNT command to the host 3.
(6-3): The logical layer control unit 11 abnormally ends the MOUNT command and reports to the host 3 that the MOUNT command has been canceled.

図20は、ステップ[8]とステップ[9]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。以下に、図13及び図20を参照して、(7−1)及び(7−2)の処理について説明する。
(7−1):ステップ[1]、[2]、[3]、[4]、[5]、[6]、[7]の後、論理ドライブ13が論理ボリューム141のマウント処理を実行中にCANCEL MOUNTコマンドが発行されると、論理層制御部11は、CANCEL MOUNTコマンドを異常終了し、ホスト3に対して、論理ボリューム141のマウント済みを報告する。(7−2):MOUNTコマンドについては実行中のマウント結果をもって終了する。
FIG. 20 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [8] and step [9]. Hereinafter, the processes (7-1) and (7-2) will be described with reference to FIGS. 13 and 20.
(7-1): After step [1], [2], [3], [4], [5], [6], [7], the logical drive 13 is executing the mounting process of the logical volume 141. When the CANCEL MOUNT command is issued, the logical layer control unit 11 terminates the CANCEL MOUNT command abnormally and reports to the host 3 that the logical volume 141 has been mounted. (7-2): The MOUNT command ends with the mount result being executed.

図21は、ステップ[9]とステップ[10]との間の時点においてCANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。以下に、図13及び図21を参照して、(8−1)及び(8−2)の処理について説明する。
(8−1):ステップ[1]、[2]、[3]、[4]、[5]、[6]、[7]、[8]の処理に続いて、論理ボリューム141のマウント処理が完了した後(ステップ[9])、CANCEL MOUNTコマンドが発行されると、論理層制御部11は、CANCEL MOUNTコマンドを異常終了し、ホスト3に対して、論理ボリューム141のマウント済みを報告する。
(8−2):MOUNTコマンドについては実行中のマウント結果をもって終了する。
FIG. 21 is a diagram showing a processing sequence when a CANCEL MOUNT command is issued at a time point between step [9] and step [10]. The processes (8-1) and (8-2) will be described below with reference to FIGS.
(8-1): Mount processing of logical volume 141 following steps [1], [2], [3], [4], [5], [6], [7], [8] When the CANCEL MOUNT command is issued after the process is completed (step [9]), the logical layer control unit 11 abnormally terminates the CANCEL MOUNT command and reports to the host 3 that the logical volume 141 has been mounted. .
(8-2): The MOUNT command ends with the mount result being executed.

以上から把握できるように、本発明の実施形態の特徴を述べると以下の通りである。
(付記1)物理ボリュームとしての記録媒体と、該物理ボリュームに対するアクセスを行なう物理ドライブを有する実ライブラリ装置と、処理装置との間に設けられ、
上記物理ボリュームから読み出されたデータを論理ボリュームとして保持するキャッシュディスクと、該キャッシュディスクに保持される該論理ボリュームに対するアクセスを行なう論理ドライブとを備えた仮想ライブラリ装置であって、
上記仮想ライブラリ装置は、
上記処理装置からのマウント指示があったとき、要求された論理ボリュームが上記キャッシュディスクに保持されている場合には、対応する論理ドライブからマウント完了信号を上記処理装置に返し、
要求された論理ボリュームが上記キャッシュディスクに保持されていない場合には、要求された論理ボリュームを保持する実ライブラリ装置の物理ボリュームを物理ドライブにマウントし、上記物理ドライブから論理ボリュームを読み出して上記キャッシュディスクに展開し、対応する論理ドライブからマウント完了信号を上記処理装置に返すマウント処理を行なうマウント処理手段と、
上記処理装置から論理ボリュームを論理ドライブにマウントする要求を出された後、当該論理ボリュームの上記マウント完了までの間に、上記マウント処理をキャンセルする指示を出し、論理ボリュームおよび論理ドライブを解放させるマウントキャンセル手段を備えた
ことを特徴とする仮想ライブラリ装置。
As can be understood from the above, the features of the embodiment of the present invention are described as follows.
(Supplementary Note 1) Provided between a recording medium as a physical volume, a real library device having a physical drive for accessing the physical volume, and a processing device,
A virtual library apparatus comprising a cache disk that holds data read from the physical volume as a logical volume, and a logical drive that accesses the logical volume held in the cache disk,
The virtual library device is
When there is a mount instruction from the processing device, if the requested logical volume is held in the cache disk, a mount completion signal is returned from the corresponding logical drive to the processing device,
If the requested logical volume is not held in the cache disk, the physical volume of the real library device holding the requested logical volume is mounted on the physical drive, the logical volume is read from the physical drive, and the cache is Mount processing means for performing mount processing that expands the disc and returns a mount completion signal from the corresponding logical drive to the processing device;
Mount requesting the logical volume and logical drive to be released by issuing an instruction to cancel the mount processing after the request for mounting the logical volume to the logical drive is issued from the processing unit until the mounting of the logical volume is completed. A virtual library device comprising a canceling means.

(付記2)上記マウント処理手段は、要求された論理ボリュームが上記キャッシュディスクに保持されていない場合であってキャッシュディスクに空き容量がないとき、キャッシュディスクに保存されている論理ボリュームを上記実ライブラリ装置へ追い出して、要求された論理ボリュームに必要な容量を確保し、
ついで上記要求された論理ボリュームを保持する実ライブラリ装置の物理ボリュームを物理ドライブにマウントし、上記論理ボリュームを読み出して上記キャッシュディスクに展開するリコール処理を行い、
上記リコール処理の途中で、マウントキャンセル指示が出されたとき、マウントキャンセル手段は、上記リコール処理を中断させる
ことを特徴とする付記1に記載の仮想ライブラリ装置。
(Additional remark 2) The mount processing means, when the requested logical volume is not held in the cache disk and there is no free space in the cache disk, the logical volume stored in the cache disk is transferred to the real library. Evict to the device to secure the required capacity for the requested logical volume,
Next, the physical volume of the real library device that holds the requested logical volume is mounted on a physical drive, the logical volume is read and expanded on the cache disk, and recall processing is performed.
The virtual library apparatus according to appendix 1, wherein when a mount cancel instruction is issued during the recall process, the mount cancel unit interrupts the recall process.

(付記3)物理ボリュームとしての記録媒体と、該物理ボリュームに対するアクセスを行なう物理ドライブを有する実ライブラリ装置と、処理装置との間に設けられ、上記物理ボリュームから読み出されたデータを論理ボリュームとして保持するキャッシュディスクと、該キャッシュディスクに保持される該論理ボリュームに対するアクセスを行なう論理ドライブとを備えた仮想ライブラリ装置における、マウントキャンセル方法であって、
上記仮想ライブラリ装置が、上記処理装置からのマウント指示があったとき、要求された論理ボリュームが上記キャッシュディスクに保持されている場合には、対応する論理ドライブからマウント完了信号を上記処理装置に返すステップと、
上記仮想ライブラリ装置が、要求された論理ボリュームが上記キャッシュディスクに保持されていない場合には、要求された論理ボリュームを保持する実ライブラリ装置の物理ボリュームを物理ドライブにマウントし、上記物理ドライブから論理ボリュームを読み出して上記キャッシュディスクに展開し、対応する論理ドライブからマウント完了信号を上記処理装置に返すマウント処理を行なうステップと、
上記仮想ライブラリ装置が、上記処理装置から論理ボリュームを論理ドライブにマウントする要求を出された後、当該論理ボリュームの上記マウント完了までの間に、上記マウント処理をキャンセルする指示を出し、論理ボリュームおよび論理ドライブを解放させるステップとからなる
ことを特徴とするマウントキャンセル方法。
(Additional remark 3) It is provided between the recording medium as a physical volume, the real library apparatus which has a physical drive which accesses this physical volume, and a processing apparatus, The data read from the said physical volume is used as a logical volume. A mount cancellation method in a virtual library device comprising a cache disk to be held and a logical drive for accessing the logical volume held in the cache disk,
When the virtual library apparatus receives a mount instruction from the processing apparatus, if the requested logical volume is held in the cache disk, the virtual library apparatus returns a mount completion signal from the corresponding logical drive to the processing apparatus. Steps,
If the requested logical volume is not held in the cache disk, the virtual library device mounts the physical volume of the real library device that holds the requested logical volume on the physical drive, and logically starts from the physical drive. Performing a mount process of reading a volume, expanding the cache disk, and returning a mount completion signal from the corresponding logical drive to the processing device;
The virtual library device issues an instruction to cancel the mounting process until the mounting of the logical volume is completed after the processing device issues a request to mount the logical volume on the logical drive. A mount canceling method comprising: releasing the logical drive.

(付記4)上記マウント処理を行うステップは、要求された論理ボリュームが上記キャッシュディスクに保持されていない場合であってキャッシュディスクに空き容量がないとき、キャッシュディスクに保存されている論理ボリュームを上記実ライブラリ装置へ追い出して、要求された論理ボリュームに必要な容量を確保し、
ついで上記要求された論理ボリュームを保持する実ライブラリ装置の物理ボリュームを物理ドライブにマウントし、上記論理ボリュームを読み出して上記キャッシュディスクに展開するリコール処理を行い、
上記リコール処理の途中で、マウントキャンセル指示が出されたとき、マウントキャンセル手段は、上記リコール処理を中断させる
ことを特徴とする付記3に記載のマウントキャンセル方法。
(Supplementary Note 4) The step of performing the mounting process includes a step in which the logical volume stored in the cache disk is stored in the cache disk when the requested logical volume is not held in the cache disk and there is no free space in the cache disk. Evict to the real library device to secure the required capacity for the requested logical volume,
Next, the physical volume of the real library device that holds the requested logical volume is mounted on a physical drive, the logical volume is read and expanded on the cache disk, and recall processing is performed.
4. The mount cancel method according to appendix 3, wherein the mount cancel means interrupts the recall process when a mount cancel instruction is issued during the recall process.

以上、説明したように、本発明の仮想ライブラリ装置は、ホストによってJOBが起動されて論理ボリュームを論理ドライブにマウントする要求が出された後に、ホストから該マウントをキャンセルするコマンドが発行された場合に、当該論理ボリュームのマウント完了までに上記マウント処理をキャンセルする。従って、本発明の仮想ライブラリ装置によれば、マウント処理の完了を待つことなく、即座にJOBのキャンセルを行うことが可能となる。   As described above, in the virtual library device of the present invention, after a job is started by the host and a request for mounting a logical volume on a logical drive is issued, a command for canceling the mounting is issued from the host. In addition, the mounting process is canceled until the mounting of the logical volume is completed. Therefore, according to the virtual library device of the present invention, it is possible to cancel a job immediately without waiting for the completion of the mounting process.

本発明のシステム構成の一例を示す図である。It is a figure which shows an example of the system configuration | structure of this invention. 仮想ライブラリ装置の動作処理を示す図である。It is a figure which shows the operation | movement process of a virtual library apparatus. JOBが起動してから実行されるまでに行われる処理と当該処理の実施主体とを示す図である。It is a figure which shows the process performed after a JOB starts and it is performed, and the implementation main body of the said process. ホストと仮想ライブラリ装置において行われる処理シーケンスを示す図である。It is a figure which shows the process sequence performed in a host and a virtual library apparatus. CANCEL MOUNTコマンドの発行時のシチュエーションと仮想ライブラリ装置の動作処理とを説明する図である。It is a figure explaining the situation at the time of issuance of a CANCEL MOUNT command, and the operation process of a virtual library apparatus. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. 仮想ライブラリ装置の動作処理を示す図である。It is a figure which shows the operation | movement process of a virtual library apparatus. JOBが起動してから実行されるまでに行われる処理と当該処理の実施主体とを示す図である。It is a figure which shows the process performed after a JOB starts and it is performed, and the implementation main body of the said process. 論理ボリュームデータがキャッシュディスクに存在しない場合の処理シーケンスを示す図である。It is a figure which shows a processing sequence when logical volume data does not exist in a cache disk. CANCEL MOUNTコマンドの発行時のシチュエーションと仮想ライブラリ装置の動作処理とを説明する図である。It is a figure explaining the situation at the time of issuance of a CANCEL MOUNT command, and the operation process of a virtual library apparatus. CANCEL MOUNTコマンドの発行時のシチュエーションと仮想ライブラリ装置の動作処理とを説明する図である。It is a figure explaining the situation at the time of issuance of a CANCEL MOUNT command, and the operation process of a virtual library apparatus. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. CANCEL MOUNTコマンドが発行された場合の処理シーケンスを示す図である。It is a figure which shows a process sequence when a CANCEL MOUNT command is issued. 従来のライブラリシステムを示す図である。It is a figure which shows the conventional library system. 従来の仮想ライブラリ装置を示す図である。It is a figure which shows the conventional virtual library apparatus.

符号の説明Explanation of symbols

1、1’ 仮想ライブラリ装置
2、2’ 実ライブラリ装置
3、3’ ホスト
11 論理層制御部
11’ 制御部
12 物理層制御部
13 論理ドライブ
13’、14 キャッシュディスク
21、21’ 物理ボリューム
22、23’ 物理ドライブ
22’、23 移送機構
111 コマンド受け付け部
112 コマンド判定部
113 コマンド実行管理部
114 論理ボリューム管理部
115 論理ドライブ管理部
121 コマンド受け付け部
122 コマンド判定部
123 コマンド実行管理部
124 物理ボリューム管理部
125 実ライブラリ管理部
131’、141 論理ボリューム
1, 1 'virtual library device 2, 2' real library device 3, 3 'host 11 logical layer control unit 11' control unit
DESCRIPTION OF SYMBOLS 12 Physical layer control part 13 Logical drive 13 ', 14 Cache disk 21, 21' Physical volume 22, 23 'Physical drive 22', 23 Transfer mechanism 111 Command reception part 112 Command determination part 113 Command execution management part 114 Logical volume management part 115 Logical Drive Management Unit 121 Command Accepting Unit 122 Command Determination Unit 123 Command Execution Management Unit 124 Physical Volume Management Unit 125 Real Library Management Unit 131 ′, 141 Logical Volume

Claims (2)

物理ボリュームとしての記録媒体と、該物理ボリュームに対するアクセスを行なう物理ドライブを有する実ライブラリ装置と、処理装置との間に設けられ、
上記物理ボリュームから読み出されたデータを論理ボリュームとして保持するキャッシュディスクと、該キャッシュディスクに保持される該論理ボリュームに対するアクセスを行なう論理ドライブとを備えた仮想ライブラリ装置であって、
上記仮想ライブラリ装置は、
上記処理装置からのマウント指示があったとき、要求された論理ボリュームが上記キャッシュディスクに保持されている場合には、対応する論理ドライブへの該論理ボリュームのマウント完了を上記処理装置に通知し、
要求された論理ボリュームが上記キャッシュディスクに保持されていない場合には、要求された論理ボリュームを保持する実ライブラリ装置の物理ボリュームを物理ドライブにマウントし、上記物理ドライブから論理ボリュームを読み出して上記キャッシュディスクに展開し、対応する論理ドライブへの該論理ボリュームのマウント完了を上記処理装置に通知するマウント処理を行なうマウント処理手段と、
上記処理装置から論理ボリュームを論理ドライブにマウントする要求を出された後、当該論理ボリュームの上記マウント完了までの間に、上記マウント処理をキャンセルする指示を出し、論理ボリュームおよび論理ドライブを解放させるマウントキャンセル手段を備えた
ことを特徴とする仮想ライブラリ装置。
Provided between a processing medium and a recording medium as a physical volume, a real library device having a physical drive for accessing the physical volume,
A virtual library apparatus comprising a cache disk that holds data read from the physical volume as a logical volume, and a logical drive that accesses the logical volume held in the cache disk,
The virtual library device is
When there is a mount instruction from the processing device, if the requested logical volume is held in the cache disk, the processing device is notified of the completion of mounting the logical volume on the corresponding logical drive,
If the requested logical volume is not held in the cache disk, the physical volume of the real library device holding the requested logical volume is mounted on the physical drive, the logical volume is read from the physical drive, and the cache is Mount processing means for performing mount processing that expands to a disk and notifies the processing device of completion of mounting of the logical volume to the corresponding logical drive;
Mount requesting the logical volume and logical drive to be released by issuing an instruction to cancel the mount processing after the request for mounting the logical volume to the logical drive is issued from the processing unit until the mounting of the logical volume is completed. A virtual library device comprising a canceling means.
上記マウント処理手段は、要求された論理ボリュームが上記キャッシュディスクに保持されていない場合であってキャッシュディスクに空き容量がないとき、キャッシュディスクに保存されている論理ボリュームを上記実ライブラリ装置へ追い出して、要求された論理ボリュームに必要な容量を確保し、
ついで上記要求された論理ボリュームを保持する実ライブラリ装置の物理ボリュームを物理ドライブにマウントし、上記論理ボリュームを読み出して上記キャッシュディスクに展開するリコール処理を行い、
上記リコール処理の途中で、マウントキャンセル指示が出されたとき、マウントキャンセル手段は、上記リコール処理を中断させる
ことを特徴とする請求項1に記載の仮想ライブラリ装置。
When the requested logical volume is not held in the cache disk and there is no free space in the cache disk, the mount processing means drives out the logical volume stored in the cache disk to the real library device. Secure the required capacity for the requested logical volume,
Next, the physical volume of the real library device that holds the requested logical volume is mounted on a physical drive, the logical volume is read and expanded on the cache disk, and recall processing is performed.
2. The virtual library apparatus according to claim 1, wherein when a mount cancel instruction is issued during the recall process, the mount cancel unit interrupts the recall process.
JP2006318392A 2006-11-27 2006-11-27 Virtual library device Expired - Fee Related JP4921938B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006318392A JP4921938B2 (en) 2006-11-27 2006-11-27 Virtual library device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006318392A JP4921938B2 (en) 2006-11-27 2006-11-27 Virtual library device

Publications (3)

Publication Number Publication Date
JP2008134682A true JP2008134682A (en) 2008-06-12
JP2008134682A5 JP2008134682A5 (en) 2009-09-10
JP4921938B2 JP4921938B2 (en) 2012-04-25

Family

ID=39559522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006318392A Expired - Fee Related JP4921938B2 (en) 2006-11-27 2006-11-27 Virtual library device

Country Status (1)

Country Link
JP (1) JP4921938B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010170350A (en) * 2009-01-23 2010-08-05 Fujitsu Ltd Virtual library apparatus, and method for diagnosing physical drive
JP2013161256A (en) * 2012-02-03 2013-08-19 Fujitsu Ltd Virtual tape device and control method for virtual tape device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61256457A (en) * 1985-05-10 1986-11-14 Hitachi Ltd Control system for data transfer
JPS63284649A (en) * 1987-05-15 1988-11-21 Fujitsu Ltd Cache memory control system
JPH05314733A (en) * 1992-05-15 1993-11-26 Fujitsu Ltd Library device control method
JP2000020247A (en) * 1998-06-30 2000-01-21 Fujitsu Ltd Storage device
JP2005157713A (en) * 2003-11-26 2005-06-16 Hitachi Ltd Disk array device
JP2005339215A (en) * 2004-05-27 2005-12-08 Hitachi Ltd Disk array system, and its control method
JP2006134217A (en) * 2004-11-09 2006-05-25 Fujitsu Ltd Library system, virtual library apparatus and cache recovery method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61256457A (en) * 1985-05-10 1986-11-14 Hitachi Ltd Control system for data transfer
JPS63284649A (en) * 1987-05-15 1988-11-21 Fujitsu Ltd Cache memory control system
JPH05314733A (en) * 1992-05-15 1993-11-26 Fujitsu Ltd Library device control method
JP2000020247A (en) * 1998-06-30 2000-01-21 Fujitsu Ltd Storage device
JP2005157713A (en) * 2003-11-26 2005-06-16 Hitachi Ltd Disk array device
JP2005339215A (en) * 2004-05-27 2005-12-08 Hitachi Ltd Disk array system, and its control method
JP2006134217A (en) * 2004-11-09 2006-05-25 Fujitsu Ltd Library system, virtual library apparatus and cache recovery method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010170350A (en) * 2009-01-23 2010-08-05 Fujitsu Ltd Virtual library apparatus, and method for diagnosing physical drive
JP4734663B2 (en) * 2009-01-23 2011-07-27 富士通株式会社 Virtual library apparatus and physical drive diagnosis method
US8117501B2 (en) 2009-01-23 2012-02-14 Fujitsu Limited Virtual library apparatus and method for diagnosing physical drive
JP2013161256A (en) * 2012-02-03 2013-08-19 Fujitsu Ltd Virtual tape device and control method for virtual tape device
US9176882B2 (en) 2012-02-03 2015-11-03 Fujitsu Limited Virtual tape device and control method of virtual tape device

Also Published As

Publication number Publication date
JP4921938B2 (en) 2012-04-25

Similar Documents

Publication Publication Date Title
JP4863765B2 (en) Storage control method and system for performing backup and / or restore
JP4788528B2 (en) Disk control device, disk control method, and disk control program
US5418929A (en) Controller for storage unit and method of controlling storage unit
JPS60147855A (en) Memory managing apparatus
KR100672885B1 (en) Information processing system, storage unit, and storage control program recorded computer-readable recording medium
KR101454146B1 (en) Storage device, controller, and recording medium
JP4490451B2 (en) Request scheduling method, request scheduling apparatus, and program in hierarchical storage management system
JP2002117002A (en) Common type peripheral architecture
JP3178809B2 (en) Accessing portable recording media
JP2000181773A (en) Storage device system
JP2010170350A (en) Virtual library apparatus, and method for diagnosing physical drive
US8605560B2 (en) Storage system and storage control method
JP2008077519A (en) Virtual tape device, data management method for virtual tape device, and data management program for virtual tape device
JP2846838B2 (en) How to copy data in a storage library
JP4921938B2 (en) Virtual library device
JP2007102436A (en) Storage controller and storage control method
JP6142608B2 (en) Storage system, control device, and control method
JP2001166994A (en) Device and method for storing data for improving data storage device performance by using early data transfer completion
JP2006113882A (en) Data management device
JP3710351B2 (en) Data processing device
JP4814983B2 (en) Data storage control device, data storage control method, and data storage control program
JP2002189572A (en) Disk storage device, information processing equipment provided with the same and processing method when failing in write
JP2011108091A (en) Method for controlling duplication of data in tape library and virtual tape device
JP5012822B2 (en) Storage controller
JP2634867B2 (en) Disk cache data transfer control method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090729

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111025

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20120104

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120104

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120111

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120131

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120203

R150 Certificate of patent or registration of utility model

Ref document number: 4921938

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150210

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees