JP2001135018A - Data write-in security control system and magnetic disk device using the system - Google Patents

Data write-in security control system and magnetic disk device using the system

Info

Publication number
JP2001135018A
JP2001135018A JP31776599A JP31776599A JP2001135018A JP 2001135018 A JP2001135018 A JP 2001135018A JP 31776599 A JP31776599 A JP 31776599A JP 31776599 A JP31776599 A JP 31776599A JP 2001135018 A JP2001135018 A JP 2001135018A
Authority
JP
Japan
Prior art keywords
data
write
vibration
magnetic disk
buffer ram
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
JP31776599A
Other languages
Japanese (ja)
Inventor
Seiji Ono
誠司 大野
Takeshi Arai
毅 荒井
Yoshikatsu Fujii
義勝 藤井
Yoshihiko Yano
良彦 矢野
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 JP31776599A priority Critical patent/JP2001135018A/en
Publication of JP2001135018A publication Critical patent/JP2001135018A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To secure the write-in of the write data held in a buffer RAM before resetting in case that a magnetic disk device detecting vibration is reset by a host system or a user while the device waits the restoration of the vibration. SOLUTION: When the vibration is detected, the unwritten data existing in the buffer RAM are written temporarily in a write-in area for vibration detecting time provided on a magnetic disk, and when the vibration is restored, the data are transcribed to the position to be written is primarily, and the write-in of the data are guaranteed. The write-in area for vibration detecting time has the capacity capable of writing the whole data in the buffer RAM, and even when out-of-track occurs due to the vibration during the write-in of the write-in area for vibration detecting time, for preventing the data written in a peripheral track from being superscribed and erased, an interval between adjacent write data write-in tracks is sufficiently enlarged.

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 drive mounted on a device which requires recording and reproduction of information.

【0002】[0002]

【従来の技術】近年、磁気ディスク装置及びそれを搭載
した機器の小型軽量化が進み、ポータブルタイプのパー
ソナルコンピュータやカーナビゲーション装置等移動体
中での使用が前提となっている装置にも磁気ディスク装
置が搭載されている。この移動体中での使用に代表され
る様に、磁気ディスク装置に加えられる振動が装置の持
つディスクアクセス可能な振動強度の限界値を超える状
態が、長時間にわたって持続される使用環境も頻発する
様になってきた。
2. Description of the Related Art In recent years, magnetic disk drives and devices equipped with the magnetic disk drives have been reduced in size and weight, and magnetic disk drives have been used in devices which are assumed to be used in moving objects such as portable personal computers and car navigation devices. The device is mounted. As typified by the use in a moving object, a use environment in which the vibration applied to the magnetic disk device exceeds the limit value of the disk-accessible vibration intensity of the device for a long time frequently occurs. It has become like.

【0003】一方で磁気ディスク装置では、その情報処
理速度を向上する為にバッファRAMを利用したキャッ
シュによるデータの処理制御が行われている。一般にデ
ータ書込みの際には、上位システムからの書込みデータ
を一旦バッファRAMに保存しつつ、それと同時に磁気
ディスク上の書込むべき位置へライトヘッドを移動さ
せ、書込み位置にライトヘッドが到達した時点で書込み
可能な状態であればすぐに書込みを始めている。このよ
うなキャッシュ制御方式のもとでは磁気ディスク上への
データ書込みが終了する前に上位システムからバッファ
RAMへのデータ転送が終了するケースもあり、その際
上位システムにはバッファRAMへのデータ転送が終了
した時点で書込み終了を報告して、続けて次のコマンド
の処理を始める手法が広く用いられている。
On the other hand, in a magnetic disk device, data processing is controlled by a cache using a buffer RAM in order to improve the information processing speed. Generally, when writing data, the write head from the host system is temporarily stored in the buffer RAM, and at the same time, the write head is moved to the position to be written on the magnetic disk. If writing is possible, writing is started immediately. Under such a cache control method, there is a case where the data transfer from the host system to the buffer RAM is completed before the data writing to the magnetic disk is completed. In this case, the data transfer to the buffer RAM is performed by the host system. A method is widely used in which a write completion is reported at the time of completion of the command, and the processing of the next command is continuously started.

