[go: up one dir, main page]

JPH01300479A - System for diagnosing patrol of magnetic disk device - Google Patents

System for diagnosing patrol of magnetic disk device

Info

Publication number
JPH01300479A
JPH01300479A JP63130999A JP13099988A JPH01300479A JP H01300479 A JPH01300479 A JP H01300479A JP 63130999 A JP63130999 A JP 63130999A JP 13099988 A JP13099988 A JP 13099988A JP H01300479 A JPH01300479 A JP H01300479A
Authority
JP
Japan
Prior art keywords
magnetic disk
counter
time
value
bit
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
JP63130999A
Other languages
Japanese (ja)
Inventor
Yoshizo Wada
和田 芳三
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 JP63130999A priority Critical patent/JPH01300479A/en
Publication of JPH01300479A publication Critical patent/JPH01300479A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent the performance of an I/O processing time from being lowered by evading a seek operation for a magnetic disk device with I/O start-up after the lapse of a constant time, and restarting the seek operation if no I/O start-up is performed by a time when the constant time elapses further. CONSTITUTION:In the initializing state of a patrol diagnosing device 11, all of the bit maps 14 are set at 1s, and after the constant time is counted by a timer 12, the value of a counter 13 is increased by 1, and it is returned to 0 when a value on which 1 is added exceeds the maximum connecting number (n) of the magnetic disk devices (0-n-1). When the bit of the bit map 14 corresponding to the value of the counter 13 is 1, a cylinder address on which a magnetic head is located is read from the magnetic disk device corresponding to the value of the counter 13 (the magnetic device 0 is selected when the value of the counter is 0, and so forth). And a cylinder address to be sought next is found by a known calculation equation, and seek is started up on the cylinder. In such a way, it is possible to prevent the performance of the I/O processing time from being lowered.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、磁気ディスク制御装置に関し、特に接続制御
する磁気ディスク装置の磁気ヘッドを一定間隔で移動さ
せるパトロール診断に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a magnetic disk control device, and more particularly to patrol diagnosis in which the magnetic head of a magnetic disk device to be connected is moved at regular intervals.

従来の技術 近年、磁気ディスク装置の技術進歩が著しく、より小型
で大容量の磁気ディスク装置が開発されている。磁気テ
゛イスク媒体の記録ビット密度、トラック密度が上がる
につれて、媒体面と磁気ヘッド面の間隔をせばめる必要
があり、この技術が小型、大容量化に必要な技術の一要
素となっている。
BACKGROUND OF THE INVENTION In recent years, technological advances in magnetic disk drives have been remarkable, and smaller, larger-capacity magnetic disk drives have been developed. As the recording bit density and track density of magnetic disk media increase, it is necessary to reduce the distance between the medium surface and the magnetic head surface, and this technology is one of the elements necessary for miniaturization and large capacity.

一方、媒体面と磁気ヘッド面の間隔をせばめる程、媒体
面と磁気ヘッド近辺のごみを極限にまで除去する必要が
ある。特に、磁気ヘッドが長時間移動せず、一定位置に
存在し続ける様な状況においてはごみが媒体面と磁気へ
・ソドとの間に付着することとなり媒体面と磁気ヘット
に傷がつく原因となる。そこで成る一定時間に1回磁気
ヘッドを規定値だけ移動させることにより、媒体面と磁
気ヘッドとの間にごみが付着しない様にするパトロール
診断が提案される様になった。
On the other hand, as the distance between the medium surface and the magnetic head surface becomes smaller, it is necessary to remove as much dust as possible from the medium surface and the vicinity of the magnetic head. In particular, in situations where the magnetic head does not move for a long time and remains in a fixed position, dust may adhere between the media surface and the magnetic head, causing damage to the media surface and the magnetic head. Become. A patrol diagnosis has been proposed in which the magnetic head is moved by a predetermined amount once every certain period of time to prevent dust from adhering between the medium surface and the magnetic head.

発明が解決しようとする課題 上述した従来のパトロール診断においては、磁気ディス
ク装置を接続制御する磁気ディスク制御装置が、一定時
間を計測し、一定時間経過した時点で配下の磁気ディス
ク装置のうち1台に対してヘッドの移動を行わせていた
Problems to be Solved by the Invention In the conventional patrol diagnosis described above, a magnetic disk control device that connects and controls magnetic disk devices measures a certain period of time, and when a certain period of time has elapsed, one of the subordinate magnetic disk devices is activated. The head was moved relative to the

