JPH0277927A - Control system for semiconductor disk subsystem - Google Patents

Control system for semiconductor disk subsystem

Info

Publication number
JPH0277927A
JPH0277927A JP63228762A JP22876288A JPH0277927A JP H0277927 A JPH0277927 A JP H0277927A JP 63228762 A JP63228762 A JP 63228762A JP 22876288 A JP22876288 A JP 22876288A JP H0277927 A JPH0277927 A JP H0277927A
Authority
JP
Japan
Prior art keywords
track
semiconductor disk
control table
disk device
logical
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.)
Pending
Application number
JP63228762A
Other languages
Japanese (ja)
Inventor
Katsuhiro Kawaguchi
勝洋 川口
Kenichi Kageura
影浦 憲一
Izumi Yuzawa
湯沢 泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63228762A priority Critical patent/JPH0277927A/en
Publication of JPH0277927A publication Critical patent/JPH0277927A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To effectively use the information stored in a semiconductor disk device regardless of the presence or absence of the fault of a track control table by adding a decision table to the disk device of all logical tracks. CONSTITUTION:A decision table 22 containing plural entries corresponding to all logical tracks respectively is added to a part of a semiconductor disk device 2. Then a flag is set at each entry of the table 22 in response to the presence or absence of the access failure of the disk 2 against a track control table 21a set on each track 21. Based on this flag, the table 21a is not used hereafter when it is decided that the table 21a and a reading or reconstituting failure. Then a desired record is successively searched at and after the head of a desired track 21 and the prescribed input/output process is continued. Thus the information stored in the disk 2 can be effectively used regardless of the presence or absence of the fault of the table 21a.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、半導体ディスクサブシステムの制御技術に関
し、特に、障害発生時の回復技術に適用して効果のある
技術に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control technique for a semiconductor disk subsystem, and particularly to a technique that is effective when applied to a recovery technique when a failure occurs.

〔従来の技術〕[Conventional technology]

近年では、半導体メモリの低廉化などにより、大記憶容
量の磁気ディスク装置の記憶機能を、そのまま高速なア
クセスが可能な半導体メモリに代替させることで、磁気
ディスク装置のようなヘッドのシーク動作や磁気ディス
クの回転待ちなどの機械的な動作に起因する無駄な待ち
時間を生じることなく、データ入出力の高速化を実現す
るようにした半導体ディスク装置が電子計算機システム
の外部記憶装置として実用化されるに至っている。
In recent years, due to the decline in the cost of semiconductor memory, the storage function of large-capacity magnetic disk devices can be replaced with semiconductor memory that can be accessed at high speed. A semiconductor disk device that achieves high-speed data input/output without unnecessary waiting time caused by mechanical operations such as waiting for disk rotation is put into practical use as an external storage device for computer systems. It has reached this point.

すなわち、半導体メモリを、磁気ディスク装置などにお
けるトラックに対応する論理トラックに分割するととも
に、個々の論理トラック内における個々のレコードの格
納アドレスなどが記録されたトラック制御テーブルを設
け、このトラック制御テーブルを参照することにより、
個々の論理トラックにおける目的のレコードへの直接的
なアクセスを可能にして、上位のチャネル装置などから
の入出力要求に高速に応答するようにしたものである。
That is, the semiconductor memory is divided into logical tracks corresponding to tracks in a magnetic disk device, etc., and a track control table is provided in which storage addresses of individual records in each logical track are recorded. By referring to
This system enables direct access to the target record in each logical track and allows high-speed response to input/output requests from higher-level channel devices.

この場合、トラック制御テーブルの情報が読み出し不能
に陥ると、従来では、たとえば、株式会社日立製作所発
行、旧TACM説書 )1−6911−1/3半導体記
憶制御装置、 1(6915−1/2/3半導体記憶装
置。
In this case, if the information in the track control table becomes unreadable, conventionally, for example, the former TACM manual published by Hitachi, Ltd. /3 Semiconductor storage device.

)1−6918−1バツテリ装置(Nα8080−2−
078−30)などに記載されているように、上位のチ
ャネル装置などに、障害の状況などが記録されたセンス
バイトを報知してエラーとしていた。
)1-6918-1 battery device (Nα8080-2-
As described in 078-30), a sense byte in which failure conditions and the like were recorded was reported to an upper level channel device, indicating an error.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが、上記のような従来技術においては、読み出し
不能となったトラック制御テーブルに対応する論理トラ
ック内の個々のレコードの格納状態が健全であっても、
センスバイトを検知した上位のチャネル装置は、論理ト
ラック全体を不良と見なして入出力処理を打ち切るため
、以降の当該論理トラック内におけるレコードへのアク
セスができなくなるという問題があった。
However, in the above-mentioned conventional technology, even if the storage state of each record in the logical track corresponding to the track control table that has become unreadable is healthy,
The upper channel device that detects the sense byte regards the entire logical track as defective and terminates input/output processing, resulting in a problem that subsequent access to records within the logical track becomes impossible.

