JP2000200453A - Medium controller - Google Patents

Medium controller

Info

Publication number
JP2000200453A
JP2000200453A JP11000734A JP73499A JP2000200453A JP 2000200453 A JP2000200453 A JP 2000200453A JP 11000734 A JP11000734 A JP 11000734A JP 73499 A JP73499 A JP 73499A JP 2000200453 A JP2000200453 A JP 2000200453A
Authority
JP
Japan
Prior art keywords
medium
accessor
control unit
drive
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
JP11000734A
Other languages
Japanese (ja)
Other versions
JP3478150B2 (en
Inventor
Katsuhiko Morizaki
克彦 森崎
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP00073499A priority Critical patent/JP3478150B2/en
Publication of JP2000200453A publication Critical patent/JP2000200453A/en
Application granted granted Critical
Publication of JP3478150B2 publication Critical patent/JP3478150B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Automatic Tape Cassette Changers (AREA)
  • Automatic Disk Changers (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to exactly recognize the error which occurs during the medium loading/unloading processing to be executed by changing an accessor control section and a drive control section by connecting both control sections and imparting negotiation thereto. SOLUTION: This medium controller has an accessor means which internally holds plural information recording media and transports the arbitrary medium among the plural information recording media described above, the accessor control section which controls the operation of the accessor means, the drive means which subjects the medium transported by the accessor means to read/ write processing and the drive control section which controls the operation of the drive means. The host device 5 is the medium controller which is selectively connected to the accessor control section and the drive control section and with which the medium control is executed. In such a case, the medium controller is constitute in such a manner that the information exchange with each other is made possible by connecting the accessor control section and the drive control section.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は媒体制御装置に関
し、特に、コンピュータシステムにおける周辺装置とし
て用いられ情報記録媒体を制御するライブラリやオート
ローダ等の媒体制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a medium control device, and more particularly to a medium control device such as a library or an autoloader used as a peripheral device in a computer system for controlling an information recording medium.

【0002】[0002]

【従来の技術】例えば磁気テープライブラリ等の媒体制
御装置は、上位装置から特定の媒体に対するリード/ラ
イト命令を受けた場合の処理動作として、該当する媒体
をマガジン(媒体貯蔵箇所)からドライブまで搬送する
第1の行程と、ドライブへ媒体をロードしてリード/ラ
イト可能状態(以下、READY状態と称す)にセット
する第2の行程とを具える。また、媒体へのリード/ラ
イト動作を終了する際には、前記第1及び第2の行程を
逆に行って媒体をマガジンに格納する。従来の媒体制御
装置では、第1の行程(媒体搬送行程)では装置のアク
セッサ制御部が上位装置とネゴシエイションを行い、第
2の行程(媒体ロード行程)では装置のドライブ制御部
が上位装置とネゴシエイションを行っており、これらの
ネゴシエイションは別個独立に行われている。
2. Description of the Related Art A medium control device such as a magnetic tape library transports a corresponding medium from a magazine (medium storage location) to a drive as a processing operation when a read / write command for a specific medium is received from a host device. And a second step of loading a medium into a drive and setting the medium in a read / write enabled state (hereinafter referred to as a READY state). When ending the read / write operation to the medium, the first and second steps are performed in reverse to store the medium in the magazine. In a conventional medium control device, an accessor control unit of the device negotiates with a host device in a first process (medium transport process), and a drive control unit of the device negotiates with a host device in a second process (medium loading process). And these negotiations are conducted separately and independently.

【0003】一方、このような媒体制御装置に用いられ
るドライブは、通常単体で使用されるドライブをそのま
ま装置に組み込んで構成される。この単体ドライブ自体
には、オペレータがマニュアルで記録媒体をロードし、
また、単体ドライブからアンロードした媒体はその後オ
ペレータの手で運搬・保存される。このような単体ドラ
イブにおいて媒体ロード時のエラーがあった場合は、通
常ドライブはオペレータの再処理(媒体の入れ直し)に
委ねるべくそのまま媒体をアンロードする。この場合に
単体ドライブが媒体ロード時の失敗をエラーとして上位
装置に報告すると、上位装置はその都度システムを立ち
上げ直す等の処置を執ってしまうため、単体ドライブは
媒体ロード時の失敗はエラーとして報告せずに、未だリ
ード/ライト不能状態(以下、NOTREADY状態と
称す)であることを上位装置に示すのみであるのが一般
的である。
On the other hand, a drive used in such a medium control device is configured by directly incorporating a drive used alone as it is into the device. The operator manually loads the recording medium into the single drive itself,
The medium unloaded from the single drive is then transported and stored by the operator. If there is an error during loading of the medium in such a single drive, the normal drive unloads the medium as it is to allow the operator to reprocess (reload the medium). In this case, if the single drive reports a failure when loading media as an error to the higher-level device, the higher-level device takes measures such as restarting the system each time. Without reporting, it is general to merely indicate to the host device that it is still in a read / write disabled state (hereinafter, referred to as a NOTREADY state).

【0004】[0004]

【発明が解決しようとする課題】上記のように、従来の
媒体制御装置では、アクセッサによる媒体搬送時にはア
クセッサ制御部が上位装置と正常終了または異常終了等
のネゴシエイションを行い、これと別個に媒体ロード時
にはドライブ制御部が上位装置とREADY又はNOT
READY等のネゴシエイションを行っている。また、
当該装置を構成するドライブは単体ドライブを転用して
いるため、前記ドライブ制御部は媒体ロード時の失敗を
エラーとして上位装置に報告しないものである。このた
め、以下のような問題を有する。
As described above, in the conventional medium control device, when the medium is transported by the accessor, the accessor control unit negotiates with the host device such as normal end or abnormal end, and separately loads the medium. Sometimes the drive control unit is ready or not
Negotiation such as READY is performed. Also,
Since the drive constituting the device is a single drive, the drive control unit does not report a failure in loading the medium as an error to the host device. Therefore, there are the following problems.

【0005】即ち、例えばアクセッサが媒体を搬送した
後ドライブへロードする際に、媒体がずれた状態でドラ
イブに挿入された場合を想定する。アクセッサによる媒
体搬送にエラーはないためアクセッサ制御部は上位装置
に正常終了を報告し、これを受けた上位装置はネゴシエ
イション先をドライブ制御部に切替え、ドライブがNO
TREADYからREADY状態になるのを待つ。しか
しドライブは(本来はオペレータに)再度挿入を促すた
めにそのまま媒体を排出して、上位装置にはエラーを報
告せずにNOTREADYである旨を返し続ける。この
場合でも上位装置はエラーを認識しないままREADY
に変わるのを待ち続けるため、ジョブの中断が長引いて
システムダウン等の事故を誘発してしまう。あるいは、
上位装置はドライブからのエラー報告がなければ次の処
理を実行しようとし、予期せぬエラーを引き起こす場合
がある。
That is, it is assumed that, for example, when the accessor loads a medium after transporting the medium, the medium is inserted into the drive in a shifted state. Since there is no error in the medium transport by the accessor, the accessor control unit reports the normal end to the upper-level device, and upon receiving this, the upper-level device switches the negotiation destination to the drive control unit, and the drive returns to NO.
Wait until the state changes from TREADY to READY. However, the drive ejects the medium in order to prompt the user to insert it again (essentially, the operator) and continues to return NOTREADY without reporting an error to the host device. Even in this case, the host device is ready
, The interruption of the job is prolonged, causing an accident such as a system down. Or,
If there is no error report from the drive, the higher-level device attempts to execute the next process, which may cause an unexpected error.

【0006】また、上位装置がエラーを認識しないまま
次の処理を行う場合は後の行程でエラーが上位装置に報
告されることになるが、このエラー報告を受けた上位装
置乃至オペレータは当該後の行程でのエラーと誤って認
識してしまうため、見当はずれなエラー処置を講じてし
まう結果となる。
When the next process is performed without the upper device recognizing the error, an error will be reported to the higher device in a later process. Is mistakenly recognized as an error in the process, and as a result, an erroneous error treatment is performed.

【0007】更に、媒体制御装置は一般的に媒体制御動
作のリトライ機能を具えているが、上述のようにエラー
報告が不正確である場合は、媒体制御装置のリトライ機
能が有効に発揮されない、またはリトライ機能が誤作動
して更なる障害の原因となってしまう場合がある。
Further, the medium control device generally has a retry function of the medium control operation. However, if the error report is incorrect as described above, the retry function of the medium control device cannot be effectively performed. Alternatively, the retry function may malfunction and cause a further trouble.

【0008】そこで、本発明は、コンピュータシステム
のバックアップ運用の中で用いられ、自動化または無人
化を実現する媒体制御装置において、媒体搬送行程ない
し媒体ロード行程の完了時までの処理中に発生するエラ
ーを正確に認識するようにして、適切な対応処置を執れ
るようにした媒体制御装置を提供することを目的とす
る。
Accordingly, the present invention provides a medium control device which is used in a backup operation of a computer system and which realizes automation or unmanned operation. It is an object of the present invention to provide a medium control device that can accurately recognize an error and take an appropriate countermeasure.

【0009】[0009]

【課題を解決するための手段】この目的を達成するため
に、本発明の媒体制御装置は、内部に複数の情報記録媒
体を保持し、前記複数の情報記録媒体のうち任意の媒体
を搬送するアクセッサ手段と、該アクセッサ手段の動作
を制御するアクセッサ制御部と、前記アクセッサ手段に
より搬送された媒体に対してリード/ライト処理を行う
ドライブ手段と、該ドライブ手段の動作を制御するドラ
イブ制御部とを具え、上位装置が前記アクセッサ制御部
とドライブ制御部とに別個に接続して媒体制御が行われ
る媒体制御装置であって、前記アクセッサ制御部と前記
ドライブ制御部とが接続されており、相互に情報交換を
可能としたことを特徴とする。
In order to achieve this object, a medium control device according to the present invention holds a plurality of information recording media therein and conveys any one of the plurality of information recording media. Accessor means, an accessor control unit for controlling the operation of the accessor means, a drive means for performing read / write processing on a medium conveyed by the accessor means, and a drive control unit for controlling the operation of the drive means A medium control device in which a host device is separately connected to the accessor control unit and the drive control unit to perform medium control, wherein the accessor control unit and the drive control unit are connected, The feature is that information can be exchanged.

【0010】このように媒体制御装置のアクセッサ制御
部とドライブ制御部とを接続して相互のネゴシエイショ
ンを持たせることにより、例えば上述したような媒体ロ
ード時のエラー等があった場合でも、当該エラーを正確
に検出して適切な処置を執るようにすることができる。
また、このことによりエラーの誤認識等による不都合を
防止することができる。
As described above, by connecting the accessor control unit and the drive control unit of the medium control device and having mutual negotiation, even if there is an error during loading of the medium as described above, for example, Can be accurately detected and appropriate action can be taken.
In addition, it is possible to prevent inconvenience due to erroneous recognition of an error.

【0011】このように構成した本発明の媒体制御装置
では、前記アクセッサ制御部が、前記アクセッサ手段が
前記媒体の搬送を正常終了した場合に前記媒体が前記ド
ライブ手段に正常に格納されているか否かを前記ドライ
ブ制御部に問い合わせることが望ましい。
In the medium control device according to the present invention, the accessor control section determines whether the medium is normally stored in the drive means when the accessor means has normally conveyed the medium. It is desirable to inquire of the drive control unit about the above.

【0012】また、本発明の媒体制御装置は、前記アク
セッサ制御部が、前記ドライブ制御部への問い合わせの
結果前記媒体が前記ドライブ手段に正常に格納されてい
ない場合に、前記アクセッサ手段が前記媒体を保持して
いるかどうか確認し、前記アクセッサ手段が前記媒体を
保持している場合に、前記媒体の再挿入を試みるよう前
記アクセッサ手段を制御することを特徴とする。
Further, in the medium control apparatus according to the present invention, the accessor control unit may control the accessor unit to execute the medium control if the medium is not normally stored in the drive unit as a result of an inquiry to the drive control unit. And confirming whether the accessor means holds the medium and controlling the accessor means to attempt to reinsert the medium when the accessor means holds the medium.

【0013】また、本発明の媒体制御装置は、前記アク
セッサ手段による前記媒体の再挿入処理の後に、当該再
挿入処理が正常終了しない場合でも、前記アクセッサ制
御部が前記上位装置へ前記媒体の格納処理の正常終了を
報告することを特徴とする。
Further, the medium control device of the present invention is characterized in that the accessor control section stores the medium in the host device even if the reinsertion processing is not normally completed after the medium reinsertion processing by the accessor means. The normal termination of the process is reported.

【0014】また、本発明の媒体制御装置は、前記上位
装置が、前記アクセッサ制御部から前記媒体格納処理の
正常終了の報告を受けたときに、前記ドライブ制御部に
前記媒体がリード/ライト可能状態にあるか否かを問い
合わせることを特徴とする。
In the medium control apparatus according to the present invention, the medium can be read / written by the drive control unit when the host device receives a report from the accessor control unit that the medium storage processing has been normally completed. It is characterized by inquiring whether or not it is in a state.

【0015】このように本発明の媒体制御装置では、ア
クセッサ制御部が従来監視していないドライブ手段によ
る媒体ロード処理までを監視するようにしているため、
媒体ロード時のエラーを上位装置に報告しない単体ドラ
イブを用いた媒体制御装置であっても、媒体ロード処理
のエラーがあった場合に正確に把握することができる。
また、媒体ロード時にエラーが発生した場合には、アク
セッサ制御部はアクセッサ手段が媒体を保持している
か、即ちドライブ手段から媒体が排出されたか確認し、
排出されている場合にはアクセッサ手段にロードリトラ
イを実行させて処理を続行させることができる。更に、
このリトライにおいても復旧できない場合には、正確な
エラー情報を上位装置に報告するようにしたため、上位
装置やオペレータに適切な保守処理を執らせることがで
きる。従って、マガジンからドライブへ媒体を搬送しド
ライブにてREADY状態となるまでの行程中に発生す
るエラーを正確に認識し、適切な処置を執らせることが
できる。
As described above, according to the medium control device of the present invention, the accessor control unit monitors up to the medium loading process by the drive means which has not been monitored conventionally.
Even a medium control device using a single drive that does not report an error at the time of loading a medium to a higher-level device can accurately grasp the presence of an error in a medium loading process.
Also, when an error occurs during loading of the medium, the accessor control unit checks whether the accessor means holds the medium, that is, whether the medium has been ejected from the drive means,
If it has been ejected, the accessor means can execute a load retry to continue the processing. Furthermore,
If recovery is not possible even after this retry, accurate error information is reported to the higher-level device, so that the higher-level device and the operator can perform appropriate maintenance processing. Therefore, it is possible to accurately recognize an error that occurs during the process of transporting the medium from the magazine to the drive and changing the drive to the READY state, and to take appropriate measures.

【0016】更に、本発明の媒体制御装置は、前記上位
装置が前記ドライブ制御部に前記ドライブ手段から前記
媒体の排出命令を出した場合に、前記ドライブ手段が前
記媒体を排出する前に、前記アクセッサ制御部が前記ア
クセッサ手段を前記ドライブ手段の媒体排出口の前に位
置づけるよう制御することを特徴とする。
Further, the medium control device according to the present invention, when the higher-level device issues an instruction to eject the medium from the drive unit to the drive control unit, before the drive unit ejects the medium, An accessor control unit controls the accessor means to be positioned in front of a medium outlet of the drive means.

【0017】また、前記ドライブ制御部が、前記アクセ
ッサ手段を位置づける制御が正常終了しなくても、前記
ドライブ手段から前記媒体を排出するよう制御すると共
に、この排出動作が正常終了しなかった場合に前記ドラ
イブ制御部が上位装置にその旨を報告することを特徴と
する。
Further, the drive control section controls the medium to be ejected from the drive means even if the control for positioning the accessor means does not end normally. The drive control unit reports the fact to a host device.

【0018】このように媒体アンロード時の動作を制御
するように装置を構成すると、媒体アンロード動作の前
にアクセッサ手段をドライブの媒体排出口の前に位置づ
けると共に、上位装置への正確なエラー報告が可能とな
るため、アンロード処理時においても予期せぬ障害が発
生する確率を低減させることができる。
If the apparatus is configured to control the operation at the time of unloading the medium, the accessor means can be positioned before the medium outlet of the drive before the unloading operation of the medium, and an accurate error can be transmitted to the host apparatus. Since reporting is possible, the probability of occurrence of an unexpected failure can be reduced even during unload processing.

【0019】また、本発明の媒体制御装置は、前記アク
セッサ制御部とドライブ制御部との情報交換に、SCS
I(Small Computer System Interface)プロトコルを
用いることが望ましい。上述のように本発明の装置はア
クセッサ制御部とドライブ制御部が簡単なネゴシエイシ
ョンを行うようにしてエラー検出の精度を向上させ、適
切な防止措置を執らせるものである。そのネゴシエイシ
ョンに標準化されているSCSIプロトコルを応用して
用いるようにすれば、簡単な構成で容易に本発明の目的
を達成することができる。
Further, the medium control device of the present invention uses the SCS for information exchange between the accessor control unit and the drive control unit.
It is desirable to use the I (Small Computer System Interface) protocol. As described above, the device of the present invention improves the accuracy of error detection by performing simple negotiation between the accessor control unit and the drive control unit, and takes appropriate preventive measures. If the standardized SCSI protocol is applied and used for the negotiation, the object of the present invention can be easily achieved with a simple configuration.

【0020】[0020]

【発明の実施の形態】本発明の実施の形態を、添付の図
面を参照しながら以下に説明する。図1及び図2は、本
発明の媒体制御装置の動作を示す図である。これらの図
を用いて装置の動作を説明する前に、この媒体制御装置
の構成について簡単に説明する。媒体制御装置はコンピ
ュータシステムのバックアップ運用等に用いられる情報
記録手段であり、磁気テープ媒体等の情報記録媒体を複
数格納するマガジンと、これら媒体のうち任意の媒体に
対してリード/ライト処理を実行する1あるいは2以上
のドライブと、マガジンから指定された媒体を取出して
ドライブに搬送するアクセッサとを具え、上位装置のコ
マンドに応じて指定された媒体に対してリード/ライト
処理を行うものである。基本的にアクセッサの動作はア
クセッサ制御部が制御し、ドライブの動作はドライブ制
御部が制御する。
Embodiments of the present invention will be described below with reference to the accompanying drawings. 1 and 2 are diagrams showing the operation of the medium control device of the present invention. Before describing the operation of the apparatus with reference to these drawings, the configuration of the medium control apparatus will be briefly described. The medium control device is an information recording unit used for backup operation of a computer system and the like, and executes a read / write process on a magazine for storing a plurality of information recording media such as a magnetic tape medium and any of the media. And one or more drives to perform the read / write process on the designated medium in response to a command from a higher-level device. . Basically, the operation of the accessor is controlled by the accessor control unit, and the operation of the drive is controlled by the drive control unit.

【0021】この媒体制御が上位装置より特定の媒体に
対するリード/ライト命令を受けると、アクセッサ制御
部はアクセッサを駆動して指定された媒体をマガジンか
ら取出し、ドライブまで搬送する。ドライブに到着する
とアクセッサはドライブの媒体挿入/排出口へ媒体を押
し込むことにより、ドライブへ媒体をロードする。その
後ドライブ制御部の制御によりドライブにて媒体へのリ
ード/ライト処理が行われる。リード/ライト処理の終
了時には、上位装置からアンロード命令を受けたドライ
ブ制御部の制御によりドライブは媒体のアンロードを行
い、媒体挿入/排出口から排出された媒体はアクセッサ
により再び搬送され、マガジンに戻される。これらの動
作及び制御については公知の媒体制御装置となんら変わ
るものではないため、図示しての詳細な説明は省略す
る。
When this medium control receives a read / write command for a specific medium from the host device, the accessor control section drives the accessor to take out the specified medium from the magazine and transport it to the drive. Upon arriving at the drive, the accessor loads the media into the drive by pushing the media into the media insertion / ejection opening of the drive. Thereafter, under the control of the drive control unit, the drive performs read / write processing on the medium. At the end of the read / write processing, the drive unloads the medium under the control of the drive control unit that has received the unload command from the host device, and the medium ejected from the medium insertion / ejection port is transported again by the accessor, and the magazine Is returned to. Since these operations and controls are not different from those of a known medium control device, detailed illustrations thereof are omitted.

【0022】図1を参照しながら、この媒体制御装置に
おける媒体ロード処理動作を詳細に説明する。図1に示
す1−1の領域がアクセッサ制御部の制御動作を示し、
1−2の領域がドライブ制御部の制御動作を示す。ま
た、上位装置のコマンド送信先を明確に示す便宜上、ア
クセッサ制御部側とドライブ制御部側の双方に上位装置
5を図示して説明する。この媒体制御装置におけるロー
ド処理では、まず上位装置5よりアクセッサ制御部へマ
ガジン及びドライブのアドレスを指定した媒体搬送命令
(Order1)が発行される。アクセッサ制御部はアクセ
ッサを駆動し(Order2)、媒体を指定アドレスのマガ
ジンから指定アドレスのドライブへ移動する(処理
1)。この搬送動作処理においてエラーが発生した場合
(Error3)、アクセッサ制御部は上位装置へエラーを
報告して(Error4)処理を終了するが、搬送動作処理
が正常終了した場合は、アクセッサ制御部はホストへ報
告することなく(Good5)、ドライブ制御部へドライブ
の状態確認の問い合わせを行う(Order6)。ここで上
位装置にエラー(Error4)が報告された場合、上位装
置は媒体搬送時のエラーを認識してチェックコンディシ
ョン等の障害時処理を行う。
Referring to FIG. 1, the operation of the medium control device for loading a medium will be described in detail. An area 1-1 shown in FIG. 1 indicates a control operation of the accessor control unit,
The area 1-2 indicates the control operation of the drive control unit. For convenience of clearly indicating the command transmission destination of the host device, the host device 5 will be illustrated and described on both the accessor control unit side and the drive control unit side. In the loading process in the medium control device, first, the host device 5 issues a medium transport instruction (Order 1) specifying the magazine and drive addresses to the accessor control unit. The accessor control unit drives the accessor (Order 2), and moves the medium from the magazine at the specified address to the drive at the specified address (Process 1). If an error occurs in the transport operation processing (Error 3), the accessor control unit reports an error to the host device (Error 4) and ends the processing. If the transport operation processing ends normally, the accessor control unit returns to the host. Inquires about the status of the drive to the drive control unit without reporting to the drive controller (Good 5) (Order 6). Here, when an error (Error 4) is reported to the higher-level device, the higher-level device recognizes the error at the time of transporting the medium, and performs processing at the time of failure such as a check condition.

【0023】アクセッサ制御部から問い合わせ(Order
5)を受けたドライブ制御部はドライブに媒体が正常に
格納されているか否かを検出させる(Order7から処理
2)。この処理2において媒体が正常格納されていれば
(Good8)、アクセッサ制御部は上位装置へ正常終了を
報告する(Good10)。また、以下に述べるように、こ
の処理2がエラーであっても、アクセッサ制御部は上位
装置へ正常終了を報告する。
An inquiry from the accessor control unit (Order
5) Upon receiving the information, the drive control unit detects whether the medium is normally stored in the drive (Process 2 from Order 7). If the medium is normally stored in this processing 2 (Good 8), the accessor control unit reports the normal end to the host device (Good 10). Also, as described below, even if the processing 2 is an error, the accessor control unit reports a normal end to the host device.

【0024】すなわち、処理2(媒体の格納状態確認)
においてドライブの状態がエラーとなった場合(Error
9)、アクセッサ制御部はアクセッサに媒体がアクセッ
サ側にあるか否かを問い合わせる(Order14から処理
3)。この問い合わせはアクセッサの媒体認識センサが
媒体を認識しているか否かを確認することにより行われ
る。この処理にてアクセッサが媒体を認識していれば、
アクセッサ制御部はアクセッサに媒体ロード動作のリト
ライを要求する(処理4)。この処理で正常にロードさ
れれば、又はエラーとなった場合でも、アクセッサ制御
部は上位装置5に正常終了を報告する(前記Good1
0)。ここでエラーがあっても正常終了を報告するの
は、当該エラーはドライブ側のエラーであるため、アク
セッサ制御部が報告した場合に上位装置がアクセッサ側
のエラーと誤認識してしまうのを回避するためである。
そのため本発明では、ここでのエラーを後述する処理5
でドライブのエラーとしてドライブ制御部から上位装置
へ報告させるようにしている。
That is, processing 2 (medium storage state confirmation)
When the status of the drive becomes an error in (Error
9), the accessor control unit inquires of the accessor whether or not the medium is on the accessor side (from order 14 to processing 3). This inquiry is made by confirming whether the medium recognition sensor of the accessor recognizes the medium. If the accessor recognizes the medium in this process,
The accessor control unit requests the accessor to retry the medium loading operation (process 4). Even if the load is normally performed in this process, or if an error occurs, the accessor control unit reports a normal end to the host device 5 (the Good1 described above).
0). Here, even if there is an error, the normal end is reported because the error is an error on the drive side. To do that.
For this reason, in the present invention, the error here is referred to as processing 5 described later.
In this case, a drive error is reported from the drive control unit to the host device.

【0025】アクセッサ制御部から終了報告(Good1
0)を受けた上位装置5は、通常その後にドライブ制御
部にコマンドを送信し(Order11)、ドライブ制御部
はドライブ内にて媒体がリード/ライト可能状態(RE
ADY状態)にあるか否かを確認する(Order12から
処理5)。この処理にてREADY状態であればドライ
ブ制御部は上位装置5にその旨を報告して(Good13)
ロード処理を終了し、エラーの場合は上位装置5にエラ
ーを報告する(Error14)。前記処理2〜4(状態確
認〜リトライ処理)でエラーが発生していた場合もここ
で報告され、上位装置はドライブ側にエラーが発生した
ことを正確に認識することができる。
An end report from the accessor control unit (Good1
The host device 5 that has received 0) normally transmits a command to the drive control unit after that (Order 11), and the drive control unit reads the medium (RE) in the drive (RE).
(ADY state) or not (order 12 to processing 5). If the process is in the READY state, the drive control unit reports the fact to the host device 5 (Good 13).
The loading process is terminated, and if an error occurs, the error is reported to the host device 5 (Error 14). The case where an error has occurred in the above processes 2 to 4 (status confirmation to retry process) is also reported here, and the host device can accurately recognize that the error has occurred on the drive side.

【0026】次に、図2を参照しながらこの媒体制御装
置のアンロード処理動作を説明する。図2では、領域2
−1にアクセッサ制御部の制御動作を、領域2−2にド
ライブ制御部の制御動作を示す。ドライブにて媒体のリ
ード/ライト処理が終了したら、通常上位装置5はドラ
イブ制御部にアンロード命令を送信する(Order2
1)。このときドライブ制御部はすぐにはドライブにア
ンロード処理を実行させず、アクセッサ制御部にアンロ
ード命令を受けたことを報告する(Order22)。これ
を受けたアクセッサ制御部はアクセッサを制御して、指
定されたドライブの媒体挿入/排出口の前に位置づける
(処理6)。この処理が正常終了し、あるいはエラーと
なった場合でも、ドライブ制御部へ処理6の終了報告が
行われる(Good or Error23)。前述したのとは逆
に、このエラーはアクセッサ側のエラーであるため、ド
ライブ制御部とのネゴシエイションで上位装置にエラー
が報告されないようにするためである。なお、この処理
6がエラーとなった場合は、後述する処理8にて検出さ
れることとなる。
Next, an unloading operation of the medium control device will be described with reference to FIG. In FIG. 2, area 2
-1 shows a control operation of the accessor control unit, and a region 2-2 shows a control operation of the drive control unit. After the medium has been read / written by the drive, the host device 5 usually sends an unload command to the drive control unit (Order 2).
1). At this time, the drive control unit does not immediately cause the drive to execute the unload processing, and reports to the accessor control unit that the unload command has been received (Order 22). Upon receiving this, the accessor control unit controls the accessor to position it in front of the medium insertion / ejection port of the specified drive (process 6). Even if this processing ends normally or an error occurs, the end of processing 6 is reported to the drive control unit (Good or Error 23). Contrary to the above, since this error is an error on the accessor side, it is to prevent an error from being reported to a higher-level device in negotiation with the drive control unit. If the process 6 results in an error, it is detected in a process 8 described later.