しかしながら、上位装置からの磁気ディスク装置に対す
るI/O起動はソフトウェアの所望するデータが記憶さ
れているトう・ツクに位置づけてから記憶データのアク
セスを行うものであり、磁気ディスク制御装置が上記の
パトロール診断により勝手に磁気へ・・ノドの位置を変
更してしまうので、ソフトウェアが所望する記憶データ
をアクセスするなめに磁気ヘッドの余分な戻し動作が必
要となる。
However, when starting I/O from a host device to a magnetic disk device, software accesses the stored data after positioning the desired data on the disk where it is stored. Since the patrol diagnosis automatically changes the position of the magnetic head, an extra return operation of the magnetic head is required in order for the software to access the desired stored data.

この余分な戻し動作はI、/O処理時間の性能低下とな
る。
This extra return operation reduces performance in I and /O processing time.

本発明は従来の上記実情に鑑みてなされたちであり、従
って本発明の目的は、従来の技術に内在する上記課題を
解決することを可能とした磁気ティスフ装置の新規なパ
)〜ロール診断方式を提供することにある。
The present invention has been made in view of the above-mentioned conventional circumstances, and therefore, an object of the present invention is to provide a new roll diagnosis method for a magnetic tissue device that makes it possible to solve the above-mentioned problems inherent in the conventional technology. Our goal is to provide the following.

課題を解決するための手段 上記目的を達成する為に、本発明に係るバ)〜ロール診
断方式は、一定時間を計測するタイマと、このタイマが
一定時間を計測した時点毎にプラス1することにより接
続制御する磁気ディスク装置の最大台数をサイクリック
にカラン1へするカウンタと、上位装置かちのI/O起
動かあったときに起動のあった磁気ディスク装置に対応
するビットをOとし、前記タイマが一定時間を計測した
時点てプラス1された前記カウンタが示されている値に
対応するビットを1に更新するヒッl〜マツプをそれぞ
れの磁気ディスク装置に対しビットに対応させて有し、
前記タイマが一定時間を計測した時点でプラス1された
前記カウンタが示している値に対応する前記ビットマツ
プを1に更新する前に対応するビットマツプが既に1で
あるときに前記カウンタが示している値に対応する磁気
ディスク装置の磁気ヘッドが位置しているシリンダに対
して既知の計算式により求められるシリンダにシークせ
しめるシーク手段とを備えて構成される、実施例 次に、本発明をその好ましい一実施例について図面を参
照して具体的に説明する。
Means for Solving the Problems In order to achieve the above object, the B)~roll diagnosis method according to the present invention includes a timer that measures a certain period of time, and a timer that increments by 1 every time the timer measures a certain period of time. A counter that cyclically sets the maximum number of magnetic disk devices to be connected and controlled by 1, and a bit corresponding to the magnetic disk device that was started when an I/O of the host device was started is set to O, and the above-mentioned Each magnetic disk device has a map corresponding to a bit, which updates a bit corresponding to the value of the counter incremented by 1 to 1 when the timer measures a certain period of time;
The value indicated by the counter when the corresponding bitmap is already 1 before the bitmap corresponding to the value indicated by the counter is incremented by 1 when the timer measures a certain period of time. Embodiment Next, a preferred embodiment of the present invention will be described. Examples will be specifically described with reference to the drawings.

第1図は本発明の一実施例を示すブロック構成図である
。第1図を参照するに、本発明に係るパトロール診断方
式の一実施例は、パトロール診断装置11により実現さ
れ、このパ)・ロール診断装置11は、タイマ12と、
カウンタ13と、ビットマッフ。
FIG. 1 is a block diagram showing one embodiment of the present invention. Referring to FIG. 1, an embodiment of the patrol diagnosis method according to the present invention is realized by a patrol diagnosis device 11, and this patrol diagnosis device 11 includes a timer 12,
Counter 13 and Bitmuff.

14と、シーク手段15とがら構成され、磁気ディスク
装置0〜(n−1)を接続制御している。
14 and seek means 15, and connects and controls the magnetic disk drives 0 to (n-1).

第2図は第1図に示したべ1−ロール診断装置の動作を
フローチャー1・の形で示したものである。
FIG. 2 shows the operation of the one-roll diagnostic apparatus shown in FIG. 1 in the form of flowchart 1.

=5− パトロール診断装置11の初期状態においてビットマッ
プ14は全て1にセ・ソトされる。タイマ12は一定時
間を計測する。一定時間は磁気ディスク装置にシークを
起動する間隔てあり、磁気ディスク装置の最大接続台数
とシリンダ数により決定されるが、本発明の詳細な説明
する上で重要な事項ではないので詳細を省略する。
=5- In the initial state of the patrol diagnostic device 11, all bitmaps 14 are set to 1. The timer 12 measures a certain period of time. The fixed time is the interval at which seek is activated in the magnetic disk device, and is determined by the maximum number of connected magnetic disk devices and the number of cylinders, but since this is not important for a detailed explanation of the present invention, the details will be omitted. .