そこで、本発明の目的は、トラック制御テーブルにふけ
る障害発生の有無に影響されることなく、半導体ディス
ク装置に格納されている情報を有効に活用することが可
能な半導体ディスクサブシステムの制御技術を提供する
ことにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a control technology for a semiconductor disk subsystem that can effectively utilize information stored in a semiconductor disk device without being affected by the occurrence of a failure in the track control table. It is about providing.

本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述および添付図面から明らかになるであろう
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

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

本願において開示される発明のうち、代表的なものの概
要を簡単に説明すれば、下記のとおりである。
A brief overview of typical inventions disclosed in this application is as follows.

すなわち、本発明になる半導体ディスクサブシステムの
制御方式は、ディスク装置における個々のトラックに対
応し、当該ディスク装置の場合と等価な形式で所定の情
報が格納される論理トラックと、この論理トラックの管
理情報が格納されるトラック制御テーブルとを半導体メ
モリに構築してなる半導体ディスク装置と、トラック制
御テーブルを参照することにより、上位処理装置からの
入出力要求に応じて半導体ディスク装置内の情報に対す
るアクセスを制御する半導体ディスク制御装置とからな
る半導体ディスクサブシステムにおいて、目的の論理ト
ラックに対応するトラック制御テーブルが参照不能の場
合には、当該論理トラックの先頭部から順に情報にアク
セスするか、または当該論理トラック内において有効な
すべての情報に基づいてトラック制御テーブルを再構築
することにより、入出力動作を継続するようにしたもの
である。
That is, the control method of the semiconductor disk subsystem according to the present invention corresponds to each track in a disk device, and has a logical track in which predetermined information is stored in a format equivalent to that of the disk device, and a logical track of this logical track. A semiconductor disk device is constructed by building a track control table in a semiconductor memory in which management information is stored, and by referring to the track control table, information in the semiconductor disk device can be controlled in response to input/output requests from a higher-level processing device. In a semiconductor disk subsystem consisting of a semiconductor disk control device that controls access, if the track control table corresponding to the target logical track cannot be referenced, the information is accessed sequentially from the beginning of the logical track, or The track control table is reconstructed based on all the information valid within the logical track to continue input/output operations.

〔作用〕[Effect]

上記した手段によれば、たとえばトラック制御テーブル
からの管理情報の読み出しが不能となった場合でも、直
ちに上位処理装置にエラーを通知することなく、半導体
ディスク装置に格納されている情報に対するアクセスを
継続することで、トラック制御テーブルにおける障害発
生の有無に影響されることなく、半導体ディスク装置に
格納されている情報を有効に活用することができる。
According to the above-mentioned means, even if it becomes impossible to read management information from the track control table, access to information stored in the semiconductor disk device can be continued without immediately notifying the higher-level processing device of the error. By doing so, the information stored in the semiconductor disk device can be effectively utilized without being affected by the presence or absence of a failure in the track control table.

〔実施例〕〔Example〕

第1図は、本発明の一実施例である半導体ディスクサブ
システムの制御方式の一例を示す流れ図であり、第2図
は本実施例の半導体ディスクサブシステムを用いて構築
される電子計算機システムの一例を示すブロック図であ
る。
FIG. 1 is a flow chart showing an example of a control method for a semiconductor disk subsystem according to an embodiment of the present invention, and FIG. 2 is a flow chart showing an example of a control method for a semiconductor disk subsystem according to an embodiment of the present invention. FIG. 2 is a block diagram showing an example.

まず、第2図に示されるように、本実施例における電子
計算機システムは、図示しない中央処理装置からの指令
に基づいて当該中央処理装置の代わりに外部との入出力
を制御するチャネル装置1と、無停電電源などで駆動さ
れる半導体メモリなどからなる半導体ディスク装置2と
、この両者の間に介在し、チャネル装置lと半導体ディ
スク装置2との間におけるデータの人出力を制御する半
導体ディスク制御装置3とを備えている。
First, as shown in FIG. 2, the computer system in this embodiment includes a channel device 1 that controls input/output with the outside in place of the central processing unit based on instructions from the central processing unit (not shown). , a semiconductor disk device 2 consisting of a semiconductor memory or the like driven by an uninterruptible power supply, etc., and a semiconductor disk control interposed between the two to control the output of data between the channel device l and the semiconductor disk device 2. It is equipped with a device 3.