【0004】上述の様なキャッシュ制御を有する磁気デ
ィスク装置に外部から過度の振動が加えられた場合、つ
まりライトヘッドが目的の書込み位置に正確に位置付け
られない程の振動が加えられた場合、その磁気ディスク
装置では、バッファRAM内に書込みデータを保持した
まま書込み可能を待つ状態、つまり振動収束待ちが持続
される。
If an excessive vibration is applied from the outside to the magnetic disk device having the above-described cache control, that is, if the write head is vibrated so that the write head cannot be accurately positioned at the target write position, the vibration is In the magnetic disk device, a state of waiting for writable while holding write data in the buffer RAM, that is, waiting for vibration convergence is maintained.

【0005】この様なケースに対し従来の技術では、振
動検出時には磁気ディスクにアクセスしないことで磁気
ディスク上のデータを保障し、振動収束後にアクセスを
再開する方式を取っている。
[0005] In such a case, in the conventional technique, the data on the magnetic disk is guaranteed by not accessing the magnetic disk at the time of detecting the vibration, and the access is resumed after the vibration is converged.

【0006】[0006]

【発明が解決しようとする課題】先に述べた様に振動に
対して磁気ディスク上のデータを保障する為には、振動
収束確認時まで磁気ディスクにアクセスしないことで実
現可能である。しかし、上位システムによっては長時間
に渡って、磁気ディスク装置がコマンド処理中の状態を
持続した場合に磁気ディスク装置がコントロール不能で
あると判断して装置のリセットを実行するケースが存在
する。あるいはユーザに対してタイムアウト発生を報告
し、ユーザがシステムのリセットを実行するケースも有
る。この時には、磁気ディスク装置のバッファRAM内
に保持されていたライトデータも消去されてしまい、上
述の様にキャッシュ制御を採用している磁気ディスク装
置では、上位システムに対して書込み終了を報告したデ
ータが、実際には磁気ディスク上に書込まれないという
現象が発生する。
As described above, in order to guarantee the data on the magnetic disk against the vibration, it can be realized by not accessing the magnetic disk until the convergence of the vibration is confirmed. However, depending on the host system, there is a case where the magnetic disk device determines that the magnetic disk device is uncontrollable and resets the device when the magnetic disk device continues to process the command for a long time. Alternatively, there is a case where a timeout is reported to the user, and the user resets the system. At this time, the write data held in the buffer RAM of the magnetic disk device is also erased. In the magnetic disk device adopting the cache control as described above, the data reporting the end of writing to the host system is deleted. However, a phenomenon occurs that the data is not actually written on the magnetic disk.

【0007】従来の振動に対するデータ保障方式では、
磁気ディスクにまだ書込まれていないバッファRAM内
のライトデータの磁気ディスク上への書込みを保障する
ことは出来ず、上位システムの認識と実際に磁気ディス
ク装置に保存されたデータとの間に不一致が生じる。
In the conventional data security method for vibration,
It is not possible to guarantee that the write data in the buffer RAM that has not yet been written to the magnetic disk is written to the magnetic disk, and there is a discrepancy between the recognition of the host system and the data actually stored on the magnetic disk device. Occurs.

【0008】本発明では振動によって書込みを待たされ
ている未ライトのバッファRAM内のライトデータの磁
気ディスク上への書込みを保障することを課題としてい
る。
An object of the present invention is to guarantee that write data in an unwritten buffer RAM, which is waiting for writing due to vibration, is written on a magnetic disk.

【0009】[0009]