タイマ11が−・定時間を計測するとカウンタ12の値
を+1する。+1した値が磁気ディスク装置の最大接続
台数nを越えると0に戻される4カウンタ13の値に対
応するビットマツプ14のビットが1であればカウンタ
13の値に対応する磁気ディスク装置(カウンタの値が
Oなら磁気ディスク装置0、以下同様)から磁気ヘッド
の位置するシリンダアドレスを読み取りこのシリンダア
ドレスから既知の計算式により1次にシークすべきシリ
〉・ダアドレスをもとめ、このシリンダにシークを起動
する。
When the timer 11 measures a certain period of time, the value of the counter 12 is incremented by 1. If the +1 value exceeds the maximum number n of connected magnetic disk devices, it is returned to 0.4If the bit of the bit map 14 corresponding to the value of the counter 13 is 1, the magnetic disk device corresponding to the value of the counter 13 (the value of the counter If is O, read the cylinder address where the magnetic head is located from the magnetic disk drive 0 (the same applies hereafter), use a known calculation formula to find the cylinder address to which the primary seek should be performed, and start a seek to this cylinder. do.

計算式は最大接続台数n、シリンダ数等により決定され
るが本発明の詳細な説明する上で重要な事項ではないの
で詳細を省略する。。
The calculation formula is determined by the maximum number of connected units n, the number of cylinders, etc., but the details are omitted because they are not important for the detailed explanation of the present invention. .

上位装置からのI、/O起動かあると、I/O起動のあ
った磁気ディスクに対応するビットマツプ14のヒツト
を0にした後に、I/O処理を行う、この後、一定時間
か経過し、カウンタ13を+1した後の値に対応する磁
気ディスク装置が先にI/O起動のあった磁気ディスク
装置であれは対応するビットマツプ14のビットがOに
なっているために、上述したシークの起動を回避し、ビ
ットマツプ14のビットを1にして元に戻る。
When there is an I/O activation from a host device, the bitmap 14 corresponding to the magnetic disk on which the I/O activation occurred is set to 0, and then the I/O processing is performed.After this, a certain period of time elapses. , if the magnetic disk device corresponding to the value after incrementing the counter 13 by 1 is the magnetic disk device in which the I/O was started earlier, the bit of the corresponding bitmap 14 is set to O, so the above-mentioned seek cannot be performed. Avoid startup, set the bit of bitmap 14 to 1, and return to the original state.

発明の詳細 な説明したように、本発明によれば、I/O起動のない
磁気ディスク装置に対しては一定時間に1回シーク動作
が行われるが、I/O起動のある磁気ティスフ装置に対
しては一定時間経過後のシーク動作は回避される。そし
てその後、更に一定時間経過するまでにI/O起動がな
ければシーク動作が再開されることになる3従ってソフ
トウェアからのアクセスがない磁気ディスク装置に対し
てはシーク動作が行われるが、ソフトウェアからのアク
セスが頻繁にある磁気ディスク装置に対1−てはシーク
動作を回避するために、I/O処理時間の性能低下を招
かずにパトロール診断を行うことにより、ごみが磁気ヘ
ッドと媒体面との間に付着することを防止できるという
効果が得られる。
As described in detail, according to the present invention, a seek operation is performed once every fixed period for a magnetic disk device without I/O activation, but a seek operation is performed for a magnetic disk device with I/O activation. In contrast, a seek operation after a certain period of time is avoided. After that, if there is no I/O activation within a certain period of time, the seek operation will be restarted.3 Therefore, a seek operation will be performed for a magnetic disk device that is not accessed by software, but from software. For magnetic disk drives that are frequently accessed, in order to avoid seek operations, patrol diagnosis can be performed to prevent dust from entering the magnetic head and media surface without causing a performance drop in I/O processing time. This has the effect of preventing adhesion between the parts.

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

第1図は本発明の一実施例を示すブロック構成図、第2
図は本発明の動作を示すフローチャートである。 11・・・パトロール診断装置、12・・タイマ、13
・・カウンタ、14・・・ビットマツプ、15・・・シ
ーク手段特許出願人   日本電気株式会社 代 理 人   弁理士 熊谷雄太部 図
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
The figure is a flowchart showing the operation of the present invention. 11...Patrol diagnosis device, 12...Timer, 13
...Counter, 14...Bitmap, 15...Seek means Patent applicant: NEC Corporation Representative, Patent attorney Yutabe Kumagai

Claims (1)

【特許請求の範囲】[Claims] 複数の磁気ディスク装置を接続制御する磁気ディスク制
御装置において、一定時間を計測するタイマと、該タイ
マが一定時間を計測した時点毎にプラス1することによ
り接続制御する磁気ディスク装置の最大台数をサイクリ
ックにカウントするカウンタと、初期値を1とし上位装
置からのI/O起動があったときに起動のあった磁気デ
ィスクに対応するビットを0とし前記タイマが一定時間
を計測した時点でプラス1された前記カウンタが示され
ている値に対応するビットを1に更新するビットマップ
をそれぞれの磁気ディスク装置に対しビットに対応させ
て有し前記タイマが一定時間を計測した時点でプラス1
された前記カウンタが示している値に対応する前記ビッ
トマップを1に更新する前に対応するビットマップが既
に1であるときに前記カウンタが示している値に対応す
る磁気ディスク装置の磁気ヘッドが位置しているシリン
ダに対して既知の計算式により求められるシリンダにシ
ークせしめるシーク手段とを有することを特徴とする磁
気ディスク装置のパトロール診断方式。
In a magnetic disk control device that connects and controls multiple magnetic disk devices, the maximum number of magnetic disk devices to be connected and controlled is determined by using a timer that measures a certain period of time and adding one each time the timer measures a certain period of time. The counter that counts each click has an initial value of 1, and the bit corresponding to the magnetic disk that was started when I/O was started from the host device is set to 0, and when the above-mentioned timer measures a certain amount of time, the bit is increased by 1. A bit map for updating the bit corresponding to the value indicated by the counter to 1 is provided for each magnetic disk device, and when the timer measures a certain period of time, the bit map is updated to 1.
When the bitmap corresponding to the value indicated by the counter is updated to 1, the magnetic head of the magnetic disk device corresponding to the value indicated by the counter is updated to 1. 1. A patrol diagnosis method for a magnetic disk drive, comprising a seek means for causing a cylinder to seek a cylinder determined by a known calculation formula for a cylinder in which the cylinder is located.
JP63130999A 1988-05-27 1988-05-27 System for diagnosing patrol of magnetic disk device Pending JPH01300479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63130999A JPH01300479A (en) 1988-05-27 1988-05-27 System for diagnosing patrol of magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63130999A JPH01300479A (en) 1988-05-27 1988-05-27 System for diagnosing patrol of magnetic disk device

Publications (1)

Publication Number Publication Date
JPH01300479A true JPH01300479A (en) 1989-12-04

Family

ID=15047576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63130999A Pending JPH01300479A (en) 1988-05-27 1988-05-27 System for diagnosing patrol of magnetic disk device

Country Status (1)

Country Link
JP (1) JPH01300479A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615368A (en) * 1992-08-18 1997-03-25 Nec Corporation System having table storing plurality of optimal patrol seek schemes for respective disk drives and executing associated scheme based upon inputted disk device name
FR2862777A1 (en) * 2003-11-25 2005-05-27 Hitachi Ltd DISC ARRAY DEVICE FOR REST POSITIONING

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615368A (en) * 1992-08-18 1997-03-25 Nec Corporation System having table storing plurality of optimal patrol seek schemes for respective disk drives and executing associated scheme based upon inputted disk device name
FR2862777A1 (en) * 2003-11-25 2005-05-27 Hitachi Ltd DISC ARRAY DEVICE FOR REST POSITIONING

Similar Documents

Publication Publication Date Title
EP1805589B1 (en) Tape emulating disk based storage and method with automatically resized emulated tape capacity
US7111136B2 (en) Method and apparatus for backup and recovery system using storage based journaling
EP1202159A2 (en) Method and system utilizing data fragments for efficiently importing/exporting removable storage volumes
JP2003536157A (en) Data storage systems and processes
JP2000508456A (en) Extend the number of drives in a RAID set while maintaining the integrity of the moved data
KR100851118B1 (en) Data management and control system in semiconductor flash memory, semiconductor flash memory accommodation apparatus, monitor camera apparatus, and data management method in semiconductor flash memory
US7606987B2 (en) Apparatus and method for magnetic head control in storage accesses
US20020138694A1 (en) Magnetic disc drive, method for recording data, and method for reproducing data
JP3778055B2 (en) Recording / reproducing apparatus and recording / reproducing method
JP2776335B2 (en) How to write variable-length sequential records
JP2737562B2 (en) Patrol seek method for high-density magnetic disk drives
JP2005267602A (en) Finer and more efficient write protection for disk volumes
US20080209281A1 (en) Storage device and control device
US8380952B2 (en) Storage system and data storage method using storage system which decides size of data to optimize the total of data size transfer efficiency
JPH01300479A (en) System for diagnosing patrol of magnetic disk device
JPH11212875A (en) Storage subsystem and differential backup method of recorded data
JP3341094B2 (en) Recording medium reading device
JPH05289827A (en) Disk controller
KR20030061949A (en) Method for controlling store of file in storage system
JPH02113467A (en) Disk control method
JP2001175422A (en) Disk array device
JPH03225669A (en) Magnetic disk device
JPH04223520A (en) Magnetic disk device backup method
JP2002150697A (en) Magnetic disk control method and magnetic disk device using the same
JPH039446A (en) Disk cache control system