半導体メモリで構成される前記半導体ディスク装置2の
一部は、通常の図示しない磁気ディスク装置などにおけ
るトラックに対応する複数の論理トラック21に区分さ
れており、この論理トラック21の各々には、前記磁気
ディスク装置の場合と全く等価な形式で所定の情報が格
納されるように構成されている。
A part of the semiconductor disk device 2 constituted by a semiconductor memory is divided into a plurality of logical tracks 21 corresponding to the tracks in a normal magnetic disk device (not shown), and each of the logical tracks 21 includes the It is configured so that predetermined information is stored in a format completely equivalent to that of a magnetic disk device.

本実施例の場合、第3図に示されるように、個々の論理
トラック21には当該論理トラック制御テーブル磁気デ
ィスク装置などにおいて周知の、いわゆるCKD方式に
よって複数のレコードR8〜R1が格納されている。
In the case of this embodiment, as shown in FIG. 3, a plurality of records R8 to R1 are stored in each logical track 21 according to the so-called CKD method, which is well known in the logical track control table magnetic disk device. .

すなわち、個々の論理トラック21には、当該論理トラ
ック21が属するシリンダ番号および当該論理トラック
21が当該シリンダの何番目のヘッドに対応しているか
を示すヘッド番号やエラー訂正情報などが記録されてい
るホームアドレス部HAと、それに引き続く複数のレコ
ードRO−Roと、所定の制御情報などが記録されるギ
ャップGとが設けられている。
That is, each logical track 21 records a cylinder number to which the logical track 21 belongs, a head number indicating which head of the cylinder the logical track 21 corresponds to, error correction information, etc. A home address section HA, a plurality of subsequent records RO-Ro, and a gap G in which predetermined control information and the like are recorded are provided.

また、個々のレコードR,1は、当該レコードに関する
シリンダ番号、ヘッド番号、レコード番号・および後述
のキ一部に、データ部りの長さを示すキー長、データ長
などの管理情報が記録されたカウント部Cと、レコード
の所定のキー検索における索引情報などが記録されたキ
一部にと、通常のデータからなるデータ部りとで構成さ
れている。
In addition, each record R, 1 has management information such as the cylinder number, head number, record number, key length that indicates the length of the data section, and data length in the key part described later. It consists of a count section C, a key section in which index information for a predetermined key search for a record, etc. is recorded, and a data section consisting of normal data.

さらに、本実施例のような半導体ディスク装置2の場合
には、個々論理トラック21のホームアドレス部HAの
先頭側には、当該論理トラック2   ′1における個
々のレコードR1,の格納位置くアドレス)など記録さ
れたトラック制御テーブル21aが配置されている。
Furthermore, in the case of the semiconductor disk device 2 as in this embodiment, the head side of the home address section HA of each logical track 21 contains the storage location address of each record R1 in the logical track 2'1. A track control table 21a in which the following information is recorded is arranged.

そして、半導体ディスク制御装置3には、バッファ31
が設けられており、上位のチャネル装置1から任意のレ
コードR7に対するアクセス要求に際して、半導体ディ
スク制御装置3は、このバッファ31に前記トラック制
御テーブル21aの内容を読み込み、目的のレコードR
0のアドレスに基づいて所定の論理トラック21におけ
る当該レコードR,l に直接的にアクセスすることで
、半導体メモリ自体の高速性とあいまってより高速なア
クセスを実現するものである。
The semiconductor disk control device 3 includes a buffer 31.
is provided, and when the upper channel device 1 requests access to an arbitrary record R7, the semiconductor disk control device 3 reads the contents of the track control table 21a into this buffer 31 and accesses the target record R7.
By directly accessing the record R,l in a predetermined logical track 21 based on the address of 0, higher speed access is realized in conjunction with the high speed of the semiconductor memory itself.

