JPS61251928A - Compatible recording medium access system - Google Patents

Compatible recording medium access system

Info

Publication number
JPS61251928A
JPS61251928A JP9425385A JP9425385A JPS61251928A JP S61251928 A JPS61251928 A JP S61251928A JP 9425385 A JP9425385 A JP 9425385A JP 9425385 A JP9425385 A JP 9425385A JP S61251928 A JPS61251928 A JP S61251928A
Authority
JP
Japan
Prior art keywords
medium
logical block
address
block address
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
JP9425385A
Other languages
Japanese (ja)
Other versions
JPH0438004B2 (en
Inventor
Nobuyoshi Izawa
井沢 伸芳
Ritsu Takeda
立 武田
Masakatsu Nunotani
布谷 正勝
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP9425385A priority Critical patent/JPS61251928A/en
Publication of JPS61251928A publication Critical patent/JPS61251928A/en
Publication of JPH0438004B2 publication Critical patent/JPH0438004B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To reduce the overwork of a host by interpreting information with a controller and replacing automatically a medium by a an automatic medium replacing device when only a logical block address and a logical block length are designated to access an optional data block. CONSTITUTION:When the host requests medium driving, a logical block address and a logical block length are calculated by an operator or a program designated method, and resultant information is sent to a controller 30 as instruction information. The controller 30 checks whether a logical block address range corresponding to the requested logical block address extends to two or more mediums or not by a conversion formula executing mechanism 32. If this range is mounted on one driving device 40 as the result, a physical address is calculated in accordance with the logical block address by the mechanism 32. If the range extends to two mediums, data buffers 34 and 35 are used to transfer data between these buffers and the designated address area of two mediums.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、可換記録媒体を使用する一次記憶機構とホス
ト処理装置とからなる計x機システムにおける可換記録
媒体のアクセス方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an access method for a removable recording medium in a system consisting of a primary storage mechanism using a removable recording medium and a host processing device. be.

〔従来技術〕[Prior art]

現在の計算機システムにおける一次記憶機構は、制御装
置ととれに接続された7つ以上の駆動装置とを含んでい
る。特に記録媒体が可換媒体であるとき、媒体自動交換
装置をも含む一次記憶機構が存在する。制御装置は、行
われるべき動作、媒体上の転送スタートアドレス、転送
レングス等に関するコマンドをバスを介してホストから
受取力、このコマンド情報を必要な信号に変換して適当
な駆動装置とその他のシステム・エレメントとの間での
データの転送を制御する。駆動装置は記録媒体を動作さ
せ、記録媒体からデータを読み出して制御装置にデータ
を転送し、また、制御装置から転送されたデータを記録
媒体に書き込む。媒体自動交換装置は、ホストまたは制
御装置から媒体移動に関するコマンドを受け、指定され
た媒体を媒体格納位置から駆動装置ヘマウントし、また
、駆動装置から媒体格納位置ヘデマクントし、また、媒
体格納位置から他の媒体格納位置への移動を行う。
Primary storage in current computer systems includes a control unit and seven or more drives connected to each other. Particularly when the recording medium is a removable medium, there is a primary storage mechanism that also includes an automatic medium changer. The control device receives commands from the host via the bus regarding the operation to be performed, the transfer start address on the medium, the transfer length, etc., converts this command information into the necessary signals and sends them to the appropriate drives and other systems. -Control data transfer between elements. The drive device operates the recording medium, reads data from the recording medium, transfers the data to the control device, and writes data transferred from the control device to the recording medium. The automatic media exchange device receives a command regarding media movement from a host or a control device, mounts a specified medium from a media storage position to a drive device, mounts a specified medium from the drive device to a media storage position, and also transfers a specified medium from the media storage location to another. Move the media to the media storage location.

従来、−次記憶機構を利用するホストが所望データにア
クセスするには、媒体の物理アドレス構造をホストが承
知していることが必要であった。
Traditionally, for a host utilizing secondary storage to access desired data, it has been necessary for the host to be aware of the physical address structure of the medium.

また、ユーザに対しては記憶機構の物理的階層に関係な
く論理的に単−輪理アドレスを提供するようなシステム
においても、単−輪理アドレスから物理アドレスへの変
換はホストが行う必要があるので、ホストが媒体の物理
アドレス構造を知っていなければならなかった。
Furthermore, even in systems that logically provide single-role addresses to users regardless of the physical hierarchy of the storage mechanism, the host must perform the conversion from single-role addresses to physical addresses. Therefore, the host had to know the physical address structure of the medium.

媒体アクセスの例としてディスク媒体交換形−次記憶機
構の場合を以下に述べる。ホストは先ずアクセスすべき
媒体の媒体番号を何らかの方法で決定し、該媒体番号を
もつ媒体が複数の駆動装置のいずれかにマウントされて
いるか否かを調べる。
As an example of medium access, the case of a disk medium exchange type-next storage mechanism will be described below. The host first determines the medium number of the medium to be accessed by some method, and checks whether a medium having the medium number is mounted on any of the plurality of drive devices.

該媒体が駆動装置のいずれにもマウントされていなかっ
たら、該媒体を格納している媒体格納位置アドレスを調
べ、該媒体を該媒体格納位置から駆動装置にマウントす
るよう制御装置または媒体自動交換装置に指示する。そ
の後、核媒体をマウントしたことを制御装置または媒体
自動交換装置がホストに通知し、この通知を受け、ホス
トが、該媒体の目的トランクまで駆動装置の記録再生ヘ
ッドを移動するようシークコマンドを制御装置へ出力す
る。ホストはシーク完了の通知を制御装置からうけた後
、該媒体の目的セクタをサーチするようサーチコマンド
を制御装置へ出力する。サーチ完了の通知をホストが制
御装置から受けた後、ホストと制御装置はデータのリー
ドまたはライト動作に入る。
If the medium is not mounted on any of the drives, the controller or automatic medium exchange device checks the media storage location address storing the medium and mounts the medium from the media storage location on the drive. instruct. Thereafter, the control device or automatic media switching device notifies the host that the nuclear medium has been mounted, and upon receiving this notification, the host controls a seek command to move the recording/playback head of the drive device to the destination trunk of the medium. Output to the device. After the host receives notification of the completion of the seek from the control device, it outputs a search command to the control device to search for the target sector of the medium. After the host receives notification of the completion of the search from the control device, the host and the control device begin a data read or write operation.

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

上述した例のように、従来のシステムにおいては、媒体
上の実際のデータにアクセスするまでに複雑な手続きを
ホストが管理することが必要とされ、ホストのO8(O
perating System)における−次記憶機
構制御ルーチンは複雑であった。したがって、媒体及び
−次記憶機構がバージョンアップされて媒体の記録密度
が増加した等の物理仕様に変更を生じた場合、ホストの
2次記憶機構制御ルーチンを大幅に変更する必要があっ
た。
As in the example above, in conventional systems, the host is required to manage complex procedures before accessing the actual data on the medium, and the host's O8 (O
The -next storage control routines in the perating system were complex. Therefore, when the physical specifications of the medium and the secondary storage mechanism are updated and the recording density of the medium is increased, etc., it is necessary to significantly change the host's secondary storage mechanism control routine.

このとき−次記憶機構制御ルーチンは他の処理ルーチン
と密接に関係しているため、O8の変更は広範囲に及び
コストアンプとなる。さらに、ホストは実際のデータ転
送までに一次記憶機構に頻繁にアクセスしなければなら
ず、システム全体の性能低下も大きかった。
Since the next storage control routine is then closely related to other processing routines, the changes to O8 are extensive and costly. Furthermore, the host had to frequently access the primary storage mechanism before actual data transfer, resulting in a significant drop in overall system performance.

〔問題を解決するための手段〕[Means to solve the problem]

本発明は一次記憶機構内のデータブロックのアドレスを
複数媒体に渡る連続論理ブロックアドレスとし、このア
ドレスを間の任意のデータブロックへのアクセスをホス
トが行う場合、論理ブロックアドレス及び論理ブロック
レングスで指定するのみで制御装置が該情報を解釈し、
その解釈結果に基づき必要に応じて媒体自動変換装置が
自動的に媒体交換動作することを特徴とし、その目的は
ホストにおける2次記憶機構制御ルーチンのオーバヘッ
ドを軽減するとともに、−次記憶機構内の媒体番号への
変換も含めたアドレス変換処理を容易にすることにある
The present invention sets the address of a data block in a primary storage mechanism as a continuous logical block address across multiple media, and when the host accesses any data block between these addresses, it is specified by a logical block address and a logical block length. The control device interprets the information by simply
Based on the interpretation result, the automatic medium conversion device automatically exchanges the medium as necessary.The purpose is to reduce the overhead of the secondary storage control routine in the host, and to The object is to facilitate address conversion processing including conversion to a medium number.

〔実施例〕〔Example〕

第1図は本発明の一実施例の構成を示すプロツり図であ
って、1つ以上のホスト(図示せず)と接続されたコ次
紀憶機構20からな4コ次記憶機構20は7つの制御装
置30、複数の駆動装置40゜7つの媒体自動交換装w
50を含む。媒体自動交換装置50は複数の媒体格納位
[60を含む。制御装[30と媒体自動交換装置50、
制御装置30゜と複数の駆動装[40は、各々公知の方
法によ多接続されている。制御装置30はマウントテー
ブル31と、論理ブロックアドレスから物理アドレスへ
の変換式実行機構32と、必要なマウント回数を計数す
るマウントカウンタ33と、一つのデータバッファ34
′及び35とを具備している。媒体自動交換装置50は
格納テーブル51と、論理ブロックアドレスから媒体番
号への変換式実行機構52とを具備している。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention, in which a four-coordinate storage mechanism 20 is connected to one or more hosts (not shown). 7 control devices 30, multiple drive devices 40°, 7 automatic medium exchange devices w
Including 50. The automatic media exchange device 50 includes a plurality of media storage locations [60]. control device [30 and automatic medium exchange device 50,
The control device 30[deg.] and the plurality of drive devices [40] are connected to each other in a known manner. The control device 30 includes a mount table 31, a logical block address to physical address conversion formula execution mechanism 32, a mount counter 33 that counts the number of required mounts, and one data buffer 34.
' and 35. The automatic medium exchange device 50 includes a storage table 51 and a conversion formula execution mechanism 52 for converting logical block addresses to medium numbers.

第一図は上記テーブル類の構成を示したもの、である。Figure 1 shows the structure of the above-mentioned tables.

第一図(a)にはマウントテーブル31の構成が示され
、複数の駆動装置40の該駆動装置アドレス、該駆動装
置40に媒体がマウントされているか否かを識別するマ
ウント識別フラグ、マウントされている媒体に割付けら
れている先頭論理ブロックアドレスが記憶されている。
FIG. 1(a) shows the configuration of the mount table 31, which includes drive device addresses of a plurality of drive devices 40, a mount identification flag for identifying whether or not a medium is mounted on the drive device 40, and a mount identification flag for identifying whether or not a medium is mounted on the drive device 40. The first logical block address assigned to the medium is stored.

ここで、先頭論理ブロックアドレスとは、7つの媒体に
割付けられる論理ブロックアドレス範囲の先頭のブロッ
クアドレスをいう。マウント識別フラグには、例えば媒
体がマウントされ【いなかったらO,マウントされてい
たら1と記憶する。第一図(b)には格納テーブル51
の構成が示され、複数の媒体格納位置60の該媒体格納
位置アドレス、該媒体格納位fff60に媒体が格納さ
れているか否かを識別する格納識別フラグ、格納されて
いる媒体の媒体番号が記憶されている。該格納識別フラ
グには、媒体が格納されている時には例えば101を、
媒体が格納されていない時には例えば100を記憶する
。但し、媒体が現時点では格納されていなくて駆動装f
401cマウントされている時にはその駆動装置アドレ
スを記憶する。
Here, the first logical block address refers to the first block address of the logical block address range allocated to seven media. The mount identification flag stores, for example, O if the medium is not mounted, and 1 if it is mounted. FIG. 1(b) shows a storage table 51.
The configuration is shown, and the media storage location addresses of the plurality of media storage locations 60, a storage identification flag for identifying whether or not a medium is stored in the media storage location fff60, and the media number of the stored media are stored. has been done. The storage identification flag contains, for example, 101 when the medium is stored.
For example, 100 is stored when no medium is stored. However, if the medium is not stored at the moment and the drive unit
401c, the drive address is memorized when it is mounted.

ホストと制御装置30との間の物理的な連続転送量、す
なわち時間的に切れ目のない転送における転送データ量
は、媒体の物理的構造によって制約される。しかし、通
常はデータバッファを用いて、データをデーメバツファ
内に一時蓄積することKよって、ホストと制御装置30
との間の物理的な連続転送データ量を媒体の物理構造K
かかわらず多くすることが可能である。本発明における
データバッファ34及び35もこの目的のバッファであ
る。したがって、データバッファ34及び35の容量は
、各々通常用いられるデータバッツァ分あれば良い。例
えばディスク媒体の場合、各々/トラック分または数セ
クタ分の容量となる。
The amount of physical continuous transfer between the host and the control device 30, ie, the amount of data transferred in temporally seamless transfer, is limited by the physical structure of the medium. However, typically a data buffer is used to temporarily store data in the data buffer so that the host and controller 30 can
The physical structure of the medium K is the amount of data continuously transferred between
However, it is possible to increase the number. Data buffers 34 and 35 in the present invention are also buffers for this purpose. Therefore, the capacity of the data buffers 34 and 35 only needs to be equal to the capacity of each normally used data buffer. For example, in the case of a disk medium, each has a capacity of one track or several sectors.

第3図は各媒体に記憶される論理ブロックアドレス範囲
と媒体番号との対応を示したものである。
FIG. 3 shows the correspondence between logical block address ranges stored in each medium and medium numbers.

7つの媒体にはα個め論理ブロックが存在し、−次記憶
機構にはβの媒体が存在する。各媒体は物理的には独立
しているが、論理ブロックアドレスは各媒体を通して一
次元的に連続している。したがって、ホストには非常に
大きな連続した一次元論理ブロックアドレス範囲、O〜
(αβ−1)を有する一次記憶機構にみえる。ホストは
、必要とする論理ブロックが存在する媒体、あるいは媒
体の物理的切れ目の論理ブロックアドレスさえ認識する
必要はなく、−次記憶機構全体でαβの論理ブロックが
存在することのみを認識していれば良い。論理ブロック
アドレスと転送データ量の関係から同時にアクセスする
媒体が一つ以上に跨がっていたとしても、後述するよう
に一次記憶機構20でこれを自動的に認識して制御する
ので、ホストはそれに関知する必要がなくなる。
There are α logical blocks in seven media, and β media in the -th storage system. Although each medium is physically independent, logical block addresses are one-dimensionally continuous throughout each medium. Therefore, the host has a very large contiguous one-dimensional logical block address range, O~
It appears to be a primary storage mechanism with (αβ-1). The host does not need to know the medium on which the required logical block resides, or even the logical block address of a physical break in the medium, but only that there are αβ logical blocks across the storage structure. Good. Even if more than one medium is accessed at the same time due to the relationship between the logical block address and the amount of data to be transferred, the primary storage mechanism 20 automatically recognizes and controls this as described later, so the host can There is no need to be concerned with it.

論理ブロックアドレスから物理アドレスへの変換式は、
例えばトラック及びセクタを物理的に有するディスク媒
体の場合、次式のようになる。
The conversion formula from logical block address to physical address is:
For example, in the case of a disk medium that physically has tracks and sectors, the equation is as follows.

論理ブロックアドレス トラック描た力の論理ブロック数 媒体尚たシのトラック数 また、先頭論理ブロックアドレスは、 媒体番号×媒体当たりの論理ブロック数で求められる。logical block address Number of logical blocks of force drawn on the track Number of tracks on media Also, the first logical block address is It is determined by medium number x number of logical blocks per medium.

他の種類の媒体についても、変換式は当業者に容易に推
察されるであろう。変換式実行機構32及び52は、こ
れら上記の変換式を実行する機構である。
Conversion formulas for other types of media will be readily deduced by those skilled in the art. The conversion formula execution mechanisms 32 and 52 are mechanisms that execute the above-mentioned conversion formulas.

第り図は第1図に示した一次記憶機構20における通常
の媒体アクセス時の動作(例えばリード、ライト動作)
の動作フローであシ、以下第り図に従って一次記憶機構
20における通常の媒体アクセス動作を説明する。
Figure 2 shows normal medium access operations (for example, read and write operations) in the primary storage mechanism 20 shown in Figure 1.
The normal medium access operation in the primary storage mechanism 20 will be explained below with reference to the second figure.

ホストが媒体駆動の要求を生じた場合、ステップ111
でオペレータまたはプログラムが指定したファイラルネ
ームから公知の方法によシ論理ブロックアドレス及び論
理プロックレンクスを算出する。算出した該論理ブロッ
クアドレス及び該論理プロックレンクス、必要とする動
作、その他の情報をコマンド情報に変換し、ホストはス
テップ112で制御袋[30に送る。制御装置30は、
要求された論理ブロックアドレス〜(論理ブロックアド
レス+論理ブロックレングス)に対応する論理ブロック
アドレス範囲が一つ以上の媒体に跨がっているか否かを
、ステップ113で変換式実行機構32を用いて調べる
。先ず、該論理ブロックアドレス範囲が7つの媒体Ki
/3まっている場合について以下説明し、その後、一つ
以上の媒体に跨がっている場合について説明する。
If the host issues a media drive request, step 111
The logical block address and logical block length are calculated by a known method from the file name specified by the operator or the program. The calculated logical block address, logical block length, required operation, and other information are converted into command information, and the host sends the command information to the control bag [30] in step 112. The control device 30 is
In step 113, using the conversion formula execution mechanism 32, it is determined whether the logical block address range corresponding to the requested logical block address ~ (logical block address + logical block length) spans one or more media. investigate. First, the logical block address range is seven media Ki.
/3 will be explained below, and then the case will be explained where it spans one or more media.

制御袋[30は、該論理ブロックアドレスを有する媒体
が複数の駆動装置40のいずれかにマウントされている
か否かを、ステップ114でマウントテーブル31を参
照して調べる。複数の駆動装置t40のいずれかにマウ
ントされていたら、制御装置30はステップ115で変
換式実行機構32を用いて該論理ブロックアドレスから
物理アドレスを算出する。制御装置30は該物理アドレ
ス、必要とする動作、その他の情報をオーダ情報に変換
し、ステップ116で該論理ブロックアドレス範囲に対
応する媒体をマウントしている駆動装置40に送h1ス
テップ117でホストから要求された動作を制御する。
The control bag [30 refers to the mount table 31 in step 114 to check whether the medium having the logical block address is mounted on any of the plurality of drive devices 40. If it is mounted on any one of the plurality of drive devices t40, the control device 30 calculates a physical address from the logical block address using the conversion formula execution mechanism 32 in step 115. The control device 30 converts the physical address, required operation, and other information into order information, and sends it to the drive device 40 mounting the medium corresponding to the logical block address range in step 116 to the host in step 117. Control the actions requested by.

ステップ114で調べた結果、所望の媒体が複数の駆動
装置40のいずれにもマウントされていなかったら、制
御袋[30はステップ118でマウントカウンタ33に
1をセットし、LRU (Least Recentl
y ’(Jsed)アルゴリズム等適洛な公知の手法を
用いてステップ119でマウントすべき駆動装置40を
選択する。制御袋[30は選択した該駆動装置アドレス
、該論理ブロックアドレスを含んだコマンド情報をステ
ップ120で媒体自動某換装[50に送る。媒体自動交
換装置It50は該駆動装置アドレスからマウントすべ
き駆動袋!40を得、変換式実行機構52を用いて該論
理ブロックアドレスから媒体番号を算出し、格納テーブ
ル51を参照して該駆動装置40にマウントすべき媒体
以外の媒体がマウントされているか否かをステップ12
1で調べる。該駆動装置40にマウントすべき媒体以外
の媒体がマウントされていたら、ステップ122で格納
テーブル51を参照して該媒体を格納すべき格納位置ア
ドレスを1調べ、該駆動装置40から該媒体をデマウン
トして該格納位置に格納する。これに引き続いて、また
は、ステップ121で調べた結果マウントスべき媒体以
外の媒体がマウントされていなかったら、媒体自動交換
装置50は格納テーブル51を参照して、マウントすべ
き媒体番号に対応する媒体が格納されている媒体格納位
置60を得る。媒体自動交換装置t50はステップ12
3で該媒体が格納されている該媒体格納位置60から媒
体を取り出し、該駆動装置40にマウントする、該駆動
袋[40または媒体自動交換装置50はステップ124
で新しい媒体がマウントされたことを制御装置30に通
知する。制御装置30はステップ125でマウントテー
ブル31の対応する先頭論理ブロックアドレスaVC該
媒体の先頭論理ブロックアドレスを記憶する。制御袋[
30はステップ126でマウントカウンタ33をカウン
トダウンし、ステップ127でマウントカウンタ33が
0になったか否かを調べる。この場合マウントカウンタ
33はOになっているので、制御袋[30はステップ1
15〜117を実行する。
As a result of the check in step 114, if the desired medium is not mounted on any of the plurality of drive devices 40, the control bag [30 sets 1 in the mount counter 33 in step 118, and displays LRU (Least Recent).
The drive device 40 to be mounted is selected in step 119 using a suitable known method such as the y' (Jsed) algorithm. The control bag [30] sends command information including the selected drive device address and the logical block address to a certain automatic medium replacement [50] in step 120. The automatic medium exchange device It50 is the drive bag to be mounted from the drive device address! 40, calculates the medium number from the logical block address using the conversion formula execution mechanism 52, and refers to the storage table 51 to determine whether a medium other than the medium to be mounted is mounted on the drive device 40. Step 12
Check with 1. If a medium other than the medium to be mounted is mounted on the drive device 40, the storage table 51 is referred to in step 122 to find out the storage position address where the medium should be stored, and the medium is demounted from the drive device 40. and store it in the storage position. Subsequently, or if no medium other than the medium to be mounted is found as a result of checking in step 121, the automatic medium exchange device 50 refers to the storage table 51 and selects the medium corresponding to the medium number to be mounted. Obtain the medium storage location 60 in which is stored. The automatic medium exchange device t50 performs step 12.
3, the medium is taken out from the medium storage position 60 where the medium is stored and mounted on the drive device 40, the drive bag [40 or the automatic medium exchange device 50 is removed in step 124.
The control device 30 is notified that the new medium has been mounted. In step 125, the control device 30 stores the corresponding start logical block address aVC of the medium in the mount table 31. Control bag [
30 counts down the mount counter 33 in step 126, and checks whether the mount counter 33 has reached 0 in step 127. In this case, the mount counter 33 is O, so the control bag [30 is at step 1]
Execute steps 15 to 117.

次に、ホストから要求された論理ブロックアドレス〜(
論理ブロックアドレス+論理プロンクンングス)に対応
する論理ブロックアドレス範囲が一つ以上の媒体に跨が
っている場合について説明する。一つの媒体に跨がって
いる場合が明らかになれば、3つ以上の媒体に跨がって
いる場合も同様の動作を実行すれば良いので、以下では
一つの媒体に跨がっている場合について説明する。この
場合の転送データの連続性については後述する図5で説
明する。
Next, the logical block address requested by the host ~(
A case will be described in which the logical block address range corresponding to (logical block address + logical prongs) spans one or more media. Once it is clear that the data spans one medium, the same operation can be performed even if the data spans three or more media, so in the following, we will explain how to straddle one medium. Let me explain the case. Continuity of transferred data in this case will be explained with reference to FIG. 5, which will be described later.

ステップ113で調べた結果、所望の媒体が一つであっ
たら制御装置30は、一つの該媒体が複数の駆動装[4
0のいずれかにマウントされているか否かをステップ1
28,129でマウントテーブル31を参照して調べる
。該媒体が一つとも駆動装置40のいずれかにマウント
されていたら、制御装置30はステップ115〜117
を実行する。
As a result of checking in step 113, if the number of desired media is one, the control device 30 determines that one medium is a plurality of drive devices [4].
Step 1:
The mount table 31 is checked at 28 and 129. If at least one of the media is mounted on any of the drives 40, the controller 30 performs steps 115-117.
Execute.

ステップ128,129で調べた結果、該媒体のいずれ
か7つが駆動装置40のいずれかにマウントされていた
ら、マウントされていない力の媒体をマウントするため
に、制御装[30はステップ118〜127を実行する
。ステップ128゜129で調べた結果、該媒体の一つ
とも駆動装置40のいずれにもマウントされていなかっ
たら、所望のλつの媒体な駆動装置40にマウントする
ために、制御装fi!1t30はステップ130でマウ
ントカウンタ33に2をセットし、ステップ119〜1
27を一回実行する。その後、制御装置30はステップ
115〜117を実行する。
If, as determined in steps 128 and 129, any seven of the media are mounted on any of the drives 40, the control device [30 in steps 118-127 Execute. As a result of checking in steps 128 and 129, if none of the media is mounted on any of the drives 40, the controller fi! 1t30 sets the mount counter 33 to 2 in step 130, and then goes to steps 119 to 1.
Execute 27 once. After that, the control device 30 executes steps 115 to 117.

第3図は論理ブロックアドレス範囲が一つの媒体a、 
 bに跨がっている場合のデータ転送シーケンスである
。第5図(a)はライトシーケンス、第3図(blはリ
ードシーケンスである。データバッファ34及び35を
用いて物理的に連続転送できるデータ転送単位、すなわ
ちデータバッファ34及び35の各々の容量なりとする
。例えばディスク媒体の場合りはトラック単位または数
セクタ単位となる。7回のライトまたはリード動作で転
送するデータ量をpal−pam(媒体a)、Dbl〜
Dbn (媒体b)とし、媒体aのDamの最後の論理
ブロックアドレスと媒体すのDblの最初の論理ブロッ
クアドレスが連続しているとする。
Figure 3 shows medium a with one logical block address range;
This is a data transfer sequence in the case of straddling b. 5(a) is a write sequence, and FIG. 3(bl is a read sequence).The data transfer unit that can be physically continuously transferred using the data buffers 34 and 35, that is, the capacity of each of the data buffers 34 and 35. For example, in the case of a disk medium, it is a track unit or several sector units.The amount of data transferred in seven write or read operations is pal-pam (medium a), Dbl~
Dbn (medium b), and assume that the last logical block address of Dam on medium a and the first logical block address of Dbl on medium A are consecutive.

先ず、第3図(a) K従ってライト動作のデータ転送
シーケンスを説明する。フェーズ1では、ホストから制
御装置30ヘデー7Dalが転送され、制御装置30は
データバッファ34KDalを蓄える。フェーズ2では
、ホストから制御装置30ヘデータDa2が転送され、
制御装置30はデータバッファ35にD&2を蓄えると
同時に、媒体aをマウントしている駆動装置40ヘデー
タバツフア34に蓄えた1)alを転送する。該私動装
置栃は媒体aの指定されたアドレス領域にDalを書キ
込む。このデータ転送シーケンスをフェーズmまで順次
繰返す。フェーズm+1になると、ホストから制御装置
30へ転送されてくるデータはDblであるから、制御
装置30はDamを蓄えているデーlバッファと別のデ
ータバッファ、本例ではデータバッファ34にDblを
蓄えると同時に、媒体aをマウントしている駆動装置4
0ヘデータバンフア34に蓄えたl)amを転送する。
First, the data transfer sequence of the write operation will be explained as shown in FIG. 3(a). In phase 1, 7Dal is transferred from the host to the control device 30, and the control device 30 stores a data buffer 34KDal. In phase 2, data Da2 is transferred from the host to the control device 30,
The control device 30 stores D&2 in the data buffer 35, and at the same time transfers 1)al stored in the data buffer 34 to the drive device 40 on which the medium a is mounted. The private device A writes Dal into the designated address area of the medium a. This data transfer sequence is sequentially repeated up to phase m. In phase m+1, the data transferred from the host to the control device 30 is Dbl, so the control device 30 stores Dbl in the data buffer storing Dam and another data buffer, in this example, the data buffer 34. At the same time, the drive device 4 mounting medium a
Transfer l)am stored in the data buffer 34 to 0.

該駆動装[40は媒体aの指定されたアドレス領域にD
amを書き込む。フェーズm+2では、ホストから制御
装置30ヘデータDb2が転送され、制御装置30はデ
ータバッファ35にDb2を蓄えると同時に、媒体すを
マウントしている駆動装置40ヘデータバツフア34に
蓄えたpblを転送する。該駆動装置40は媒体すの指
定されたアドレス領域にDblを書き込む。このデータ
転送シーケンスをフェーズm+n+1まで順次繰返して
、ライ+、動作のデータ転送シーケンスは終了する。
The drive unit [40 drives D to the specified address area of medium a.
Write am. In phase m+2, data Db2 is transferred from the host to the control device 30, and the control device 30 stores Db2 in the data buffer 35 and at the same time transfers pbl stored in the data buffer 34 to the drive device 40 mounting the medium. The drive device 40 writes Dbl to the designated address area of the medium. This data transfer sequence is sequentially repeated up to phase m+n+1, and the data transfer sequence of the RY+ operation is completed.

次に、第S図(b)に従ってリード動作のデータ転送シ
ーケンスを説明する。フェーズ1では、媒体aをマウン
トしている駆動装置40が、媒体aの指定されたアドレ
ス領域からデータDalを読み出し、制御装#、30へ
[)alを転送する。制御装置30はデータバッファ3
4にDalを蓄える。
Next, the data transfer sequence of the read operation will be explained according to FIG. S (b). In phase 1, the drive device 40 mounting medium a reads data Dal from a designated address area of medium a, and transfers [)al to control device #30. The control device 30 is the data buffer 3
Store Dal in 4.

フェーズ2では、制御装置30のデーlバッファ34か
らホストへDILLが転送されると同時に、Da2が該
駆動装置40によって媒体aから読み出され、制御装[
30に転送される。制御装置30はDa2をデータバッ
ファ35に蓄積する。このデータ転送シーケンスをフェ
ーズmまで順次繰返す。フェーズm+1になると、媒体
すをマウントしている駆動装[40が、媒体すの指定さ
れたアドレス領域からデータ])blを読み出し、制御
装置30へDblを転送する。制御装置30はpamを
蓄えているデータバッファと別のデータバッファ、本例
ではデータバッファ34にDblを蓄えると同時に、デ
ータバッファ35からホストへpamを転送する。フェ
ーズm+2では、制御装置30のデータバッファ34か
らホストへ[)blが転送されると同時に、Db2が該
駆動装置40によって媒体すから読み出され、制御装[
30に転送される。制御装置30はI)b2をデータバ
ッファ35に蓄積する。このデータ転送シーケンスをフ
ェーズm+n+1まで順次繰返して、リード動作のデー
タ転送シーケンスは終了する。
In phase 2, at the same time that DILL is transferred from the data l buffer 34 of the control device 30 to the host, Da2 is read from the medium a by the drive device 40 and transferred to the control device [
Transferred to 30. The control device 30 stores Da2 in the data buffer 35. This data transfer sequence is sequentially repeated up to phase m. In phase m+1, the drive device (40) mounting the medium reads data BL from the specified address area of the medium and transfers DBL to the control device 30. The control device 30 stores Dbl in the data buffer storing pam and another data buffer, in this example, the data buffer 34, and at the same time transfers the pam from the data buffer 35 to the host. In phase m+2, at the same time that [ )bl is transferred from the data buffer 34 of the control device 30 to the host, Db2 is read from the medium by the drive device 40 and transferred to the control device [
Transferred to 30. The control device 30 stores I)b2 in the data buffer 35. This data transfer sequence is sequentially repeated up to phase m+n+1, and the data transfer sequence of the read operation is completed.

このように、データバッファを2つ用いれば、一つの媒
体に跨がった論理ブロックアドレス範囲へのデータアク
セスに対しても、ホストから見ればスムーズに実行可能
となる。また、3つ以上の媒体忙跨がった論理ブロック
アドレス範囲へのデータアクセスに対する一次記憶機構
の動作についても、本実施例によシ容易に理解されるで
あろう。
In this way, by using two data buffers, data access to a logical block address range across one medium can be smoothly executed from the host's perspective. Also, the operation of the primary storage mechanism for data access to a logical block address range that spans three or more media will be easily understood by this embodiment.

尚、データバッファの数は設計に応じて任意であって良
い。また、制御装置30から媒体すをマウントしている
駆動装[40へのシークオーダやサーチオーダは、デー
タ転送単位に応じて適当なタイミングで行えは良い。
Note that the number of data buffers may be arbitrary depending on the design. In addition, seek orders and search orders from the control device 30 to the drive unit [40 that mounts the media] can be performed at appropriate timings depending on the unit of data transfer.

以上本実施例では制御装置30からの媒体自動交換装置
50への媒体マウント依頼における媒体指定(ステップ
120)を論理ブロックアドレスつても良い。また、格
納テーブル51の格納識別フラグに駆動装置ア下レスを
記憶しないで、制御装置30がデマウントすべき媒体を
直接指定しても良い。さらに、格納テーブル51と変換
式実行機構52を媒体自動交換装[50が具備するよう
に述べたが、媒体自動交換装置50はそれらを具備せず
、制御装置30が格納テーブル・5.1′?:具備し、
制御装置30がデマウントまたはマウントすべき媒体の
媒体格納位置を媒体自動変換装置50に直接指定しても
良い。このように、ここで用いた制御装置30から媒体
自動変換袋[50へのコマンドに含む情報及びテーブル
類の書式は一例でちって、本発明の具体的な実施方法に
応じて任意に設計し得るものである。また、本実施例は
、7つの制御装置、7つの媒体自動変換装置を有する一
次記憶機構について説明してきたが、複数の制御装置、
複数の媒体自動交換装置を有する一次記憶機411につ
いても、本実施例により当業者に容易に理解されるであ
ろう。
As described above, in this embodiment, the medium designation (step 120) in the medium mount request from the control device 30 to the automatic medium exchange device 50 may be a logical block address. Alternatively, the control device 30 may directly specify the medium to be demounted without storing the drive device address in the storage identification flag of the storage table 51. Further, although it has been described that the automatic medium exchange device [50] is equipped with the storage table 51 and the conversion formula execution mechanism 52, the automatic medium exchange device 50 is not equipped with them, and the control device 30 is equipped with the storage table 5.1'. ? :Equipped with
The control device 30 may directly specify the medium storage position of the medium to be demounted or mounted to the automatic medium conversion device 50. As described above, the format of the information and tables included in the command from the control device 30 to the automatic medium conversion bag [50] used here is merely an example, and may be arbitrarily designed according to the specific implementation method of the present invention. It's something you get. Furthermore, although this embodiment has described a primary storage mechanism having seven control devices and seven automatic medium conversion devices, a plurality of control devices,
A primary storage device 411 having a plurality of automatic medium exchange devices will also be easily understood by those skilled in the art based on this embodiment.

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

以上説明したように、本発明を用いれば複数媒体に渡る
データブロックアドレス空間へのデータアクセスにおい
て、ホストは媒体を意識して指定する必要はなく、論理
ブロックアドレス及び論理ブロックレンクスで指定する
のみでデータアク走スが実行できる。−t″なわち、ホ
ストはステップ111.112に関与するのみで良い。
As explained above, when using the present invention, when accessing data to a data block address space spanning multiple media, the host does not need to specify the medium consciously, but only by specifying the logical block address and logical block length. Data access can be executed with . -t'', the host only needs to be involved in steps 111 and 112.

該情報を物理アドレスに変換して必要な動作(ステップ
113〜130)を行うのは一次記憶機構である。
It is the primary storage mechanism that converts the information into physical addresses and performs the necessary operations (steps 113-130).

ホストがアクセスした論理ブロックアドレス範囲が一つ
以上の媒体に跨がっていたとしても、ホストはそれを意
識する必要はなく、ホストからみればスムーズなデータ
転送が実行される。したがって、ホストによるデータア
クセスが容易になシ、O8における2次記憶機構制御ル
ーチンのオーバヘッドが軽減される利点がある。また、
−次記憶機構内の媒体の論理ブロックアドレスが連続し
ているので、−次記憶機構内の媒体番号への変換も含め
たアドレス変換処理が容易になる利点がある。
Even if the logical block address range accessed by the host spans one or more media, the host does not need to be aware of this, and data transfer is performed smoothly from the host's perspective. Therefore, data access by the host is facilitated, and the overhead of the secondary storage mechanism control routine in O8 is reduced. Also,
Since the logical block addresses of the media in the -next storage mechanism are consecutive, there is an advantage that address conversion processing including conversion to a medium number in the -next storage mechanism is facilitated.

さらに、−次紀憶機構の更改に伴うシステムのトータル
コストの上昇が軽減される利点も生じる。。
Furthermore, there is also the advantage that the increase in the total cost of the system due to renewal of the -next memory mechanism is reduced. .

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は第1図に示したテーブル類の構成図、第3図は論
理ブロックアドレス範囲と媒体番号の関係図、第9図は
第1図の通常の媒体アクセス時の動作モード、第3図は
データ転送シーケンスである。 20・・・・・・−次記憶機構、30・・・・・・制御
装置、40・・・・・・駆動装置、50・・・・・・媒
体自動交換装置、60・・・・・・媒体格納位置、31
.51・・・・・・テーブル、32゜52・・・・・・
アドレス変換式実行機構、33・・・・・・ヤウントカ
ウンタ、34.35・・・・・・データバッファ。 第1図 爪スY△
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a configuration diagram of the tables shown in FIG. 1, FIG. 3 is a diagram showing the relationship between logical block address range and medium number, and FIG. The figure shows the normal medium access operation mode shown in FIG. 1, and FIG. 3 shows the data transfer sequence. 20...Next storage mechanism, 30...Control device, 40...Drive device, 50...Automatic medium exchange device, 60...・Media storage position, 31
.. 51...Table, 32°52...
Address conversion formula execution mechanism, 33... Young counter, 34.35... Data buffer. Figure 1 Nails Y△

Claims (2)

【特許請求の範囲】[Claims] (1)複数の可換記録媒体と制御装置と駆動装置と媒体
自動交換装置とからなる2次記憶機構における前記可換
記録媒体を外部のホスト処理装置からアクセスするアク
セス方式において、前記複数の可換記録媒体上に記録さ
れるデータブロックのアドレスを連続論理ブロックアド
レスで定義し、前記ホスト処理装置は前記可換記録媒体
上のデータブロックへのアクセス時にはアクセスアドレ
スを前記論理ブロックアドレスで指定することを特徴と
する可換記録媒体アクセス方式。
(1) In an access method in which the removable recording medium in a secondary storage mechanism including a plurality of removable recording media, a control device, a drive device, and an automatic medium exchange device is accessed from an external host processing device, The address of the data block recorded on the removable recording medium is defined as a continuous logical block address, and the host processing device specifies an access address using the logical block address when accessing the data block on the removable recording medium. A removable recording medium access method characterized by:
(2)前記2次記憶機構は、前記駆動装置にマウントさ
れている可換記録媒体に割付けられる論理ブロックアド
レスを記憶するアドレス記憶手段と、前記論理ブロック
アドレスから物理アドレスへ変換する手段と、前記駆動
装置への媒体マウント回数を計数する手段と、前記ホス
ト処理装置または前記駆動装置から転送されるデータを
一時蓄積する手段とを前記制御装置内に具備し、また、
前記2次記憶機構内に格納される可換記録媒体番号を記
憶する手段を前記2次記憶機構内に具備し、前記ホスト
処理装置から指定された前記論理ブロックアドレスに対
応する前記可換記録媒体が前記駆動装置にマウントされ
ているか否かを前記制御装置が前記アドレス記憶手段を
用いて判断し、該判断結果に基づき前記制御装置が前記
媒体自動交換装置に媒体交換を指令し、前記媒体自動交
換装置が媒体交換動作を実行することを特徴とする特許
請求の範囲第1項記載の可換記録媒体アクセス方式。
(2) The secondary storage mechanism includes an address storage means for storing a logical block address assigned to a replaceable recording medium mounted on the drive device, a means for converting the logical block address into a physical address, and a means for converting the logical block address into a physical address. The control device includes means for counting the number of times a medium is mounted on a drive device, and a means for temporarily accumulating data transferred from the host processing device or the drive device, and
The secondary storage mechanism includes means for storing a removable recording medium number stored in the secondary storage mechanism, and the removable recording medium corresponds to the logical block address specified by the host processing device. The control device uses the address storage means to determine whether or not the media is mounted on the drive device, and based on the determination result, the control device instructs the automatic medium exchange device to exchange the medium. 2. The removable recording medium access system according to claim 1, wherein the exchange device executes the medium exchange operation.
JP9425385A 1985-05-01 1985-05-01 Compatible recording medium access system Granted JPS61251928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9425385A JPS61251928A (en) 1985-05-01 1985-05-01 Compatible recording medium access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9425385A JPS61251928A (en) 1985-05-01 1985-05-01 Compatible recording medium access system

Publications (2)

Publication Number Publication Date
JPS61251928A true JPS61251928A (en) 1986-11-08
JPH0438004B2 JPH0438004B2 (en) 1992-06-23

Family

ID=14105129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9425385A Granted JPS61251928A (en) 1985-05-01 1985-05-01 Compatible recording medium access system

Country Status (1)

Country Link
JP (1) JPS61251928A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57212558A (en) * 1981-06-25 1982-12-27 Nec Corp Interface circuit for magnetic disc device
JPS6076051A (en) * 1983-09-30 1985-04-30 Matsushita Electric Ind Co Ltd Automatic disk exchanging device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57212558A (en) * 1981-06-25 1982-12-27 Nec Corp Interface circuit for magnetic disc device
JPS6076051A (en) * 1983-09-30 1985-04-30 Matsushita Electric Ind Co Ltd Automatic disk exchanging device

Also Published As

Publication number Publication date
JPH0438004B2 (en) 1992-06-23

Similar Documents

Publication Publication Date Title
AU554707B2 (en) Management of defects in storage media
JP2783748B2 (en) Method and apparatus for data transfer to auxiliary storage in a dynamically mapped data storage system
JP2831087B2 (en) Data storage system
KR20020064357A (en) Buffer management system for managing the transfer of data into and out of a buffer in a disc drive
US5530819A (en) System and method for mapping directly accessible magnetic DASD storage to fixed block optical storage
JPH07271513A (en) Disk control method and device therefor
JPS61251928A (en) Compatible recording medium access system
JP4061563B2 (en) Magnetic disk device, disk access method for magnetic disk device, and disk access control program recording medium for magnetic disk device
JP3255887B2 (en) Magnetic disk drive and disk access method thereof
JPS61163429A (en) Replaceable recording medium management system
JPH06332622A (en) Information processor
JP2834081B2 (en) Magnetic disk controller
JPS63255888A (en) File device
JP3419475B2 (en) Magnetic disk drive
JPH0528651A (en) Information recorder and reproducer
JPH05128735A (en) Defective block alternation control system
JP3925461B2 (en) Computer system
JPH10240449A (en) Recording and reproducing device, and input-output controlling method for recording and reproducing device
JP3925246B2 (en) Computer system
JPH0664519B2 (en) Interchangeable recording medium access method
JPH09128156A (en) Recording control system
JPS62267965A (en) Accessing system for secondary storage device
JPH08278906A (en) Device and method for file management of storage medium
JPH077328B2 (en) Secondary storage mechanism initial setting method
JPS63117370A (en) Disk device