Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0317129B2 - - Google Patents
[go: Go Back, main page]

JPH0317129B2 - - Google Patents

Info

Publication number
JPH0317129B2
JPH0317129B2 JP58091756A JP9175683A JPH0317129B2 JP H0317129 B2 JPH0317129 B2 JP H0317129B2 JP 58091756 A JP58091756 A JP 58091756A JP 9175683 A JP9175683 A JP 9175683A JP H0317129 B2 JPH0317129 B2 JP H0317129B2
Authority
JP
Japan
Prior art keywords
sense
magnetic disk
information
response
format information
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.)
Expired - Lifetime
Application number
JP58091756A
Other languages
Japanese (ja)
Other versions
JPS59223869A (en
Inventor
Fumio Fukazawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58091756A priority Critical patent/JPS59223869A/en
Publication of JPS59223869A publication Critical patent/JPS59223869A/en
Publication of JPH0317129B2 publication Critical patent/JPH0317129B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明は複数のコンパチブル・モード・デバイ
ス(物理的構造の異なる装置間でソフトウエアを
変更せずに利用し得るように、シリンダ及びヘツ
ドアドレスに変換を施したり、トラツクの容量を
限定して使用する装置)を接続して動作する磁気
デイスク・サブシステムに係り、特に個々のデバ
イスの診断等の際にコンパチブル・モード・デバ
イスをネイテイブモードとして切り分けてチエツ
クする必要が生じた場合のデバイス形式情報収集
方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention provides a system that allows cylinder and head This relates to a magnetic disk subsystem that operates by connecting a device that converts the device into a device that converts it into a device that uses a limited track capacity, or that uses a limited track capacity.In particular, when diagnosing an individual device, it This invention relates to a method of collecting device type information when it becomes necessary to separate and check the information.

(b) 従来技術と問題点 複数のコンパチブル・モード・デバイスを接続
して動作する磁気デイスク・サブシステムにおい
ては、コンパチブル・モード・デバイスに障害等
が発生し、チエツクする必要が生じた場合、チヤ
ネルの如き上位装置からチエツクを要するデバイ
ス、即ち、磁気デイスク装置に対し、試験用のデ
ータ等を送出し、調査を行う必要がある。
(b) Prior art and problems In a magnetic disk subsystem that operates by connecting multiple compatible mode devices, if a failure occurs in a compatible mode device and it becomes necessary to check the channel, It is necessary to send test data, etc. to a device that requires checking from a host device such as a magnetic disk device, and conduct an investigation.

しかし、コンパチブル・モード・デバイスはソ
フトウエア上では同一仕様のデバイスとして取り
扱われているが、ハードウエア上では装置の仕様
が異なり、機能上の差があるため、試験用のデー
タ等は同一では無い。
However, although compatible mode devices are treated as devices with the same specifications on the software, the test data etc. are not the same on the hardware because the device specifications are different and there are differences in functionality. .

従つて、試験用のデータ等を送出してチエツク
するためには、デバイスをネイテイブモードとし
て切り分ける必要がある。即ち、チエツクを要す
るデバイスの装置仕様をテストプログラムが認識
して、この装置仕様に合致した試験が行えるデー
タ等を送出する必要がある。
Therefore, in order to send and check test data, etc., it is necessary to separate the device into native mode. That is, it is necessary for the test program to recognize the equipment specifications of the device that needs to be checked, and to send out data and the like that allow a test to be performed that conforms to the equipment specifications.

このためには、デバイスの装置仕様によつて定
まるデバイス形式情報を送出させて、デバイス固
有のデバイス形式を知る必要がある。
For this purpose, it is necessary to transmit device format information determined by the device specifications of the device to know the device format unique to the device.

第1図はコンパチブル・モード・デバイスを接
続して動作する磁気デイスク・サブシステムの構
成例を示す。
FIG. 1 shows an example of the configuration of a magnetic disk subsystem that operates by connecting compatible mode devices.

1は磁気デイスク・サブシステムの上位装置で
あるチヤネル、2は磁気デイスク制御装置、3と
4はコンパチブル・モード・デバイスを形成する
磁気デイスク装置である。
1 is a channel which is a host device of the magnetic disk subsystem, 2 is a magnetic disk control device, and 3 and 4 are magnetic disk devices forming a compatible mode device.

磁気デイスク装置3と4は夫々デバイス形式が
異なり、機能上に差があるが、ソフトウエア的に
は同一に取り扱える装置である。従つて、ソフト
ウエアの指示によつてチヤネル1が送出するセン
スI/Oタイプ命令に対して、磁気デイスク装置
3と4は、コンパチブル・モード・デバイスとし
て予め定められた同一のデバイス形式情報を報告
する必要がある。
Although the magnetic disk devices 3 and 4 have different device formats and functional differences, they can be handled in the same way in terms of software. Therefore, in response to the sense I/O type command sent by channel 1 according to instructions from the software, magnetic disk drives 3 and 4 report the same device type information predetermined as compatible mode devices. There is a need to.

しかし、例えば、磁気デイスク装置3をチエツ
クするとすれば、磁気デイスク装置3に最適なデ
ータを用いる必要があるため、ソフトウエア上で
は同一に取り扱えるデバイスであつても、磁気デ
イスク装置4とは異なるデバイス形式をチヤネル
1が知るために、磁気デイスク装置3は磁気デイ
スク装置4と異なるデバイス形式情報を送出する
必要がある。
However, for example, if you want to check the magnetic disk drive 3, it is necessary to use data that is optimal for the magnetic disk drive 3, so even if the devices can be handled the same on the software, it is different from the magnetic disk drive 4. In order for the channel 1 to know the format, the magnetic disk device 3 needs to send out device type information different from that of the magnetic disk device 4.

従来、チヤネル1が送出するセンスI/Oタイ
プ命令に対して、磁気デイスク装置3と4が応答
して送出するデバイス形式情報は7バイトの情報
が使用されているが、この7バイトの情報を夫々
異なる形式を報告するために、磁気デイスク装置
3と4で固有のものとし、区別させるようにする
と、ソフトウエア上ではコンパチブル・モード・
デバイスとして取り扱うことが出来なくなるとい
う問題があり、又逆に、7バイトの情報を同一と
すれば、テストプログラムに物理的仕様の異なる
磁気デイスク装置3の固有の形式を通知すること
が出来ないという問題がある。
Conventionally, in response to the sense I/O type command sent by channel 1, 7-byte device format information is sent out by magnetic disk devices 3 and 4. In order to report different formats, if the magnetic disk drives 3 and 4 are made unique and differentiated, the software will display a compatible mode.
There is a problem that it cannot be handled as a device, and conversely, if the 7-byte information is the same, it is impossible to notify the test program of the unique format of the magnetic disk drive 3 with different physical specifications. There's a problem.

(c) 発明の目的 本発明の目的は上記問題点を解決するため、チ
ヤネル1が送出するセンスI/Oタイプ命令に対
しては、磁気デイスク装置3と4が共に同一の7
バイトのデバイス形式情報を報告し、チヤネル1
が送出するセンス命令(デバイスの状態を報告さ
せる命令)に対しては、“0”センス情報(セン
ス命令に対してエラー状態でない場合報告される
情報)の未使用の8〜23バイトを用いて、磁気デ
イスク装置3と4が夫々固有のデバイス形式情報
を報告することにより、ソフトウエア上はセンス
I/Oタイプ命令発行によつて、同一の7バイト
のデバイス形式情報を報告させ、テストプログラ
ム上ではセンス命令によつて、“0”センス情報
の8〜23バイトを用いて、そのデバイス固有のデ
バイス形式情報を報告させるデバイス形式情報収
集方法を提供するものである。
(c) Purpose of the Invention The purpose of the present invention is to solve the above problems, and in response to the sense I/O type command sent by channel 1, both magnetic disk drives 3 and 4 are
Reports device format information for bytes and channels 1
For sense commands (commands that report the device status) sent by , unused 8 to 23 bytes of "0" sense information (information reported when there is no error state for sense commands) are used. By causing the magnetic disk drives 3 and 4 to report their own device format information, the software reports the same 7-byte device format information by issuing a sense I/O type command, and the test program The present invention provides a device format information collection method that uses 8 to 23 bytes of "0" sense information to report device format information specific to the device using a sense command.

(d) 発明の構成 本発明の構成は複数のコンパチブル・モード・
デバイスを接続して動作し、上位装置が送出する
センスI/Oタイプ命令に対して、コンパチブ
ル・モード・デバイスとして予め定められたデバ
イス形式情報を報告する磁気デイスク・サブシス
テムにおいて、該上位装置が送出するセンス命令
に対しては、該センス命令に対し報告する情報の
未使用バイトを利用して、各デバイスの固有のデ
バイス形式情報を報告するようにしたものであ
る。
(d) Structure of the invention The structure of the present invention has multiple compatible modes.
In a magnetic disk subsystem that operates by connecting a device and reports device type information predetermined as a compatible mode device in response to a sense I/O type command sent by the host device, the host device For a sense command to be sent, unused bytes of information reported in response to the sense command are used to report device format information unique to each device.

(e) 発明の実施例 第1図は磁気デイスク制御装置2は、エラー状
態でない時、即ち、センス保持中でない時に、チ
ヤネル1からのセンス命令によつて報告する情
報、即ち、“0”センス情報は、8〜23バイトが
未使用である。
(e) Embodiment of the Invention FIG. 1 shows information that the magnetic disk control device 2 reports by the sense command from the channel 1 when there is no error state, that is, when the sense is not being held, that is, "0" sense. 8 to 23 bytes of information are unused.

本発明は、この未使用の8〜23バイトを用い、
上位装置のチヤネル1が送出するセンス命令に対
して、磁気デイスク装置3及び4の固有のデバイ
ス形式情報の報告を行わせるものである。即ち、
ソフトウエア上では同一の形式の装置として見え
ていても、物理的に異なる形式であるので、この
物理的な装置の形式情報(例えば物理装置名)を
報告する。このために本発明では、上位装置のチ
ヤネル1が送出するセンスI/Oタイプ命令に対
しては、コンパチブル・モード・デバイスとして
予め定められた7バイトのデバイス形式情報を送
出させるが、センス命令に対しては、物理的デバ
イスの形式情報を送出する。
The present invention uses this unused 8 to 23 bytes,
This is to cause unique device type information of the magnetic disk drives 3 and 4 to be reported in response to the sense command sent by channel 1 of the host device. That is,
Even if the devices appear to be of the same type on the software, they are physically different types, so the format information (for example, physical device name) of this physical device is reported. For this reason, in the present invention, in response to the sense I/O type instruction sent by channel 1 of the host device, 7-byte device format information predetermined as a compatible mode device is sent out. For those, the format information of the physical device is sent.

従つて、従来の通り上位装置のセンスI/Oタ
イプ命令に対してはデバイス形式情報を同一とす
ることが出来る。
Therefore, the same device format information can be used for the sense I/O type commands of the host device as in the past.

第2図は本発明の一実施例を説明するフローチ
ヤートである。
FIG. 2 is a flowchart illustrating one embodiment of the present invention.

第1図の磁気デイスク制御装置2は、上位装置
のチヤネル1から命令を受けると、該命令をデコ
ードして、センス命令か否かを判定する。センス
命令でなければ、センス命令以外の命令の処理を
行い動作を終了する。
When the magnetic disk control device 2 in FIG. 1 receives a command from the channel 1 of the host device, it decodes the command and determines whether it is a sense command or not. If it is not a sense instruction, the instruction other than the sense instruction is processed and the operation ends.

センス命令の場合、エラー報告があつて、セン
スを保持しているか否かを調べ、センスを保持中
であれば、エラー情報をセンスバイトとしてチヤ
ネル1に送出して動作を終了する。
In the case of a sense command, an error report is received and it is checked whether the sense is being held. If the sense is being held, error information is sent to channel 1 as a sense byte and the operation is terminated.

センス保持中でなければ、基本センスバイトの
作成を行い、未使用のバイトにデバイスの詳細情
報、即ち、デバイス固有のデバイス形式(物理的
装置の形式を示す装置タイプ情報等)を示すビツ
トを構成し、該センスバイトとしてチヤネル1に
送出して動作を終了する。
If the sense is not being held, a basic sense byte is created, and the unused bytes are filled with bits that indicate detailed device information, that is, device-specific device format (such as device type information that indicates the physical device format). Then, it is sent to channel 1 as the sense byte, and the operation ends.

(f) 発明の効果 以上説明した如く、本発明はセンス命令に対
し、該センス命令に対して報告する情報の未使用
のバイトを利用して、各デバイスの固有のデバイ
ス形式情報を上位装置に報告するため、従来のセ
ンスI/Oタイプ命令に対するデバイス側の応答
を変更せずに、上位装置に物理的デバイスの形式
情報を報告出来るため、物理的な仕様の異なる各
デバイスに最適なテストを行うことが出来る。
(f) Effect of the Invention As explained above, the present invention transmits unique device format information of each device to a host device in response to a sense instruction by using unused bytes of information reported in response to the sense instruction. Because the format information of the physical device can be reported to the host device without changing the response of the device to conventional sense I/O type commands, it is possible to perform optimal testing for each device with different physical specifications. It can be done.

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

第1図は磁気デイスク・サブシステムの構成例
を示す図、第2図は本発明の一実施例を説明する
フローチヤートである。 図において、1はチヤネル、2は磁気デイスク
制御装置、3,4は磁気デイスク装置である。
FIG. 1 is a diagram showing an example of the configuration of a magnetic disk subsystem, and FIG. 2 is a flowchart illustrating an embodiment of the present invention. In the figure, 1 is a channel, 2 is a magnetic disk control device, and 3 and 4 are magnetic disk devices.

Claims (1)

【特許請求の範囲】 1 複数のコンパチブル・モード・デバイスを接
続して動作し、上位装置が送出するセンスI/O
タイプ命令に対して、コンパチブル・モード・デ
バイスとして予め定められたデバイス形式情報を
報告する磁気デイスク・サブシステムにおいて、 該上位装置が送出するセンス命令に対しては、
該センス命令に対し報告する情報の未使用バイト
を利用して、各デバイスの固有のデバイス形式情
報を報告することを特徴とするデバイス形式情報
収集方法。
[Claims] 1. Sense I/O that operates by connecting multiple compatible mode devices and is sent by a host device.
In a magnetic disk subsystem that reports device format information predetermined as a compatible mode device in response to a type instruction, in response to a sense instruction sent by the host device,
A method for collecting device format information, characterized in that device format information unique to each device is reported by using unused bytes of information reported in response to the sense command.
JP58091756A 1983-05-25 1983-05-25 Device type information collecting system Granted JPS59223869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58091756A JPS59223869A (en) 1983-05-25 1983-05-25 Device type information collecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58091756A JPS59223869A (en) 1983-05-25 1983-05-25 Device type information collecting system

Publications (2)

Publication Number Publication Date
JPS59223869A JPS59223869A (en) 1984-12-15
JPH0317129B2 true JPH0317129B2 (en) 1991-03-07

Family

ID=14035379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58091756A Granted JPS59223869A (en) 1983-05-25 1983-05-25 Device type information collecting system

Country Status (1)

Country Link
JP (1) JPS59223869A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5697122A (en) * 1979-12-29 1981-08-05 Fujitsu Ltd Information processor

Also Published As

Publication number Publication date
JPS59223869A (en) 1984-12-15

Similar Documents

Publication Publication Date Title
US5309563A (en) Computer implemented method for transferring command messages between a system manager for a computer system and a network operating system associated therewith
US5384669A (en) Combining small records into a single record block for recording on a record media
US5274772A (en) Data processing systems having means for selectively combining records into signal blocks for recording in a record medium
US4463418A (en) Error correction from remote data processor by communication and reconstruction of processor status storage disk
US4885683A (en) Self-testing peripheral-controller system
US5335328A (en) Methods for recording and reading data from a record member having data in any one of a plurality of block formats including determining length of records being transferred
JPH05224832A (en) Disk device diagnostic method for array disk device
US5935260A (en) Method and apparatus for providing system level errors in a large disk array storage system
KR100433871B1 (en) Supplementary communications between host processor and mass storage controller
JPH10105502A (en) Peripheral equipment controller
JPH0317129B2 (en)
EP0237535B1 (en) Self-testing peripheral controller system for multiple disk drive modules
JP2614866B2 (en) Self-diagnosis method
JP2626381B2 (en) Air conditioner
JPS58223860A (en) Magnetic disk controller
JPH0756821A (en) Data processing system and management method of data processing system
JPH0528077A (en) SCSI device self-diagnosis method
JPS59221723A (en) Reporting system of completion of initialization for input and output controller
JPS61133433A (en) Defective sector alternate processing system in unrewritable data recording medium
JPH06131125A (en) Disk array device
JPS6240557A (en) Logout system
JPH0253157A (en) Peripheral controller
JPS61235956A (en) Event recording method
JPS6075950A (en) Restoration processing system of memory information
JPS60181941A (en) State information collecting system