【課題を解決するための手段】本発明の制御方式では、
あらかじめ磁気ディスク上に振動検出時のバッファRA
M内ライトデータ一時書込みエリアが設けられているこ
と、振動状態を検出する機能を有すること、振動検出時
にはバッファRAM内の未ライトデータ及び本来そのデ
ータが書込まれるべき位置の情報を振動検出時のバッフ
ァRAM内ライトデータ一時書込みエリアに書込むこ
と、振動収束検出時には振動検出時のバッファRAM内
ライトデータ一時書込みエリアに有効なデータが存在す
る場合に限り該当データを本来書込まれるべき位置へ書
き移すこと、またその際には振動検出時のバッファRA
M内ライトデータ一時書込みエリアに一時的に書込まれ
たデータを消去すること、振動検出時には上位システム
からのデータライト要求を受け付けないことを手段とし
て課題を解決する。
According to the control method of the present invention,
Buffer RA for detecting vibration beforehand on the magnetic disk
A temporary write area for write data in M is provided, a function to detect a vibration state is provided, and at the time of vibration detection, unwritten data in the buffer RAM and information of a position where the data should be written are detected at the time of vibration detection. Write to the write data temporary write area in the buffer RAM of the buffer RAM. When vibration convergence is detected, the relevant data is written to the position where it should be written only when valid data exists in the write data temporary write area in the buffer RAM at the time of vibration detection. Transfer, and in that case, buffer RA at the time of vibration detection
The problem is solved by erasing data temporarily written in the write data temporary write area in M and not accepting a data write request from a host system when vibration is detected.

【0010】また本発明で提案する振動検出時のバッフ
ァRAM内ライトデータ一時書込みエリアは、バッファ
RAM内の全てのデータを書込むことができる容量を持
ち、かつ振動検出時のバッファRAM内ライトデータ一
時書込みエリア書込み中に振動によってトラックずれが
発生した場合にも周辺トラックに書込まれているデータ
を上書きして消し込まないよう隣接するバッファRAM
内ライトデータ書込みトラック間には充分な間隔を持つ
ことを特徴とする。
Further, the write data temporary write area in the buffer RAM at the time of vibration detection proposed in the present invention has a capacity for writing all data in the buffer RAM, and the write data in the buffer RAM at the time of vibration detection. Even if a track shift occurs due to vibration during writing in the temporary writing area, an adjacent buffer RAM is used so that data written in a peripheral track is not overwritten and erased.
It is characterized in that there is a sufficient space between the inner write data writing tracks.

【0011】[0011]

【発明の実施の形態】磁気ディスク上に予め設けられる
振動検出時のバッファRAM内ライトデータ一時書込み
エリアの概念図を図1に示す。また、本発明の制御方式
を図2のフローチャートに示す。以下図2のフォローチャ
ートに沿って説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a conceptual diagram of a write data temporary write area in a buffer RAM which is provided in advance on a magnetic disk when a vibration is detected. The control method of the present invention is shown in the flowchart of FIG. This will be described below with reference to the follow chart of FIG.

【0012】磁気ディスク装置は、上位システムからの
要求に応じてデータのリード、ライトを実行する(2−
1)。ここで振動を検出すると(2−2)振動収束時まで上位
システムの要求を受け付けない状態に制御し(2−3)、同
時に磁気ディスクへのアクセスを中断する(2−4)。この
時バッファRAM内に未ライトのデータが存在すれば、
そのデータ及びデータが本来書き込まれる位置の情報を
振動検出時のバッファRAM内ライトデータ一時書込み
エリア(1-3)にライトする(2−5)。その後、振動状態の
監視を続ける(2−6)が、振動状態が永く持続した場合に
は、ここで上位システム、あるいはユーザによって磁気
ディスク装置がリセットされることがある(2−7)。
The magnetic disk device reads and writes data in response to a request from a host system (2--
1). Here, when the vibration is detected (2-2), control is performed so that the request from the host system is not accepted until the vibration has converged (2-3), and at the same time, the access to the magnetic disk is interrupted (2-4). At this time, if there is unwritten data in the buffer RAM,
The data and information on the position where the data is originally written are written to the write data temporary write area (1-3) in the buffer RAM at the time of detecting the vibration (2-5). Thereafter, monitoring of the vibration state is continued (2-6). If the vibration state continues for a long time, the magnetic disk device may be reset by the host system or the user (2-7).

