JPS62267965A - Accessing system for secondary storage device - Google Patents

Accessing system for secondary storage device

Info

Publication number
JPS62267965A
JPS62267965A JP11149386A JP11149386A JPS62267965A JP S62267965 A JPS62267965 A JP S62267965A JP 11149386 A JP11149386 A JP 11149386A JP 11149386 A JP11149386 A JP 11149386A JP S62267965 A JPS62267965 A JP S62267965A
Authority
JP
Japan
Prior art keywords
medium
virtual number
host
drive device
control device
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
JP11149386A
Other languages
Japanese (ja)
Other versions
JPH07122953B2 (en
Inventor
Nobuyoshi Izawa
井沢 伸芳
Ritsu Takeda
立 武田
Katsuhiro Kurosawa
黒沢 勝広
Makoto Watanabe
真 渡辺
Takashi Oka
隆史 岡
Takashi Doi
隆 土井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Nippon Telegraph and Telephone Corp
Panasonic Mobile Communications Co Ltd
Original Assignee
Hitachi Ltd
Nippon Telegraph and Telephone Corp
Matsushita Communication Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Nippon Telegraph and Telephone Corp, Matsushita Communication Industrial Co Ltd filed Critical Hitachi Ltd
Priority to JP11149386A priority Critical patent/JPH07122953B2/en
Publication of JPS62267965A publication Critical patent/JPS62267965A/en
Publication of JPH07122953B2 publication Critical patent/JPH07122953B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To rapidly enable an optional address space to be accessed without lowering a capacity even when the address space of a medium mounted at a driving device in a secondary storage device is not recognized one by one by a host, by adding a virtual number of the driving device, and enabling the host to access by the virtual number. CONSTITUTION:When a request to make an access to the medium by a host 10 is generated, an address, and a length to be stored are derived from a file name, etc., designated by a program, and the appropriate virtual number, an operation to be required, bits of other information of a driving device 40 are converted to bits of command information, and they are sent to a control device 30. The control device 30 refers to a mount table 31 by a mount judging mechanism 33, and investigates on which control device 30 out of plural control devices the bit of information is mounted. Also, it refers to the mount table 31 similarly by a virtual number judging mechanism 34, and investigates whether the virtual number of the driving device 40 coincides with the virtual number allocated just before. When they coincide, the bit of information is converted to a bit of order information, and it is sent to the driving device 40 on which a corresponding medium is mounted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、可換記録媒体を有する2次記憶装置が中央処
理装置(ホスト)に接続される計算機システムにおける
2次記憶装置のアクセス方式に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to an access method for a secondary storage device in a computer system in which a secondary storage device having a removable recording medium is connected to a central processing unit (host). .

【従来の技術〕[Conventional technology]

計算機システムにおける2次記憶装置は、通常、制御装
置とこれに接続された1つ以上の駆動装置とを含んでい
る。特に記録媒体が可換媒体であるとき、媒体自動交換
装置付きの複数媒体内蔵形の2次記憶装置が存在する。
A secondary storage device in a computer system typically includes a control device and one or more drive devices connected to the control device. Particularly when the recording medium is a removable medium, there are secondary storage devices with built-in multiple media and an automatic medium exchange device.

制御装置はホストと接続され、行われるべき動作、媒体
上のアドレス(データ転送スタート位置)、レングス(
データ転送長)等に関するコマンドをホストから受取り
The control device is connected to the host, and is able to control the operation to be performed, the address on the medium (data transfer start position), and the length (
Receives commands regarding data transfer length etc. from the host.

このコマンド情報を必要なオーダ情報に変換した後、適
当な駆動装置とその他のシステム・エレメントとの間で
のデータ転送を制御する。駆動装置はマウントされてい
る記録媒体を動作させ、記録媒体からデータを読み出し
て制御装置にデータを転送し、また、制御装置から転送
されたデータを記録電体に書き込む。媒体自動交換装置
は、制御装置から媒体移動に関するオーダ情報を受け、
指定された媒体を媒体格納位置から駆動装置ヘマウント
し、また、駆動装置から媒体格納位置ヘデマウントし、
さらに、ある媒体格納位置から別の媒体格納位置へ移動
せしめる。
After converting this command information into the necessary ordering information, it controls data transfer between the appropriate drives and other system elements. The drive device operates the mounted recording medium, reads data from the recording medium, transfers the data to the control device, and also writes the data transferred from the control device to the recording medium. The automatic media exchange device receives order information regarding media movement from the control device,
Mounting the specified medium from the medium storage position to the drive device, and demounting the specified medium from the drive device to the medium storage position,
Furthermore, it is moved from one medium storage position to another medium storage position.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

計算機システムでは、一般に媒体自動交換装置に格納さ
れている媒体の管理を2次記憶装置自身が行い、ホスト
は現在駆動装置にマウントされている媒体に対し、過去
にアクセスしたアドレス空間と認識しているが、該媒体
が担う全アドレス空間までは認識していない、従来、こ
のようなシステムにおいて、ホストが2次記憶装置へア
クセスする場合、ホストは駆動装置の装置番号を該駆動
装置に固定した番号である実番号で指定していた。
In computer systems, the secondary storage device itself generally manages the media stored in the automatic media switching device, and the host recognizes the media currently mounted on the drive device as an address space accessed in the past. Conventionally, in such systems, when a host accesses a secondary storage device, the host fixes the device number of the drive device to the drive device. It was specified by a real number.

したがって、例えば以下に述べる問題点が生じていた。Therefore, for example, the following problems have arisen.

ホストがある媒体のあるアドレス空間Aにアクセスした
い時、アドレス空間Aにアクセスするよう制御装置に指
令する。またこの時、該当媒体をマウントすべき駆動装
置の装置番号aを指定する。
When a host wants to access address space A on a certain medium, it instructs the control device to access address space A. At this time, the device number a of the drive device on which the corresponding medium is to be mounted is specified.

指令を受けた制御装置は、媒体自動交換装置に該当媒体
を該当駆動装置laにマウントさせ、アドレス空間Aに
アクセスする。次にホストがその媒体に含まれる別のア
ドレス空間Bをアクセスする必要が生じた時には、ホス
トはAとBが同一媒体に含まれることを認識していない
。また、マウントされているアドレス空間Aは一般に引
き続いてアクセスされる可能性が高いので、アドレス空
間AはそのまN駆動装置aにマウントしておきたいとす
る。したがって、別の駆動装置すにアドレス空間Bを持
つ媒体をマウントしてアドレス空間Bにアクセスするよ
う制御装置に指令する。
Upon receiving the command, the control device causes the automatic medium exchange device to mount the corresponding medium in the corresponding drive device la, and accesses the address space A. Next time the host needs to access another address space B contained in the medium, the host does not recognize that A and B are contained in the same medium. Further, since the mounted address space A is generally likely to be accessed continuously, it is assumed that address space A is desired to be mounted on the N drive device a as it is. Therefore, the control device is instructed to mount the medium having address space B on another drive device and access address space B.

このような場合、制御装置は該当媒体を駆動装置aから
デマウントして、駆動装置すにマウントしなければなら
ない。一般に媒体をデマウントしてマウントするまで士
数秒か\るので、アドレス空間Bへのホストのアクセス
が大幅に遅くなる。
In such a case, the control device must demount the medium from drive device a and mount it in drive device A. Generally, it takes several seconds to demount and mount a medium, which significantly slows host access to address space B.

また、この場合、ホストが駆動装置aにマウントされて
いると認識しているアドレス空間Aは、駆動装置1aか
らはデマウントされてしまっている。
Further, in this case, the address space A that the host recognizes as being mounted on the drive device a has been demounted from the drive device 1a.

ホストはそれを認識できないので1次のアドレス空間A
へのアクセスは駆動装置aを指定してしまう。
Since the host cannot recognize it, the primary address space A
access specifies drive device a.

このように、ホストが指定する駆動装置の装置番号が駆
動装置に固定した実番号であった場合、1つの媒体に対
して駆動装置間を単に移動させるような動作が頻繁に起
こり、システム全体が大幅な性能低下をきたす。
In this way, if the device number of the drive device specified by the host is a real number fixed to the drive device, operations such as simply moving one medium between drive devices frequently occur, and the entire system becomes This will cause a significant drop in performance.

ホストが自身の指令によって現在駆動装置にマウントさ
せた媒体の全アドレス空間を認識している機能を持って
いる場合であっても、ホストを多数接続したマルチホス
トシステムにおいては、あるホストが媒体をマウントし
た時、その他のホストはマウントされた媒体の全アドレ
ス空間をそのホストと同様には認識できない。また、そ
の他のホストが、現在駆動装置にマウントされた媒体の
全アドレス空間をアクセスに先立って認識しようとすれ
ば、2次記憶装置に対しマウント状態を参照するような
特別な処理が必要であり、システムの複雑化と処理能力
低下を招く。
Even if the host has the ability to recognize the entire address space of the media currently mounted on the drive device by its own command, in a multi-host system with many hosts connected, one host may When mounted, other hosts do not see the entire address space of the mounted medium in the same way as the host itself. Additionally, if another host wishes to recognize the entire address space of the medium currently mounted on the drive device before accessing it, special processing such as referencing the mounting status of the secondary storage device is required. , leading to system complexity and reduced processing capacity.

本発明の目的は、可換記録媒体を複数内蔵する2次記憶
装置がホストに接続された計算機システムにおいて、2
次記憶装置内の駆動装置にマウントされている媒体のア
ドレス空間をホストが逐一認識しなくても、性能低下を
きたすことなく任意のアドレス空間に迅速にアクセス可
能とすることにある。
An object of the present invention is to provide a computer system in which a secondary storage device including a plurality of removable recording media is connected to a host.
To enable quick access to any address space without deteriorating performance even if a host does not recognize the address space of a medium mounted on a drive device in a storage device one by one.

〔問題点を解決するための手段及び作用〕本発明は、複
数の駆動装置の装置番号を該当駆動装置に固定した実番
号および該当実番号と同一または異なる仮想番号との両
者で定義し、2次記憶装置側に、駆動装置にマウントさ
れている媒体のアドレス空間と該当駆動装置の該当仮想
番号と該当実番号との王者を記憶する手段と、駆動装置
の仮想番号を実番号に割付ける手段と、ホストから要求
された媒体が駆動装置にマウントされているか否かを判
断する手段と、媒体自動交換装置内の媒体のアドレス空
間と該当媒体を格納する媒体格納位置のアドレスとの両
者を記憶する手段と、ホストから要求された媒体が媒体
格納位置に格納されているか否を判断する手段とを設け
る。これにより、ホストが2次記憶装置へアクセスする
時には、駆動装置の装置番号を仮想番号で指定すること
が可能になり、2次記憶装置内の駆動装置にマウントさ
れている媒体のアドレス空間をホストが逐一認識しなく
ても、任意のアドレス空間に迅速にアクセスできること
\なる。
[Means and effects for solving the problem] The present invention defines the device numbers of a plurality of drive devices as both a real number fixed to the corresponding drive device and a virtual number that is the same as or different from the corresponding real number, and 2. Next, on the storage device side, means for storing the address space of the medium mounted on the drive device, the corresponding virtual number and the corresponding real number of the corresponding drive device, and means for assigning the virtual number of the drive device to the real number. , a means for determining whether or not a medium requested by a host is mounted on a drive device, and a means for storing both the address space of the medium in the automatic medium exchange device and the address of the medium storage location where the medium is stored. and means for determining whether the medium requested by the host is stored in the medium storage location. As a result, when the host accesses the secondary storage device, it becomes possible to specify the device number of the drive device with a virtual number, and the address space of the media mounted on the drive device in the secondary storage device can be specified by the host. This means that any address space can be quickly accessed without having to recognize it one by one.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により詳細に説明
する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例であって、1つ以上のホスト1
0とそれに接続された2次記憶装置20からなる。2次
記憶装置20は1つの制御装置30、複数の駆動装置4
0.1つの媒体自動交換装置50を含む。媒体自動交換
装置50は複数の媒体格納位置60を有している。制御
装置30と媒体自動交換装置50、制御装置30と複数
の駆動装置40は、各々公知の方法により接続されてい
る。制御装置30はマウントテーブル31と、格納テー
ブル32と、マウント判断機構33と、仮想番号判断機
構34と、仮想番号割付は機構35と、格納判断機構3
6とを具備している。
FIG. 1 shows an embodiment of the invention in which one or more hosts 1
0 and a secondary storage device 20 connected to it. The secondary storage device 20 includes one control device 30 and a plurality of drive devices 4
0.1 medium automatic exchange device 50 is included. The automatic media exchange device 50 has a plurality of media storage locations 60. The control device 30 and the automatic medium exchange device 50, and the control device 30 and the plurality of drive devices 40 are each connected by a known method. The control device 30 includes a mount table 31, a storage table 32, a mount judgment mechanism 33, a virtual number judgment mechanism 34, a virtual number allocation mechanism 35, and a storage judgment mechanism 3.
6.

第2図は第1図のテーブル類31.32の構成例を示し
たものである。第2図(a)にはマウントテーブル31
の構成が示され、複数の駆動装置40に対応して、該当
駆動装置に固定された装置番号である駆動装置実番号、
制御!!置30が動的に該当駆動装置に割付ける駆動装
置仮想番号、該当駆動装置に仮想番号が割付けられてい
るか否かを識別する仮想番号識別フラグ、該当駆動装置
に媒体がマウントされているか否を識別するマウント識
別フラグ、マウントされている媒体のアドレス空間が記
憶されている。仮想番号識別フラグには、例えば仮想番
号が割付けられていなかったら110”、割付けされて
いたら“1″と記憶する。
FIG. 2 shows an example of the configuration of the tables 31 and 32 in FIG. 1. In FIG. 2(a), a mount table 31 is shown.
A drive device real number, which is a device number fixed to the corresponding drive device, corresponds to a plurality of drive devices 40;
control! ! A drive device virtual number that is dynamically assigned to the drive device by the drive device 30, a virtual number identification flag that identifies whether a virtual number is assigned to the drive device, and a virtual number identification flag that identifies whether or not a virtual number is assigned to the drive device. A mount identification flag for identification and an address space of the mounted medium are stored. For example, if a virtual number has not been assigned, "110" is stored in the virtual number identification flag, and if a virtual number has been assigned, "1" is stored.

マウント識別フラグには、例えば媒体がマウントされて
いなかったら“0”、マウントされていたら′1′″と
記憶する。第2図(b)には格納テーブル32の構成が
示され、複数の媒体格納位置60のそれぞれに対応して
、該当媒体格納位置アドレス、該当媒体格納位置に媒体
が格納されているか否かを識別する格納識別フラグ、格
納されている媒体のアドレス空間が記憶されている。該
格納識別フラグには、媒体が格納されているときには例
えば′1″″を、媒体が格納されていないときには例え
ば)(0″′を記憶する。
The mount identification flag stores, for example, "0" if the medium is not mounted, and "1" if it is mounted. FIG. 2(b) shows the configuration of the storage table 32, in which multiple media Corresponding to each storage position 60, a corresponding medium storage position address, a storage identification flag for identifying whether or not a medium is stored in the corresponding medium storage position, and an address space of the stored medium are stored. The storage identification flag stores, for example, ``1'''' when a medium is stored, and 0'' when no medium is stored.

制御装置30のマウント判断機構33は、マウントチー
デル31を参照して複数の駆動装置40の媒体マウント
状態を判断する機構である。仮想番号判断機構34は、
マウントテーブル31を参照して複数の駆動装置4oの
仮想番号割付は状態を判断する機構である。仮想番号割
付は機構35は、ホスト10から要求された駆動装置4
0の仮想番号を実番号に割付ける機構である。格納判断
4i!36は、格納テーブル32を参照して複数の媒体
格納位置60の媒体格納状態を判断する機構である。制
御装置30の実体は例えばマイクロプロセッサであり、
各機構33〜36は例えばプログラムのサブルーチンと
して具備される。
The mount determination mechanism 33 of the control device 30 is a mechanism that determines the medium mounting state of the plurality of drive devices 40 by referring to the mount checker 31. The virtual number determination mechanism 34 is
The virtual number assignment of the plurality of drive devices 4o with reference to the mount table 31 is a mechanism for determining the state. The virtual number allocation mechanism 35 assigns the drive device 4 requested by the host 10
This is a mechanism that assigns a virtual number of 0 to a real number. Storage judgment 4i! 36 is a mechanism that refers to the storage table 32 and determines the media storage status of the plurality of media storage locations 60. The substance of the control device 30 is, for example, a microprocessor,
Each of the mechanisms 33 to 36 is provided, for example, as a subroutine of a program.

第3図は第1図に示した2次記憶装置20におけるホス
ト1oからの通常の媒体アクセス時の動作(例えばリー
ド、ライト動作)フローであり、以下、第3図に従って
2次機構装置20における媒体アク廿ス動作を説明する
。なお、第3図中、Aはホスト、Bは制御装置、Cは駆
動装置、Dは媒体自動交換装置を示している。
FIG. 3 is a flowchart of operations (for example, read and write operations) during normal medium access from the host 1o in the secondary storage device 20 shown in FIG. The media access operation will be explained. In FIG. 3, A indicates a host, B a control device, C a drive device, and D an automatic medium exchange device.

まず、ホスト10が媒体アクセスの要求が生じた場合、
ステップ100でホスト10はオペレータまたはプログ
ラムが指定したファイルネーム等から公知の方法により
、そのファイルが記憶されているかまたは記憶されるべ
きアドレスおよびレングスを導出する。ホスト10は、
導出した該アドレスおよびレングス、さらにマウントす
べき駆動装置40の適当な仮想番号、必要とする動作、
その他の情報をコマンド情報に変換し、ステップ101
で制御装置30に送る。
First, when the host 10 requests medium access,
In step 100, the host 10 derives the address and length at which the file is stored or to be stored from the file name specified by the operator or the program by a known method. The host 10 is
The derived address and length, the appropriate virtual number of the drive device 40 to be mounted, the required operation,
Convert other information to command information, step 101
and sends it to the control device 30.

制御][30はステップ102でマウント判断機構33
により、マウントテーブル31を参照して、要求された
アドレスおよびレングスに対するアドレス範囲を有する
媒体が、複数の駆動装置40のいずれかにマウントされ
ているか否かを調べる。ステップ102で調べた結果、
該当媒体がマウントされていたら、制御表[30はステ
ップ1o3で仮想番号判断機構34により、同じくマウ
ントテーブル31を参照して、ホスト10からマウント
するように要求された駆動装置40の仮想番号が、該当
媒体をマウントしている駆動装置40の直前に割付けら
れた仮想番号と一致しているか否かを調べる。ステップ
103で調べた結果。
control] [30 is the mount judgment mechanism 33 in step 102
By referring to the mount table 31, it is determined whether a medium having the address range for the requested address and length is mounted on any of the plurality of drive devices 40. As a result of checking in step 102,
If the corresponding medium has been mounted, the control table [30 in step 1o3 uses the virtual number determining mechanism 34 to also refer to the mount table 31 and determines the virtual number of the drive device 40 requested to be mounted by the host 10. It is checked whether the virtual number matches the virtual number assigned immediately before the drive device 40 that mounts the medium. The result of checking in step 103.

現在のアクセスにおける仮想番号とその直前に割付けら
れた仮想番号と一致していたら、制御装置30はステッ
プ104で媒体のアドレスおよびレングス、必要とする
動作、その他の情報をオーダ情報に変換し、該当媒体を
マウントしている駆動装置40に送る。その後、制御装
置3oはステップ105でホストから要求された動作を
公知の方法により制御する。
If the virtual number in the current access matches the virtual number assigned immediately before, the control device 30 converts the address and length of the medium, the required operation, and other information into order information in step 104, and The media is sent to the mounting drive 40. Thereafter, the control device 3o controls the operation requested by the host in step 105 using a known method.

ステップ103で調べた結果、現在のアクセスにおける
仮想番号とその直前に割付けられた仮想番号とが一致し
ていなかったら、制御装置30はステップ106で、マ
ウントテーブル31の該当駆動装置40の実番号に対応
する仮想番号欄に現在のアクセスにおける仮想番号を記
憶し、ステップ104へ行く。
As a result of checking in step 103, if the virtual number in the current access does not match the virtual number assigned immediately before, in step 106, the control device 30 changes the real number of the corresponding drive device 40 in the mount table 31 to The virtual number for the current access is stored in the corresponding virtual number field, and the process goes to step 104.

一方、ステップ102で調べた結果、所望の媒体が複数
の駆動装置40のいずれにもマウントされていなかった
ら、制御装置30はステップ107で格納判断機構36
により、格納チーフル32を参照して、該当媒体が媒体
格納位置60のいずれに格納されているか否かを調べる
。該当媒体が媒体格納位置60のいずれにも格納されて
いなかったら、制御装置30はステップ108でホスト
に該当媒体未格納を通知し、以後、ホストの指示を待つ
On the other hand, as a result of checking in step 102, if the desired medium is not mounted on any of the plurality of drive devices 40, the control device 30 controls the storage determination mechanism 36 in step 107.
By referring to the storage file 32, it is checked in which of the medium storage locations 60 the corresponding medium is stored. If the corresponding medium is not stored in any of the medium storage locations 60, the control device 30 notifies the host that the corresponding medium is not stored in step 108, and thereafter waits for an instruction from the host.

ステップ107で調べた結果、該当媒体が媒体格納位置
60のいずれかに格納されていたら、制御装置30はス
テップ109で仮想番号判断機構34により、ホスト1
0から要求された駆動装置4oの仮想番号が、マウント
テーブル31の仮想番号欄に存在するか否かを調べる。
As a result of checking in step 107, if the corresponding medium is stored in any of the medium storage locations 60, the control device 30 determines whether the host 1
It is checked whether the virtual number of the drive device 4o requested from 0 exists in the virtual number column of the mount table 31.

ステップ109で調べた結果、仮想番号が存在したら、
制御表[30はステップ110でマウント判断機411
33を用いて、該当仮想番号を割付けられている駆動装
置40にホスト10から要求された以外の別媒体がマウ
ントされているか否を調べる。ステップ110で調べた
結果、該当駆動装置に別媒体がマウントされていなかっ
たら、制御装置130はステップ111で格納判断機構
36により、ホスト10から要求された媒体を格納して
いる媒体格納位置60を特定する。制御装置30は特定
した該当媒体格納位置60に格納されている媒体を該当
駆動装置40にマウントするように、ステップ112で
媒体格納位置アドレスおよびマウント駆動装置の実番号
、マウント動作、その他の情報をコマンド情報に変換し
、媒体自動交換装置50に送る。
As a result of checking in step 109, if a virtual number exists,
Control table [30 is the mount judgment machine 411 at step 110
33 to check whether another medium other than that requested by the host 10 is mounted on the drive device 40 to which the corresponding virtual number is assigned. As a result of checking in step 110, if no other medium is mounted on the corresponding drive device, the control device 130 uses the storage determination mechanism 36 in step 111 to determine the media storage location 60 that stores the medium requested by the host 10. Identify. In step 112, the control device 30 sends the media storage location address, the actual number of the mount drive device, the mounting operation, and other information so that the medium stored in the specified media storage location 60 is mounted on the drive device 40. It is converted into command information and sent to the automatic medium exchange device 50.

媒体自動交換装置50はステップ113で、制御′3A
置3oから要求された媒体格納位置60から媒体を取出
し、要求された駆動袋@40にマウントする。マウント
動作が完了すると、媒体自動交換装置50はステップ1
14で、制御装置30にマウント完了報告を行う。制御
装置30はステップ115で、マウントテーブル31の
該当駆動装置40に対応するマウント識別フラグを′1
″とすると−もに、媒体マウントに伴う必要な処理を行
う。以後、ホストから要求された動作を制御するために
ステップ104に行く。
In step 113, the automatic medium exchanger 50 performs control '3A.
The medium is removed from the requested media storage location 60 from the storage location 3o and mounted in the requested drive bag @40. When the mounting operation is completed, the automatic medium exchange device 50 performs step 1.
At step 14, a mounting completion report is sent to the control device 30. In step 115, the control device 30 sets the mount identification flag corresponding to the corresponding drive device 40 on the mount table 31 to '1.
'', necessary processing associated with mounting the medium is performed. Thereafter, the process goes to step 104 to control the operation requested by the host.

ステップ109で調べた結果、ホスト10から要求され
た駆動装置40の仮想番号がマウントテーブル31の仮
想番号欄に存在しなかったら、制御装置30はステップ
116でマウント判断機構33により、媒体をマウント
していない空駆動装置が存在しているか否かを調べる。
As a result of checking in step 109, if the virtual number of the drive device 40 requested by the host 10 does not exist in the virtual number field of the mount table 31, the control device 30 uses the mount determination mechanism 33 to mount the medium in step 116. Check to see if there are idle drives that are not running.

ステップ116で調べた結果、空駆動装置が存在した場
合、制御装置30はステップ117で空駆動装置の中が
ら1つの駆動装置40を選択する。制御装置30はステ
ップ118でマウントテーブル31の選択した駆動装置
40に対応する仮想番号欄に、ホスト10から要求され
た仮想番号を記憶するとNもに、対応する仮想番号識別
フラグを′1″とする。
As a result of checking in step 116, if an idle drive device exists, the control device 30 selects one drive device 40 from among the idle drive devices in step 117. In step 118, the control device 30 stores the virtual number requested by the host 10 in the virtual number column corresponding to the selected drive device 40 in the mount table 31, and sets the corresponding virtual number identification flag to '1''. do.

その後、ホスト10から要求された媒体を該当駆動装置
40にマウントすべく、ステップ111へ行く。
Thereafter, the process proceeds to step 111 in order to mount the medium requested by the host 10 on the corresponding drive device 40.

ステップ116で調べた結果、空駆動装置が存在しなか
ったら、制御装置30はステップ119で適当な公知の
手法を用いて媒体をデマウントすべき駆動装置40を選
択する。制御装置30はステップ120で、マウントテ
ーブル31の選択した駆動装置4oに対応する仮想番号
欄に、ホスト10から要求された仮想番号を記憶する。
If, as determined in step 116, there are no empty drives, controller 30 selects the drive 40 on which to demount the media in step 119 using any suitable known technique. In step 120, the control device 30 stores the virtual number requested by the host 10 in the virtual number field corresponding to the selected drive device 4o in the mount table 31.

制御装置30はステップ121で格納判断機構36によ
り、デマウントすべき媒体を格納する媒体格納位置60
を特定する。制御装置30は該当駆動装置40から該当
媒体をデマウントして特定した該当媒体格納位置60に
格納するように、ステップ122で媒体格納位置アドレ
スおよびデマウント駆動装置の実番号、デマウント動作
、その他の情報をコマンド情報に変換し、媒体自動交換
装置50に送る。
In step 121, the control device 30 uses the storage determination mechanism 36 to select the medium storage position 60 for storing the medium to be demounted.
Identify. In order to demount the corresponding medium from the corresponding drive device 40 and store it in the specified corresponding medium storage location 60, the control device 30 inputs the medium storage location address, the real number of the demount drive device, the demount operation, and other information in step 122. It is converted into command information and sent to the automatic medium exchange device 50.

媒体自動交換装置50はステップ123で、要求され駆
動装置40から媒体をデマウントし、要求された媒体自
動交換装置60に格納する。デマウント動作が完了する
と、媒体自動交換装置5゜はステップ124で、制御装
置30にデマント完了報告を行う。制御装置30はステ
ップ125で、マウントテーブル31の該当駆動装置4
0に対応するマウント識別フラグを“0”とするとNも
に、媒体デマウントに伴う必要な処理を行う、以後。
Automatic media exchanger 50 demounts the media from the requested drive 40 and stores it in the requested automatic media exchanger 60 in step 123 . When the demounting operation is completed, the automatic medium exchange device 5° reports demounting completion to the control device 30 in step 124. In step 125, the control device 30 controls the corresponding drive device 4 of the mount table 31.
When the mount identification flag corresponding to 0 is set to "0", necessary processing associated with medium demounting is performed in both cases.

ホスト10から要求された媒体を該当駆動装置40にマ
ウントすべく、ステップ111へ行く。
In order to mount the medium requested by the host 10 on the corresponding drive device 40, the process proceeds to step 111.

ステップ110で調べた結果、該当仮想番号を割付けら
れている駆動装置40にホスト10から要求されて以外
の別媒体がマウントされていたら。
As a result of checking in step 110, if a different medium other than that requested by the host 10 is mounted on the drive device 40 to which the corresponding virtual number is assigned.

制御装置30はステップ126でマウント判断機構33
により、媒体をマウントしていない空駆動装置が存在し
ているか否かを調べる。ステップ126で調べた結果、
空駆動装置が存在した場合、ステップ117へ行く。ス
テップ126で調べた結果、空駆動装置が存在していな
い場合、該当仮想番号を割付けられている駆動装置40
にマウントされている媒体をデマウントすべく、ステッ
プ121へいく。
The control device 30 controls the mount determination mechanism 33 in step 126.
Check to see if there is an empty drive device that does not mount a medium. As a result of checking in step 126,
If an empty drive exists, go to step 117. As a result of checking in step 126, if no idle drive device exists, the drive device 40 to which the corresponding virtual number is assigned
In order to demount the medium mounted on the PC, the process goes to step 121.

以上が通常の動作における2次記憶装置20の動作フロ
ーである。なお、ホストが駆動装置40を特定してアク
セスしたい時は、駆動装置の実番号を指定すれば良い。
The above is the operational flow of the secondary storage device 20 in normal operation. Note that when the host wants to specify and access the drive device 40, it suffices to specify the real number of the drive device.

このために、制御装置30にはホストが指定した駆動装
置の装置番号が実番号か仮想番号かの認識手段が含まれ
る。あるいは。
For this purpose, the control device 30 includes means for recognizing whether the device number of the drive device specified by the host is a real number or a virtual number. or.

ホストの指定する装置番号が実番号か仮想番号かによっ
て、2つの動作モードを予めシステム内で取り決めてお
くことNし、例えば制御装置30にはいずれの動作モー
ドであるかを適宜設定しておく手段が含まれる。
Depending on whether the device number designated by the host is a real number or a virtual number, two operating modes should be determined in advance within the system, and for example, which operating mode should be set in the control device 30 as appropriate. Includes means.

以上本実施例では、制御装置30が格納テーブル32と
格納判断機構36を具備して、媒体の格納位置までを管
理するように述べたが、媒体自動交換装置50が格納テ
ーブル32と格納判断機構36を具備し、媒体の格納位
置管理は媒体自動交換装置50が行っても良い。この場
合、第3図の動作フローの媒体格納アドレス特定動作は
制御装置30ではなく、媒体自動交換装置50が行うこ
とになる。また、制御装置30から媒体自動交換装置5
0へのオーダ転送後、媒体格納アドレス特定動作を行う
ことになる。このように、こ\で述べた格納テーブル3
2と格納判断機構36とを具備する装置、動作フローは
一例であって、本発明の具体的な実施方法に応じて任意
に設計し得るものである。
In this embodiment, it has been described that the control device 30 is equipped with the storage table 32 and the storage judgment mechanism 36 and manages up to the storage position of the medium. 36, and the storage location management of the media may be performed by the automatic media exchange device 50. In this case, the medium storage address specifying operation in the operational flow of FIG. 3 is performed not by the control device 30 but by the automatic medium exchange device 50. Further, the automatic medium exchange device 5 is connected to the control device 30.
After the order is transferred to 0, a medium storage address specifying operation is performed. In this way, storage table 3 mentioned here
2 and the storage determination mechanism 36 and its operation flow are merely examples, and can be arbitrarily designed according to a specific implementation method of the present invention.

さらに、本実施例は、1つの制御装置、1つの媒体自動
交換装置を有する2次記憶装置について説明してきたが
、複数の制御装置、複数の媒体自動交換装置を有する2
次記憶装置についても、本実施例と同様な方法によって
実現されることが容易に理解される。
Furthermore, although this embodiment has described a secondary storage device having one control device and one automatic medium exchange device, a secondary storage device having a plurality of control devices and a plurality of automatic medium exchange devices has been described.
It is easily understood that the next storage device is also realized by a method similar to that of this embodiment.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、駆動装置に仮想
番号を付与し、ホストは仮想番号でアクセスすることが
可能になるので、2次記憶装置内の駆動装置にマウント
されている媒体のアドレス空間をホストが逐一認識しな
くても、性能を低下することなく任意のアドレス空間に
迅速にアクセス可能となる利点がある。
As explained above, according to the present invention, a virtual number is assigned to a drive device, and the host can access it using the virtual number. There is an advantage that even if the host does not recognize each address space, it can quickly access any address space without degrading performance.

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

第1図は本発明の一実施例の構成図、第2図は第1図に
おけるテーブル類の構成例を示す図、第3図は第1図の
通常の動作時の動作フロー例を示す図である。 10・・・ホスト、  20・・・2次記憶装置、30
・・・制御装置、 31・・・マウントテーブル、32
・・・格納テーブル、  33・・・マウント判断機構
、 34・・・仮想番号判断機構、 35・・・仮想番
号割付機構、 36・・・格納判断機構、40・・・駆
動装置、 50・・・媒体自動交換装置。 60・・・媒体格納位置。 第1図 12スを唯ヤ、−一− 第2図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of the structure of tables in FIG. 1, and FIG. 3 is a diagram showing an example of the operation flow during normal operation of FIG. 1. It is. 10... host, 20... secondary storage device, 30
...Control device, 31...Mount table, 32
...Storage table, 33...Mount judgment mechanism, 34...Virtual number judgment mechanism, 35...Virtual number allocation mechanism, 36...Storage judgment mechanism, 40...Drive device, 50...・Automatic media exchange device. 60...Media storage position. Figure 1 - 1 - Figure 2

Claims (1)

【特許請求の範囲】[Claims] (1)可換記録媒体を有する2次記憶装置が中央処理装
置に接続され、該2次記憶装置は前記中央処理装置に接
続された制御装置と該制御装置に接続された複数の駆動
装置と複数の媒体格納位置を含む媒体自動交換装置とか
らなる計算機システムにおいて、前記複数の駆動装置の
装置番号を該駆動装置に固定した実番号および該実番号
と同一または異なる仮想番号との両者で定義して、前記
2次記憶装置側に、前記駆動装置にマウントされている
可換記録媒体のアドレス空間と該駆動装置の該仮想番号
と該実番号との三者を記憶する手段と、前記駆動装置の
前記仮想番号を動的に前記駆動装置の前記実番号に割付
ける手段と、前記中央処理装置から要求された可換記録
媒体が前記駆動装置にマウントされているか否かを判断
する手段と、前記媒体自動交換装置内の可換記録媒体の
アドレス空間と該媒体を格納する前記媒体格納位置のア
ドレスとの両者を記憶する手段と、前記中央処理装置か
ら要求された可換記録媒体が前記媒体格納位置に格納さ
れている否かを判断する手段とを設け、前記中央処理装
置は前記2次記憶装置へのアクセス時、駆動装置の装置
番号を仮想番号で指定することを特徴とする2次記憶装
置のアクセス方式。
(1) A secondary storage device having a replaceable recording medium is connected to a central processing unit, and the secondary storage device is connected to a control device connected to the central processing unit and a plurality of drive devices connected to the control device. In a computer system comprising an automatic media exchange device including a plurality of media storage locations, the device number of the plurality of drive devices is defined as both a real number fixed to the drive device and a virtual number that is the same as or different from the real number. means for storing, in the secondary storage device, an address space of a removable recording medium mounted on the drive device, the virtual number and the real number of the drive device; means for dynamically assigning the virtual number of a device to the real number of the drive device; and means for determining whether a removable recording medium requested by the central processing unit is mounted on the drive device. , means for storing both an address space of a removable recording medium in the automatic medium exchange device and an address of the medium storage location in which the medium is stored; means for determining whether or not the medium is stored in the medium storage location, and the central processing unit specifies the device number of the drive device using a virtual number when accessing the secondary storage device. Next storage access method.
JP11149386A 1986-05-15 1986-05-15 Secondary storage access method Expired - Lifetime JPH07122953B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11149386A JPH07122953B2 (en) 1986-05-15 1986-05-15 Secondary storage access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11149386A JPH07122953B2 (en) 1986-05-15 1986-05-15 Secondary storage access method

Publications (2)

Publication Number Publication Date
JPS62267965A true JPS62267965A (en) 1987-11-20
JPH07122953B2 JPH07122953B2 (en) 1995-12-25

Family

ID=14562670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11149386A Expired - Lifetime JPH07122953B2 (en) 1986-05-15 1986-05-15 Secondary storage access method

Country Status (1)

Country Link
JP (1) JPH07122953B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2232700B1 (en) 2007-12-21 2014-08-13 Dts Llc System for adjusting perceived loudness of audio signals
US9312829B2 (en) 2012-04-12 2016-04-12 Dts Llc System for adjusting loudness of audio signals in real time

Also Published As

Publication number Publication date
JPH07122953B2 (en) 1995-12-25

Similar Documents

Publication Publication Date Title
US6052341A (en) Device element allocation manager and method for a multi-library system for multiple host connections
US4467421A (en) Virtual storage system and method
JP3431972B2 (en) Virtual disk system
USRE36989E (en) Virtual storage system and method
US6604165B1 (en) Library control device for logically dividing and controlling library device and method thereof
JP4516948B2 (en) Data storage drives in an automated data storage library
JP4410557B2 (en) Method and system for accessing a tape device in a computer system
US6170023B1 (en) System for accessing an input/output device using multiple addresses
JPH0683708A (en) Method and device for storing data
JPS60147855A (en) Memory managing apparatus
JP2003150322A (en) Virtual electronic data library for supporting drive types by using virtual library in single library
US6697866B1 (en) Access control method for data stored in fixed-block length format in computer configurations utilizing variable length data format interfaces
JPS62267965A (en) Accessing system for secondary storage device
JP3127796B2 (en) Information recording / reproducing device
KR20010025052A (en) Method of creating a plurality of partitions on removable device
US6880042B2 (en) Data storage apparatus that combines a group of continuous data series stored in buffer separately before storing in a recording medium
JP2000353053A (en) Method for controlling information processor, and information processor
JPH0887388A (en) Library system
JPH0449134B2 (en)
JPH0659817A (en) Information recording medium access management system in information processing system
JPH0664520B2 (en) Secondary memory address space allocation device
JPH0664519B2 (en) Interchangeable recording medium access method
JPH0922331A (en) Information recording and reproducing method
JPS6398720A (en) Access system for exchangeable recording medium
JPS63117370A (en) Disk device