JPH0581800A - Magnetic disk device - Google Patents

Magnetic disk device

Info

Publication number
JPH0581800A
JPH0581800A JP17840891A JP17840891A JPH0581800A JP H0581800 A JPH0581800 A JP H0581800A JP 17840891 A JP17840891 A JP 17840891A JP 17840891 A JP17840891 A JP 17840891A JP H0581800 A JPH0581800 A JP H0581800A
Authority
JP
Japan
Prior art keywords
time
cylinder
shipping
seek
access
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.)
Withdrawn
Application number
JP17840891A
Other languages
Japanese (ja)
Inventor
Masayuki Urabe
正幸 浦辺
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.)
Tokico Ltd
Original Assignee
Tokico 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 Tokico Ltd filed Critical Tokico Ltd
Priority to JP17840891A priority Critical patent/JPH0581800A/en
Publication of JPH0581800A publication Critical patent/JPH0581800A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Moving Of Head For Track Selection And Changing (AREA)

Abstract

PURPOSE:To shorten a seeking time and to improve the throughput of a system by providing a setting means for optionally setting and changing the address of a specified time and a specified cylinder. CONSTITUTION:When a power is inputted, the controller of the device is started. First, at a step SP1, the checking of a RAM/ROM is operated. At a step SP2, a spindle motor is started. At a step SP3, the reading of a system area is operated and the operation mode of an SCS1 is set. Then at a step SP4, issued access standby time, a shipping and a seek cylinder address are set. In this case, since the access standby time and the shipping/seek cylinder are freely set, the throughput is improved concidering individual environments.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、磁気ディスク装置に
係り、特に、最終アクセス後一定時間待機状態が続いた
ディスクに対し、新たなコマンドにおいて発生するイニ
シャルシーク時間の短縮を実現する磁気ディスク装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic disk device, and more particularly to a magnetic disk device which realizes a reduction in initial seek time generated by a new command for a disk which has been in a standby state for a certain time after the last access. Regarding

【0002】[0002]

【従来の技術】従来の磁気ディスク装置においては、最
終アクセス後一定時間が経過するまで、磁気ヘッドはデ
ータエリア内に留まって次のアクセス指示を待つように
なっていた。そして、次のアクセス指示がないまま一定
時間が経過した時、ディスク(データ)を保護するため
に、磁気ヘッドは、シッピング・ランディング・ゾーン
と呼ぶデータエリア外のシリンダ(シッピング・シーク
シリンダ)へ自動待避(シッピング・シーク)するよう
になっていた。
2. Description of the Related Art In a conventional magnetic disk device, a magnetic head stays in a data area and waits for a next access instruction until a fixed time has elapsed after the last access. Then, when a certain period of time has passed without the next access instruction, the magnetic head automatically protects the disk (data) to a cylinder outside the data area called a shipping landing zone (a shipping seek cylinder). I was supposed to evacuate (shipping seek).

【0003】[0003]

【発明が解決しようとする課題】ところで、上記従来の
磁気ディスク装置にあっては、一定時間ごとにシッピン
グシーク(通常ディスクの最内周)を行うため、最初の
コマンドが発行されると常に最外周の管理シリンダをリ
ードするので必ずフルシークが発生するという問題があ
った。
By the way, in the above-mentioned conventional magnetic disk device, since the shipping seek (the innermost circumference of the normal disk) is performed at regular intervals, it is always the maximum when the first command is issued. Since the control cylinder on the outer periphery is read, there is a problem that a full seek always occurs.

【0004】また、シッピング・シークシリンダ(通
常、最内周のシリンダ)は、装置ごとに固定され、変更
が不可能となっていたので、例えば、外周の管理シリン
ダへの移動を指示するコマンドが次に到来したとき、シ
ーク時間が長くなるという欠点があった。
Further, since the shipping seek cylinder (usually the innermost cylinder) is fixed for each device and cannot be changed, for example, a command instructing movement to the outer management cylinder is issued. The next time it arrived, it had the drawback of increasing the seek time.