この場合、半導体ディスク装置2の一部には、・第2図
に示されるように半導体ディスク装置2に設けられた全
論理トラック21の各々に対応する複数のエン) IJ
を存する判定テーブル22が設けられており、各々のエ
ントリには、個々の論理トラック21の各々に設けられ
たトラック制御テーブル21aに対する前述のような半
導体ディスク制御装置2のアクセスの失敗の有無に応じ
てセットされるフラグ22aが記録されるように構成さ
れている。
In this case, a part of the semiconductor disk device 2 includes a plurality of IJs corresponding to each of all the logical tracks 21 provided in the semiconductor disk device 2, as shown in FIG.
A determination table 22 is provided in which each entry contains a determination table 22 that determines whether or not there is a failure in the access of the semiconductor disk controller 2 to the track control table 21a provided for each of the individual logical tracks 21. The configuration is such that the flag 22a that is set is recorded.

そして、本実施例の場合には、このフラグ22aにより
、以前に、トラック制御テーブル21aにおいて後述の
ような読み取りおよび再構築の失敗があったと判断され
る場合には、以降、当該トラック制御テーブル21aを
用いず(以下、これを未使用モードと記す)に、目的の
論理トラック21の先頭から順次目的のレコードをサー
チして所定の入出力処理を継続する動作を行うものであ
る。
In the case of this embodiment, if it is determined by this flag 22a that there has been a failure in reading and rebuilding the track control table 21a as described below, from now on, the track control table 21a (hereinafter referred to as unused mode), the target record is sequentially searched from the beginning of the target logical track 21 and predetermined input/output processing is continued.

また、第5図は、所定のデータの人出力に際してチャネ
ル装置lから半導体ディスク制御装置3に発行される一
連のコマン、ドチェイン4を構成するチャネル・コマン
ド・ワード(以下、単にコマンドと記す)の組み合わせ
の一例を示すものである。
Furthermore, FIG. 5 shows a series of commands issued from the channel device 1 to the semiconductor disk control device 3 when outputting predetermined data, a channel command word (hereinafter simply referred to as a command) constituting a chain 4. This is an example of a combination.

すなわち、5EEKコマンド41は、シリンダ番号Aお
よびヘッド番号Bなどをパラメータとして持ち、当該シ
リンダ番号Aおよびヘッド番号已によって特定される目
的の論理トラック21に対する位置付けを指令するもの
である。
That is, the 5EEK command 41 has cylinder number A, head number B, etc. as parameters, and instructs positioning to the target logical track 21 specified by the cylinder number A and head number B.

また、5EARCHID  EQUALコマンド42は
、パラメータとしてシリンダ番号A、ヘッド番号Bおよ
びレコード番号Cを持ち、カウント部Cに記録されてい
るシリンダ番号、ヘッド番号およびレコード番号が一致
する目的のレコードR,,を見出す動作を指令する。
In addition, the 5EARCHID EQUAL command 42 has cylinder number A, head number B, and record number C as parameters, and selects the target record R, whose cylinder number, head number, and record number recorded in count section C match. Command the action to find out.

サラに、TICコマンド43は、コマンドチエイン4の
内部における条件分岐を行うものであり、本実施例の場
合には、直前に位置する5EARCHID  EQUA
Lコマンド42が成功するまで繰り返させるものである
Generally speaking, the TIC command 43 performs a conditional branch within the command chain 4, and in the case of this embodiment, the TIC command 43 executes a conditional branch within the command chain 4.
This is repeated until the L command 42 is successful.

また、WRITE  Dコマンド44は、レコード番号
Cによって示される目的のレコードR1,のデータ部り
に対する新規なデータの書き込みを指令するものである
Further, the WRITE D command 44 instructs writing of new data into the data portion of the target record R1 indicated by the record number C.

以下、本実施例の作用について説明する。The operation of this embodiment will be explained below.

まず、図示しない中央処理装置からチャネル装置1に対
して所定の入出力命令が与えられると、チャネル装置1
は、中央処理装置と共有する図示しない主記憶装置の一
部に格納されている前述の男5図に示される一連のコマ
ンドチエイン4の読み出しを開始し、読み出したコマン
ドを順次半導体ディスク制御装置3に発行する。
First, when a predetermined input/output command is given to the channel device 1 from a central processing unit (not shown), the channel device 1
starts reading out a series of command chains 4 shown in the above-mentioned figure 5 stored in a part of the main memory (not shown) shared with the central processing unit, and sequentially sends the read commands to the semiconductor disk controller 3. Issued on.

