JP2020197897A - Virtual tape device, cache control device and cache control program - Google Patents

Virtual tape device, cache control device and cache control program Download PDF

Info

Publication number
JP2020197897A
JP2020197897A JP2019103531A JP2019103531A JP2020197897A JP 2020197897 A JP2020197897 A JP 2020197897A JP 2019103531 A JP2019103531 A JP 2019103531A JP 2019103531 A JP2019103531 A JP 2019103531A JP 2020197897 A JP2020197897 A JP 2020197897A
Authority
JP
Japan
Prior art keywords
volume
physical
virtual
tape
cache
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
JP2019103531A
Other languages
Japanese (ja)
Other versions
JP7287123B2 (en
Inventor
英俊 西
Hidetoshi Nishi
英俊 西
伸幸 平島
Nobuyuki Hirashima
伸幸 平島
拓弥 栗原
Takuya Kurihara
拓弥 栗原
勝男 榎原
Katsuo Enohara
勝男 榎原
塚田 茂
Shigeru Tsukada
茂 塚田
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 JP2019103531A priority Critical patent/JP7287123B2/en
Publication of JP2020197897A publication Critical patent/JP2020197897A/en
Application granted granted Critical
Publication of JP7287123B2 publication Critical patent/JP7287123B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

To reduce the number of steps necessary for managing the token of a terminal manager, the archive thereof, and a password for the token, and to further improve the security level of a terminal device.SOLUTION: A virtual tape device includes: a cache memory that stores a plurality of logical volumes; a managing unit 10 that manages mount information 32 containing access time information for each of a plurality of logical volumes 210; and a selecting unit 20 that selects a to-be-cached-out logical volume 210 subjected to cache out from the cache memory among the plurality of logical volumes 210 stored in the cache memory. The selecting unit 20 preferentially selects, as the to-be-cached-out logical volume, the logical volume stored in a physical volume mounted on a physical drive most recently among the logical volumes to which a driven sequence is allocated.SELECTED DRAWING: Figure 3

Description

本発明は、仮想テープ装置,キャッシュ制御装置およびキャッシュ制御プログラムに関する。 The present invention relates to a virtual tape device, a cache control device, and a cache control program.

仮想テープ装置は、テープドライブ装置及びカートリッジテープを仮想化するシステムである。仮想テープ装置は、仮想テープ装置に接続されたホストコンピュータのOS(Operating System)からテープ装置として認識される。ホストコンピュータにおいては、この仮想化したテープ(仮想テープ)を通常のテープ装置と同様に使用することができ、これにより、ホストコンピュータは、仮想テープ装置を、あたかもそこに実テープがマウントされているように使用することができる。 The virtual tape device is a system for virtualizing a tape drive device and a cartridge tape. The virtual tape device is recognized as a tape device by the OS (Operating System) of the host computer connected to the virtual tape device. In the host computer, this virtualized tape (virtual tape) can be used in the same way as a normal tape device, so that the host computer can use the virtual tape device as if the real tape is mounted on it. Can be used as

仮想テープ装置は、バックエンドライブラリを接続する。バックエンドライブラリには、テープドライブ装置(物理ドライブ)と、複数のテープ(物理ボリューム)と、テープドライブ装置にテープを搬送する搬送機構とが備えられる。 The virtual tape device connects the backend library. The back-end library includes a tape drive device (physical drive), a plurality of tapes (physical volumes), and a transport mechanism for transporting the tape to the tape drive device.

また、仮想テープ装置は、テープボリュームキャッシュを備え、このテープボリュームキャッシュにテープ(物理ボリューム)を仮想化した仮想テープボリュームが格納される。 Further, the virtual tape device includes a tape volume cache, and a virtual tape volume in which a tape (physical volume) is virtualized is stored in the tape volume cache.

仮想テープ装置において、データは、テープボリュームキャッシュ内の仮想テープボリュームに格納された後に、バックエンドライブラリのテープにもコピーされ、これにより、データは二重管理される。 In the virtual tape device, the data is stored in the virtual tape volume in the tape volume cache and then copied to the tape in the backend library, which double-manages the data.

仮想テープ装置において、テープボリュームキャッシュがフルとなった状態において、このテープボリュームキャッシュに新規に仮想テープボリュームを追加する必要が生じる場合がある。このような場合には、テープボリュームキャッシュ内の古い仮想テープボリュームをテープボリュームキャッシュからキャッシュアウトした後に、このテープボリュームキャッシュに新規の仮想テープボリュームを格納する。 In the virtual tape device, when the tape volume cache is full, it may be necessary to newly add a virtual tape volume to the tape volume cache. In such a case, after the old virtual tape volume in the tape volume cache is cached out from the tape volume cache, a new virtual tape volume is stored in this tape volume cache.

従来の仮想テープ装置においては、テープボリュームキャッシュからキャッシュアウトする対象の仮想テープボリュームは、LRU(Least Recently Used)論理により、最も古いデータから優先して選択される。 In the conventional virtual tape device, the virtual tape volume to be cached out from the tape volume cache is preferentially selected from the oldest data by the LRU (Least Recently Used) logic.

また、キャッシュアウトした仮想テープボリュームを再度使用したい場合には、バックエンドライブラリから仮想テープボリュームをテープボリュームキャッシュに戻すリコール処理を行なう必要がある。 If you want to use the cached out virtual tape volume again, you need to perform a recall process to return the virtual tape volume to the tape volume cache from the backend library.

このようなリコール処理には、バックエンドライブラリにおいて、テープドライブ装置におけるテープ送りやテープ交換等の機械的動作が必要となるために、ホストコンピュータに処理開始を長時間待たせることになる。 Such a recall process requires mechanical operations such as tape feeding and tape replacement in the tape drive device in the back-end library, which causes the host computer to wait for a long time to start the process.

従来の仮想テープ装置においては、このようなリコール処理に要する時間を短縮するために、例えば、物理ドライブにマウントされている物理ボリューム(テープ)内に最終更新データが存在する仮想テープボリュームを優先してオフキャッシュの対象とする。これにより、リコール要求が発生した場合に、使用中の物理ボリュームにリコール対象の仮想テープボリュームのデータが存在する確率が高くなり、リコール時間を短縮させる。 In the conventional virtual tape device, in order to reduce the time required for such a recall process, for example, priority is given to the virtual tape volume in which the last update data exists in the physical volume (tape) mounted on the physical drive. Is subject to off-cache. As a result, when a recall request occurs, the probability that the data of the virtual tape volume to be recalled exists in the physical volume in use increases, and the recall time is shortened.

特開2013−161256号公報Japanese Unexamined Patent Publication No. 2013-161256

しかしながら、このような従来の仮想テープ装置においても、物理ドライブにマウントされている物理ボリューム内に最終更新データが存在する仮想テープボリュームを決定するために、物理ボリュームに対する検索に伴うテープ送り等の機械的動作が必要とされる。すなわち、物理ボリュームに対する検索のための機械的動作による、ホストコンピュータの待ち時間を無くすことができない。 However, even in such a conventional virtual tape device, in order to determine a virtual tape volume in which the last updated data exists in the physical volume mounted on the physical drive, a machine such as tape feeding accompanying a search for the physical volume is performed. Action is required. That is, it is not possible to eliminate the waiting time of the host computer due to the mechanical operation for searching the physical volume.

1つの側面では、本発明は、ホストコンピュータに対する応答時間を短縮することを目的とする。 In one aspect, the present invention aims to reduce response time to a host computer.

このため、この仮想テープ装置は、物理ドライブにマウントされた物理ボリュームのデータに基づいて作成される複数の論理ボリュームを管理する仮想テープ装置であって、前記複数の論理ボリュームを格納するキャッシュメモリと、複数の論理ボリュームのそれぞれに対するアクセス時間情報を含むマウント情報を管理する管理部と、キャッシュメモリに格納された前記複数の論理ボリュームの中から、前記キャッシュメモリからキャッシュアウトさせるキャッシュアウト対象論理ボリュームを選択する選択部とを備え、選択部が、追い出し順位付けされた論理ボリュームのうち、前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームを、キャッシュアウト対象論理ボリュームとして優先して選択する。 Therefore, this virtual tape device is a virtual tape device that manages a plurality of logical volumes created based on the data of the physical volumes mounted on the physical drive, and includes a cache memory for storing the plurality of logical volumes. , The management unit that manages the mount information including the access time information for each of the plurality of logical volumes, and the cash-out target logical volume to be cached out from the cache memory from the plurality of logical volumes stored in the cache memory. A selection unit is provided, and the selection unit preferentially selects a logical volume stored in the physical volume mounted on the physical drive as a cash-out target logical volume among the eviction-ordered logical volumes. ..

一実施形態によれば、ホストコンピュータに対する応答時間を短縮することができる。 According to one embodiment, the response time to the host computer can be shortened.

実施形態の一例としての仮想テープシステムの構成を模式的に示す図である。It is a figure which shows typically the structure of the virtual tape system as an example of embodiment. 実施形態の一例としての仮想テープ装置のVLPのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware structure of the VLP of the virtual tape apparatus as an example of an embodiment. 実施形態の一例としての仮想テープ装置のVLPの機能構成を示す図である。It is a figure which shows the functional structure of the VLP of the virtual tape apparatus as an example of an embodiment. 実施形態の一例としての仮想テープ装置におけるLRU管理テーブルを例示する図である。It is a figure which illustrates the LRU management table in the virtual tape apparatus as an example of an embodiment. 実施形態の一例としての仮想テープ装置における物理ドライブ管理テーブルを例示する図である。It is a figure which illustrates the physical drive management table in the virtual tape apparatus as an example of an embodiment. 実施形態の一例としての仮想テープ装置における物理ドライブ管理テーブルを例示する図である。It is a figure which illustrates the physical drive management table in the virtual tape apparatus as an example of an embodiment. 実施形態の一例としての仮想テープ装置における物理ドライブ管理テーブルを例示する図である。It is a figure which illustrates the physical drive management table in the virtual tape apparatus as an example of an embodiment. 物理ボリューム上の仮想ボリュームに対する物理ヘッドの位置を説明するための図である。It is a figure for demonstrating the position of a physical head with respect to a virtual volume on a physical volume. 物理ボリューム上の仮想ボリュームに対する物理ヘッドの位置を説明するための図である。It is a figure for demonstrating the position of a physical head with respect to a virtual volume on a physical volume. 実施形態の一例としての仮想テープ装置における、キャッシュアウト対象の仮想ボリュームの選択方法を説明するためのフローチャートである。It is a flowchart for demonstrating the selection method of the virtual volume to be cashed out in the virtual tape apparatus as an example of Embodiment. 実施形態の一例としての仮想テープ装置における、キャッシュアウト対象の仮想ボリュームの選択方法を説明するためのフローチャートである。It is a flowchart for demonstrating the selection method of the virtual volume to be cashed out in the virtual tape apparatus as an example of Embodiment. 実施形態の一例としての仮想テープ装置における、キャッシュアウト対象の仮想ボリュームの選択方法を説明するためのフローチャートである。It is a flowchart for demonstrating the selection method of the virtual volume to be cashed out in the virtual tape apparatus as an example of Embodiment.

以下、図面を参照して本仮想テープ装置,キャッシュ制御装置およびキャッシュ制御プログラムに係る実施の形態を説明する。ただし、以下に示す実施形態はあくまでも例示に過ぎず、実施形態で明示しない種々の変形例や技術の適用を排除する意図はない。すなわち、本実施形態を、その趣旨を逸脱しない範囲で種々変形(実施形態および各変形例を組み合わせる等)して実施することができる。また、各図は、図中に示す構成要素のみを備えるという趣旨ではなく、他の機能等を含むことができる。 Hereinafter, embodiments relating to the virtual tape device, the cache control device, and the cache control program will be described with reference to the drawings. However, the embodiments shown below are merely examples, and there is no intention of excluding the application of various modifications and techniques not specified in the embodiments. That is, the present embodiment can be implemented by various modifications (combining the embodiments and each modification) within a range that does not deviate from the purpose. In addition, each figure does not mean that it includes only the components shown in the figure, but may include other functions and the like.

(A)構成
図1は実施形態の一例としての仮想テープシステムの構成を模式的に示す図である。
本仮想テープシステム1は、図1に示すように、ホスト装置(上位装置)200,仮想テープ装置100およびバックエンドライブラリ300をそなえる。
(A) Configuration FIG. 1 is a diagram schematically showing a configuration of a virtual tape system as an example of an embodiment.
As shown in FIG. 1, the virtual tape system 1 includes a host device (upper device) 200, a virtual tape device 100, and a back-end library 300.

ホスト装置200は、仮想テープ装置100によって仮想化された仮想テープ(仮想ボリューム,論理ボリューム)210にアクセスして、バックエンドライブラリ300のカートリッジテープデータの書き込みや読み出しを行なう。図1においては、ホスト装置200がメインフレームホストである例を示している。 The host device 200 accesses the virtual tape (virtual volume, logical volume) 210 virtualized by the virtual tape device 100, and writes or reads the cartridge tape data of the back-end library 300. FIG. 1 shows an example in which the host device 200 is a mainframe host.

ホスト装置200は、例えば、図示しないFC(Fibre Channel)スイッチを介して、ICP(Integrated Channel Processor)150−0,150−1やテープボリュームキャッシュ160,IDP(Integrated Device Processor)170−0,170−1,バックエンドライブラリ300と通信可能に接続されている(図1中の二重線参照)。また、ホスト装置200は、LANC(Local Area Network Controller)131を介して、VLP(Virtual Library Processor)110やPLP(Physical Library Processor)120,ICP150−0,150−1,IDP170−0,170−1,バックエンドライブラリ300と通信可能に接続されている(図1中の一点鎖線参照)。 The host device 200 includes, for example, an ICP (Integrated Channel Processor) 150-0, 150-1, a tape volume cache 160, and an IDP (Integrated Device Processor) 170-0, 170- via an FC (Fibre Channel) switch (not shown). 1. It is communicably connected to the back-end library 300 (see the double line in FIG. 1). Further, the host device 200 may use a VLP (Virtual Library Processor) 110, a PLP (Physical Library Processor) 120, ICP150-0,150-1, IDP170-0,170-1 via a LANC (Local Area Network Controller) 131. , It is communicably connected to the back-end library 300 (see the alternate long and short dash line in FIG. 1).

ホスト装置200は、仮想ボリューム210やカートリッジテープ(物理ボリューム,物理テープ)へのI/O処理要求(読み取り要求/書き込み要求)を発行する。ホスト装置200は、例えば、仮想ボリュームへのI/O処理要求を、図示しないCPU(Central Processing Unit)によりVTCP(Virtual Tape Control Program)を実行することにより実現する。 The host device 200 issues an I / O processing request (read request / write request) to the virtual volume 210 or the cartridge tape (physical volume, physical tape). The host device 200 realizes, for example, an I / O processing request to a virtual volume by executing VTCP (Virtual Tape Control Program) by a CPU (Central Processing Unit) (not shown).

ホスト装置200は、例えば、図示しないストレージ装置に格納された業務等に用いられるデータを、定期もしくは不定期に仮想ボリューム210やカートリッジテープに転送してコピーすることにより、データのバックアップを行なう。 The host device 200 backs up data by, for example, transferring data stored in a storage device (not shown) and used for business or the like to a virtual volume 210 or a cartridge tape on a regular or irregular basis and copying the data.

このデータのバックアップは、例えば、データを格納する仮想ボリューム210もしくはカートリッジテープを指定することにより行なわれる。 The backup of this data is performed, for example, by designating a virtual volume 210 or a cartridge tape for storing the data.

バックエンドライブラリ300は、カートリッジテープ(メディア,物理ボリューム)に対するデータの書き込みや読み取りを行なう。バックエンドライブラリ300は、1つ以上のテープドライブ(物理ドライブ)をそなえる他、複数のカートリッジテープを格納する格納棚やカートリッジテープを搬送する搬送機構(ロボット;図示省略)をそなえる。搬送機構は、搬送棚に格納された複数の物理ボリュームのうち任意の物理ボリュームを物理ドライブに搬送する。なお、カートリッジテープや収納棚及び搬送機構の図示は省略する。又、バックエンドライブラリ300の構成は既知の種々の手法を用いて実現することができ、便宜上、その説明は省略する。 The back-end library 300 writes and reads data on a cartridge tape (media, physical volume). The back-end library 300 includes one or more tape drives (physical drives), a storage shelf for storing a plurality of cartridge tapes, and a transport mechanism (robot; not shown) for transporting the cartridge tapes. The transport mechanism transports an arbitrary physical volume among a plurality of physical volumes stored in the transport shelf to the physical drive. The cartridge tape, the storage shelf, and the transport mechanism are not shown. Further, the configuration of the back-end library 300 can be realized by using various known methods, and the description thereof will be omitted for convenience.

そして、バックエンドライブラリ300においては、搬送機構により物理ボリュームが物理ドライブへ出し入れされ、この物理ドライブにロード(マウント)された物理ボリュームに対してデータのライト/リードが行なわれる。 Then, in the back-end library 300, the physical volume is moved in and out of the physical drive by the transport mechanism, and data is written / read to the physical volume loaded (mounted) on the physical drive.

仮想テープ装置100は、テープI/O(Input/Output)をエミュレーションする。
仮想テープ装置100は、ホスト装置200とバックエンドライブラリ300との間に介在し、これらのホスト装置200とバックエンドライブラリ300との間で送受信されるデータを仮想的なテープボリュームとして記憶する。以下、この仮想的なテープボリュームを仮想ボリュームといい、符号210を付して図示する。
The virtual tape device 100 emulates tape I / O (Input / Output).
The virtual tape device 100 intervenes between the host device 200 and the back-end library 300, and stores data transmitted and received between the host device 200 and the back-end library 300 as a virtual tape volume. Hereinafter, this virtual tape volume is referred to as a virtual volume, and is illustrated with reference numeral 210.

仮想テープ装置100は、ホスト装置200から仮想ボリューム210に対するアクセスに基づき、ディスクに高速アクセスを行なう。 The virtual tape device 100 performs high-speed access to the disk based on the access from the host device 200 to the virtual volume 210.

テープボリュームキャッシュ160の仮想ボリューム210のデータは、バックエンドライブラリ300のカートリッジテープ(物理ボリューム)にまとめ書きされる。 The data of the virtual volume 210 of the tape volume cache 160 is collectively written on the cartridge tape (physical volume) of the backend library 300.

仮想テープ装置100は、図1に示すように、VLP110,PLP120,ICP150−0,150−1,テープボリュームキャッシュ160,IDP170−0,170−1およびLANC131を備える。 As shown in FIG. 1, the virtual tape device 100 includes VLP110, PLP120, ICP150-0,150-1, tape volume cache 160, IDP170-0,170-1, and LANC131.

VLP110およびPLP120はLANC131を介して相互に通信可能に接続されている。これらのVLP110およびPLP120には、ICP150−0,150−1,テープボリュームキャッシュ160およびIDP170−0,170−1の少なくとも一部が通信可能に接続されてもよい。 The VLP 110 and PLP 120 are communicably connected to each other via the LANC 131. At least a part of ICP150-0,150-1, tape volume cache 160 and IDP170-0,170-1 may be communicably connected to these VLP110 and PLP120.

LANC131には、ホスト装置200及びバックエンドライブラリ300も接続されている。 The host device 200 and the back-end library 300 are also connected to the LANC 131.

また、ICP150−0,150−1,IDP170−0,170−1,VLP110,テープボリュームキャッシュ160は図示しないFCスイッチを介して相互に通信可能に接続されている。更に、FCスイッチには、ホスト装置200,及びバックエンドライブラリ300も接続されている。これにより、例えば、ICP150−0,150−1とテープボリュームキャッシュ160との間やテープボリュームキャッシュ160とIDP170−0,170−1との間,IDP170−0,170−1とバックエンドライブラリ300に格納された各テープドライブとの間等でデータの送受信を行なうことができる。 Further, ICP150-0,150-1, IDP170-0,170-1, VLP110, and tape volume cache 160 are connected to each other so as to be able to communicate with each other via an FC switch (not shown). Further, the host device 200 and the back-end library 300 are also connected to the FC switch. As a result, for example, between ICP150-0,150-1 and the tape volume cache 160, between the tape volume cache 160 and IDP170-0,170-1, IDP170-0,170-1 and the backend library 300 Data can be sent and received to and from each stored tape drive.

そして、仮想テープ装置100においては、ICP150−0,150−1,IDP170−0,170−1,VLP110の各サーバ上で複数のプロセスがパイプあるいはソケットを用いて通信を行ない、仮想テープシステムを実現している。 Then, in the virtual tape device 100, a plurality of processes communicate using pipes or sockets on each server of ICP150-0, 150-1, IDP170-0,170-1, and VLP110 to realize a virtual tape system. doing.

また、これらのICP150−0,150−1,テープボリュームキャッシュ160,IDP170−0,170−1,VLP110,PLP120,LANC131およびバックエンドライブラリ300は、同一のラック(図示省略)内にそなえて構成することができる。 Further, these ICP150-0,150-1, tape volume cache 160, IDP170-0,170-1, VLP110, PLP120, LANC131 and backend library 300 are configured in the same rack (not shown). be able to.

FCスイッチは、ICP150−0〜150−1,IDP170−0,170−1,VLP110およびテープボリュームキャッシュ160が接続される光ファイバチャネル通信経路上において、データ等の中継や経路の切り替えを行なう。この光ファイバチャネル通信経路においては、例えば、仮想テープ装置100で処理する論理ボリュームのデータが伝送される。 The FC switch relays data and switches the route on the optical fiber channel communication path to which the ICP150-0 to 150-1, IDP170-0,170-1, VLP110 and the tape volume cache 160 are connected. In this optical fiber channel communication path, for example, data of a logical volume processed by the virtual tape device 100 is transmitted.

LANC131は、ICP150−0,150−1,IDP170−0,170−1,VLP110,PLP120およびFCスイッチが接続されるLAN経路上において、データの中継や経路の切り替えを行なう。このLAN経路においては、例えば、ICP150−0,150−1及びIDP170−0,170−1の各処理ユニットの動作状態参照および動作指示に関する通信が行なわれる。LANC131は、その通信を全処理ユニットに分配接続する。 The LANC 131 relays data and switches the route on the LAN route to which the ICP150-0,150-1, IDP170-0,170-1, VLP110, PLP120 and the FC switch are connected. In this LAN path, for example, communication regarding operation status reference and operation instruction of each processing unit of ICP150-0,150-1 and IDP170-0,170-1 is performed. The LANC 131 distributes and connects the communication to all processing units.

テープボリュームキャッシュ160は、カートリッジテープの仮想的な情報である仮想テープボリューム(仮想ボリューム,論理ボリューム)が格納される記憶媒体(キャッシュメモリ)であり、ICP150−0,150−1やIDP170−0,170−1に対して仮想的なストレージを提供する。このテープボリュームキャッシュ160は、後述するICP150−0,150−1によって受信されたデータや、バックエンドライブラリ300のカートリッジテープから読み取られたデータを記憶する仮想記憶部として機能する。このテープボリュームキャッシュ160には、論理ボリュームである仮想ボリューム(仮想テープボリューム)210が格納される。なお、仮想ボリュームは、ホスト装置200からデータをアクセスするときの論理的なアクセス単位のデータを示す。テープボリュームキャッシュ160は、例えば、RAID(Redundant Arrays of Inexpensive Disks)装置として構成されている。 The tape volume cache 160 is a storage medium (cache memory) in which a virtual tape volume (virtual volume, logical volume) which is virtual information of a cartridge tape is stored, and is an ICP 150-0, 150-1, IDP 170-0, It provides virtual storage for 170-1. The tape volume cache 160 functions as a virtual storage unit that stores data received by ICP150-0,150-1, which will be described later, and data read from the cartridge tape of the back-end library 300. A virtual volume (virtual tape volume) 210, which is a logical volume, is stored in the tape volume cache 160. The virtual volume indicates data in a logical access unit when data is accessed from the host device 200. The tape volume cache 160 is configured as, for example, a RAID (Redundant Arrays of Inexpensive Disks) device.

テープボリュームキャッシュ160に格納される仮想ボリューム210の実データは、後述するバックエンドライブラリ300のカートリッジテープ(物理ボリューム)に格納される。以下、バックエンドライブラリ300のカートリッジテープに格納される仮想ボリューム210の実データを、物理ボリューム上の仮想ボリュームもしくは単に、仮想ボリュームという場合がある。 The actual data of the virtual volume 210 stored in the tape volume cache 160 is stored in the cartridge tape (physical volume) of the back-end library 300, which will be described later. Hereinafter, the actual data of the virtual volume 210 stored in the cartridge tape of the back-end library 300 may be referred to as a virtual volume on the physical volume or simply a virtual volume.

IDP170−0,170−1は、バックエンドライブラリ300のテープドライブとの接続をつかさどるサーバコンピュータ(処理ユニット)である。本仮想テープシステム1においては、仮想テープ装置100に1つ以上(図1に示す例では2つ)のIDP170−0,170−1がそなえられ、それぞれバックエンドライブラリ300の物理ドライブを制御する。これらのIDP170−0,170−1は同様の構成をそなえる。 IDP170-0,170-1 is a server computer (processing unit) that controls the connection with the tape drive of the back-end library 300. In the virtual tape system 1, one or more IDPs 170-0 and 170-1 (two in the example shown in FIG. 1) are provided in the virtual tape device 100, and each controls the physical drive of the back-end library 300. These IDPs 170-0 and 170-1 have a similar configuration.

なお、以下、IDPを示す符号としては、複数のIDPのうち1つを特定する必要があるときには符号170−0,170−1を用いるが、任意のIDPを指すときには符号170を用いる。 Hereinafter, as the code indicating the IDP, the code 170-0,170-1 is used when it is necessary to specify one of the plurality of IDPs, but the code 170 is used when referring to an arbitrary IDP.

IDP170は、VLP110からの指示を受けて、テープボリュームキャッシュ160上の論理ボリュームのデータをバックエンドライブラリ300の物理ドライブを用いて物理ボリュームに書き込む。同様に、IDP170は、VLP110からの指示を受けて、バックエンドライブラリ300の物理ドライブを用いて物理ボリュームから論理ボリュームのデータを読み出して、テープボリュームキャッシュ160に格納する。 The IDP 170 receives an instruction from the VLP 110 and writes the data of the logical volume on the tape volume cache 160 to the physical volume using the physical drive of the back-end library 300. Similarly, the IDP 170 receives an instruction from the VLP 110, reads the data of the logical volume from the physical volume using the physical drive of the back-end library 300, and stores it in the tape volume cache 160.

IDP170は、ホスト装置200からのデータアクセス要求に応じて、バックエンドライブラリ300の物理ボリュームからデータを読み出したり、又、データの書き込みを行なう。 The IDP 170 reads data from the physical volume of the back-end library 300 and writes data in response to a data access request from the host device 200.

IDP170は、PDS(Physical Driver Server)としての機能をそなえる。PDSは、バックエンドライブラリ300のテープドライブに挿入されたカートリッジテープとのデータのやり取りをするプロセスであって、例えば、物理ボリュームからデータを読み取り、その読み取ったデータをテープボリュームキャッシュ160の所定の領域に書き込む。これにより、IDP170はバックエンドライブラリ300の物理ドライブを制御する物理ドライブ制御部としての機能を実現する。 The IDP170 has a function as a PDS (Physical Driver Server). The PDS is a process of exchanging data with a cartridge tape inserted in the tape drive of the back-end library 300. For example, data is read from a physical volume, and the read data is read into a predetermined area of the tape volume cache 160. Write to. As a result, the IDP 170 realizes a function as a physical drive control unit that controls the physical drive of the back-end library 300.

ICP150−0,150−1は、ホスト装置200のドライブパスとの接続をつかさどるサーバコンピュータ(処理ユニット)である。本仮想テープシステム1においては、仮想テープ装置100に1つ以上(図1に示す例では2つ)のICP150−0,150−1がそなえられ、ホスト装置200からのデータを受信する受信手段として機能する。これらのICP150−0,150−1は同様の構成をそなえる。なお、以下、ICPを示す符号としては、複数のICPのうち1つを特定する必要があるときには符号150−0,150−1を用いるが、任意のICPを指すときには符号150を用いる。 ICP150-0,150-1 are server computers (processing units) that control the connection with the drive path of the host device 200. In the virtual tape system 1, one or more ICP150-0,150-1 (two in the example shown in FIG. 1) are provided in the virtual tape device 100, and as a receiving means for receiving data from the host device 200. Function. These ICPs 150-0 and 150-1 have a similar configuration. Hereinafter, as the code indicating ICP, reference numeral 150-0,150-1 is used when it is necessary to specify one of a plurality of ICPs, but reference numeral 150 is used when referring to an arbitrary ICP.

ICP150は、ホスト装置200とFCスイッチを介して接続され、テープボリュームキャッシュ160上の仮想テープボリュームのデータをホスト装置200との間で送受信する制御を行なう。ICP150は、仮想ドライブ(論理ドライブ装置)151を介してテープボリュームキャッシュ160の仮想テープボリュームのデータにアクセスし、データの読み出しや書き込みを行なう。すなわち、ICP150は、仮想ドライブ装置に対するデータアクセスを制御する処理ユニットとして機能する。 The ICP 150 is connected to the host device 200 via an FC switch, and controls transmission / reception of virtual tape volume data on the tape volume cache 160 to / from the host device 200. The ICP 150 accesses the data of the virtual tape volume of the tape volume cache 160 via the virtual drive (logical drive device) 151, and reads or writes the data. That is, the ICP 150 functions as a processing unit that controls data access to the virtual drive device.

このICP150は、例えば、IA(Intel Architecture)サーバにより構成され、EMTAPE(Virtual Emulation Tape)としての機能を実現する。EMTAPEは、バックエンドライブラリ300のテープドライブを仮想的にホスト装置200にみせるプロセスであって、仮想ドライブ151を実現する。EMTAPEは、バックエンドライブラリ300の物理的なテープドライブのエミュレーションを行なう。これによりICP150は仮想ドライブ151を制御する物理ドライブ制御部としての機能を実現する。仮想ドライブ151を論理ドライブといってもよい。図1においては、仮想テープ装置100において5つの仮想ドライブ151が備えられている例を示す。 This ICP150 is configured by, for example, an IA (Intel Architecture) server and realizes a function as an EMTAPE (Virtual Emulation Tape). EMTAPE is a process of virtually showing the tape drive of the back-end library 300 to the host device 200, and realizes the virtual drive 151. EMTAPE embodies the physical tape drive of the backend library 300. As a result, the ICP 150 realizes a function as a physical drive control unit that controls the virtual drive 151. The virtual drive 151 may be called a logical drive. FIG. 1 shows an example in which the virtual tape device 100 is provided with five virtual drives 151.

なお、以下、ICPを示す符号としては、複数のICPのうち1つを特定する必要があるときには符号150−0,150−1を用いるが、任意のICPを指すときには符号150を用いる。 Hereinafter, as the code indicating ICP, reference numeral 150-0,150-1 is used when it is necessary to specify one of a plurality of ICPs, but reference numeral 150 is used when referring to an arbitrary ICP.

PLP120は、バックエンドライブラリ300を動作させる制御を行なうサーバコンピュータ(処理ユニット)である。PLP120は、後述するVLP110から受け付けたバックエンドライブラリ300の制御依頼に従って、バックエンドライブラリ300の搬送機構を制御することで、物理ドライブ(図示省略)にカートリッジテープ(物理ボリューム)を装填させたり、物理ドライブから物理ボリュームを取り外させる。 The PLP 120 is a server computer (processing unit) that controls the operation of the back-end library 300. The PLP 120 controls the transfer mechanism of the back-end library 300 in accordance with the control request of the back-end library 300 received from the VLP 110, which will be described later, so that the physical drive (not shown) is loaded with the cartridge tape (physical volume) or the physical. Remove the physical volume from the drive.

VLP110は、ICP150−0,150−1やIDP170−0,170−1等と連携して、システムとして仮想テープ環境を実現するための各種プロセスを実行(動作)させるサーバコンピュータ(処理ユニット)である。このVLP110は、ホスト装置200からLANC131経由でマウント要求を受け、仮想ドライブ151に論理ボリュームをマウントしたり、テープドライブの物理ボリュームのマウント処理やアンマウント処理を行なう。 The VLP110 is a server computer (processing unit) that executes (operates) various processes for realizing a virtual tape environment as a system in cooperation with ICP150-0,150-1 and IDP170-0,170-1. .. The VLP 110 receives a mount request from the host device 200 via LANC 131, mounts a logical volume on the virtual drive 151, and performs mount processing and unmount processing of the physical volume of the tape drive.

VLP110は、ホスト装置200とLANC131を介して接続され、ホスト装置200からのデータの書き込み要求などを受け付ける。そして、VLP110は、PLP120,ICPサーバ150およびIDP170に対してデータの読み書きや、バックエンドライブラリ300の制御を依頼する。 The VLP 110 is connected to the host device 200 via the LANC 131, and receives a data writing request from the host device 200 and the like. Then, the VLP 110 requests the PLP 120, the ICP server 150, and the IDP 170 to read / write data and control the back-end library 300.

VLP110は、テープボリュームキャッシュ160に対するデータアクセスの制御を行なう。VLP110は、バックエンドライブラリ300の物理ドライブにマウントされた物理ボリュームのデータに基づいて作成される複数の論理ボリューム(仮想ボリューム210)を格納するキャッシュメモリ(テープボリュームキャッシュ160)を制御するキャッシュ制御装置に相当する。 The VLP 110 controls data access to the tape volume cache 160. The VLP 110 is a cache control device that controls a cache memory (tape volume cache 160) that stores a plurality of logical volumes (virtual volumes 210) created based on the data of the physical volumes mounted on the physical drive of the back-end library 300. Corresponds to.

図2は実施形態の一例としての仮想テープ装置100のVLP110のハードウェア構成を示すブロック図、図3はその機能構成を示す図である。 FIG. 2 is a block diagram showing the hardware configuration of the VLP 110 of the virtual tape device 100 as an example of the embodiment, and FIG. 3 is a diagram showing the functional configuration thereof.

VLP110は、図2に例示するように、プロセッサ11,メモリ12,記憶装置13,グラフィック処理装置14,入力インタフェース15,光学ドライブ装置16,機器接続インタフェース17およびネットワークインタフェース18を構成要素として有する。これらの構成要素11〜18は、バス19を介して相互に通信可能に構成される。 As illustrated in FIG. 2, the VLP 110 includes a processor 11, a memory 12, a storage device 13, a graphic processing device 14, an input interface 15, an optical drive device 16, a device connection interface 17, and a network interface 18 as components. These components 11 to 18 are configured to be communicable with each other via the bus 19.

プロセッサ(処理部)11は、VLP110全体を制御する。プロセッサ11は、マルチプロセッサであってもよい。プロセッサ11は、例えばCPU,MPU(Micro Processing Unit),DSP(Digital Signal Processor),ASIC(Application Specific Integrated Circuit),PLD(Programmable Logic Device),FPGA(Field Programmable Gate Array)のいずれか一つであってもよい。また、プロセッサ11は、CPU,MPU,DSP,ASIC,PLD,FPGAのうちの2種類以上の要素の組み合わせであってもよい。 The processor (processing unit) 11 controls the entire VLP110. The processor 11 may be a multiprocessor. The processor 11 is, for example, any one of a CPU, an MPU (Micro Processing Unit), a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), and an FPGA (Field Programmable Gate Array). You may. Further, the processor 11 may be a combination of two or more types of elements of the CPU, MPU, DSP, ASIC, PLD, and FPGA.