【0005】この発明は、上記事情に鑑みてなされたも
ので、個別的事情を考慮して、シーク時間の短縮を図る
ことができ、これにより、システムのスループットの向
上に寄与し得る磁気ディスク装置を提供することを目的
としている。
The present invention has been made in view of the above circumstances, and it is possible to shorten the seek time in consideration of individual circumstances, and thus to contribute to the improvement of system throughput. Is intended to provide.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に、請求項1記載の発明は、磁気ヘッドが停止してから
の経過時間を計測する計時手段と、上記計時手段による
所定の時間経過後データエリア外の所定のシリンダに磁
気ヘッドを待避させる待避手段と、上記所定の時間及び
上記所定のシリンダのアドレスを任意に設定変更する設
定手段とを備えてなることを特徴としている。
In order to solve the above-mentioned problems, the invention according to claim 1 is to measure the elapsed time after the magnetic head is stopped, and to elapse a predetermined time by the time-measuring means. It is characterized in that it comprises a retracting means for retracting the magnetic head to a predetermined cylinder outside the rear data area, and a setting means for arbitrarily setting and changing the predetermined time and the address of the predetermined cylinder.

【0007】請求項2記載の発明は、上記設定手段はホ
スト・コンピュータからのコマンドを受けて設定変更動
作をするものであることを特徴としている。
The invention according to claim 2 is characterized in that the setting means receives a command from the host computer and performs a setting changing operation.

【0008】また、請求項3記載の発明は、磁気ヘッド
が停止してから次のアクセスまでデータエリア内に磁気
ヘッドを待機させる待機手段を付加してなることを特徴
としている。
Further, the invention according to claim 3 is characterized in that a waiting means for waiting the magnetic head in the data area until the next access is added after the magnetic head is stopped.

【0009】[0009]

【作用】上記発明の構成によれば、アクセス待機時間及
びシッピング・シークシリンダを自由に設定変更できる
ため、個別的事情を考慮してスループットの向上を達成
することができる。
According to the structure of the above invention, since the access waiting time and the shipping / seek cylinder can be freely changed, the throughput can be improved in consideration of individual circumstances.

【0010】例えば、ファイル情報(FATエリアな
ど)をアクセスする頻度が高いユーザに対しては、ファ
イル情報のあるシリンダをシッピング・シークシリンダ
として登録することにより、イニシャルシークを短縮ま
たは”0”にすることが可能となる。
For example, for a user who frequently accesses file information (FAT area, etc.), the initial seek is shortened or set to "0" by registering the cylinder having the file information as a shipping seek cylinder. It becomes possible.

【0011】また、データの安全性の高い磁気ディスク
装置にあっては、アクセス待機時間の登録値を”0”に
することにより、シッピング・シーク動作を禁止するこ
とができる。これによりスループットの向上を達成する
ことができる。
Further, in the magnetic disk device having high data safety, the shipping / seeking operation can be prohibited by setting the registered value of the access waiting time to "0". This makes it possible to achieve an improvement in throughput.

【0012】[0012]

【実施例】以下、図面を参照してこの発明の実施例につ
いて説明する。この例の磁気ディスク装置が、従来のそ
れと大きく異なるところは、アクセス待機時間Y及びシ
ッピング・シークシリンダ・アドレスを任意に設定/変
更することができる機能、及び最終アクセスからの経過
時間Xを計時するカウンタを備えている点である。
Embodiments of the present invention will be described below with reference to the drawings. The magnetic disk device of this example is greatly different from the conventional one in that the access wait time Y and the function of arbitrarily setting / changing the shipping seek cylinder address and the elapsed time X from the last access are counted. It is equipped with a counter.

【0013】図1は、この発明の一実施例であるSCS
Iサポートの磁気ディスク装置に用いられるアクセス待
機時間及びシッピング・シークシリンダ・アドレスの登
録用コマンド・フォーマットの一例を示す概念図であ
る。
FIG. 1 shows an SCS which is an embodiment of the present invention.
FIG. 9 is a conceptual diagram showing an example of a command format for registering an access wait time and a shipping seek cylinder address used in an I-support magnetic disk device.

【0014】同図に示すように、上記登録用コマンド・
フォーマットは、コマンド記述ブロック形式を用いて作
成され、6バイト構成(1バイトは予備)になってい
る。同図において、「CLASS」(クラス・コード)
の欄にはコマンドの分類のクラスが記述される。「CO
DE」(オペコード)の欄には、各コマンド毎の固有の
識別コードが記述される。この例においては、上記「C
LASS/CODE」は、ベンダ・コマンド(ユーザが
自由に登録することができるコマンド)としている。
As shown in the figure, the registration command
The format is created using the command description block format and has a 6-byte configuration (1 byte is a spare). In the figure, "CLASS" (class code)
In the column of, the class of command classification is described. "CO
In the “DE” (op code) column, a unique identification code for each command is described. In this example, the above "C
“LASS / CODE” is a vendor command (a command that a user can freely register).