【0013】一般にリセットされた場合にはバッファR
AM内のデータはクリアされてしまう(2−8)。その後振
動状態が収束したことが検出されると(2−6)、まず最初
に振動検出時のバッファRAM内ライトデータ一時書込
みエリアに有効なデータが存在すること確認し(2−9)、
ここで未ライトデータが検出された場合、続いて振動検
出時のバッファRAM内ライトデータ一時書込みエリア
からデータ及びそのデータが本来書込まれるべき位置の
情報を読込む(2−10)。そして、その位置情報に従って
データをデータエリア(1−2)に書き移す(2−11)。これ
ら一連の制御終了後に、上位システムに対して再び要求
受け付け可能な状態とする(2−12)。
Generally, when reset, the buffer R
The data in the AM is cleared (2-8). Thereafter, when it is detected that the vibration state has converged (2-6), first, it is confirmed that valid data exists in the write data temporary write area in the buffer RAM at the time of vibration detection (2-9).
If unwritten data is detected, the data and the information on the position where the data should be written are read from the write data temporary write area in the buffer RAM at the time of detecting the vibration (2-10). Then, data is transferred to the data area (1-2) according to the position information (2-11). After these series of controls are completed, the host system is again ready to accept requests (2-12).

【0014】[0014]

【発明の効果】本発明ではバッファRAM内のデータを
一時的に磁気ディスク上の特定エリアに書込むことによ
って、従来の方式では保障できなかった振動によるリセ
ット、初期化実行に対してのバッファRAM内の未ライ
トデータの書込みを保障することが可能となる。
According to the present invention, by temporarily writing data in the buffer RAM to a specific area on the magnetic disk, the buffer RAM for resetting and initializing due to vibration which cannot be guaranteed by the conventional method. It is possible to guarantee the writing of the unwritten data within.

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

【図1】磁気ディスク上に設ける振動検出時のバッファ
RAM内ライトデータ一時書込みエリアの概念図。
FIG. 1 is a conceptual diagram of a write data temporary write area in a buffer RAM when a vibration provided on a magnetic disk is detected.

【図2】本発明の制御を示す概略フローチャート。FIG. 2 is a schematic flowchart showing the control of the present invention.

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

1−1…磁気ディスク、1−2…通常データエリア、1−3…
振動検出時のバッファRAM内ライトデータ一時書込み
エリア、1−4…通常データエリアのデータ書込みトラッ
ク間隔、1−5…振動検出時のバッファRAM内ライトデ
ータ一時書込みエリアのデータ書込みトラック間隔。
1-1: Magnetic disk, 1-2: Normal data area, 1-3:
Write data temporary write area in buffer RAM when vibration is detected, 1-4: data write track interval in normal data area, 1-5: data write track interval in write data temporary write area in buffer RAM when vibration is detected.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 藤井 義勝 神奈川県小田原市国府津2880番地 株式会 社日立製作所ストレージシステム事業部内 (72)発明者 矢野 良彦 神奈川県小田原市国府津2880番地 株式会 社日立製作所ストレージシステム事業部内 Fターム(参考) 5B005 JJ01 KK12 LL11 MM11 MM23 UU24 VV11 WW02 WW16 5B018 GA06 KA03 KA22 MA03 MA12 QA20 RA11 5D044 BC01 CC04 EF03 FG10 HH02 HH05 HH07 HH13 HH15 HH17 ──────────────────────────────────────────────────の Continuing on the front page (72) Inventor Yoshikatsu Fujii 2880 Kozu, Kozuhara-shi, Kanagawa Pref.Hitachi, Ltd. Storage Systems Division, Hitachi, Ltd. F-term in the System Division (Reference)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 振動検出時にバッファRAM内に保持し
ている未ライトデータを一時的に磁気ディスク上の特定
位置に書込むことでバッファRAM内の未ライトデータ
の消失を防止する手段及び振動収束検出時には振動検出
時に一時的に特定位置に書込まれたデータを本来書込ま
れるべき位置へ書き移す手段を備えることを特徴とする
データ書込み保障制御方式及びこの制御方式を用いた磁
気ディスク装置。
1. A means for preventing the loss of unwritten data in a buffer RAM by temporarily writing unwritten data held in a buffer RAM to a specific position on a magnetic disk when a vibration is detected, and a vibration convergence. A data writing security control method comprising means for temporarily transferring data written at a specific position upon detection of a vibration to a position where the data should be written, and a magnetic disk drive using this control method.
JP31776599A 1999-11-09 1999-11-09 Data write-in security control system and magnetic disk device using the system Pending JP2001135018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31776599A JP2001135018A (en) 1999-11-09 1999-11-09 Data write-in security control system and magnetic disk device using the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31776599A JP2001135018A (en) 1999-11-09 1999-11-09 Data write-in security control system and magnetic disk device using the system