【0027】処理6の終了報告を受けたドライブ制御部
はドライブを制御して媒体のアンロードを行う(Order
24から処理7)。このアンロード処理が正常に行われ
ればドライブ制御部は上位装置へ正常終了を報告し(Go
od25)、アンロードエラーとなった場合はドライブ制
御部は上位装置へエラーの発生を報告する(Error2
6)。エラー報告を受けた上位装置はドライブ側のエラ
ーと認識し、チェックコンディション等の障害時処理を
行うこととなる。
The drive control unit which has received the end report of the process 6 controls the drive to unload the medium (Order
24 to processing 7). If the unload processing is performed normally, the drive control unit reports a normal end to the host device (Go
od25), when an unload error occurs, the drive control unit reports the occurrence of the error to the host device (Error2).
6). Upon receiving the error report, the host device recognizes the error as a drive-side error and performs a failure process such as a check condition.

【0028】上位装置がドライブ制御部から処理7の正
常終了報告を受けた場合は、通常その後アクセッサ制御
部にドライブアドレスからマガジンアドレスに指定した
媒体格納命令を出し(Order27)、これを受けたアク
セッサ制御部はアクセッサを駆動して、指定ドライブに
ある媒体を指定マガジンに戻すよう制御する(Order2
8から処理8)。この処理が問題なければアクセッサ制
御部は上位装置に正常終了を報告した後(Good29)処
理を終了し、エラーとなった場合は上位装置へエラーを
報告する(Error30)。前記処理6がエラーとなった
場合もここで検出され、アクセッサ側のエラーとして上
位装置へ報告される。これにより上位装置はアクセッサ
側のエラーを正しく認識して、障害時処理を行うことが
できる。以上で本発明の媒体制御装置の動作は終了す
る。
When the higher-level device receives a report of the normal end of the process 7 from the drive control unit, it normally issues a medium storage command designated to the magazine address from the drive address to the accessor control unit (Order 27). The control unit drives the accessor to control the medium in the designated drive to return to the designated magazine (Order 2).
8 to processing 8). If there is no problem with this processing, the accessor control section reports the normal end to the higher-level device (Good 29), and ends the processing. If an error occurs, the accessor controller reports an error to the higher-level device (Error 30). An error in the process 6 is also detected here and reported to the host device as an error on the accessor side. As a result, the higher-level device can correctly recognize the error on the accessor side and perform the processing at the time of failure. Thus, the operation of the medium control device of the present invention ends.