そして、プロセッサ11がVLP110用の制御プログラム(キャッシュ制御プログラム;図示省略)を実行することにより、図3を用いて後述する、仮想ボリューム管理部10,仮想ボリューム選択部20および仮想ボリューム削除部40としての機能が実現される。 Then, when the processor 11 executes a control program for the VLP 110 (cache control program; not shown), the virtual volume management unit 10, the virtual volume selection unit 20, and the virtual volume deletion unit 40, which will be described later with reference to FIG. The function of is realized.

仮想ボリューム管理部10,仮想ボリューム選択部20および仮想ボリューム削除部40としての機能は、例えば、OS(Operating System)プログラム上で動作する機能として実装されてもよく、また、OSプログラムの機能として実装されてもよい。 The functions of the virtual volume management unit 10, the virtual volume selection unit 20, and the virtual volume deletion unit 40 may be implemented as, for example, functions that operate on an OS (Operating System) program, or as functions of an OS program. May be done.

なお、VLP110は、例えばコンピュータ読み取り可能な非一時的な記録媒体に記録されたプログラム(キャッシュ制御プログラムやOSプログラム)を実行することにより、図3に示す仮想ボリューム管理部10,仮想ボリューム選択部20および仮想ボリューム削除部40としての機能を実現する。 The VLP 110 executes a program (cache control program or OS program) recorded on a computer-readable non-temporary recording medium, for example, to execute the virtual volume management unit 10 and the virtual volume selection unit 20 shown in FIG. And the function as the virtual volume deletion unit 40 is realized.

VLP110に実行させる処理内容を記述したプログラムは、様々な記録媒体に記録しておくことができる。例えば、VLP110に実行させるキャッシュ制御プログラムを記憶装置13に格納しておくことができる。プロセッサ11は、記憶装置13内のプログラムの少なくとも一部をメモリ(RAM)12にロードし、ロードしたプログラムを実行する。 The program that describes the processing content to be executed by the VLP110 can be recorded on various recording media. For example, a cache control program to be executed by the VLP 110 can be stored in the storage device 13. The processor 11 loads at least a part of the program in the storage device 13 into the memory (RAM) 12 and executes the loaded program.

また、VLP110(プロセッサ11)に実行させるプログラム(キャッシュ制御プログラム)を、光ディスク16a,メモリ装置17a,メモリカード17c等の非一時的な可搬型記録媒体に記録しておくこともできる。可搬型記録媒体に格納されたプログラムは、例えばプロセッサ11からの制御により、記憶装置13にインストールされた後、実行可能になる。また、プロセッサ11が、可搬型記録媒体から直接プログラムを読み出して実行することもできる。 Further, the program (cache control program) to be executed by the VLP 110 (processor 11) can be recorded on a non-temporary portable recording medium such as an optical disk 16a, a memory device 17a, and a memory card 17c. The program stored in the portable recording medium can be executed after being installed in the storage device 13 under the control of, for example, the processor 11. The processor 11 can also read and execute the program directly from the portable recording medium.

メモリ12は、ROM(Read Only Memory)およびRAM(Random Access Memory)を含む記憶メモリである。メモリ12のRAMはVLP110の主記憶装置として使用される。RAMには、プロセッサ11に実行させるOSプログラムや制御プログラム(キャッシュ制御プログラム)の少なくとも一部が一時的に格納される。また、メモリ12には、プロセッサ11による処理に必要な各種データが格納される。 The memory 12 is a storage memory including a ROM (Read Only Memory) and a RAM (Random Access Memory). The RAM of the memory 12 is used as the main storage device of the VLP 110. At least a part of the OS program and the control program (cache control program) to be executed by the processor 11 is temporarily stored in the RAM. Further, various data necessary for processing by the processor 11 are stored in the memory 12.

記憶装置13は、ハードディスクドライブ(Hard Disk Drive:HDD)、SSD(Solid State Drive)、ストレージクラスメモリ(Storage Class Memory:SCM)等の記憶装置であって、種々のデータを格納するものである。記憶装置13は、VLP110の補助記憶装置として使用される。記憶装置13には、OSプログラム,制御プログラムおよび各種データが格納される。制御プログラムには監視ソフトウェアが含まれる。 The storage device 13 is a storage device such as a hard disk drive (HDD), SSD (Solid State Drive), and storage class memory (SCM), and stores various types of data. The storage device 13 is used as an auxiliary storage device for the VLP 110. The storage device 13 stores an OS program, a control program, and various data. The control program includes monitoring software.

なお、補助記憶装置としては、SCMやフラッシュメモリ等の半導体記憶装置を使用することもできる。また、複数の記憶装置13を用いてRAID(Redundant Arrays of Inexpensive Disks)を構成してもよい。 As the auxiliary storage device, a semiconductor storage device such as an SCM or a flash memory can also be used. In addition, RAID (Redundant Arrays of Inexpensive Disks) may be configured by using a plurality of storage devices 13.

また、記憶装置13には、後述するLRU管理テーブル31および物理ドライブ管理テーブル32を構成するデータが格納される。 Further, the storage device 13 stores data constituting the LRU management table 31 and the physical drive management table 32, which will be described later.

グラフィック処理装置14には、モニタ14aが接続されている。グラフィック処理装置14は、プロセッサ11からの命令に従って、画像をモニタ14aの画面に表示させる。モニタ14aとしては、CRT(Cathode Ray Tube)を用いた表示装置や液晶表示装置等が挙げられる。 A monitor 14a is connected to the graphic processing device 14. The graphic processing device 14 causes the image to be displayed on the screen of the monitor 14a in accordance with the instruction from the processor 11. Examples of the monitor 14a include a display device using a CRT (Cathode Ray Tube), a liquid crystal display device, and the like.

入力インタフェース15には、キーボード15aおよびマウス15bが接続されている。入力インタフェース15は、キーボード15aやマウス15bから送られてくる信号をプロセッサ11に送信する。なお、マウス15bは、ポインティングデバイスの一例であり、他のポインティングデバイスを使用することもできる。他のポインティングデバイスとしては、タッチパネル,タブレット,タッチパッド,トラックボール等が挙げられる。 A keyboard 15a and a mouse 15b are connected to the input interface 15. The input interface 15 transmits signals sent from the keyboard 15a and the mouse 15b to the processor 11. The mouse 15b is an example of a pointing device, and other pointing devices can also be used. Examples of other pointing devices include touch panels, tablets, touch pads, trackballs, and the like.