【0015】バイト1の「LUN」(論理ユニット番
号)は、ドライブのユニット番号を指定する欄である。
バイト2の欄には、「シッピング・シークシリンダ・ア
ドレス」の上位が指定され、バイト3の欄には、「シッ
ピング・シークシリンダ・アドレス」の下位が指定され
る。バイト4の「アクセス待機時間」の欄には、最終ア
クセスから起算されるアクセス待機時間Yが秒単位で記
述される。なお、この例においては、「アクセス待機時
間」の欄に0秒を登録した場合は、直ちに、シッピング
・シークを開始するのではなく、シッピング・シークを
禁止するようになっている。かかる記述内容からなる上
記登録用コマンドは、装置のシステムエリアへ登録され
る。
"LUN" (logical unit number) of byte 1 is a field for designating the unit number of the drive.
The upper part of the "shipping seek cylinder address" is designated in the column of byte 2, and the lower part of the "shipping seek cylinder address" is designated in the column of byte 3. In the "access wait time" column of byte 4, the access wait time Y calculated from the last access is described in seconds. In this example, when 0 seconds is registered in the “access waiting time” column, the shipping seek is prohibited immediately instead of starting the shipping seek. The registration command having such description contents is registered in the system area of the device.

【0016】一方、最終アクセスからの経過時間Xを計
時する上記カウンタは、コマンド終了毎に”0”にクリ
アされると同時に、再びカウントを開始するように構成
されている。
On the other hand, the counter for measuring the elapsed time X from the last access is configured to be cleared to "0" at the end of each command and at the same time to start counting again.

【0017】次に、この例の動作について説明する。ま
ず、図2を参照して、この例の装置の起動処理について
説明する。電源が投入されると、装置のコントローラ
は、これより起動処理を開始する。まず、ステップSP
1において、RAM/ROMチェックを実行する。ステ
ップSP2において、スピンドルモータの起動を行う。
ステップSP3において、システムエリアのリードを行
い、SCSIの動作モードを設定する。次に、ステップ
SP4に進み、発行されたアクセス待機時間及びシッピ
ング・シークシリンダ・アドレスを設定する。
Next, the operation of this example will be described. First, with reference to FIG. 2, a boot process of the apparatus of this example will be described. When the power is turned on, the controller of the device starts the activation process. First, step SP
At 1, the RAM / ROM check is executed. In step SP2, the spindle motor is started.
In step SP3, the system area is read and the SCSI operation mode is set. Next, in step SP4, the issued access wait time and shipping seek cylinder address are set.

【0018】次に、図3を参照して、アクセス待機時の
処理について説明する。最終アクセスが完了すると、装
置のコントローラは、これよりアクセス待機時の処理を
開始する。一方、上述のカウンタは、コマンド終了時点
で”0”にクリアされ、再び最終アクセスからの経過時
間Xを計時する。
Next, with reference to FIG. 3, the processing at the time of waiting for access will be described. When the final access is completed, the controller of the apparatus starts the process of waiting for access. On the other hand, the above-mentioned counter is cleared to "0" at the end of the command, and measures the elapsed time X from the last access again.

【0019】まず、ステップST1において、設定され
たアクセス待機時間Yが0秒であるか否かを判断する。
アクセス待機時間Yが0秒であると判断されれば、シッ
ピング・シークを実行しない。この場合には、次のアク
セス指示が到来するまで、磁気ヘッドはいつまでもデー
タエリア内に留まり続ける。一方、アクセス待機時間Y
が0秒ではないと判断されれば、ステップST2の処理
に移る。
First, in step ST1, it is determined whether or not the set access waiting time Y is 0 second.
If it is determined that the access waiting time Y is 0 second, the shipping seek is not executed. In this case, the magnetic head stays in the data area forever until the next access instruction arrives. On the other hand, access waiting time Y
If it is determined that is not 0 second, the process proceeds to step ST2.

【0020】ステップST2においては、最終アクセス
からの経過時間Xがアクセス待機時間Yを越えたか否か
が判断される。判断の結果、「NO」が得られた時(X
<Y)、すなわち、経過時間Xがアクセス待機時間Yを
越えていない時は、ステップST1の処理に戻る。
In step ST2, it is determined whether the elapsed time X from the last access exceeds the access waiting time Y. When "NO" is obtained as a result of the judgment (X
<Y), that is, when the elapsed time X does not exceed the access waiting time Y, the process returns to step ST1.

【0021】このようにして、経過時間Xがアクセス待
機時間Yを越えない限り、ステップST1〜ステップS
T2の処理を繰り返す。したがって、この間は、磁気ヘ
ッドはデータエリア内で待機状態となる。待機中に、ホ
スト・コンピュータからのアクセスが発生した場合は、
割り込み処理を実行する。
In this way, as long as the elapsed time X does not exceed the access waiting time Y, steps ST1 to S
The process of T2 is repeated. Therefore, during this period, the magnetic head is in a standby state in the data area. If access from the host computer occurs while waiting,
Execute interrupt processing.

【0022】一方、ステップST2における判断の結果
が「YES」の時、すなわち、経過時間Xがアクセス待
機時間Yを越えた時(X≧Y)は、磁気ヘッドをシッピ
ング・シークシリンダへ待避させる。
On the other hand, when the result of the determination in step ST2 is "YES", that is, when the elapsed time X exceeds the access standby time Y (X≥Y), the magnetic head is retracted to the shipping seek cylinder.

【0023】上記構成によれば、アクセス待機時間及び
シッピング・シークシリンダを自由に設定変更できるた
め、個別的事情を考慮してスループットの向上を達成す
ることができる。
According to the above configuration, since the access waiting time and the shipping / seek cylinder can be freely changed, the throughput can be improved in consideration of individual circumstances.

【0024】例えば、ファイル情報(FATエリアな
ど)をアクセスする頻度が高いユーザに対しては、ファ
イル情報のあるシリンダをシッピング・シークシリンダ
として登録することにより、イニシャルシークを短縮ま
たは”0”にすることが可能となる。
For example, for users who frequently access file information (FAT area, etc.), the initial seek is shortened or set to "0" by registering the cylinder having the file information as a shipping seek cylinder. It becomes possible.

【0025】また、データの安全性の高い磁気ディスク
装置にあっては、アクセス待機時間の登録値を”0”に
することにより、シッピング・シーク動作を禁止するこ
とができる。これによりスループットの向上を達成する
ことができる。
Further, in the magnetic disk device having high data safety, the shipping / seeking operation can be prohibited by setting the registered value of the access waiting time to "0". This makes it possible to achieve an improvement in throughput.

【0026】なお、上述の実施例においては、SCSI
サポートの磁気ディスク装置を用いた場合について述べ
たが、これに限らず、SASIサポートの磁気ディスク
装置を用いるようにしても上述したと同様の効果を得る
ことができる。
In the above embodiment, SCSI is used.
Although the case of using the magnetic disk device of the support has been described, the present invention is not limited to this, and the same effect as described above can be obtained by using the magnetic disk device of the SASI support.

【0027】[0027]

【発明の効果】以上説明したように、この発明の磁気デ
ィスク装置は、磁気ヘッドが停止してからの経過時間を
計測する計時手段と、上記計時手段による所定の時間経
過後データエリア外の所定のシリンダに磁気ヘッドを待
避させる待避手段と、上記所定の時間及び上記所定のシ
リンダのアドレスを任意に設定変更する設定手段とを備
えてなるものであるので、個別的事情を考慮して、シー
ク時間の短縮を図ることができる。これにより、システ
ムのスループットの向上に寄与することができる。
As described above, in the magnetic disk device of the present invention, the time measuring means for measuring the elapsed time from the stop of the magnetic head and the predetermined time outside the data area after the predetermined time has passed by the time measuring means. Since the cylinder is equipped with a retracting means for retracting the magnetic head and a setting means for arbitrarily setting and changing the predetermined time and the address of the predetermined cylinder, the seek is performed in consideration of individual circumstances. The time can be shortened. This can contribute to improving the throughput of the system.

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

【図1】この発明の一実施例である磁気ディスク装置に
用いられるアクセス待機時間及びシッピング・シークシ
リンダ・アドレスの登録用コマンド・フォーマットの一
例を示す概念図である。
FIG. 1 is a conceptual diagram showing an example of a command format for registering an access wait time and a shipping seek cylinder address used in a magnetic disk device according to an embodiment of the present invention.