【0029】なお、この媒体制御装置におけるアクセッ
サ制御部とドライブ制御部との間のネゴシエイション
は、標準化されているSCSI(Small Computer Syste
m Interface)プロトコルを応用して簡単に実現するこ
とができる。
The negotiation between the accessor control unit and the drive control unit in the medium control device is based on a standardized SCSI (Small Computer System).
m Interface) protocol.

【0030】[0030]

【発明の効果】以上に詳細に説明したように、本発明の
媒体制御装置によれば、上位装置がアクセッサ制御部と
ドライブ制御部に別個に接続してネゴシエイションを行
う装置であっても、上位装置に適切なエラー情報を報告
することを実現したため、上位装置はエラー内容を正確
に得ることができる。このことにより、上位装置が媒体
制御装置に対して適切なエラー処理を行うと共にオペレ
ータへの正確な報告を行うことが可能となる。また、単
体ドライブをそのまま用いた媒体制御装置であっても、
上位装置にロード時エラーが報告されないことを原因と
する後の障害を防止することができる。
As described above in detail, according to the medium control device of the present invention, even if the host device is a device that separately connects to the accessor control unit and the drive control unit to perform negotiation, Since the appropriate error information is reported to the device, the host device can accurately obtain the details of the error. As a result, it becomes possible for the higher-level device to perform an appropriate error process on the medium control device and to make an accurate report to the operator. Also, even in a medium control device using a single drive as it is,
It is possible to prevent a subsequent failure due to the fact that a load error is not reported to the host device.