光学ドライブ装置16は、レーザ光等を利用して、光ディスク16aに記録されたデータの読み取りを行なう。光ディスク16aは、光の反射によって読み取り可能にデータを記録された可搬型の非一時的な記録媒体である。光ディスク16aには、DVD(Digital Versatile Disc),DVD−RAM,CD−ROM(Compact Disc Read Only Memory),CD−R(Recordable)/RW(ReWritable)等が挙げられる。 The optical drive device 16 reads the data recorded on the optical disk 16a by using a laser beam or the like. The optical disc 16a is a portable non-temporary recording medium on which data is readablely recorded by reflection of light. Examples of the optical disk 16a include a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc Read Only Memory), a CD-R (Recordable) / RW (ReWritable), and the like.

機器接続インタフェース17は、VLP110に周辺機器を接続するための通信インタフェースである。例えば、機器接続インタフェース17には、メモリ装置17aやメモリリーダライタ17bを接続することができる。メモリ装置17aは、機器接続インタフェース17との通信機能を搭載した非一時的な記録媒体、例えばUSB(Universal Serial Bus)メモリである。メモリリーダライタ17bは、メモリカード17cへのデータの書き込み、またはメモリカード17cからのデータの読み出しを行なう。メモリカード17cは、カード型の非一時的な記録媒体である。 The device connection interface 17 is a communication interface for connecting peripheral devices to the VLP 110. For example, a memory device 17a or a memory reader / writer 17b can be connected to the device connection interface 17. The memory device 17a is a non-temporary recording medium equipped with a communication function with the device connection interface 17, for example, a USB (Universal Serial Bus) memory. The memory reader / writer 17b writes data to the memory card 17c or reads data from the memory card 17c. The memory card 17c is a card-type non-temporary recording medium.

ネットワークインタフェース18は、ネットワークに接続される。ネットワークインタフェース18は、光ファイバチャネルネットワークに接続されるインタフェース(FCインタフェース)とLANに接続されるLANインタフェースとを備えてよい。VLP110は、このネットワークインタフェース18を介して、PLP120やホスト装置200,テープボリュームキャッシュ160,ICP150,IDP170等との間でデータの送受信を行なう。ネットワークには他の情報処理装置や通信機器等が接続されてもよい。 The network interface 18 is connected to the network. The network interface 18 may include an interface (FC interface) connected to the optical fiber channel network and a LAN interface connected to the LAN. The VLP 110 transmits / receives data to / from the PLP 120, the host device 200, the tape volume cache 160, the ICP 150, the IDP 170, and the like via the network interface 18. Other information processing devices, communication devices, and the like may be connected to the network.

次に、VLP110の機能構成について説明する。VLP110は、図3に示すように、仮想ボリューム管理部10,仮想ボリューム選択部20および仮想ボリューム削除部40としての機能を備える。 Next, the functional configuration of the VLP110 will be described. As shown in FIG. 3, the VLP 110 has functions as a virtual volume management unit 10, a virtual volume selection unit 20, and a virtual volume deletion unit 40.

仮想ボリューム管理部10は、本仮想テープ装置100における仮想ボリューム210を管理する。仮想ボリューム管理部10は、LRU管理テーブル31および物理ドライブ管理テーブル32を用いて、仮想ボリューム210の管理を行なう。 The virtual volume management unit 10 manages the virtual volume 210 in the virtual tape device 100. The virtual volume management unit 10 manages the virtual volume 210 by using the LRU management table 31 and the physical drive management table 32.

図4は実施形態の一例としての仮想テープ装置100におけるLRU管理テーブル31を例示する図である。 FIG. 4 is a diagram illustrating an LRU management table 31 in the virtual tape device 100 as an example of the embodiment.

LRU管理テーブル31は、仮想ボリューム210を管理する仮想ボリューム管理情報であり、データアクセスが行なわれた仮想ボリューム210を、LRU論理に従って順位付けをして管理する。すなわち、LRU管理テーブル31は、仮想ボリューム210を、最後にアクセスが行なわれた時刻からの経過時間に応じて並べることで構成されている。 The LRU management table 31 is virtual volume management information for managing the virtual volume 210, and ranks and manages the virtual volume 210 to which data has been accessed according to the LRU logic. That is, the LRU management table 31 is configured by arranging the virtual volumes 210 according to the elapsed time from the time when the last access was performed.

図4に例示するLRU管理テーブル31は、仮想ボリューム名,仮想ボリュームマウント有無,格納するボリューム,大きさおよび仮想ボリュームに最後にアクセスしたタイムスタンプをカラムとして備えるテーブルとして構成されている。 The LRU management table 31 illustrated in FIG. 4 is configured as a table including the virtual volume name, the presence / absence of the virtual volume mount, the volume to be stored, the size, and the time stamp of the last access to the virtual volume as columns.

仮想ボリューム名は仮想ボリューム210を特定する識別情報である。大きさは、仮想ボリューム210のデータサイズである。仮想ボリュームに最後にアクセスしたタイムスタンプは、当該仮想ボリューム210に最後にデータアクセスが行なわれた時刻を示す。LRU管理テーブル31においては、この仮想ボリュームに最後にアクセスしたタイムスタンプの時刻が最も古い仮想ボリューム210が先頭(図4においては最上位置)となるようにソートされている。 The virtual volume name is identification information that identifies the virtual volume 210. The size is the data size of the virtual volume 210. The time stamp of the last access to the virtual volume indicates the time when the last data access was made to the virtual volume 210. In the LRU management table 31, the virtual volume 210 having the oldest time stamp of the last access to this virtual volume is sorted so as to be the head (the highest position in FIG. 4).

仮想ボリュームマウント有無は、当該仮想ボリューム210に対応する実データを格納するカートリッジテープ(物理ボリューム)が、バックエンドライブラリ300の物理ドライブにマウントされているか否かを示す情報である。バックエンドライブラリ300の物理ドライブにマウントされている物理ボリュームに当該仮想ボリューム210が格納されている場合には、仮想ボリュームマウント有無に、例えば、“1”が設定される。一方、バックエンドライブラリ300の物理ドライブにマウントされている物理ボリュームに当該仮想ボリューム210が格納されていない場合には、仮想ボリュームマウント有無に、例えば、“0”が設定される。 The presence / absence of the virtual volume mount is information indicating whether or not the cartridge tape (physical volume) for storing the actual data corresponding to the virtual volume 210 is mounted on the physical drive of the back-end library 300. When the virtual volume 210 is stored in the physical volume mounted on the physical drive of the back-end library 300, for example, "1" is set for whether or not the virtual volume is mounted. On the other hand, when the virtual volume 210 is not stored in the physical volume mounted on the physical drive of the back-end library 300, for example, "0" is set for whether or not the virtual volume is mounted.

格納するボリュームは、当該仮想ボリューム210に対応する実データを格納するカートリッジテープ(物理ボリューム)を特定する識別情報である。 The volume to be stored is identification information that identifies a cartridge tape (physical volume) that stores actual data corresponding to the virtual volume 210.

従って、LRU管理テーブル31において、仮想ボリュームマウント有無に“1”が設定されている仮想ボリューム210は、格納する物理ボリュームによって特定されるカートリッジテープに、その対応する実データが格納されている。仮想ボリューム210に対応する実データに、当該仮想ボリューム210を実現するためのデータを含む。 Therefore, in the LRU management table 31, the virtual volume 210 in which “1” is set for the presence / absence of the virtual volume mount has the corresponding actual data stored in the cartridge tape specified by the physical volume to be stored. The actual data corresponding to the virtual volume 210 includes data for realizing the virtual volume 210.

仮想ボリューム管理部10は、LRU管理テーブル31への情報の記録や更新を行なう。 The virtual volume management unit 10 records and updates information in the LRU management table 31.

また、仮想ボリューム管理部10は、物理ドライブ管理テーブル32を用いて、バックエンドライブラリ300の物理ドライブにマウントされているカートリッジテープ(物理ボリューム)と、当該物理ボリュームに格納されている仮想ボリュームを管理する。 Further, the virtual volume management unit 10 manages the cartridge tape (physical volume) mounted on the physical drive of the back-end library 300 and the virtual volume stored in the physical volume by using the physical drive management table 32. To do.

図5〜図7は実施形態の一例としての仮想テープ装置100における物理ドライブ管理テーブル32を例示する図であり、一の物理ドライブ管理テーブル32を分割して図5〜図7に分けて示している。 5 to 7 are diagrams illustrating the physical drive management table 32 in the virtual tape device 100 as an example of the embodiment, and one physical drive management table 32 is divided and shown in FIGS. 5 to 7. There is.

図5〜図7に例示する物理ドライブ管理テーブル32は、物理ドライブNo.,物理ボリュームマウント有無,マウントされた時間タイムスタンプ,物理ボリューム,物理ボリュームに最後にアクセスしたタイムスタンプ,Headの位置,仮想ボリューム数,仮想ボリュームNo.,仮想ボリューム名および容量をカラムとして備えるテーブルとして構成されている。 The physical drive management table 32 illustrated in FIGS. 5 to 7 shows the physical drive No., whether or not the physical volume is mounted, the time stamp of the mounted time, the physical volume, the time stamp of the last access to the physical volume, the position of the head, and the virtual. It is configured as a table with the number of volumes, virtual volume number, virtual volume name, and capacity as columns.

なお、図中、記述のカラム名と同じカラム名は同様の内容を示しているので、その説明は省略する。 In the figure, the same column name as the described column name has the same contents, so the description thereof will be omitted.

物理ドライブNo.は物理ドライブを特定する識別情報である。物理ボリュームマウント有無は、当該物理ドライブにカートリッジテープ(物理ボリューム)がマウントされているか否かを示す情報である。当該物理ドライブに物理ボリュームがマウントされている場合には、物理ボリュームマウント有無に、例えば、“1”が設定される。一方、当該物理ドライブに物理ボリュームがマウントされていない場合には、物理ボリュームマウント有無に、例えば、“0”が設定される。 The physical drive number is identification information that identifies the physical drive. The presence / absence of physical volume mounting is information indicating whether or not a cartridge tape (physical volume) is mounted on the physical drive. When a physical volume is mounted on the physical drive, for example, "1" is set for whether or not the physical volume is mounted. On the other hand, when the physical volume is not mounted on the physical drive, for example, "0" is set for whether or not the physical volume is mounted.

マウントされた時間タイムスタンプは、当該物理ドライブに物理ボリュームがマウントされている場合に、その物理ボリュームがマウントされた時刻を示す。 The mounted time time stamp indicates the time when the physical volume was mounted when the physical volume was mounted on the physical drive.

物理ボリュームは、当該物理ドライブにマウントされた物理ボリュームを識別する識別情報である。物理ボリュームに最後にアクセスしたタイムスタンプは、当該物理ドライブにマウントされた物理ボリュームに最後にデータアクセスが行なわれた時刻を示す。 The physical volume is identification information that identifies the physical volume mounted on the physical drive. The time stamp of the last access to the physical volume indicates the time when the last data access was made to the physical volume mounted on the physical drive.

Headの位置は、当該物理ドライブにマウントされた物理ボリュームに対する当該物理ドライブのヘッド(物理ヘッド,磁気ヘッド)の位置を示す。 The position of the head indicates the position of the head (physical head, magnetic head) of the physical drive with respect to the physical volume mounted on the physical drive.

本仮想テープ装置100においては、物理ボリュームに仮想ボリューム210のデータがシーケンシャルに格納されるものとする。以下、便宜上、物理ボリュームにおける仮想ボリューム210のデータを、単に、物理ボリュームにおける仮想ボリュームという場合がある。 In the virtual tape device 100, it is assumed that the data of the virtual volume 210 is sequentially stored in the physical volume. Hereinafter, for convenience, the data of the virtual volume 210 in the physical volume may be simply referred to as the virtual volume in the physical volume.

図6に示す例においては、Headの位置を、物理ボリュームにおける仮想ボリュームに対する位置で表している。すなわち、仮想ボリュームNo.を表す符号“VV No.n”(nは自然数)と、物理ドライブの物理ヘッドが仮想ボリューム210のデータの末尾位置にあることを示す“後”とを組み合わせることでHeadの位置を示す。 In the example shown in FIG. 6, the position of the Head is represented by the position of the physical volume with respect to the virtual volume. That is, Head by combining the code "VV No.n" (n is a natural number) representing the virtual volume No. and "after" indicating that the physical head of the physical drive is at the end position of the data of the virtual volume 210. Indicates the position of.

例えば、物理ボリュームにおいて、仮想ボリュームNo.が“1”の仮想ボリューム210のデータの末尾位置を、“VV No.1後”と表す。すなわち、Headの位置を、物理ボリュームにおける仮想ボリュームの仮想ボリュームNo.を用いて表す。 For example, in the physical volume, the end position of the data of the virtual volume 210 whose virtual volume No. is “1” is represented as “after VV No. 1”. That is, the position of the Head is represented by using the virtual volume No. of the virtual volume in the physical volume.

なお、Headの位置の表現方法は、これに限定されるものではなく、適宜変形して実施することができる。例えば、物理ドライブの物理ヘッドが物理ボリュームにおける仮想ボリューム210のデータの先頭位置にある場合に、“VV No.n前”と表してもよい。 The method of expressing the position of the Head is not limited to this, and can be appropriately modified and implemented. For example, when the physical head of the physical drive is at the head position of the data of the virtual volume 210 on the physical volume, it may be expressed as "VV No. n before".

また、Headの位置を、カートリッジテープの先頭からの長さや座標、またはこれらに類する値を用いて表してもよい。 Further, the position of the Head may be expressed by using the length and coordinates from the beginning of the cartridge tape, or a value similar thereto.

仮想ボリューム数は、当該物理ドライブにマウントされた物理ボリュームに格納されている仮想ボリュームの数である。 The number of virtual volumes is the number of virtual volumes stored in the physical volume mounted on the physical drive.

仮想ボリュームNo.は、当該物理ドライブにマウントされた物理ボリュームに格納されている仮想ボリュームを特定するための識別番号である。 The virtual volume No. is an identification number for identifying the virtual volume stored in the physical volume mounted on the physical drive.

なお、物理ボリュームに複数の仮想ボリューム210のデータが格納されている場合には、物理ドライブ管理テーブル32おいて、当該物理ボリュームに対応付けて、これらの複数の仮想ボリュームの仮想ボリュームNo.,仮想ボリューム名および容量が記録される。 When the data of a plurality of virtual volumes 210 is stored in the physical volume, the virtual volume numbers and virtual volumes of the plurality of virtual volumes are associated with the physical volume in the physical drive management table 32. The volume name and capacity are recorded.

仮想ボリューム管理部10は、物理ドライブ管理テーブル32への情報の記録や更新も行なう。仮想ボリューム管理部10は、例えば、カートリッジテープに記録されたディレクトリ情報(構成情報)を参照することで、物理ドライブ管理テーブル32に記録する情報を取得してもよい。 The virtual volume management unit 10 also records and updates information in the physical drive management table 32. The virtual volume management unit 10 may acquire the information to be recorded in the physical drive management table 32 by referring to the directory information (configuration information) recorded in the cartridge tape, for example.

仮想ボリューム選択部20は、テープボリュームキャッシュ160がフルとなった状態において、このテープボリュームキャッシュ160に新たな仮想ボリュームを格納するための空き容量を作るために、テープボリュームキャッシュ160から追い出す(キャッシュアウトさせる)仮想ボリューム210を選択する。すなわち、仮想ボリューム選択部20は、テープボリュームキャッシュ160におけるキャッシュアウト対象の仮想ボリューム210を選択する。 When the tape volume cache 160 is full, the virtual volume selection unit 20 expels the tape volume cache 160 from the tape volume cache 160 in order to make free space for storing a new virtual volume in the tape volume cache 160 (cache out). ) Select the virtual volume 210. That is, the virtual volume selection unit 20 selects the virtual volume 210 to be cached out in the tape volume cache 160.

仮想ボリューム選択部20は、テープボリュームキャッシュ160に格納されている仮想ボリューム210のうち、対応する物理ボリュームがバックエンドライブラリ300において物理ドライブにマウントされている全ての仮想ボリューム210をキャッシュアウト対象の候補として選択する。 The virtual volume selection unit 20 can cache out all the virtual volumes 210 whose corresponding physical volumes are mounted on the physical drive in the back-end library 300 among the virtual volumes 210 stored in the tape volume cache 160. Select as.

テープボリュームキャッシュ160にキャッシュアウト対象の仮想ボリュームの候補が複数あり、バックエンドライブラリ300において、これらの仮想ボリューム210を格納する物理ボリュームが複数ある場合には、仮想ボリューム選択部20は、最後にアセスが行なわれた時刻が最も新しい物理ボリュームを選択する。 When there are a plurality of virtual volume candidates to be cached out in the tape volume cache 160 and there are a plurality of physical volumes for storing these virtual volumes 210 in the back-end library 300, the virtual volume selection unit 20 finally assesses. Selects the physical volume with the latest time when was performed.

すなわち、仮想ボリューム選択部20は、物理ドライブ管理テーブル32を参照して、物理ボリュームに最後にアクセスしたタイムスタンプの値を比較し、タイムスタンプの値(時刻)が最も新しい物理ボリュームを選択する。 That is, the virtual volume selection unit 20 refers to the physical drive management table 32, compares the value of the time stamp last accessed to the physical volume, and selects the physical volume having the latest time stamp value (time).

そして、仮想ボリューム選択部20は、この選択した物理ボリュームに実データが格納されている仮想ボリューム210をキャッシュアウト対象の候補として選択する。 Then, the virtual volume selection unit 20 selects the virtual volume 210 in which the actual data is stored in the selected physical volume as a candidate for the cash-out target.

仮想ボリューム選択部20は、LRU管理テーブル31に登録された追い出し順位付けされた複数の仮想ボリューム210について、これの仮想ボリューム210のうち、直近に物理ドライブにマウントされた物理ボリュームに格納される仮想ボリューム210を、キャッシュアウト対象の仮想ボリューム(キャッシュアウト対象論理ボリューム210)として優先して選択する。 The virtual volume selection unit 20 refers to a plurality of virtual volumes 210 registered in the LRU management table 31 that have been banished and ranked, and among the virtual volumes 210, the virtual volume that is stored in the physical volume most recently mounted on the physical drive. The volume 210 is preferentially selected as the virtual volume to be cashed out (logical volume 210 to be cashed out).

仮想テープシステムにおいては、物理ドライブにマウントされた物理ボリュームに所定期間データアクセスがない場合に、物理ボリュームを強制的にアンマウントする機能を有するものが知られている。このような機能を有する仮想テープシステムにおいては、物理ドライブから強制的にアンマウントされた物理ボリュームが選択されることとなる。これにより、例えば、キャッシュアウトされた仮想ボリューム210がリコールされて再度使用される場合に、物理ボリュームからの仮想ボリュームの復元をより短時間で実現することができる。 A virtual tape system is known to have a function of forcibly unmounting a physical volume mounted on a physical drive when the physical volume has not been accessed for a predetermined period of time. In a virtual tape system having such a function, a physically unmounted physical volume is forcibly selected from the physical drive. Thereby, for example, when the cached out virtual volume 210 is recalled and reused, the restoration of the virtual volume from the physical volume can be realized in a shorter time.

物理ボリュームに最後にアクセスしたタイムスタンプの値(時刻)が最も新しい物理ボリュームは、最近にデータアクセスが行なわれた物理ボリュームであり、データアクセスが発生する確率が高いと考えられる。 The physical volume with the latest value (time) of the time stamp that last accessed the physical volume is the physical volume that has recently been accessed for data, and it is considered that there is a high probability that data access will occur.

また、仮想ボリューム選択部20は、LRU管理テーブル31において仮想ボリュームマウント有無に“1”(有)が設定されている仮想ボリューム210をキャッシュアウト対象の候補として選択する。 Further, the virtual volume selection unit 20 selects the virtual volume 210 in which "1" (yes) is set for the presence / absence of the virtual volume mount in the LRU management table 31 as a candidate for the cash out target.

すなわち、仮想ボリューム選択部20は、バックエンドライブラリ300の物理ドライブにマウントされている物理ボリュームに実データが格納されている仮想ボリューム210をキャッシュアウト対象の候補として選択する。 That is, the virtual volume selection unit 20 selects the virtual volume 210 in which the actual data is stored in the physical volume mounted on the physical drive of the back-end library 300 as a candidate for the cash-out target.

また、仮想ボリューム選択部20は、キャッシュアウト対象候補の仮想ボリューム210が複数あり、それらの実データが同一の物理ボリュームに格納されている場合に、この物理ボリュームにおいて、物理ドライブの物理ヘッドの位置に一番近い仮想ボリュームをキャッシュアウト対象として選択する。 Further, when the virtual volume selection unit 20 has a plurality of virtual volumes 210 that are candidates for cash-out and their actual data is stored in the same physical volume, the position of the physical head of the physical drive in this physical volume. Select the virtual volume closest to is the cashout target.

仮想ボリューム選択部20は、物理ボリューム上における各仮想ボリュームの位置を特定し、物理ドライブの物理ヘッドの位置に対する仮想ボリュームが格納される物理ボリューム上の位置までの距離を算出し、物理ヘッドの位置に一番近い仮想ボリュームを選択する。すなわち、仮想ボリューム選択部20は、物理ボリュームにおいて、少ない物理ヘッドの移動量(移動時間)でアクセス可能な位置に実データがある仮想ボリューム210を、キャッシュアウト対象として選択する。 The virtual volume selection unit 20 specifies the position of each virtual volume on the physical volume, calculates the distance to the position on the physical volume where the virtual volume is stored with respect to the position of the physical head of the physical drive, and the position of the physical head. Select the virtual volume closest to. That is, the virtual volume selection unit 20 selects a virtual volume 210 whose actual data is at a position accessible by a small amount of movement (movement time) of the physical head in the physical volume as a cache-out target.

図8および図9は、それぞれ、物理ボリューム上の仮想ボリュームに対する物理ヘッドの位置を説明するための図である。 8 and 9, respectively, are diagrams for explaining the position of the physical head with respect to the virtual volume on the physical volume.

図8に示す例においては、物理ボリューム上に複数の仮想ボリューム(VV−1〜VV−6)が格納された状態を示している。図中、左側が物理ボリュームの先頭側であり、右側が物理ボリュームの末尾側である。従って、物理ボリュームにおいては、仮想ボリュームVV−1を先頭に、この仮想ボリュームVV−1に後続して、仮想ボリュームVV−2〜VV−6が順番に並んで格納されている。また、物理ドライブの物理ヘッドが仮想ボリュームVV−3の末尾位置にある。 In the example shown in FIG. 8, a state in which a plurality of virtual volumes (VV-1 to VV-6) are stored on the physical volume is shown. In the figure, the left side is the beginning side of the physical volume, and the right side is the end side of the physical volume. Therefore, in the physical volume, the virtual volume VV-1 is first, followed by the virtual volume VV-1, and the virtual volumes VV-2 to VV-6 are stored in order. Further, the physical head of the physical drive is located at the end position of the virtual volume VV-3.

また、この図8に示す例において、仮想ボリュームVV−1,VV−2の各容量が、100MB,200MBであり、仮想ボリュームVV−3〜VV−6の各容量が300MBである。 Further, in the example shown in FIG. 8, the capacities of the virtual volumes VV-1 and VV-2 are 100MB and 200MB, and the capacities of the virtual volumes VV-3 to VV-6 are 300MB.

この図8に例示する状態において、テープボリュームキャッシュ160に900MBの空き領域が必要な場合には、物理ヘッドの移動が最小となる仮想ボリュームVV−4を先頭に連続する仮想ボリュームVV−4〜VV−6を、キャッシュアウト対象として選択することが望ましい。これにより、キャッシュアウトさせる仮想ボリューム210のデータを物理ボリュームに迅速に書き込むことができ、キャッシュアウトに要する時間を短縮することができる。 In the state illustrated in FIG. 8, when 900 MB of free space is required for the tape volume cache 160, the virtual volumes VV-4 to VV that are continuous with the virtual volume VV-4 that minimizes the movement of the physical head are the first. It is desirable to select -6 as the cash-out target. As a result, the data of the virtual volume 210 to be cashed out can be quickly written to the physical volume, and the time required for cashing out can be shortened.

図9に示す例においては、物理ボリューム上に複数の仮想ボリューム(VV−1〜VV−7)が格納された状態を示している。図中、左側が物理ボリュームの先頭側であり、右側が物理ボリュームの末尾側である。従って、物理ボリュームにおいては、仮想ボリュームVV−1を先頭に、この仮想ボリュームVV−1に後続して、仮想ボリュームVV−2〜VV−7が順番に並んで格納されている。また、物理ドライブの物理ヘッドが仮想ボリュームVV−4の末尾位置にある。 In the example shown in FIG. 9, a state in which a plurality of virtual volumes (VV-1 to VV-7) are stored on the physical volume is shown. In the figure, the left side is the beginning side of the physical volume, and the right side is the end side of the physical volume. Therefore, in the physical volume, the virtual volume VV-1 is first, followed by the virtual volume VV-1, and the virtual volumes VV-2 to VV-7 are stored in order. Also, the physical head of the physical drive is at the end of the virtual volume VV-4.

この図9に示す例において、仮想ボリュームVV−1,VV−2,VV−4の各容量が、100MB,200MB,900MBであり、仮想ボリュームVV−3,VV−5〜VV−7の各容量が300MBである。 In the example shown in FIG. 9, the capacities of the virtual volumes VV-1, VV-2, and VV-4 are 100MB, 200MB, and 900MB, and the capacities of the virtual volumes VV-3, VV-5 to VV-7. Is 300MB.

この図9に例示する状態において、テープボリュームキャッシュ160に900MBの空き領域が必要な場合には、仮想ボリュームVV−5を先頭に連続する仮想ボリュームVV−5〜VV−7を、キャッシュアウト対象として選択することが考えられる(案A)。また、900MBの容量を有するVV−4を、キャッシュアウト対象として選択することも考えられる(案B)。 In the state illustrated in FIG. 9, when 900 MB of free space is required for the tape volume cache 160, the virtual volumes VV-5 to VV-7 that are continuous with the virtual volume VV-5 at the beginning are set as cache-out targets. It is conceivable to select (Plan A). It is also conceivable to select VV-4 having a capacity of 900 MB as a cash-out target (Proposal B).

ただし、案Bにおいては、物理ヘッドを仮想ボリュームVV−4の先頭に移動させるための機械的動作(物理ボリュームの巻き戻し)が発生するので、このような機械的動作を伴わない案Aを採用することが望ましい。 However, in Plan B, a mechanical operation (rewinding of the physical volume) for moving the physical head to the beginning of the virtual volume VV-4 occurs, so Plan A that does not involve such mechanical operation is adopted. It is desirable to do.

すなわち、仮想ボリューム選択部20は、物理ボリューム上における物理ヘッドよりも下流側(末尾方向)の位置に実データが格納される仮想ボリューム210を優先して決定することが望ましい。 That is, it is desirable that the virtual volume selection unit 20 preferentially determines the virtual volume 210 in which the actual data is stored at a position downstream (tailward) of the physical head on the physical volume.

これによっても、キャッシュアウトさせる仮想ボリューム210のデータを物理ボリュームに迅速に書き込むことができ、キャッシュアウトに要する時間を短縮することができる。 As a result, the data of the virtual volume 210 to be cashed out can be quickly written to the physical volume, and the time required for cashing out can be shortened.

また、仮想ボリューム選択部20は、キャッシュアウト対象の仮想ボリューム210を選択するに際して、物理ヘッドの位置決めを行なうための物理ボリュームの巻き戻しに要する時間を考慮してもよい。物理ヘッドよりも下流側(末尾方向)の位置に実データが格納される仮想ボリューム210へのデータアクセスに比べて、物理ヘッドよりも上流側(先頭方向)の位置に実データが格納される仮想ボリューム210へのデータアクセスが短時間でできる場合には、この上流側位置に実データが格納された仮想ボリューム210をキャッシュアウト対象としてもよい。 Further, when selecting the virtual volume 210 to be cashed out, the virtual volume selection unit 20 may consider the time required for rewinding the physical volume for positioning the physical head. Virtual data is stored at a position upstream of the physical head (head direction) compared to data access to the virtual volume 210 where the actual data is stored at a position downstream (end direction) from the physical head. If the data can be accessed to the volume 210 in a short time, the virtual volume 210 in which the actual data is stored at the upstream position may be the cash-out target.

これによっても、キャッシュアウトさせる仮想ボリューム210のデータを物理ボリュームに迅速に書き込むことができ、キャッシュアウトに要する時間を短縮することができる。 As a result, the data of the virtual volume 210 to be cashed out can be quickly written to the physical volume, and the time required for cashing out can be shortened.

仮想ボリューム選択部20は、バックエンドライブラリ300の物理ドライブに物理ボリュームがマウントされていない場合には、LRU論理に従って、テープボリュームキャッシュ160に格納された複数の仮想ボリューム210の中から、キャッシュアウト対象の仮想ボリューム210を選択する。 When the physical volume is not mounted on the physical drive of the back-end library 300, the virtual volume selection unit 20 is a cache-out target from the plurality of virtual volumes 210 stored in the tape volume cache 160 according to the LRU logic. Virtual volume 210 is selected.

すなわち、仮想ボリューム選択部20は、LRU管理テーブル31を参照して、仮想ボリュームに最後にアクセスしたタイムスタンプが最も古い仮想ボリューム210をキャッシュアウト対象として選択する。仮想ボリューム選択部20は、図4に例示するLRU管理テーブル31の先頭(図中の最上位置)にエントリされている仮想ボリューム210をキャッシュアウト対象として選択する。 That is, the virtual volume selection unit 20 refers to the LRU management table 31 and selects the virtual volume 210 having the oldest time stamp that last accessed the virtual volume as the cash-out target. The virtual volume selection unit 20 selects the virtual volume 210 entered at the top (top position in the figure) of the LRU management table 31 illustrated in FIG. 4 as a cash-out target.

仮想ボリューム選択部20は、キャッシュアウト対象として選択した仮想ボリューム210を仮想ボリューム削除部40に通知する。 The virtual volume selection unit 20 notifies the virtual volume deletion unit 40 of the virtual volume 210 selected as the cash-out target.

また、仮想ボリューム選択部20は、キャッシュアウト対象として選択した仮想ボリューム210の削除後に、テープボリュームキャッシュ160に必要な空き容量が確保されたかを確認する。確認の結果、テープボリュームキャッシュ160に必要な空き容量が確保されていない場合には、再度、キャッシュアウト対象の仮想ボリューム210の選択および仮想ボリューム削除部40への通知を行なう。 Further, the virtual volume selection unit 20 confirms whether the free space required for the tape volume cache 160 is secured after deleting the virtual volume 210 selected as the cache-out target. As a result of the confirmation, if the free space required for the tape volume cache 160 is not secured, the virtual volume 210 to be cached out is selected and the virtual volume deletion unit 40 is notified again.

仮想ボリューム削除部40は、仮想ボリューム選択部20によってキャッシュアウト対象として選択された仮想ボリューム210をテープボリュームキャッシュ160から削除する。 The virtual volume deletion unit 40 deletes the virtual volume 210 selected as the cache-out target by the virtual volume selection unit 20 from the tape volume cache 160.

テープボリュームキャッシュ160からの仮想ボリューム210の削除は既知の手法で実現することができ、その詳細な説明は省略する。例えば、仮想ボリューム削除部40は、テープボリュームキャッシュ160に格納される仮想ボリューム210を管理する管理テーブル(図示省略)から、キャッシュアウトする仮想ボリューム210のエントリを削除することで、仮想ボリューム210のキャッシュアウトを実現する。 The deletion of the virtual volume 210 from the tape volume cache 160 can be realized by a known method, and detailed description thereof will be omitted. For example, the virtual volume deletion unit 40 caches the virtual volume 210 by deleting the entry of the virtual volume 210 to be cached out from the management table (not shown) that manages the virtual volume 210 stored in the tape volume cache 160. Achieve out.

(B)動作
上述の如く構成された実施形態の一例としての仮想テープ装置100における、キャッシュアウト対象の仮想ボリューム210の選択方法を、図10〜図12に示すフローチャート(ステップA1〜A17,B1〜B2)に従って説明する。なお、図10はステップA1〜A6の処理を示し、図11はステップA7〜A17の処理を示す。また、図12はステップB1〜B2の処理を示す。
(B) Operation The flowcharts (steps A1 to A17, B1 to 2) shown in FIGS. 10 to 12 show a method of selecting a virtual volume 210 to be cashed out in the virtual tape device 100 as an example of the embodiment configured as described above. This will be described according to B2). Note that FIG. 10 shows the processing of steps A1 to A6, and FIG. 11 shows the processing of steps A7 to A17. Further, FIG. 12 shows the processing of steps B1 to B2.

以下の処理においては、変数“キャッシュアウト対象の仮想ボリューム容量の合計”を用いる。 In the following processing, the variable "total virtual volume capacity to be cashed out" is used.

ステップA1において、仮想ボリューム選択部20は、変数“キャッシュアウト対象の仮想ボリューム容量の合計”を初期化して0を設定する。 In step A1, the virtual volume selection unit 20 initializes the variable “total virtual volume capacity to be cashed out” and sets it to 0.

ステップA2において、仮想ボリューム選択部20は、物理ドライブにマウントされている物理ボリューム(カートリッジテープ)の数を確認し、物理ドライブにマウントされている物理ボリュームの数が0であるかを判断する。 In step A2, the virtual volume selection unit 20 confirms the number of physical volumes (cartridge tapes) mounted on the physical drive, and determines whether the number of physical volumes mounted on the physical drive is 0.

確認の結果、物理ドライブにマウントされている物理ボリュームの数が0である場合(ステップA2のYESルート参照)、すなわち、物理ドライブに物理ボリュームがマウントされていない場合には、ステップA14に移行する。 As a result of the confirmation, if the number of physical volumes mounted on the physical drive is 0 (see the YES route in step A2), that is, if the physical volumes are not mounted on the physical drive, the process proceeds to step A14. ..

ステップA14において、仮想ボリューム選択部20は、LRU論理に従って、テープボリュームキャッシュ160に格納された複数の仮想ボリューム210の中から、キャッシュアウト対象の仮想ボリューム210を選択する。 In step A14, the virtual volume selection unit 20 selects the virtual volume 210 to be cached out from the plurality of virtual volumes 210 stored in the tape volume cache 160 according to the LRU logic.

すなわち、仮想ボリューム選択部20は、仮想ボリュームに最後にアクセスしたタイムスタンプが最も古い仮想ボリューム210をキャッシュアウト対象として選択する。具体的には、仮想ボリューム選択部20は、LRU管理テーブル31を参照して、LRU管理テーブル31の先頭(上位:図中の最上位置)にエントリされている仮想ボリューム210をキャッシュアウト対象として選択する。 That is, the virtual volume selection unit 20 selects the virtual volume 210 having the oldest time stamp that last accessed the virtual volume as the cash-out target. Specifically, the virtual volume selection unit 20 refers to the LRU management table 31 and selects the virtual volume 210 entered at the top of the LRU management table 31 (upper position: the highest position in the figure) as a cashout target. To do.

ステップA15において、仮想ボリューム選択部20は、LRU管理テーブル31を参照して、ステップA14で選択したキャッシュアウト対象の仮想ボリューム210の大きさを取得する。仮想ボリューム選択部20は、取得した仮想ボリューム210の大きさを、変数“キャッシュアウト対象の仮想ボリューム容量の合計”に加算する。 In step A15, the virtual volume selection unit 20 refers to the LRU management table 31 and acquires the size of the virtual volume 210 to be cashed out selected in step A14. The virtual volume selection unit 20 adds the size of the acquired virtual volume 210 to the variable “total of virtual volume capacities to be cashed out”.

ステップA16において、仮想ボリューム削除部40は、ステップA14で選択したキャッシュアウト対象の仮想ボリューム210をテープボリュームキャッシュ160から削除する。また、仮想ボリューム削除部40は、LRU管理テーブル31から、当該キャッシュアウト対象の仮想ボリューム210の登録を削除する。すなわち、LRU管理テーブル31の更新を行なう。 In step A16, the virtual volume deletion unit 40 deletes the cache-out target virtual volume 210 selected in step A14 from the tape volume cache 160. Further, the virtual volume deletion unit 40 deletes the registration of the virtual volume 210 to be cashed out from the LRU management table 31. That is, the LRU management table 31 is updated.

ステップA17において、仮想ボリューム選択部20は、変数“キャッシュアウト対象の仮想ボリューム容量の合計”の値を、テープボリュームキャッシュ160において必要とされている容量と比較し、必要とされている容量以上であるかを確認する。 In step A17, the virtual volume selection unit 20 compares the value of the variable “total virtual volume capacity to be cached out” with the capacity required in the tape volume cache 160, and is greater than or equal to the required capacity. Check if there is.

確認の結果、変数“キャッシュアウト対象の仮想ボリューム容量の合計”が、テープボリュームキャッシュ160において必要とされている容量以上である場合(ステップA17のYESルート参照)、処理を終了する。 As a result of the confirmation, when the variable "total of virtual volume capacities to be cached out" is equal to or greater than the capacity required in the tape volume cache 160 (see YES route in step A17), the process ends.

一方、ステップA17における確認の結果、変数“キャッシュアウト対象の仮想ボリューム容量の合計”が、テープボリュームキャッシュ160において必要とされている容量未満の場合(ステップA17のNOルート参照)、ステップA14に戻る。 On the other hand, as a result of the confirmation in step A17, if the variable “total virtual volume capacity to be cached out” is less than the capacity required in the tape volume cache 160 (see NO route in step A17), the process returns to step A14. ..

また、ステップA2における確認の結果、物理ドライブにマウントされている物理ボリュームの数が0でない場合(ステップA2のNOルート参照)、すなわち、物理ドライブに1つ以上の物理ボリュームがマウントされている場合には、ステップA3に移行する。 Also, as a result of the confirmation in step A2, when the number of physical volumes mounted on the physical drive is not 0 (see the NO route in step A2), that is, when one or more physical volumes are mounted on the physical drive. To step A3.

ステップA3において、仮想ボリューム選択部20は、LRU管理テーブル31を参照して、仮想ボリュームマウント有無に“1(有)”が設定されている全ての仮想ボリューム210をキャッシュアウト対象候補として選択する。 In step A3, the virtual volume selection unit 20 refers to the LRU management table 31 and selects all the virtual volumes 210 for which “1 (yes)” is set for the presence / absence of the virtual volume mount as cash-out target candidates.

ステップA4において、仮想ボリューム選択部20は、LRU管理テーブル31を参照して、ステップA3において選択したキャッシュアウト対象候補の仮想ボリューム210の全てが、仮想ボリュームマウント有無に“0(無)”が設定されているかを確認する。 In step A4, the virtual volume selection unit 20 refers to the LRU management table 31, and sets “0 (none)” for the presence / absence of virtual volume mount for all of the virtual volumes 210 of the cashout target candidates selected in step A3. Check if it is done.

選択されたキャッシュアウト対象候補の仮想ボリューム210の全てにおいて、仮想ボリュームマウント有無に“0(無)”が設定されている場合は(ステップA4のYESルート参照)、例えば、物理ドライブに物理ボリュームがマウントされているが、当該物理ボリュームは仮想ボリューム210と関係の無い物理ボリュームである場合である。このような場合には、ステップA14に移行する。 If "0 (none)" is set for the presence / absence of virtual volume mounting in all of the selected virtual volumes 210 that are candidates for cash out (see the YES route in step A4), for example, the physical volume is in the physical drive. This is a case where the physical volume is mounted but has nothing to do with the virtual volume 210. In such a case, the process proceeds to step A14.

一方、ステップA4における確認の結果、選択されたキャッシュアウト対象候補の仮想ボリューム210の少なくとも一部において、仮想ボリュームマウント有無に“1(有)”が設定されている場合は(ステップA4のNOルート参照)、ステップA5に移行する。 On the other hand, as a result of the confirmation in step A4, when "1 (Yes)" is set for the presence / absence of the virtual volume mount in at least a part of the selected virtual volume 210 of the cashout target candidate (NO route in step A4). (See), and the process proceeds to step A5.

ステップA5において、仮想ボリューム選択部20は、LRU管理テーブル31を参照して、ステップA3において選択したキャッシュアウト対象候補の仮想ボリューム210の実データを格納する物理ボリュームの数を計数する。 In step A5, the virtual volume selection unit 20 refers to the LRU management table 31 and counts the number of physical volumes that store the actual data of the virtual volume 210 of the cashout target candidate selected in step A3.

ステップA6において、仮想ボリューム選択部20は、ステップA5において計数した物理ボリュームの数が複数であるかを確認する。確認の結果、キャッシュアウト対象候補の仮想ボリューム210の実データを格納する物理ボリュームの数が複数である場合、すなわち、キャッシュアウト対象候補の仮想ボリューム210が複数の物理ボリュームに亘って格納されている場合には(ステップA6のYESルート参照)、ステップA7に移行する。 In step A6, the virtual volume selection unit 20 confirms whether the number of physical volumes counted in step A5 is plural. As a result of the confirmation, when the number of physical volumes for storing the actual data of the virtual volume 210 of the cash-out target candidate is multiple, that is, the virtual volume 210 of the cash-out target candidate is stored over the plurality of physical volumes. In the case (see the YES route in step A6), the process proceeds to step A7.

ステップA7において、仮想ボリューム選択部20は、物理ドライブ管理テーブル32を参照して、物理ボリュームに最後にアクセスしたタイムスタンプが最も新しい物理ボリュームを選択する。 In step A7, the virtual volume selection unit 20 refers to the physical drive management table 32 and selects the physical volume having the latest time stamp of the last access to the physical volume.