ここで、従来の場合には、5EEKコマンド41および
これに引き続<5EARCHID  EQUALコマン
ド42を受は取った半導体ディスク制御装置2は、シリ
ンダ番号AおよびヘッドBなどの情報に基づいて、対応
する論理トラック21のトラック制御テーブル21aに
格納されている制御情報をバッファ31に読み出すとと
もに、レコード番号Cに一致する目的のレコードRnの
論理シリンダ21におけるアドレスを特定し、後続のW
RrTE  Dコマンド44による書き込み処理に備え
る。
Here, in the conventional case, the semiconductor disk control device 2 that receives the 5EEK command 41 and the <5EARCHID EQUAL command 42 subsequently selects the corresponding logic based on information such as the cylinder number A and the head B. The control information stored in the track control table 21a of the track 21 is read into the buffer 31, and the address in the logical cylinder 21 of the target record Rn that matches the record number C is specified, and the following W
Prepare for write processing using the RrTE D command 44.

そして、半導体ディスク制御装置3が半導体ディスク装
置2にふける目的の論理トラック21のトラック制御テ
ーブル21Hの読み出しに失敗すると、所定の回数だけ
読み出し操作を繰り返し、なおも失敗した場合には、障
害が発生したことを示すセンスバイトを上位のチャネル
装置lに送出し、これを検知したチャネル装置1は当該
トラック制御テーブル21aに対応する論理トラック2
1に対する入出力処理を打ち切り、それ以降、当該論理
トラック21のレコードに対するアクセスができなかっ
た。
If the semiconductor disk control device 3 fails to read the track control table 21H of the logical track 21 that is the target of the semiconductor disk device 2, the read operation is repeated a predetermined number of times, and if the read operation still fails, a failure occurs. A sense byte indicating that the track control table 21a
The input/output processing for the logical track 21 was terminated, and the records of the logical track 21 could not be accessed thereafter.

そこで、本実施例の場合は、第1図に示されるような一
連の制御動作を行うことにより、上述のような不都合を
回避する。
Therefore, in the case of this embodiment, the above-mentioned inconvenience is avoided by performing a series of control operations as shown in FIG.

まず、トラック制御テーブル21aの読み出し動作に先
立って、判定テーブル22のフラグ22aを読み(ステ
ップ501) 、当該トラック制御テーブル21Hの読
み出しの可否、すなわち未使用モードか否かを判定する
(ステップ502)。
First, prior to the read operation of the track control table 21a, the flag 22a of the determination table 22 is read (step 501), and it is determined whether or not the track control table 21H can be read, that is, whether or not it is in an unused mode (step 502). .

ここで、当該トラック制御テーブル21aに対応するフ
ラグ22aが未使用モードの場合には、トラック制御テ
ーブル21aを使用せずに、当該論理トラック21の先
頭側から順次的に個々のレコードのカウント部Cを調べ
て目的のレコードR1を探索する操作を行い、目的のレ
コードR6に対して、WRITE  Dコマンド44に
よる所定の更新処理を実行する(ステップ515)。
Here, if the flag 22a corresponding to the track control table 21a is in the unused mode, the count section C of each record is sequentially counted from the head of the logical track 21 without using the track control table 21a. , and performs an operation to search for the target record R1, and performs a predetermined update process using the WRITE D command 44 on the target record R6 (step 515).

また、未使用モードでない場合には、目的のトラック制
御テーブル21Hの内容をバッファ31に読み出す(5
03)。
If the mode is not in use, the contents of the target track control table 21H are read into the buffer 31 (5
03).

この時、読み出し動作が正常に行われたか否かを判定し
くステップ504)、正常に読み出し動作が行われた場
合には、トラック制御テーブル21aから読み出された
当該論理トラック21内にふける個々のレコードの格納
アドレスなどを用いて、WRITE  Dコマンド44
による所定の更新処理を実行する(ステップ514)。
At this time, it is determined whether or not the read operation has been performed normally (step 504). If the read operation has been performed normally, the individual Using the record storage address etc., execute the WRITE D command 44.
A predetermined update process is executed (step 514).

一方、トラック制御テーブル21aの読み出し動作に異
常を生じた場合には、当該読み出し動作の再試行回数が
設定される図示しないIJ )ライカウンタをインクリ
メントしくステップ505)、さらに、トライカウンタ
の値が所定の設定値を越えたか否かを判定しくステップ
506)、所定の設定回数だけ、前記ステップ503〜
505の動作を繰り返す。
On the other hand, if an abnormality occurs in the readout operation of the track control table 21a, the number of retries for the readout operation is set (step 505), and a try counter (not shown) is incremented. It is determined whether or not the set value has been exceeded (step 506), and the steps 503 to 3 are repeated a predetermined set number of times.
Repeat operation 505.

そして、所定の設定回数だけ上記の読み出し動作を繰り
返しても読み出し動作が成功しなかったりトライアウト
の場合には、当該論理トラック21のすべてレコードに
対して、いわゆるサーフェイス・アナライズを行う(ス
テップ507)。
If the read operation is not successful even after repeating the above read operation a predetermined number of times, or in the case of a tryout, so-called surface analysis is performed on all records of the logical track 21 (step 507).

すなわち、このサーフェイス・アナライズは通常の磁気
ディスクなどの記憶媒体において、障害の発生時などに
、通常のアクセスとは異なり、当該トラック内における
データを個々のバイト単位に読み出して記憶媒体におけ
るデータの記録状態の確認を行う動作であり、本実施例
の半導体ディスク装置2においてもこれと等価な動作を
行う。
In other words, when a failure occurs in a storage medium such as a normal magnetic disk, surface analysis is used to record data on the storage medium by reading the data in each byte in the track, unlike normal access. This is an operation for checking the status, and the semiconductor disk device 2 of this embodiment also performs an operation equivalent to this.

そして、このサーフェイス・アナライズの結果に基づい
て、トラック制御テーブル21aの再編集を行い(ステ
ップ508)、当該論理トラック21の先頭部に編集結
果を書き込む(ステップ509)。
Then, based on the result of this surface analysis, the track control table 21a is edited again (step 508), and the editing result is written at the beginning of the logical track 21 (step 509).

この時、書き込み動作が正常に行われたか否かを判定し
くステップ510)、正常の場合には、ステップ514
に分岐して、目的のレコードに対してWRITE  D
コマンド44による所定の更新処理を実行する。
At this time, it is determined whether the write operation was performed normally (step 510), and if it is normal, step 514)
Branch to WRITE D for the desired record.
A predetermined update process using the command 44 is executed.

一方、書き込み動作に異常があると判定された場合には
、当該書き込み動作の再試行回数が設定される図示しな
いリトライカウンタをインクリメントしくステップ51
1)、さらに、トライカウンタの値が所定の設定値を越
えたか否かを判定しくステップ512)、所定の設定回
数だけ、前記ステップ509〜511の動作を繰り返す
On the other hand, if it is determined that there is an abnormality in the write operation, a retry counter (not shown) in which the number of retries of the write operation is set is incremented (step 51).
1) Further, it is determined whether the value of the try counter exceeds a predetermined set value or not (step 512), and the operations of steps 509 to 511 are repeated a predetermined set number of times.

そして、所定の設定回数だけ上記の書き込み動作を繰り
返しても書き込み動作が成功しなかったりトライアウト
の場合には、判定テーブル22において、当該論理トラ
ック21に対応するシリンダ番号mふよびヘッド(トラ
ック)番号nに対応するフラグ22aを、トラック制御
テーブル21aが使用不能であることを示す未使用モー
ドにセットする。
If the write operation is not successful even after repeating the above write operation a predetermined number of times, or in the case of a tryout, the cylinder number m and head (track) number corresponding to the logical track 21 are determined in the determination table 22. The flag 22a corresponding to n is set to an unused mode indicating that the track control table 21a is unusable.

その後、ステップ515により、トラック制御テーブル
21aを使用せずに、当該論理トラック21の先頭側か
ら順次的に個々のレコードのカウント部Cを調べて目的
のレコードR7を探索する操作を行い、目的のレコード
R11に対して、WRITE  Dコマンド44による
所定の更新処理を実行する。
Thereafter, in step 515, without using the track control table 21a, the count section C of each record is sequentially checked from the head side of the logical track 21 to search for the target record R7, and the target record R7 is searched for. A predetermined update process using the WRITE D command 44 is executed on the record R11.

このように、本実施例のような制御動作によれば、半導
体ディスク装置2における個々の論理トラック21の各
々に設けられたトラック制御テーブル21Hの読み出し
動作において障害が発生した場合でも、従来のように直
ちにセンスバイトにより上位のチャネル装置1にエラー
を通知して入出力動作を打ち切ることなく、当該論理ト
ラック21に格納されたレコードに対してアクセス動作
を継続することが可能となる。
As described above, according to the control operation of this embodiment, even if a failure occurs in the read operation of the track control table 21H provided for each of the individual logical tracks 21 in the semiconductor disk device 2, the control operation as in the conventional method can be performed. It becomes possible to continue accessing the record stored in the logical track 21 without immediately notifying the upper channel device 1 of the error using the sense byte and terminating the input/output operation.

これにより、トラック制御テーブル21Hにおける障害
の発生に有無に影響されることなく、半導体ディスク装
置2に格納されているすべてのレコードを有効に活用す
ることができる。
As a result, all records stored in the semiconductor disk device 2 can be effectively utilized without being affected by the occurrence of a failure in the track control table 21H.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本発明は前記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲で種々変更可能
であることはいうまでもない。
Although the invention made by the present inventor has been specifically explained above based on Examples, it goes without saying that the present invention is not limited to the Examples and can be modified in various ways without departing from the gist thereof. Nor.

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

本願において開示される発明のうち、代表的なものによ
って得られる効果を簡単に説明すれば、以下のとおりで
ある。
Among the inventions disclosed in this application, the effects obtained by typical inventions are briefly described below.

すなわち、ディスク装置にふける個々のトラックに対応
し、前記ディスク装置の場合と等価な形式で所定の情報
が格納される論理トラックと、この論理トラックの管理
情報が格納されるトラック制御テーブルとを半導体メモ
リに構築してなる半導体ディスク装置と、前記トラック
制御テーブルを参照することにより、上位処理装置から
の入出力要求に応じて前記半導体ディスク装置内の前記
情報に対するアクセスを制御する半導体ディスク制御装
置とからなる半導体ディスクサブシステムに右いて、目
的の前記論理トラックに対応する前記トラック制御テー
ブルが参照不能の場合には、当該論理トラックの先頭部
から順に前記情報にアクセスするか、または当該論理ト
ラック内において有効なすべての前記情報に基づいて前
記トラッり制御テーブルを再構築することにより、入出
力動作を継続するようにしたので、たとえばトラック制
御テーブルからの管理情報の読み出しが不能となった場
合でも、直ちに上位処理装置にエラーを通知することな
く、目的の情報に対するアクセスを継続することで、ト
ラック制御テーブルにおける障害発生の有無に影響され
ることなく、半導体ディスク装置に格納されている情報
を有効に活用することができる。
That is, a logical track that corresponds to each track of a disk device and stores predetermined information in a format equivalent to that of the disk device, and a track control table that stores management information of this logical track are provided on a semiconductor device. a semiconductor disk device configured in a memory; and a semiconductor disk control device that controls access to the information in the semiconductor disk device in response to an input/output request from a higher-level processing device by referring to the track control table. If the track control table corresponding to the target logical track cannot be referenced in a semiconductor disk subsystem consisting of By reconstructing the track control table based on all the valid information in the track control table, input/output operations can be continued, so even if it becomes impossible to read management information from the track control table, for example. By continuing to access the target information without immediately notifying the higher-level processing unit of the error, the information stored in the semiconductor disk device is made valid regardless of whether or not a failure occurs in the track control table. It can be used for

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

第1図は本発明の一実施例である半導体ディスクサブシ
ステムの制御方式の一例を示す流れ図、第2図は本実施
例の半導体ディスクサブシステムを用いて構築される電
子計算機システムの一例を示すブロック図、 第3図は半導体ディスク装置における個々の論理トラッ
クでの情報の記録形式を示す概念図、第4図は判定テー
ブルの構成の一例を示す概念図、 ・第5図はコマンドチエインの構成の一例を示す説明図
である。 1・・・チャネル装置(上位処理装置)、2・・・半導
体ディスク装置、21・・・論理トラック゛、21a・
・・トラック制御テーブル、22・・・判定テーブル、
22a・・・フラグ、3・・・半導体ディスク制御装置
、31・・・バッファ、4・・・コマンドチエイン、5
01〜515・・・制御動作の一例を示すステップ。
FIG. 1 is a flowchart showing an example of a control method for a semiconductor disk subsystem according to an embodiment of the present invention, and FIG. 2 shows an example of a computer system constructed using the semiconductor disk subsystem according to this embodiment. Block diagram; Figure 3 is a conceptual diagram showing the recording format of information on each logical track in a semiconductor disk device; Figure 4 is a conceptual diagram showing an example of the configuration of a determination table; Figure 5 is the configuration of a command chain. It is an explanatory view showing an example. DESCRIPTION OF SYMBOLS 1... Channel device (upper processing device), 2... Semiconductor disk device, 21... Logical track, 21a.
... Track control table, 22... Judgment table,
22a...Flag, 3...Semiconductor disk control device, 31...Buffer, 4...Command chain, 5
01-515...Steps showing an example of control operation.

Claims (1)

【特許請求の範囲】 1、ディスク装置における個々のトラックに対応し、前
記ディスク装置の場合と等価な形式で所定の情報が格納
される論理トラックと、この論理トラックの管理情報が
格納されるトラック制御テーブルとを半導体メモリに構
築してなる半導体ディスク装置と、前記トラック制御テ
ーブルを参照することにより、上位処理装置からの入出
力要求に応じて前記半導体ディスク装置内の前記情報に
対するアクセスを制御する半導体ディスク制御装置とか
らなる半導体ディスクサブシステムにおいて、目的の前
記論理トラックに対応する前記トラック制御テーブルが
参照不能の場合には、当該論理トラックの先頭部から順
に前記情報にアクセスするか、または当該論理トラック
内において有効なすべての前記情報に基づいて前記トラ
ック制御テーブルを再構築することにより、入出力動作
を継続するようにしたことを特徴とする半導体ディスク
サブシステムの制御方式。 2、個々の前記トラック制御テーブルの前記再構築にお
ける成功または失敗を記録する判定テーブルを設け、当
該判定テーブルにおいて、以前の前記再構築が失敗であ
った判断される場合には、前記トラック制御テーブルを
使用することなく、当該論理トラックの先頭部から順に
前記情報にアクセスするようにした請求項1記載の半導
体ディスクサブシステムの制御方式。
[Claims] 1. A logical track that corresponds to each track in a disk device and stores predetermined information in a format equivalent to that of the disk device, and a track that stores management information for this logical track. a semiconductor disk device configured with a control table constructed in a semiconductor memory; and a semiconductor disk device that controls access to the information in the semiconductor disk device in response to an input/output request from a higher-level processing device by referring to the track control table. In a semiconductor disk subsystem consisting of a semiconductor disk control device, if the track control table corresponding to the target logical track cannot be referenced, the information is accessed sequentially from the beginning of the logical track, or A control method for a semiconductor disk subsystem, characterized in that input/output operations are continued by reconstructing the track control table based on all the information valid within a logical track. 2. A determination table is provided to record success or failure in the reconstruction of each of the track control tables, and if the determination table determines that the previous reconstruction was a failure, the track control table 2. A control method for a semiconductor disk subsystem according to claim 1, wherein the information is accessed sequentially from the beginning of the logical track without using the logical track.
JP63228762A 1988-09-14 1988-09-14 Control system for semiconductor disk subsystem Pending JPH0277927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63228762A JPH0277927A (en) 1988-09-14 1988-09-14 Control system for semiconductor disk subsystem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63228762A JPH0277927A (en) 1988-09-14 1988-09-14 Control system for semiconductor disk subsystem

Publications (1)

Publication Number Publication Date
JPH0277927A true JPH0277927A (en) 1990-03-19

Family

ID=16881433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63228762A Pending JPH0277927A (en) 1988-09-14 1988-09-14 Control system for semiconductor disk subsystem

Country Status (1)

Country Link
JP (1) JPH0277927A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5859960A (en) * 1994-05-18 1999-01-12 Fujitsu Limited Semiconductor disk apparatus having a semiconductor memory for a recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5859960A (en) * 1994-05-18 1999-01-12 Fujitsu Limited Semiconductor disk apparatus having a semiconductor memory for a recording medium

Similar Documents

Publication Publication Date Title
US6966011B2 (en) Data reconstruction method and system wherein timing of data of data reconstruction is controlled in accordance with conditions when a failure occurs
EP0357464B1 (en) Information recording and reproducing apparatus using optical discs
JPH0563861B2 (en)
JPH06195258A (en) Semiconductor memory
JPS5860410A (en) Magnetic disk control system
JPH0877074A (en) Storage device system using flash memory
JPH0241776B2 (en)
JPH0277927A (en) Control system for semiconductor disk subsystem
JPH0452725A (en) Fault recovering/processing method for storage device
JPH10240453A (en) Disk array device
EP0316867A2 (en) Semiconductor file apparatus
JPH05210915A (en) Disk device
JPS63113984A (en) Optical disk control system
JPS6013360A (en) Storage device
JPH0628779A (en) Method for recording and controlling data in disk device
JPH0528651A (en) Information recorder and reproducer
JPS59221810A (en) Alternate sector device in magnetic storage device
JPH11242802A (en) System and method for managing deteriorating area of magnetic tape and record medium stored with magnetic tape device control program
JPH02113467A (en) Disk control system
JPS6358668A (en) Access controller for magnetic recording/reproducing device
JPH1124850A (en) Data recovery method for disk array
JPH10320134A (en) Optical disk library device
JPH04264910A (en) Data updating method for computer external storage device
JPH04341977A (en) Data reproducing control system
JPH04205132A (en) Control method for magnetic tape device