【0031】一方、ロード時及びアンロード時にアクセ
ッサ制御部がアクセッサを適切な位置に位置づけ、かつ
ロード/アンロード時にアクセッサ制御部がドライブ制
御部を監視するようにしているため、エラー発生時に適
切なリトライ処理を行うことができ、結果としてエラー
が発生する確率を低減させることができる。
On the other hand, the accessor control unit positions the accessor at an appropriate position at the time of loading and unloading, and the accessor control unit monitors the drive control unit at the time of loading / unloading. Retry processing can be performed, and as a result, the probability of occurrence of an error can be reduced.

【0032】更に、上述のように単体ドライブを改造す
ることなくそのまま採用して媒体制御装置を構成しても
正確なエラー報告及び障害防止効果を得ることができ、
当該効果を有する媒体制御装置を容易かつ安価に構成す
ることが可能となる。
Further, even if a single drive is used without modification without modification as described above, an accurate error report and a failure prevention effect can be obtained even if a medium control device is configured.
It is possible to easily and inexpensively configure a medium control device having the above-described effect.

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

【図1】図1は、本発明の媒体制御装置における媒体ロ
ード時の動作を示すフローチャートである。
FIG. 1 is a flowchart illustrating an operation of loading a medium in a medium control device according to the present invention.

【図2】図2は、本発明の媒体制御装置における媒体ア
ンロード時の動作を示すフローチャートである。
FIG. 2 is a flowchart showing the operation of the medium control device of the present invention when unloading a medium.

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