ステップA8において、仮想ボリューム選択部20は、物理ドライブ管理テーブル32を参照して、ステップA7において選択された物理ボリュームに格納される仮想ボリュームであり、且つ、仮想ボリュームマウント有無が“1(有)”である仮想ボリューム210をキャッシュアウト対象候補として選択する。 In step A8, the virtual volume selection unit 20 is a virtual volume stored in the physical volume selected in step A7 with reference to the physical drive management table 32, and the presence / absence of the virtual volume mount is “1 (yes)). The virtual volume 210 that is "" is selected as a cashout target candidate.

ステップA9において、仮想ボリューム選択部20は、ステップA8で選択したキャッシュアウト対象候補の仮想ボリューム210が複数あるかを確認する。キャッシュアウト対象候補の仮想ボリューム210が複数ある場合には(ステップA9のYESルート参照)、ステップA10に移行する。 In step A9, the virtual volume selection unit 20 confirms whether or not there are a plurality of virtual volumes 210 of the cashout target candidates selected in step A8. If there are a plurality of virtual volumes 210 that are candidates for cash out (see the YES route in step A9), the process proceeds to step A10.

ステップA10において、仮想ボリューム選択部20は、物理ドライブにマウントされる物理ボリュームに実データ格納される仮想ボリューム210の中から、物理ボリュームにおいて実データの格納位置が物理ヘッドの位置に最も近い仮想ボリューム210を選択する。 In step A10, the virtual volume selection unit 20 uses the virtual volume 210 in which the actual data is stored in the physical volume mounted on the physical drive, and the storage position of the actual data in the physical volume is closest to the position of the physical head. Select 210.

このステップA10の処理の詳細を、図12に示すフローチャートを用いて説明する。この図12に示すフローチャートにおいて、入力値はステップA8において選択されたキャッシュアウト対象候補の仮想ボリューム210である。 The details of the process of step A10 will be described with reference to the flowchart shown in FIG. In the flowchart shown in FIG. 12, the input value is the virtual volume 210 of the cashout target candidate selected in step A8.

ステップB1において、仮想ボリューム選択部20は、キャッシュアウト対象候補の仮想ボリューム210の実データを格納する物理ボリュームがマウントされる物理ドライブにおいて、物理ヘッドの位置と物理ボリューム上の各仮想ボリューム210の実データ位置との距離をそれぞれ算出する。 In step B1, the virtual volume selection unit 20 sets the position of the physical head and the actual data of each virtual volume 210 on the physical volume in the physical drive on which the physical volume for storing the actual data of the virtual volume 210 that is a candidate for cash out target is mounted. Calculate the distance to each data position.

ステップB2において、仮想ボリューム選択部20は、算出した、物理ヘッドの位置と物理ボリューム上の各仮想ボリューム210の実データ位置との距離が最短の仮想ボリューム210をキャッシュアウト対象の仮想ボリューム210として決定する。その後、処理は図11のステップA11に移行する。 In step B2, the virtual volume selection unit 20 determines the virtual volume 210 having the shortest distance between the calculated physical head position and the actual data position of each virtual volume 210 on the physical volume as the virtual volume 210 to be cashed out. To do. After that, the process proceeds to step A11 of FIG.

ステップA11において、仮想ボリューム選択部20は、LRU管理テーブル31を参照して、ステップA10で選択したキャッシュアウト対象の仮想ボリューム210の大きさを取得する。仮想ボリューム選択部20は、取得した仮想ボリューム210の大きさを、変数“キャッシュアウト対象の仮想ボリューム容量の合計”に加算する。また、ステップA9における確認の結果、キャッシュアウト対象候補の仮想ボリューム210が複数ない場合にも(ステップA9のNOルート参照)、このステップA11に移行する。 In step A11, the virtual volume selection unit 20 refers to the LRU management table 31 and acquires the size of the virtual volume 210 to be cashed out selected in step A10. The virtual volume selection unit 20 adds the size of the acquired virtual volume 210 to the variable “total of virtual volume capacities to be cashed out”. Further, as a result of the confirmation in step A9, even if there are no plurality of virtual volumes 210 as candidates for cash out (see the NO route in step A9), the process proceeds to step A11.

ステップA12において、仮想ボリューム削除部40は、ステップA10で選択したキャッシュアウト対象の仮想ボリューム210をテープボリュームキャッシュ160から削除する。また、仮想ボリューム削除部40は、LRU管理テーブル31から、当該キャッシュアウト対象の仮想ボリューム210の登録を削除する。すなわち、LRU管理テーブル31の更新を行なう。 In step A12, the virtual volume deletion unit 40 deletes the cache-out target virtual volume 210 selected in step A10 from the tape volume cache 160. Further, the virtual volume deletion unit 40 deletes the registration of the virtual volume 210 to be cashed out from the LRU management table 31. That is, the LRU management table 31 is updated.

ステップA13において、仮想ボリューム選択部20は、変数“キャッシュアウト対象の仮想ボリューム容量の合計”の値を、テープボリュームキャッシュ160において必要とされている容量と比較し、必要とされている容量以上であるかを確認する。 In step A13, the virtual volume selection unit 20 compares the value of the variable “total virtual volume capacity to be cached out” with the capacity required in the tape volume cache 160, and is greater than or equal to the required capacity. Check if there is.

確認の結果、変数“キャッシュアウト対象の仮想ボリューム容量の合計”が、テープボリュームキャッシュ160において必要とされている容量以上である場合(ステップA13のYESルート参照)、処理を終了する。 As a result of the confirmation, when the variable "total of the virtual volume capacities to be cached out" is equal to or larger than the capacity required in the tape volume cache 160 (see the YES route in step A13), the process ends.

一方、確認の結果、変数“キャッシュアウト対象の仮想ボリューム容量の合計”が、テープボリュームキャッシュ160において必要とされている容量未満の場合(ステップA13のNOルート参照)、ステップA3に戻る。 On the other hand, as a result of confirmation, if the variable "total of virtual volume capacities to be cached out" is less than the capacity required in the tape volume cache 160 (see NO route in step A13), the process returns to step A3.

(C)効果
このように、本発明の一実施形態としての仮想テープシステム1によれば、テープボリュームキャッシュ160に新たに仮想ボリューム210を追加するために空き容量を確保するに際して、仮想ボリューム選択部20が、LRU管理テーブル31において追い出し順位付けされた仮想ボリューム210のうち、直近に物理ドライブにマウントされた物理ボリュームに格納される仮想ボリューム210を、キャッシュアウト対象として優先して選択する。従って、物理ドライブにマウントされている物理ボリュームに格納されている仮想ボリュームが選択される確率が高くなる。
(C) Effect As described above, according to the virtual tape system 1 as an embodiment of the present invention, the virtual volume selection unit is used to secure free space for adding a new virtual volume 210 to the tape volume cache 160. 20 preferentially selects the virtual volume 210 stored in the physical volume most recently mounted on the physical drive as the cache-out target among the virtual volumes 210 that have been expelled and ranked in the LRU management table 31. Therefore, there is a high probability that the virtual volume stored in the physical volume mounted on the physical drive will be selected.

これにより、キャッシュアウトした仮想ボリュームを再度使用するために、バックエンドライブラリ300から仮想ボリュームをテープボリュームキャッシュ160に戻すリコール処理を短時間で実現できる可能性を高くすることができる。すなわち、ホスト装置200に対する応答時間を短縮することができる。 As a result, in order to reuse the cached-out virtual volume, it is possible to increase the possibility that the recall process of returning the virtual volume from the back-end library 300 to the tape volume cache 160 can be realized in a short time. That is, the response time to the host device 200 can be shortened.

キャッシュアウト対象の仮想ボリュームの候補が複数あり、それらの仮想ボリュームを格納する物理ボリュームが複数ある場合に、仮想ボリューム選択部20が、最後にアクセスされた物理ボリュームに格納される仮想ボリュームを選択する。これにより、使用される仮想ボリュームを格納する物理ボリュームが物理ドライブにマウントされている時間が他の物理ボリュームより長くなるので、キャッシュアウトした仮想ボリュームを再度使用する場合に、マウントされている物理ボリュームから仮想ボリュームを呼び戻す機会が多くなり、結果として仮想ボリュームのテープボリュームキャッシュ160へのリコール処理を短時間で行なうことができる。これによっても、ホスト装置200に対する応答時間を短縮することができる。 When there are a plurality of virtual volume candidates to be cashed out and there are a plurality of physical volumes for storing those virtual volumes, the virtual volume selection unit 20 selects the virtual volume to be stored in the last accessed physical volume. .. This allows the physical volume that stores the virtual volume to be used to be mounted on the physical drive for a longer time than other physical volumes, so that the mounted physical volume is mounted when the cached out virtual volume is reused. There are many opportunities to recall the virtual volume from the user, and as a result, the recall process of the virtual volume to the tape volume cache 160 can be performed in a short time. This also makes it possible to shorten the response time to the host device 200.

また、仮想ボリューム選択部20が、同一の物理ボリュームに複数のキャッシュアウト対象の候補の仮想ボリュームの実データが格納されている場合に、物理ドライブにおいて、物理ヘッドに近い位置に実データが格納されている仮想ボリュームを優先して選択する。 Further, when the virtual volume selection unit 20 stores the actual data of a plurality of candidate virtual volumes to be cached out in the same physical volume, the actual data is stored at a position close to the physical head in the physical drive. Priority is given to the virtual volume that is selected.

これによりキャッシュアウトした仮想ボリュームが再度使用される場合に、仮想ボリュームへのヘッドの位置付けを最短で行なうことができる。このため、仮想ボリュームのテープボリュームキャッシュ160へのリコール処理を、物理ドライブにマウントされていない物理ボリュームから仮想ボリュームを呼び戻すのに比べて短い時間で行なうことできる。これによっても、ホスト装置200に対する応答時間を短縮することができる。 As a result, when the cashed-out virtual volume is used again, the head can be positioned in the virtual volume in the shortest time. Therefore, the recall process of the virtual volume to the tape volume cache 160 can be performed in a shorter time than recalling the virtual volume from the physical volume that is not mounted on the physical drive. This also makes it possible to shorten the response time to the host device 200.

(D)その他
そして、開示の技術は上述した実施形態に限定されるものではなく、本実施形態の趣旨を逸脱しない範囲で種々変形して実施することができる。本実施形態の各構成および各処理は、必要に応じて取捨選択することができ、あるいは適宜組み合わせてもよい。
(D) Others The disclosed technology is not limited to the above-described embodiment, and can be variously modified and implemented without departing from the spirit of the present embodiment. Each configuration and each process of the present embodiment can be selected as necessary, or may be combined as appropriate.

例えば、仮想テープ装置100において、搭載されるICP150やIDP170の数は2つに限定されるものではなく、種々変形して実施することができる。 For example, in the virtual tape device 100, the number of ICP 150s and IDP 170s mounted is not limited to two, and various modifications can be made.

また、LRU管理テーブル31や物理ドライブ管理テーブル32は、テーブル状のデータ構成に限定されるものではなく、種々変形して実施することができる。 Further, the LRU management table 31 and the physical drive management table 32 are not limited to the table-shaped data structure, and can be modified in various ways.

また、上述した開示により本実施形態を当業者によって実施・製造することが可能である。 Further, according to the above-mentioned disclosure, it is possible for a person skilled in the art to carry out and manufacture this embodiment.

(E)付記
以上の実施形態に関し、さらに以下の付記を開示する。
(E) Additional notes The following additional notes will be further disclosed with respect to the above embodiments.

(付記1)
物理ドライブにマウントされた物理ボリュームのデータに基づいて作成される複数の論理ボリュームを管理する仮想テープ装置であって、
前記複数の論理ボリュームを格納するキャッシュメモリと、
前記複数の論理ボリュームのそれぞれに対するアクセス時間情報を含むマウント情報を管理する管理部と、
前記キャッシュメモリに格納された前記複数の論理ボリュームの中から、前記キャッシュメモリからキャッシュアウトさせるキャッシュアウト対象論理ボリュームを選択する選択部とを備え、
前記選択部が、
追い出し順位付けされた前記論理ボリュームのうち、直近に前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームを、前記キャッシュアウト対象論理ボリュームとして優先して選択する
ことを特徴とする、仮想テープ装置。
(Appendix 1)
A virtual tape device that manages multiple logical volumes created based on the data of a physical volume mounted on a physical drive.
A cache memory for storing the plurality of logical volumes and
A management unit that manages mount information including access time information for each of the plurality of logical volumes, and a management unit.
A selection unit for selecting a cache-out target logical volume to be cached out from the cache memory from the plurality of logical volumes stored in the cache memory is provided.
The selection part
A virtual tape characterized in that, among the eviction-ordered logical volumes, the logical volume stored in the physical volume most recently mounted on the physical drive is preferentially selected as the cash-out target logical volume. apparatus.

(付記2)
前記選択部が、
直近に前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームが無い場合には、前記追い出し順位に従って前記キャッシュアウト対象論理ボリュームを選択する
ことを特徴とする、付記1記載の仮想テープ装置。
(Appendix 2)
The selection part
The virtual tape device according to Appendix 1, wherein the cash-out target logical volume is selected according to the eviction order when there is no logical volume stored in the physical volume mounted on the physical drive most recently.

(付記3)
前記選択部が、
前記物理ドライブにマウントされた前記物理ボリュームに格納される前記論理ボリュームが複数ある場合に、前記物理ボリューム上における格納位置と、前記物理ドライブの物理ヘッドの位置との距離が短い論理ボリュームを、前記キャッシュアウト対象論理ボリュームとして優先して選択する
ことを特徴とする、付記1記載の仮想テープ装置。
(Appendix 3)
The selection part
When there are a plurality of the logical volumes stored in the physical volume mounted on the physical drive, the logical volume in which the distance between the storage position on the physical volume and the position of the physical head of the physical drive is short is described. The virtual tape device according to Appendix 1, wherein the logical volume to be cashed out is preferentially selected.