Publications (1)

Publication Number Publication Date
JP2001135018A true JP2001135018A (en) 2001-05-18

Family

ID=18091808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31776599A Pending JP2001135018A (en) 1999-11-09 1999-11-09 Data write-in security control system and magnetic disk device using the system

Country Status (1)

Country Link
JP (1) JP2001135018A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1965385A1 (en) * 2007-02-28 2008-09-03 Fujitsu Ltd. Storage device control apparatus, storage device, and data storage control method
US8315006B1 (en) * 2010-03-09 2012-11-20 Western Digital Technologies, Inc. Adaptive data writing mode based on drive environment
US8699171B1 (en) 2010-09-30 2014-04-15 Western Digital Technologies, Inc. Disk drive selecting head for write operation based on environmental condition

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1965385A1 (en) * 2007-02-28 2008-09-03 Fujitsu Ltd. Storage device control apparatus, storage device, and data storage control method
US8315006B1 (en) * 2010-03-09 2012-11-20 Western Digital Technologies, Inc. Adaptive data writing mode based on drive environment
US8699171B1 (en) 2010-09-30 2014-04-15 Western Digital Technologies, Inc. Disk drive selecting head for write operation based on environmental condition

Similar Documents

Publication Publication Date Title
US6295577B1 (en) Disc storage system having a non-volatile cache to store write data in the event of a power failure
US6078452A (en) Disk drive employing method of writing a data block to a data sector following a defective servo sector
US6516426B1 (en) Disc storage system having non-volatile write cache
US7606970B2 (en) Hybrid disk drive and method of controlling data therein
US5671099A (en) Magnetic recording apparatus with power conservation feature
KR100228796B1 (en) Data read/write control method
JPH06236241A (en) Hard disk device using flash memory
JPH10149260A (en) Reading cache system for disk drive
US6304405B1 (en) Method and apparatus for controlling read and/or write operations of a disk drive device during start-up
JPH10269027A (en) Disk device and buffer management control method in the same
JP2001135018A (en) Data write-in security control system and magnetic disk device using the system
US5875453A (en) Apparatus for and method of information processing
EP0453192B1 (en) Method of minimizing head-arm movements in a disk drive
JPH04111113A (en) Hard disk emulator
JPH04364515A (en) Recording medium reproduction device
KR920006297B1 (en) Actuator control method of hard disc driver
JPH01303547A (en) Control system for information memory
JPH11232037A (en) Magnetic disk device having disk cache write function
JPH10275425A (en) Disk device and method for rapidly transferring rearrangement data due to defect in it to host
JP2854438B2 (en) Access control method for optical disk device
JPS58114151A (en) Common controlling system
JPH0628779A (en) Method for recording and controlling data in disk device
JPH0793912A (en) Optical disk recording/reproducing apparatus
JPS6149229A (en) Information processor
JPH02161515A (en) Magnetic disk device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20041224