1−1、2−1 アクセッサ制御部の制御動作 1−2、2−2 ドライブ制御部の制御動作 5 上位装置 1-1, 2-1 Control operation of accessor control unit 1-2, 2-2 Control operation of drive control unit 5 Host device

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 内部に複数の情報記録媒体を保持し、前
記複数の情報記録媒体のうち任意の媒体を搬送するアク
セッサ手段と、該アクセッサ手段の動作を制御するアク
セッサ制御部と、前記アクセッサ手段により搬送された
媒体に対してリード/ライト処理を行うドライブ手段
と、該ドライブ手段の動作を制御するドライブ制御部と
を具え、上位装置が前記アクセッサ制御部とドライブ制
御部とに別個に接続して媒体制御が行われる媒体制御装
置であって、前記アクセッサ制御部と前記ドライブ制御
部とを接続し、相互に情報交換を可能としたことを特徴
とする媒体制御装置。
1. An accessor means for holding a plurality of information recording media therein and transporting any of the plurality of information recording media, an accessor control unit for controlling the operation of the accessor means, and the accessor means And a drive control unit for controlling the operation of the drive unit. The host device is separately connected to the accessor control unit and the drive control unit. A medium control device for performing medium control by connecting the accessor control unit and the drive control unit so that information can be exchanged with each other.
【請求項2】 請求項1に記載の媒体制御装置におい
て、前記アクセッサ制御部が、前記アクセッサ手段が前
記媒体の搬送を正常終了した場合に前記媒体が前記ドラ
イブ手段に正常に格納されているか否かを前記ドライブ
制御部に問い合わせることを特徴とする媒体制御装置。
2. The medium control device according to claim 1, wherein the accessor control unit determines whether or not the medium is stored in the drive unit normally when the accessor unit ends the conveyance of the medium normally. A media control device for inquiring of the drive control unit about the above.
【請求項3】 請求項2に記載の媒体制御装置におい
て、前記アクセッサ制御部が、前記ドライブ制御部への
問い合わせの結果前記媒体が前記ドライブ手段に正常に
格納されていない場合に、前記アクセッサ手段が前記媒
体を保持しているかどうか確認し、前記アクセッサ手段
が前記媒体を保持している場合に、前記媒体の再挿入を
試みるよう前記アクセッサ手段を制御することを特徴と
する媒体制御装置。
3. The medium control device according to claim 2, wherein the accessor control unit determines that the accessor unit is not normally stored in the drive unit as a result of an inquiry to the drive control unit. A medium control device that checks whether the medium holds the medium, and controls the accessor to try to reinsert the medium when the accessor holds the medium.
【請求項4】 請求項3に記載の媒体制御装置におい
て、前記アクセッサ手段による前記媒体の再挿入処理の
後に、当該再挿入処理が正常終了しない場合でも、前記
アクセッサ制御部が前記上位装置へ前記媒体の格納処理
の正常終了を報告することを特徴とする媒体制御装置。
4. The medium control device according to claim 3, wherein after the medium reinsertion processing by the accessor means, even if the reinsertion processing does not end normally, the accessor control unit sends the medium to the host device. A medium control device for reporting a normal end of medium storage processing.
【請求項5】 請求項4に記載の媒体制御装置におい
て、前記上位装置が、前記アクセッサ制御部から前記媒
体格納処理の正常終了の報告を受けたときに、前記ドラ
イブ制御部に前記媒体がリード/ライト可能状態にある
か否かを問い合わせることを特徴とする媒体制御装置。
5. The medium control device according to claim 4, wherein when the higher-level device receives a report from the accessor control unit that the medium storage processing has been normally completed, the medium is read by the drive control unit. / A medium control device for inquiring whether or not it is in a writable state.
【請求項6】 請求項1乃至5のいずれかに記載の媒体
制御装置において、前記上位装置が前記ドライブ制御部
に前記媒体の排出命令を出した場合に、前記ドライブ制
御部が、前記ドライブ手段に前記媒体を排出させる前
に、前記アクセッサ制御部に前記アクセッサ手段を前記
ドライブ手段の前に位置づけるよう指令を出すことを特
徴とする媒体制御装置。
6. The medium control device according to claim 1, wherein when the higher-level device issues an instruction to eject the medium to the drive control unit, the drive control unit controls the drive unit. A medium control device for issuing a command to the accessor control unit to position the accessor unit in front of the drive unit before discharging the medium.
【請求項7】 請求項6に記載の媒体制御装置におい
て、前記ドライブ制御部が、前記アクセッサ制御部によ
る前記アクセッサ手段の位置づけ制御が正常終了しない
場合でも、前記ドライブ手段から前記媒体を排出させる
ことを特徴とする媒体制御装置。
7. The medium control device according to claim 6, wherein the drive control unit causes the drive unit to eject the medium even when the position control of the accessor unit by the accessor control unit does not end normally. A medium control device characterized by the above-mentioned.
【請求項8】 請求項1乃至7のいずれかに記載の媒体
制御装置において、前記アクセッサ制御部とドライブ制
御部との情報交換に、SCSI(Small Computer Syste
m Interface)プロトコルを用いることを特徴とする媒
体制御装置。
8. The medium control device according to claim 1, wherein a small computer system (SCSI) is used for exchanging information between the accessor control unit and the drive control unit.
m) a media control device characterized by using a protocol.
JP00073499A 1999-01-05 1999-01-05 Medium control device Expired - Fee Related JP3478150B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00073499A JP3478150B2 (en) 1999-01-05 1999-01-05 Medium control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00073499A JP3478150B2 (en) 1999-01-05 1999-01-05 Medium control device