(付記4)
物理ドライブにマウントされた物理ボリュームのデータに基づいて作成される複数の論理ボリュームを格納するキャッシュメモリを制御するキャッシュ制御装置であって、
前記複数の論理ボリュームのそれぞれに対するアクセス時間情報を含むマウント情報を管理する管理部と、
前記キャッシュメモリに格納された前記複数の論理ボリュームの中から、前記キャッシュメモリからキャッシュアウトさせるキャッシュアウト対象論理ボリュームを選択する選択部とを備え、
前記選択部が、
追い出し順位付けされた前記論理ボリュームのうち、直近に前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームを、前記キャッシュアウト対象論理ボリュームとして優先して選択する
ことを特徴とする、キャッシュ制御装置。
(Appendix 4)
A cache control device that controls a cache memory that stores multiple logical volumes created based on the data of a physical volume mounted on a physical drive.
A management unit that manages mount information including access time information for each of the plurality of logical volumes, and a management unit.
A selection unit for selecting a cache-out target logical volume to be cached out from the cache memory from the plurality of logical volumes stored in the cache memory is provided.
The selection part
Among the eviction-ordered logical volumes, the logical volume stored in the physical volume most recently mounted on the physical drive is preferentially selected as the cash-out target logical volume. apparatus.

(付記5)
前記選択部が、
直近に前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームが無い場合には、前記追い出し順位に従って前記キャッシュアウト対象論理ボリュームを選択する
ことを特徴とする、付記4記載のキャッシュ制御装置。
(Appendix 5)
The selection part
The cache control device according to Appendix 4, wherein when there is no logical volume stored in the physical volume mounted on the physical drive most recently, the cache-out target logical volume is selected according to the eviction order.

(付記6)
前記選択部が、
前記物理ドライブにマウントされた前記物理ボリュームに格納される前記論理ボリュームが複数ある場合に、前記物理ボリューム上における格納位置と、前記物理ドライブの物理ヘッドの位置との距離が短い論理ボリュームを、前記キャッシュアウト対象論理ボリュームとして優先して選択する
ことを特徴とする、付記4記載のキャッシュ制御装置。
(Appendix 6)
The selection part
When there are a plurality of the logical volumes stored in the physical volume mounted on the physical drive, the logical volume in which the distance between the storage position on the physical volume and the position of the physical head of the physical drive is short is described. The cache control device according to Appendix 4, wherein the logical volume to be cashed out is preferentially selected.

(付記7)
物理ドライブにマウントされた物理ボリュームのデータに基づいて作成される複数の論理ボリュームを格納するキャッシュメモリを制御するキャッシュ制御装置のプロセッサに、
前記複数の論理ボリュームのそれぞれに対するアクセス時間情報を含むマウント情報を管理し、
前記キャッシュメモリに格納された前記複数の論理ボリュームの中から、前記キャッシュメモリからキャッシュアウトさせるキャッシュアウト対象論理ボリュームを選択し、
追い出し順位付けされた前記論理ボリュームのうち、直近に前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームを、前記キャッシュアウト対象論理ボリュームとして優先して選択する
処理を実行させる、キャッシュ制御プログラム。
(Appendix 7)
To the processor of the cache control device that controls the cache memory that stores multiple logical volumes created based on the data of the physical volume mounted on the physical drive.
It manages mount information including access time information for each of the plurality of logical volumes.
From the plurality of logical volumes stored in the cache memory, a cache-out target logical volume to be cached out from the cache memory is selected.
A cache control program that executes a process of preferentially selecting a logical volume stored in a physical volume mounted on the physical drive as the cash-out target logical volume among the eviction-ordered logical volumes. ..

(付記8)
直近に前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームが無い場合には、前記追い出し順位に従って前記キャッシュアウト対象論理ボリュームを選択する
処理を、前記プロセッサに実行させる、付記7記載のキャッシュ制御プログラム。
(Appendix 8)
The cache according to Appendix 7, which causes the processor to execute a process of selecting the cache-out target logical volume according to the eviction order when there is no logical volume stored in the physical volume mounted on the physical drive most recently. Control program.

(付記9)
前記物理ドライブにマウントされた前記物理ボリュームに格納される前記論理ボリュームが複数ある場合に、前記物理ボリューム上における格納位置と、前記物理ドライブの物理ヘッドの位置との距離が短い論理ボリュームを、前記キャッシュアウト対象論理ボリュームとして優先して選択する
処理を、前記プロセッサに実行させる、付記7記載のキャッシュ制御プログラム。
ことを特徴とする、付記4記載のキャッシュ制御装置。
(Appendix 9)
When there are a plurality of the logical volumes stored in the physical volume mounted on the physical drive, the logical volume in which the distance between the storage position on the physical volume and the position of the physical head of the physical drive is short is described. The cache control program according to Appendix 7, which causes the processor to execute a process of preferentially selecting a logical volume to be cached out.
The cache control device according to Appendix 4, wherein the cache control device is characterized in that.

1 仮想テープシステム
10 仮想ボリューム管理部
20 仮想ボリューム選択部
30 記憶部
40 仮想ボリューム削除部
31 LRU管理テーブル
32 物理ドライブ管理テーブル
100 仮想テープ装置
110 VLP
120 PLP
131 LANC
150−0,150−1,150 ICP
160 テープボリュームキャッシュ
170−0,170−1,170 IDP
200 ホスト装置
210 仮想ボリューム
300 バックエンドライブラリ
1 Virtual tape system 10 Virtual volume management unit 20 Virtual volume selection unit 30 Storage unit 40 Virtual volume deletion unit 31 LRU management table 32 Physical drive management table 100 Virtual tape device 110 VLP
120 PLP
131 LANC
150-0,150-1,150 ICP
160 Tape Volume Cache 170-0,170-1,170 IDP
200 Host device 210 Virtual volume 300 Backend library

Claims (5)

物理ドライブにマウントされた物理ボリュームのデータに基づいて作成される複数の論理ボリュームを管理する仮想テープ装置であって、
前記複数の論理ボリュームを格納するキャッシュメモリと、
前記複数の論理ボリュームのそれぞれに対するアクセス時間情報を含むマウント情報を管理する管理部と、
前記キャッシュメモリに格納された前記複数の論理ボリュームの中から、前記キャッシュメモリからキャッシュアウトさせるキャッシュアウト対象論理ボリュームを選択する選択部とを備え、
前記選択部が、
追い出し順位付けされた前記論理ボリュームのうち、直近に前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームを、前記キャッシュアウト対象論理ボリュームとして優先して選択する
ことを特徴とする、仮想テープ装置。
A virtual tape device that manages multiple logical volumes created based on the data of a physical volume mounted on a physical drive.
A cache memory for storing the plurality of logical volumes and
A management unit that manages mount information including access time information for each of the plurality of logical volumes, and a management unit.
A selection unit for selecting a cache-out target logical volume to be cached out from the cache memory from the plurality of logical volumes stored in the cache memory is provided.
The selection part
A virtual tape characterized in that, among the eviction-ordered logical volumes, the logical volume stored in the physical volume most recently mounted on the physical drive is preferentially selected as the cash-out target logical volume. apparatus.
前記選択部が、
直近に前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームが無い場合には、前記追い出し順位に従って前記キャッシュアウト対象論理ボリュームを選択する
ことを特徴とする、請求項1記載の仮想テープ装置。
The selection part
The virtual tape device according to claim 1, wherein when there is no logical volume stored in the physical volume mounted on the physical drive most recently, the cash-out target logical volume is selected according to the eviction order. ..
前記選択部が、
前記物理ドライブにマウントされた前記物理ボリュームに格納される前記論理ボリュームが複数ある場合に、前記物理ボリューム上における格納位置と、前記物理ドライブの物理ヘッドの位置との距離が短い論理ボリュームを、前記キャッシュアウト対象論理ボリュームとして優先して選択する
ことを特徴とする、請求項1記載の仮想テープ装置。
The selection part
When there are a plurality of the logical volumes stored in the physical volume mounted on the physical drive, the logical volume in which the distance between the storage position on the physical volume and the position of the physical head of the physical drive is short is described. The virtual tape device according to claim 1, wherein the virtual tape device is preferentially selected as a cash-out target logical volume.
物理ドライブにマウントされた物理ボリュームのデータに基づいて作成される複数の論理ボリュームを格納するキャッシュメモリを制御するキャッシュ制御装置であって、
前記複数の論理ボリュームのそれぞれに対するアクセス時間情報を含むマウント情報を管理する管理部と、
前記キャッシュメモリに格納された前記複数の論理ボリュームの中から、前記キャッシュメモリからキャッシュアウトさせるキャッシュアウト対象論理ボリュームを選択する選択部とを備え、
前記選択部が、
追い出し順位付けされた前記論理ボリュームのうち、直近に前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームを、前記キャッシュアウト対象論理ボリュームとして優先して選択する
ことを特徴とする、キャッシュ制御装置。
A cache control device that controls a cache memory that stores multiple logical volumes created based on the data of a physical volume mounted on a physical drive.
A management unit that manages mount information including access time information for each of the plurality of logical volumes, and a management unit.
A selection unit for selecting a cache-out target logical volume to be cached out from the cache memory from the plurality of logical volumes stored in the cache memory is provided.
The selection part
Among the eviction-ordered logical volumes, the logical volume stored in the physical volume most recently mounted on the physical drive is preferentially selected as the cash-out target logical volume. apparatus.
物理ドライブにマウントされた物理ボリュームのデータに基づいて作成される複数の論理ボリュームを格納するキャッシュメモリを制御するキャッシュ制御装置のプロセッサに、
前記複数の論理ボリュームのそれぞれに対するアクセス時間情報を含むマウント情報を管理し、
前記キャッシュメモリに格納された前記複数の論理ボリュームの中から、前記キャッシュメモリからキャッシュアウトさせるキャッシュアウト対象論理ボリュームを選択し、
追い出し順位付けされた前記論理ボリュームのうち、直近に前記物理ドライブにマウントされた物理ボリュームに格納される論理ボリュームを、前記キャッシュアウト対象論理ボリュームとして優先して選択する
処理を実行させる、キャッシュ制御プログラム。
To the processor of the cache control device that controls the cache memory that stores multiple logical volumes created based on the data of the physical volume mounted on the physical drive.
It manages mount information including access time information for each of the plurality of logical volumes.
From the plurality of logical volumes stored in the cache memory, a cache-out target logical volume to be cached out from the cache memory is selected.
A cache control program that executes a process of preferentially selecting a logical volume stored in a physical volume mounted on the physical drive as the cash-out target logical volume among the eviction-ordered logical volumes. ..
JP2019103531A 2019-06-03 2019-06-03 Virtual tape device, cache controller and cache control program Active JP7287123B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019103531A JP7287123B2 (en) 2019-06-03 2019-06-03 Virtual tape device, cache controller and cache control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019103531A JP7287123B2 (en) 2019-06-03 2019-06-03 Virtual tape device, cache controller and cache control program

Publications (2)

Publication Number Publication Date
JP2020197897A true JP2020197897A (en) 2020-12-10
JP7287123B2 JP7287123B2 (en) 2023-06-06

Family

ID=73649695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019103531A Active JP7287123B2 (en) 2019-06-03 2019-06-03 Virtual tape device, cache controller and cache control program

Country Status (1)

Country Link
JP (1) JP7287123B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090248974A1 (en) * 2008-03-27 2009-10-01 International Business Machines Corporation Optimizing operational requests of logical volumes
WO2010035617A1 (en) * 2008-09-29 2010-04-01 インターナショナル・ビジネス・マシーンズ・コーポレーション Apparatus, method and program for deciding data recall order
WO2013046342A1 (en) * 2011-09-27 2013-04-04 富士通株式会社 Virtual tape device and control method for virtual tape device
JP2013161256A (en) * 2012-02-03 2013-08-19 Fujitsu Ltd Virtual tape device and control method for virtual tape device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090248974A1 (en) * 2008-03-27 2009-10-01 International Business Machines Corporation Optimizing operational requests of logical volumes
WO2010035617A1 (en) * 2008-09-29 2010-04-01 インターナショナル・ビジネス・マシーンズ・コーポレーション Apparatus, method and program for deciding data recall order
WO2013046342A1 (en) * 2011-09-27 2013-04-04 富士通株式会社 Virtual tape device and control method for virtual tape device
JP2013161256A (en) * 2012-02-03 2013-08-19 Fujitsu Ltd Virtual tape device and control method for virtual tape device

Also Published As

Publication number Publication date
JP7287123B2 (en) 2023-06-06

Similar Documents

Publication Publication Date Title
US6978325B2 (en) Transferring data in virtual tape server, involves determining availability of small chain of data, if large chain is not available while transferring data to physical volumes in peak mode
US10031703B1 (en) Extent-based tiering for virtual storage using full LUNs
CN103999058B (en) Tape drive system server
US9128855B1 (en) Flash cache partitioning
US8473698B2 (en) Converting LUNs into files or files into LUNs in real
US9063945B2 (en) Apparatus and method to copy data
US7249218B2 (en) Method, system, and program for managing an out of available space condition
JP5310480B2 (en) Storage control apparatus and method
US9971527B2 (en) Apparatus and method for managing storage for placing backup data into data blocks based on frequency information
US10698815B2 (en) Non-blocking caching for data storage drives
US10152242B1 (en) Host based hints
US20180341423A1 (en) Storage control device and information processing system
JP4713951B2 (en) Virtual tape library system and virtual tape writing method
US11474750B2 (en) Storage control apparatus and storage medium
US11294812B2 (en) Obtaining cache resources for expected writes to tracks in a write set after the cache resources were released for the tracks in the write set
US20180307427A1 (en) Storage control apparatus and storage control method
US11055001B2 (en) Localized data block destaging
US10235053B1 (en) Method and system for using host driver for flexible allocation fast-sideways data movements
JP7287123B2 (en) Virtual tape device, cache controller and cache control program
CN115087962A (en) Preemptive upgrade for full-span demotion
JP2009294699A (en) Storage device
KR20110103660A (en) Apparatus and method for recording raid of optical disc drive
US9875037B2 (en) Implementing multiple raid level configurations in a data storage device
TWI820689B (en) Method for tape library hierarchical storage management, related computer program product and computer system
US11662954B1 (en) Duplicating tape media within a tape storage system based on copy tape database

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230118

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230118

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: 20230425

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230508

R150 Certificate of patent or registration of utility model

Ref document number: 7287123

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150