【図2】同磁気ディスク装置の起動処理手順を示すフロ
ーチャートである。
FIG. 2 is a flowchart showing a startup processing procedure of the magnetic disk device.

【図3】同磁気ディスク装置のアクセス待機時の処理手
順を示すフローチャートである。
FIG. 3 is a flowchart showing a processing procedure when the magnetic disk device is waiting for access.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 磁気ヘッドが停止してからの経過時間を
計測する計時手段と、前記計時手段による所定の時間経
過後データエリア外の所定のシリンダに磁気ヘッドを待
避させる待避手段と、前記所定の時間及び前記所定のシ
リンダのアドレスを任意に設定変更する設定手段とを備
えてなることを特徴とする磁気ディスク装置。
1. A time measuring means for measuring an elapsed time after the magnetic head is stopped, a saving means for saving the magnetic head in a predetermined cylinder outside a data area after a predetermined time by the time measuring means, and the predetermined time. And a setting means for arbitrarily setting and changing the time and the address of the predetermined cylinder.
【請求項2】 前記設定手段はホスト・コンピュータか
らのコマンドを受けて設定変更動作をするものであるこ
とを特徴とする請求項1記載の磁気ディスク装置。
2. The magnetic disk drive according to claim 1, wherein said setting means receives a command from a host computer and performs a setting change operation.
【請求項3】 磁気ヘッドが停止してから次のアクセス
までデータエリア内に磁気ヘッドを待機させる待機手段
を付加してなることを特徴とする請求項1または2記載
の磁気ディスク装置。
3. The magnetic disk drive according to claim 1, further comprising a standby unit for holding the magnetic head in the data area until the next access after the magnetic head is stopped.
JP17840891A 1991-07-18 1991-07-18 Magnetic disk device Withdrawn JPH0581800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17840891A JPH0581800A (en) 1991-07-18 1991-07-18 Magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17840891A JPH0581800A (en) 1991-07-18 1991-07-18 Magnetic disk device

Publications (1)

Publication Number Publication Date
JPH0581800A true JPH0581800A (en) 1993-04-02

Family

ID=16047970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17840891A Withdrawn JPH0581800A (en) 1991-07-18 1991-07-18 Magnetic disk device

Country Status (1)

Country Link
JP (1) JPH0581800A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR980004827A (en) * 1996-06-29 1998-03-30 김광호 Servo control method for improving durability of hard disk drive
KR20010002010A (en) * 1999-06-10 2001-01-05 윤종용 Method for protecting a recording medium and a data pick up
KR100505573B1 (en) * 1997-12-30 2005-09-26 삼성전자주식회사 How to Drive a Hard Disk Drive

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR980004827A (en) * 1996-06-29 1998-03-30 김광호 Servo control method for improving durability of hard disk drive
KR100505573B1 (en) * 1997-12-30 2005-09-26 삼성전자주식회사 How to Drive a Hard Disk Drive
KR20010002010A (en) * 1999-06-10 2001-01-05 윤종용 Method for protecting a recording medium and a data pick up

Similar Documents

Publication Publication Date Title
US5022077A (en) Apparatus and method for preventing unauthorized access to BIOS in a personal computer system
US5526523A (en) Interface between operating system and operating system extension
JPH0581800A (en) Magnetic disk device
JP3283928B2 (en) Disk controller
JP2675650B2 (en) Information processing device
JPH034315A (en) Disk formatting system
JPH05265947A (en) Scsi controller
JPH05113932A (en) Personal computer
JP2001265750A (en) Memory controller
JP3066623B2 (en) Disk cache control method
JPH0283724A (en) Information processor
JPH0542071B2 (en)
JP2689559B2 (en) Magnetic disk controller
JPH02214075A (en) Disk controller
JP2811678B2 (en) Data processing device with cache memory
JPS62154159A (en) Burst multiplexer channel
JPH05258467A (en) System for controlling optical magnetic disk
JP3153429B2 (en) Control method for magnetic disk drive
JPH0587856B2 (en)
JPH07146824A (en) Information processor
JPH07175599A (en) Information processor
JPH03164924A (en) Magnetic disk access system
JPS6161264A (en) Data reading control system in magnetic disk device
JPH05274256A (en) Peripheral equipment controller
JPH02201625A (en) Automatic hard disk deciding mechanism

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981008