Publications (2)

Publication Number Publication Date
JP2000200453A true JP2000200453A (en) 2000-07-18
JP3478150B2 JP3478150B2 (en) 2003-12-15

Family

ID=11481966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00073499A Expired - Fee Related JP3478150B2 (en) 1999-01-05 1999-01-05 Medium control device

Country Status (1)

Country Link
JP (1) JP3478150B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008015726A (en) * 2006-07-05 2008-01-24 Hitachi Computer Peripherals Co Ltd Auxiliary storage

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008015726A (en) * 2006-07-05 2008-01-24 Hitachi Computer Peripherals Co Ltd Auxiliary storage

Also Published As

Publication number Publication date
JP3478150B2 (en) 2003-12-15

Similar Documents

Publication Publication Date Title
US6782448B2 (en) Transparent code update in an automated data storage library
US7318116B2 (en) Control path failover in an automated data storage library
US6886050B2 (en) Method for controlling a communication terminal device and rewritable storage medium having initialization setting data
US6968257B2 (en) Continued execution of accessor commands on a restricted multiple accessor path of an automated data storage library
JP2009271998A (en) Disk processor and its control method
JP2999351B2 (en) Library device
JP2000200453A (en) Medium controller
US20040264308A1 (en) Automated storage apparatus and method of operating
JP3387954B2 (en) Library device
JP2000276824A (en) Library device and library control device
JPH11185329A (en) Library device
WO1991000567A1 (en) Library equipment
US20050013035A1 (en) Digital data storage units
JP3860321B2 (en) Library device
JP4735578B2 (en) I/O device with changer and control method thereof
JPH04305857A (en) External memory device with automatic loading mechanism
JPH05258432A (en) Controlling system for magnetic tape medium transferring mechanism
JPH03105607A (en) Control system for library device
US8576508B2 (en) Tape library system and method of diagnosing tape cartridges
JP3023274B2 (en) Magnetic media handling equipment
JP2776630B2 (en) Magnetic tape unit
US20040167662A1 (en) Expansion of an automated data storage system
JP2763451B2 (en) Media status display method
JPH10255373A (en) Library device
JP2550767B2 (en) Peripheral processing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071003

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081003

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees