JP2004127351A - Memory device - Google Patents

Memory device Download PDF

Info

Publication number
JP2004127351A
JP2004127351A JP2002286374A JP2002286374A JP2004127351A JP 2004127351 A JP2004127351 A JP 2004127351A JP 2002286374 A JP2002286374 A JP 2002286374A JP 2002286374 A JP2002286374 A JP 2002286374A JP 2004127351 A JP2004127351 A JP 2004127351A
Authority
JP
Japan
Prior art keywords
recording medium
information
control information
control
control board
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
JP2002286374A
Other languages
Japanese (ja)
Inventor
Kimiaki Haga
羽賀 公昭
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 JP2002286374A priority Critical patent/JP2004127351A/en
Publication of JP2004127351A publication Critical patent/JP2004127351A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To correctly operate a memory device when the control board is replaced in a memory device of a constitution to store the control information such as the operation parameters and defective block information. <P>SOLUTION: This memory device has at least a head to write and read information on a recording medium, a control board mounted with a nonvolatile memory, a control section to control information writing and reading on the recording medium depending on the control information read from the nonvolatile memory. The controller writes the control information to back up on the recording medium at optional timing. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は記憶装置に係り、特に動作パラメータに基づいてディスク等の記録媒体に対して情報の書き込み及び読み出しを行う記憶装置に関する。
【0002】
【従来の技術】
記憶装置の一種である従来のハードディスクドライブ(HDD)では、記録媒体の一種である磁気ディスクに対する情報の書き込み及び読み出しを最適な状態で行うためのリードパラメータ、ライトパラメータ、補正値等の動作パラメータが、個々のHDDの出荷前の段階で予め求められて制御基板上に実装された不揮発性メモリに格納されている。磁気ディスクに対する情報の書き込み又は読み出しを行う際には、不揮発性メモリからこれらの動作パラメータを読み出して、読み出した動作パラメータに基づいて情報の書き込み又は読み出しを行う。
【0003】
一般的なHDDは、複数のヘッド及び複数の磁気ディスクを有し、個々のヘッド及び磁気ディスクには、若干の特性バラツキが存在する。このため、ヘッドと磁気ディスクの組み合わせによっては、書き込み動作又は読み出し動作のエラー率が高くなったり、最悪の場合には、正常な書き込み動作又は読み出し動作を行うことができなくなってしまう。
【0004】
又、HDDを構成する各種部品の若干の寸法誤差、製造時のメカ的な組み立て誤差等のメカ的なバラツキを補正する必要がある。特に記録密度が著しく向上している近年のHDDでは、情報の書き込み及び読み出しを行う磁気ディスク上のトラックピッチが非常に狭く、メカ的なバラツキがHDDの性能に大きな影響を及ぼすため、メカ的なバラツキの補正は必要不可欠である。
【0005】
他方、HDDによっては、上記動作パラメータ以外に、磁気ディスク上の欠陥ブロックを示す欠陥ブロック情報が出荷前の段階で予め求められて制御基板上の不揮発性メモリに格納しているものもある。
【0006】
動作パラメータ及び欠陥ブロック情報等の制御情報は、磁気ディスク上に格納しておくと、磁気ディスクから正常に読み出すことができない可能性があるため、制御基板上の不揮発性メモリに格納されている。
【0007】
尚、メモリ上の情報のバックアップは、例えば特許文献1及び特許文献2にて提案されているが、HDD等における制御情報のバックアップについての提案はされていない。
【0008】
【特許文献1】
特開平11−85628号公報(第3頁、図1)
【特許文献2】
特開2000−322333号公報(第4頁、図1)
【0009】
【発明が解決しようとする課題】
HDDの制御基板の故障等により、制御基板を交換することがある。しかし、制御基板を新たな制御基板と交換してしまうと、新たな制御基板上の不揮発性メモリには、上記動作パラメータ及び欠陥ブロック情報等の制御情報が格納されていないため、HDDが正常に動作しない可能性があるという問題があった。
【0010】
つまり、各HDDのヘッドと磁気ディスクの組み合わせに対する最適な動作パラメータを得る手段がないため、新たな制御基板を用いたHDDの動作は不安定となり、最悪の場合には、書き込みエラーや読み出しエラーを発生する可能性があった。
【0011】
又、各HDDの磁気ディスクの欠陥ブロック情報を得る手段がないため、新たな制御基板を用いたHDDでは誤ったブロックへの書き込みや誤ったブロックからの読み出しが行われ、データ破壊による障害やデータ化けによる障害が発生する可能性があった。
【0012】
そこで、本発明は、制御基板上に実装された不揮発性メモリに動作パラメータや欠陥ブロック情報等の制御情報が格納されている構造の記憶装置において、制御基板を交換しても記憶装置が正常に動作するようにした記憶装置を提供することを目的とする。
【0013】
【課題を解決するための手段】
上記の課題は、少なくとも1つの記録媒体と、該記録媒体に対して情報の書き込み及び読み出しを行う少なくとも1つのヘッドと、不揮発性メモリが設けられた制御基板と、制御情報に基づいて該記録媒体に対する情報の書き込み及び読み出しを制御する制御手段とを備え、該記録媒体は、該制御情報を記録していることを特徴とする記憶装置によって達成できる。
【0014】
上記の課題は、少なくとも1つの記録媒体と、該記録媒体に対して情報の書き込み及び読み出しを行う少なくとも1つのヘッドと、不揮発性メモリが設けられた制御基板と、該不揮発性メモリから読み出した制御情報に基づいて該記録媒体に対する情報の書き込み及び読み出しを制御する制御手段とを備え、該制御手段は、該制御情報を任意のタイミングで該記録媒体に記録してバックアップを行うバックアップ手段を含むことを特徴とする記憶装置によっても達成できる。
【0015】
従って、本発明によれば、制御基板上に実装された不揮発性メモリに動作パラメータや欠陥ブロック情報等の制御情報が格納されている構造の記憶装置において、制御基板を交換しても記憶装置が正常に動作するようにした記憶装置を実現可能となる。
【0016】
【発明の実施の形態】
本発明になる記憶装置の実施例を、以下に図面と共に説明する。
【0017】
【実施例】
図1は、本発明になる記憶装置の一実施例を構成を示すブロック図である。本実施例では、説明の便宜上、本発明がHDDに適用されている。
【0018】
図1に示すように、HDD1は、制御基板2及び記憶部3からなる。制御基板2は、パーソナルコンピュータ等のホスト装置4に接続され、ハードディスクコントローラ(HDC)21、キャッシュメモリ(RAM)22、フラッシュROM等からなる不揮発性メモリ23、リード/ライトチャネル24、MPU25及びモータコントローラ26からなる。HDC21は、HDD1とホスト装置4との間のデータの受け渡しを行うインターフェースを司る。MPU25は、HDD1全体の制御を司る。MPU25が実行するプログラム(ファームウェア)及び後述する制御情報は、不揮発性メモリ23に格納されている。制御基板2は、HDD1に対して交換可能な構成を有する。
【0019】
不揮発性メモリ23には、磁気ディスク35に対する書き込み及び読み出しを最適な状態で行うためのリードパラメータ、ライトパラメータ、補正値等の動作パラメータが、HDD1の出荷前の段階でMPU25により予め求められて格納されている。動作パラメータは、各ヘッド31毎及び各磁気ディスク35上の記録領域毎に不揮発性メモリ23に格納されている。又、本実施例では、不揮発性メモリ23には、動作パラメータ以外に、磁気ディスク35上の欠陥ブロックを示す欠陥ブロック情報が出荷前の段階でMPU25により求められて格納されている。欠陥ブロック情報は、各磁気ディスク35毎に不揮発性メモリ23に格納されている。尚、不揮発性メモリ23に格納されているHDD1固有の制御情報は、例えば不揮発性メモリ23内の特定領域に格納されており、少なくとも動作パラメータ及び欠陥ブロック情報の一方からなれば良い。
【0020】
図1に示すように、記憶部3は、1又は複数のキャリッジ30、1又は複数のヘッド31、ヘッド増幅器32、ボイスコイルモータ(VCM)33、スピンドルモータ(SPM)34及び1又は複数の磁気ディスク35からなる。
【0021】
磁気ディスク35への書き込み時には、ホスト装置4からの書き込みデータがHDC21を介して一時的にキャッシュメモリ22に格納され、リード/ライトチャネル24を介してヘッド増幅器32に供給される。ヘッド増幅器32からの書き込みデータは、ヘッド32により回転する磁気ディスク35上に書き込まれる。磁気ディスク35は、モータコントローラ26の制御下でSPM34により回転される。又、ヘッド31を搭載されたキャリッジ30は、モータコントローラ26の制御下でVCM33により磁気ディスク35の半径方向に駆動される。ヘッド31により磁気ディスク35から読み出されたデータのうち、制御データはリード/ライトチャネル24を介してMPU25に供給され、MPU25は、制御基板2上の不揮発性メモリ23から読み出された制御情報に基づいて、磁気ディスク35の回転制御及びキャリッジ30の駆動制御をSPM34及びVCM33に対して行うようにモータコントローラ26に指示を供給する。
【0022】
磁気ディスク35からの読み出し時には、ヘッド32により磁気ディスク35から読み出されたデータのうち、制御データを除く読み出しデータはリード/ライトチャネル24を介してHDC21に供給され、キャッシュメモリ22に一時的に格納される。キャッシュメモリ22内の読み出しデータは、HDC21を介してホスト装置4に供給される。
【0023】
尚、HDD1を構成する制御基板2自体の基本構成及び記憶部3自体の基本構成は、夫々周知のものを使用可能であり、図1に示す基本構成に限定されるものではない。
【0024】
次に、本実施例におけるバックアップ処理を、図2と共に説明する。図2は、バックアップ処理の一実施例を説明するフローチャートである。同図に示す処理は、制御基板2のMPU25により行われる。
【0025】
図2において、ステップS1は、制御基板2上の不揮発性メモリ23内の制御情報を磁気ディスク35へバックアップする任意のタイミングであるか否かを判定する。この任意のタイミングが例えば一定時間毎であれば、バックアップ処理は定期的に行われる。尚、本実施例では、不揮発性メモリ23に格納されている制御情報には、任意のタイミングで周知の方法により更新される制御情報が含まれているため、制御情報のバックアップ処理が定期的に行われるが、不揮発性メモリ23に格納されている制御情報が更新されない場合には、バックアップ処理は1回行えば良いことは、言うまでもない。又、バックアップ処理は、不揮発性メモリ23に格納されている制御情報のうち、更新される制御情報に対してのみ任意のタイミングで行えば良い。
【0026】
ステップS1の判定結果がYESであると、ステップS2は、制御基板2上の不揮発性メモリ23内の制御情報を読み出す。又、ステップS3は、読み出した制御情報を、磁気ディスク35上の所定領域に記録する。磁気ディスク35上の所定領域は特に限定されないが、例えば磁気ディスク35上の最内周領域及び/又は最外周領域である。ステップS4は、全てのヘッド31に対して制御情報がバックアップされたか否かを判定し、判定結果がNOであると、処理はステップS2へ戻る。他方、ステップS4の判定結果がYESであると、処理は書き込み動作や読み出し動作等のHDD1の通常動作へ戻る。
【0027】
これにより、各ヘッド31及び各磁気ディスク35に対する制御情報が、磁気ディスク35上の所定領域に記録される。尚、制御情報がバックアップされる磁気ディスク35上の所定領域は、磁気ディスク35上の複数箇所に設けられていても良く、又、複数の磁気ディスク35上の複数箇所に設けられていても良い。つまり、バックアップ処理は、各ヘッド31毎及び各磁気ディスク35上の各領域毎に、制御情報を各磁気ディスク35上の複数の箇所に多重化して記録しても良い。
【0028】
図3は、バックアップ処理の他の実施例を説明する図である。同図は、M枚の磁気ディスク35−1〜35−Mが設けられ、各磁気ディスク35−i(i=1〜M)に対して1対のヘッド31ia,31ibが設けられている場合を示す。この場合、制御情報がバックアップされる上記所定領域は、磁気ディスク35−i上の領域31ia−1〜31ia−3,31ib−1〜31ib−3からなる。これらの領域31ia−1〜31ia−3,31ib−1〜31ib−3には、例えば所定領域番号1〜nが割り当てられている。このように、各ヘッド31毎及び各磁気ディスク35上の各領域毎に、制御情報を各磁気ディスク35上の複数の箇所に多重化して記録するバックアップ処理を行うことで、何らかの理由で不揮発性メモリ23から制御情報が読めなくなったり、制御基板2が新たな制御基板と交換されて制御情報が制御基板から読めなくなった場合に、たとえ磁気ディスク35上に媒体欠陥が存在したり磁気ディスク35からの読み出し時にリードエラーが発生しても、多重化されたいずれかの領域から確実にHDD1固有の制御情報を読み出すことができる。
【0029】
次に、例えば制御基板2が故障して新たな制御基板と交換された後の処理について、図4及び図5と共に説明する。
【0030】
図4は、制御基板交換後の処理の一実施例を説明するフローチャートである。同図に示す処理は、制御基板2のMPU25により行われる。
【0031】
図4において、ステップS11は、例えばHDD1の電源投入時に開始され、不揮発性メモリ23の特定領域に制御情報が格納されているか否かを判定する。例えば制御基板2が交換された場合には、新たな制御基板上の不揮発性メモリの特定領域には、当然のことながらHDD1固有の制御情報が格納されておらず、ステップS11の判定結果はNOとなる。この場合、ステップS12は、制御基板2が交換されたことを自動的に判断し、処理はステップS13へ進む。
【0032】
ステップS13は、磁気ディスク35上の所定領域番号nから制御情報を読み出し、読み出しが成功したか否かを判定する。ステップS13の判定結果がYESであると、ステップS14は、読み出した制御情報を新たな制御基板上の不揮発性メモリ23の特定領域にリロードし、処理はステップS11へ戻る。他方、ステップS13の判定結果がNOであると、ステップS15は、リトライカウントNが0であるか否かを判定する。リトライカウントNの初期値は、予めファームウェア上にて定義されている。ステップS15の判定結果がNOであると、ステップS16は、リトライカウントをN=N−1に設定し、処理はステップS13へ戻る。
【0033】
ステップS15の判定結果がYESであると、ステップS17は、所定領域番号nが0であるか否かを判定する。ステップS17の判定結果がNOであると、ステップS18は、nをn=n−1に設定し、処理はステップS13へ戻る。ステップS17の判定結果がYESであると、ステップS19は、磁気ディスク35からの制御情報の読み出しが失敗したことを認識し、磁気ディスク35からの制御情報の読み出しが失敗したことを例えばホスト装置4に通知した後、処理は終了する。
【0034】
従って、ステップS13において判定結果がYESとなるまで、ステップS13、S15〜S18によりリトライ処理が行われる。
【0035】
他方、ステップS11の判定結果がYESであると、ステップS20は、不揮発性メモリの特定領域から制御情報を読み出す。ステップS31は、不揮発性メモリの特定領域から読み出した制御情報に基づいて書き込み動作や読み出し動作等のHDD1の通常動作を行う。又、ステップS32は、図3に示す如きバックアップ処理を行い、処理はステップS31へ戻る。
【0036】
図5は、制御基板交換後の処理の他の実施例を説明するフローチャートである。同図に示す処理は、ステップS21を除き、制御基板2のMPU25により行われる。
【0037】
図5において、ステップS21では、ホスト装置4のオペレータが、制御基板2を交換したことを示す情報をホスト装置4に入力する。ホスト装置4は、制御基板2を交換したことを示す情報の入力に応答して、磁気ディスク35の所定領域から制御情報を読み出すよう指示する制御情報読出コマンドを、HDD1に対して発行する。ステップS22は、ホスト装置4からの制御情報読出コマンドを受領する。
【0038】
ステップS23は、磁気ディスク35上の所定領域番号nから制御情報を読み出し、読み出しが成功したか否かを判定する。ステップS23の判定結果がYESであると、ステップS24は、読み出した制御情報を新たな制御基板上の不揮発性メモリの特定領域にリロードし、処理はステップS31へ進む。ステップS31及びS32は、図4のステップS31及びS32と同じである。他方、ステップS23の判定結果がNOであると、ステップS25は、リトライカウントNが0であるか否かを判定する。リトライカウントNの初期値は、予めファームウェア上にて定義されている。ステップS25の判定結果がNOであると、ステップS26は、リトライカウントをN=N−1に設定し、処理はステップS23へ戻る。
【0039】
ステップS25の判定結果がYESであると、ステップS27は、所定領域番号nが0であるか否かを判定する。ステップS27の判定結果がNOであると、ステップS28は、nをn=n−1に設定し、処理はステップS23へ戻る。ステップS27の判定結果がYESであると、ステップS29は、磁気ディスク35からの制御情報の読み出しが失敗したことを認識し、磁気ディスク35からの制御情報の読み出しが失敗したことを例えばホスト装置4に通知した後、処理は終了する。
【0040】
従って、ステップS23において判定結果がYESとなるまで、ステップS23、S25〜S28によりリトライ処理が行われる。
【0041】
制御基板2を新たな制御基板に交換した場合、新たな制御基板上の不揮発性メモリにはHDD1に最適な制御情報が格納されていないため、磁気ディスク35からの制御情報の読み出しを正常に行えず、エラー率が高くなる可能性がある。しかし、リトライ処理を行うことで、制御情報の読み出しが成功する確率を向上することができる。又、複数のヘッド31のうち、たとえ1つのヘッド31による制御情報の読み出しが失敗しても、制御情報が磁気ディスク35上の複数の領域に多重化されて記録されているので、他のヘッド31により制御情報の読み出しが成功する確率を向上することができる。更に、制御情報が磁気ディスク35上の複数の領域に多重化されて記録されているので、1つの領域からの制御情報の読み出しが失敗しても、他の領域からの制御情報の読み出しが成功する確率を向上することができる。従って、磁気ディスク35からの制御情報の読み出しを高い確率で成功させることが可能となる。
【0042】
尚、上記実施例では、本発明がHDDに適用されているが、交換可能な制御基板上に設けられた不揮発性メモリに格納された制御情報を用いて記録媒体に対する情報の書き込み及び読み出しを行う構成の記憶装置であれば、同様にして適用可能である。又、記憶装置が用いる記録媒体は、磁気ディスクに限定されるものではなく、光ディスクや光磁気ディスク等のディスクや、磁気、光や光磁気カードやテープ等の記録媒体であっても良いことは、言うまでもない。
【0043】
本発明は、以下に付記する発明をも包含するものである。
【0044】
(付記1) 少なくとも1つの記録媒体と、
該記録媒体に対して情報の書き込み及び読み出しを行う少なくとも1つのヘッドと、
不揮発性メモリが設けられた制御基板と、
制御情報に基づいて該記録媒体に対する情報の書き込み及び読み出しを制御する制御手段とを備え、
該記録媒体は、該制御情報を記録していることを特徴とする、記憶装置。
【0045】
(付記2) 少なくとも1つの記録媒体と、
該記録媒体に対して情報の書き込み及び読み出しを行う少なくとも1つのヘッドと、
不揮発性メモリが設けられた制御基板と、
該不揮発性メモリから読み出した制御情報に基づいて該記録媒体に対する情報の書き込み及び読み出しを制御する制御手段とを備え、
該制御手段は、該制御情報を任意のタイミングで該記録媒体に記録してバックアップを行うバックアップ手段を含むことを特徴とする、記憶装置。
【0046】
(付記3) 前記制御手段は、前記制御基板の交換に応答して、前記記録媒体から読み出した制御情報に基づいて該記録媒体に対する情報の書き込み及び読み出しを制御する手段を含むことを特徴とする、付記1又は2記載の記憶装置。
【0047】
(付記4) 前記制御手段は、前記制御基板の所定領域に前記制御情報が格納されていないと該制御基板の交換を検出することを特徴とする、付記3記載の記憶装置。
【0048】
(付記5) 前記制御手段は、ホスト装置からの通知により前記制御基板の交換を検出することを特徴とする、付記3記載の記憶装置。
【0049】
(付記6) 前記制御手段は、前記記録媒体上の多重化された制御情報の読み出しが失敗するとリトライ処理により前記多重化された制御情報を読み出すことを特徴とする、付記1〜5のいずれか1項記載の記憶装置。
【0050】
(付記7) 前記制御手段は、前記記録媒体からの制御情報の読み出しが成功すると、該制御情報を前記交換後の制御基板上の不揮発性メモリにリロードすることを特徴とする、付記1〜6のいずれか1項記載の記憶装置。
【0051】
(付記8) 前記制御情報は、前記ヘッド及び前記記録媒体の組み合わせによる正常な書き込み動作及び読み出し動作を保証するための動作パラメータと、該記録媒体上の欠陥ブロックを示す欠陥ブロック情報との少なくとも一方を含むことを特徴とする、付記1〜7のいずれか1項記載の記憶装置。
【0052】
(付記9) 前記バックアップ手段は、前記不揮発性メモリに格納されている制御情報のうち、更新される制御情報に対してのみ前記任意のタイミングで前記バックアップを行うことを特徴とする、付記1〜8のいずれか1項記載の記憶装置。
【0053】
以上、本発明を実施例により説明したが、本発明は上記実施例に限定されるものではなく、種々の変形及び改良が可能であることは、言うまでもない。
【0054】
【発明の効果】
本発明によれば、制御基板上に実装された不揮発性メモリに動作パラメータや欠陥ブロック情報等の制御情報が格納されている構造の記憶装置において、制御基板を交換しても記憶装置が正常に動作するようにした記憶装置を実現可能となる。
【図面の簡単な説明】
【図1】本発明になる記憶装置の一実施例を構成を示すブロック図である。
【図2】バックアップ処理の一実施例を説明するフローチャートである。
【図3】バックアップ処理の他の実施例を説明する図である。
【図4】制御基板交換後の処理の一実施例を説明するフローチャートである。
【図5】制御基板交換後の処理の他の実施例を説明するフローチャートである。
【符号の説明】
1   HDD
2   制御基板
3   記憶部
23   不揮発性メモリ
25   MPU
31   ヘッド
35   磁気ディスク
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a storage device, and more particularly to a storage device that writes and reads information to and from a recording medium such as a disk based on operation parameters.
[0002]
[Prior art]
In a conventional hard disk drive (HDD), which is a type of storage device, operating parameters such as read parameters, write parameters, and correction values for optimally writing and reading information to and from a magnetic disk, which is a type of recording medium, are not provided. Are stored in a nonvolatile memory mounted on a control board, which is obtained in advance at a stage before shipment of each HDD. When writing or reading information to or from a magnetic disk, these operation parameters are read from the non-volatile memory, and information is written or read based on the read operation parameters.
[0003]
A general HDD has a plurality of heads and a plurality of magnetic disks, and the individual heads and magnetic disks have some characteristic variations. For this reason, depending on the combination of the head and the magnetic disk, the error rate of the write operation or the read operation increases, or in the worst case, the normal write operation or the read operation cannot be performed.
[0004]
Further, it is necessary to correct mechanical variations such as a slight dimensional error of various components constituting the HDD and a mechanical assembly error at the time of manufacturing. In particular, in recent HDDs in which the recording density has been remarkably improved, the track pitch on a magnetic disk for writing and reading information is very narrow, and mechanical variations greatly affect the performance of the HDD. Correction for variation is essential.
[0005]
On the other hand, in some HDDs, in addition to the above operation parameters, defective block information indicating a defective block on a magnetic disk is obtained in advance before shipment and stored in a nonvolatile memory on a control board.
[0006]
If the control information such as the operation parameter and the defective block information is stored on the magnetic disk, it may not be able to be normally read from the magnetic disk. Therefore, the control information is stored in the nonvolatile memory on the control board.
[0007]
Note that backup of information on a memory is proposed in, for example, Patent Documents 1 and 2, but no backup of control information in an HDD or the like is proposed.
[0008]
[Patent Document 1]
JP-A-11-85628 (page 3, FIG. 1)
[Patent Document 2]
JP-A-2000-322333 (page 4, FIG. 1)
[0009]
[Problems to be solved by the invention]
The control board may be replaced due to a failure of the control board of the HDD or the like. However, if the control board is replaced with a new control board, the non-volatile memory on the new control board does not store control information such as the above operation parameters and defective block information. There was a problem that it might not work.
[0010]
That is, since there is no means for obtaining an optimum operation parameter for the combination of the head and the magnetic disk of each HDD, the operation of the HDD using the new control board becomes unstable. In the worst case, a write error or a read error is generated. Could have occurred.
[0011]
In addition, since there is no means for obtaining defective block information of the magnetic disk of each HDD, in an HDD using a new control board, writing to and reading from an erroneous block are performed. Failure due to garbage could occur.
[0012]
Accordingly, the present invention provides a storage device having a structure in which control information such as operation parameters and defective block information is stored in a non-volatile memory mounted on a control substrate. It is an object to provide a storage device which operates.
[0013]
[Means for Solving the Problems]
The object is to provide at least one recording medium, at least one head for writing and reading information to and from the recording medium, a control substrate provided with a nonvolatile memory, and the recording medium based on control information. And control means for controlling writing and reading of information to and from the storage medium, and the recording medium can be achieved by a storage device characterized by recording the control information.
[0014]
The above object is to provide at least one recording medium, at least one head for writing and reading information to and from the recording medium, a control board provided with a nonvolatile memory, and a control read from the nonvolatile memory. Control means for controlling writing and reading of information to and from the recording medium based on the information, wherein the control means includes a backup means for recording the control information on the recording medium at an arbitrary timing and performing a backup. This can also be achieved by a storage device characterized by the following.
[0015]
Therefore, according to the present invention, in a storage device having a structure in which control information such as operation parameters and defective block information is stored in a non-volatile memory mounted on a control substrate, even if the control substrate is replaced, A storage device that operates normally can be realized.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of a storage device according to the present invention will be described below with reference to the drawings.
[0017]
【Example】
FIG. 1 is a block diagram showing a configuration of an embodiment of a storage device according to the present invention. In this embodiment, the present invention is applied to an HDD for convenience of explanation.
[0018]
As shown in FIG. 1, the HDD 1 includes a control board 2 and a storage unit 3. The control board 2 is connected to a host device 4 such as a personal computer, and includes a hard disk controller (HDC) 21, a cache memory (RAM) 22, a nonvolatile memory 23 such as a flash ROM, a read / write channel 24, an MPU 25, and a motor controller. 26. The HDC 21 controls an interface for transferring data between the HDD 1 and the host device 4. The MPU 25 controls the entire HDD 1. A program (firmware) executed by the MPU 25 and control information to be described later are stored in the nonvolatile memory 23. The control board 2 has a configuration that can be replaced with the HDD 1.
[0019]
In the non-volatile memory 23, operation parameters such as read parameters, write parameters, and correction values for optimally performing writing and reading with respect to the magnetic disk 35 are obtained in advance and stored by the MPU 25 before shipment of the HDD 1. Have been. The operation parameters are stored in the nonvolatile memory 23 for each head 31 and each recording area on each magnetic disk 35. Further, in this embodiment, in addition to the operation parameters, defective block information indicating a defective block on the magnetic disk 35 is obtained and stored by the MPU 25 before shipment in the nonvolatile memory 23. The defective block information is stored in the nonvolatile memory 23 for each magnetic disk 35. The control information unique to the HDD 1 stored in the nonvolatile memory 23 is stored in, for example, a specific area in the nonvolatile memory 23, and may include at least one of the operation parameter and the defective block information.
[0020]
As shown in FIG. 1, the storage unit 3 includes one or a plurality of carriages 30, one or a plurality of heads 31, a head amplifier 32, a voice coil motor (VCM) 33, a spindle motor (SPM) 34, and one or a plurality of magnets. It consists of a disk 35.
[0021]
When writing to the magnetic disk 35, write data from the host device 4 is temporarily stored in the cache memory 22 via the HDC 21 and supplied to the head amplifier 32 via the read / write channel 24. The write data from the head amplifier 32 is written on the magnetic disk 35 rotated by the head 32. The magnetic disk 35 is rotated by the SPM 34 under the control of the motor controller 26. The carriage 30 on which the head 31 is mounted is driven in the radial direction of the magnetic disk 35 by the VCM 33 under the control of the motor controller 26. Of the data read from the magnetic disk 35 by the head 31, control data is supplied to the MPU 25 via the read / write channel 24, and the MPU 25 controls the control information read from the nonvolatile memory 23 on the control board 2. , The motor controller 26 is instructed to control the rotation of the magnetic disk 35 and the drive of the carriage 30 to the SPM 34 and the VCM 33.
[0022]
At the time of reading from the magnetic disk 35, of the data read from the magnetic disk 35 by the head 32, read data excluding control data is supplied to the HDC 21 via the read / write channel 24 and temporarily stored in the cache memory 22. Is stored. The read data in the cache memory 22 is supplied to the host device 4 via the HDC 21.
[0023]
It should be noted that the basic configuration of the control board 2 itself and the basic configuration of the storage unit 3 constituting the HDD 1 can use well-known ones, and are not limited to the basic configuration shown in FIG.
[0024]
Next, a backup process according to the present embodiment will be described with reference to FIG. FIG. 2 is a flowchart illustrating an embodiment of the backup process. The processing shown in the figure is performed by the MPU 25 of the control board 2.
[0025]
In FIG. 2, a step S1 determines whether or not it is an arbitrary timing to back up the control information in the nonvolatile memory 23 on the control board 2 to the magnetic disk 35. If this arbitrary timing is, for example, at regular intervals, the backup processing is performed periodically. In the present embodiment, since the control information stored in the nonvolatile memory 23 includes the control information updated by a known method at an arbitrary timing, the backup processing of the control information is periodically performed. However, if the control information stored in the non-volatile memory 23 is not updated, it goes without saying that the backup process only needs to be performed once. In addition, the backup process may be performed at an arbitrary timing only for the control information to be updated among the control information stored in the nonvolatile memory 23.
[0026]
If the decision result in the step S1 is YES, a step S2 reads the control information in the nonvolatile memory 23 on the control board 2. In addition, a step S3 records the read control information in a predetermined area on the magnetic disk 35. The predetermined area on the magnetic disk 35 is not particularly limited, but is, for example, the innermost peripheral area and / or the outermost peripheral area on the magnetic disk 35. A step S4 decides whether or not the control information has been backed up for all the heads 31. If the decision result in the step S4 is NO, the process returns to the step S2. On the other hand, if the decision result in the step S4 is YES, the process returns to the normal operation of the HDD 1 such as the write operation and the read operation.
[0027]
As a result, control information for each head 31 and each magnetic disk 35 is recorded in a predetermined area on the magnetic disk 35. The predetermined area on the magnetic disk 35 where the control information is backed up may be provided at a plurality of locations on the magnetic disk 35 or may be provided at a plurality of locations on the plurality of magnetic disks 35. . That is, in the backup process, control information may be multiplexed and recorded at a plurality of locations on each magnetic disk 35 for each head 31 and each area on each magnetic disk 35.
[0028]
FIG. 3 is a diagram illustrating another embodiment of the backup process. The figure shows a case in which M magnetic disks 35-1 to 35-M are provided, and a pair of heads 31ia and 31ib are provided for each magnetic disk 35-i (i = 1 to M). Show. In this case, the predetermined area in which the control information is backed up includes the areas 31ia-1 to 31ia-3 and 31ib-1 to 31ib-3 on the magnetic disk 35-i. For example, predetermined area numbers 1 to n are assigned to these areas 31ia-1 to 31ia-3 and 31ib-1 to 31ib-3. As described above, by performing the backup process of multiplexing and recording control information at a plurality of locations on each magnetic disk 35 for each head 31 and each area on each magnetic disk 35, the nonvolatile If the control information cannot be read from the memory 23 or the control board 2 is replaced with a new control board and the control information cannot be read from the control board, even if a medium defect exists on the magnetic disk 35 or the magnetic disk 35 Thus, even if a read error occurs during the read operation, the control information unique to the HDD 1 can be reliably read from any of the multiplexed areas.
[0029]
Next, for example, a process after the control board 2 has failed and is replaced with a new control board will be described with reference to FIGS.
[0030]
FIG. 4 is a flowchart illustrating an example of processing after control board replacement. The processing shown in the figure is performed by the MPU 25 of the control board 2.
[0031]
4, step S11 is started, for example, when the power of the HDD 1 is turned on, and determines whether control information is stored in a specific area of the nonvolatile memory 23. For example, when the control board 2 is replaced, the control information unique to the HDD 1 is not stored in the specific area of the nonvolatile memory on the new control board, and the determination result in step S11 is NO. It becomes. In this case, step S12 automatically determines that the control board 2 has been replaced, and the process proceeds to step S13.
[0032]
A step S13 reads the control information from the predetermined area number n on the magnetic disk 35, and determines whether or not the reading is successful. If the decision result in the step S13 is YES, a step S14 reloads the read control information to a specific area of the nonvolatile memory 23 on the new control board, and the process returns to the step S11. On the other hand, if the decision result in the step S13 is NO, a step S15 decides whether or not the retry count N is 0. The initial value of the retry count N is previously defined on the firmware. If the decision result in the step S15 is NO, a step S16 sets the retry count to N = N-1, and the process returns to the step S13.
[0033]
If the decision result in the step S15 is YES, a step S17 decides whether or not the predetermined area number n is 0. If the decision result in the step S17 is NO, a step S18 sets n to n = n-1, and the process returns to the step S13. If the decision result in the step S17 is YES, a step S19 recognizes that the reading of the control information from the magnetic disk 35 has failed, and determines that the reading of the control information from the magnetic disk 35 has failed, for example, in the host device 4. , The process ends.
[0034]
Therefore, a retry process is performed in steps S13 and S15 to S18 until the determination result is YES in step S13.
[0035]
On the other hand, if the decision result in the step S11 is YES, a step S20 reads the control information from the specific area of the nonvolatile memory. In step S31, normal operations of the HDD 1, such as a write operation and a read operation, are performed based on the control information read from the specific area of the nonvolatile memory. In step S32, a backup process as shown in FIG. 3 is performed, and the process returns to step S31.
[0036]
FIG. 5 is a flowchart for explaining another embodiment of the processing after control board replacement. The processing shown in the figure is performed by the MPU 25 of the control board 2 except for step S21.
[0037]
5, in step S21, the operator of the host device 4 inputs information indicating that the control board 2 has been replaced to the host device 4. In response to the input of the information indicating that the control board 2 has been replaced, the host device 4 issues a control information read command instructing the HDD 1 to read control information from a predetermined area of the magnetic disk 35. A step S22 receives a control information read command from the host device 4.
[0038]
A step S23 reads the control information from the predetermined area number n on the magnetic disk 35, and determines whether or not the reading is successful. If the decision result in the step S23 is YES, a step S24 reloads the read control information to a specific area of the nonvolatile memory on the new control board, and the process proceeds to the step S31. Steps S31 and S32 are the same as steps S31 and S32 in FIG. On the other hand, if the decision result in the step S23 is NO, a step S25 decides whether or not the retry count N is 0. The initial value of the retry count N is previously defined on the firmware. If the decision result in the step S25 is NO, a step S26 sets the retry count to N = N-1, and the process returns to the step S23.
[0039]
If the decision result in the step S25 is YES, a step S27 decides whether or not the predetermined area number n is 0. If the decision result in the step S27 is NO, a step S28 sets n to n = n-1, and the process returns to the step S23. If the decision result in the step S27 is YES, a step S29 recognizes that the reading of the control information from the magnetic disk 35 has failed, and informs the host device 4 that the reading of the control information from the magnetic disk 35 has failed. , The process ends.
[0040]
Therefore, the retry process is performed in steps S23 and S25 to S28 until the determination result becomes YES in step S23.
[0041]
When the control board 2 is replaced with a new control board, since the optimal control information for the HDD 1 is not stored in the nonvolatile memory on the new control board, it is possible to read the control information from the magnetic disk 35 normally. Error rate may increase. However, by performing the retry processing, the probability of successfully reading the control information can be improved. Further, even if the reading of the control information by one of the plurality of heads 31 fails, the control information is multiplexed and recorded in a plurality of areas on the magnetic disk 35. 31 makes it possible to improve the probability that control information is successfully read. Further, since the control information is multiplexed and recorded in a plurality of areas on the magnetic disk 35, even if the reading of the control information from one area fails, the reading of the control information from another area succeeds. Can be improved. Therefore, it is possible to successfully read the control information from the magnetic disk 35 with a high probability.
[0042]
In the above embodiment, the present invention is applied to the HDD. However, information is written to and read from the recording medium using control information stored in a nonvolatile memory provided on a replaceable control board. Any storage device having the configuration can be similarly applied. Further, the recording medium used by the storage device is not limited to a magnetic disk, but may be a disk such as an optical disk or a magneto-optical disk, or a recording medium such as a magnetic, optical or magneto-optical card or tape. Needless to say.
[0043]
The present invention also includes the inventions described below.
[0044]
(Supplementary Note 1) At least one recording medium,
At least one head for writing and reading information to and from the recording medium;
A control board provided with a nonvolatile memory;
Control means for controlling writing and reading of information on the recording medium based on the control information,
The storage device, wherein the control information is recorded on the recording medium.
[0045]
(Supplementary Note 2) At least one recording medium,
At least one head for writing and reading information to and from the recording medium;
A control board provided with a nonvolatile memory;
Control means for controlling writing and reading of information to and from the recording medium based on the control information read from the nonvolatile memory,
The storage device, wherein the control unit includes a backup unit that records the control information on the recording medium at an arbitrary timing to perform a backup.
[0046]
(Supplementary Note 3) The control unit includes a unit that controls writing and reading of information to and from the recording medium based on control information read from the recording medium in response to replacement of the control board. 3. The storage device according to claim 1 or 2, wherein
[0047]
(Supplementary Note 4) The storage device according to Supplementary Note 3, wherein the control unit detects replacement of the control board when the control information is not stored in a predetermined area of the control board.
[0048]
(Supplementary note 5) The storage device according to supplementary note 3, wherein the control unit detects the exchange of the control board based on a notification from a host device.
[0049]
(Supplementary note 6) The control unit according to any one of Supplementary notes 1 to 5, wherein when the reading of the multiplexed control information on the recording medium fails, the control unit reads the multiplexed control information by a retry process. The storage device according to claim 1.
[0050]
(Supplementary Note 7) The control means reloads the control information into the non-volatile memory on the control board after the replacement when the control information is successfully read from the recording medium. The storage device according to claim 1.
[0051]
(Supplementary Note 8) The control information is at least one of an operation parameter for guaranteeing a normal write operation and a read operation by a combination of the head and the recording medium, and defective block information indicating a defective block on the recording medium. The storage device according to any one of supplementary notes 1 to 7, further comprising:
[0052]
(Supplementary Note 9) The backup unit performs the backup at the arbitrary timing only on the control information to be updated among the control information stored in the nonvolatile memory, wherein the backup unit performs the backup at the arbitrary timing. 9. The storage device according to claim 8,
[0053]
As described above, the present invention has been described with reference to the embodiments. However, it is needless to say that the present invention is not limited to the above embodiments, and various modifications and improvements are possible.
[0054]
【The invention's effect】
According to the present invention, in a storage device having a structure in which control information such as operation parameters and defective block information is stored in a non-volatile memory mounted on a control substrate, the storage device can be normally operated even when the control substrate is replaced. A storage device that operates can be realized.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an embodiment of a storage device according to the present invention.
FIG. 2 is a flowchart illustrating an embodiment of a backup process.
FIG. 3 is a diagram illustrating another embodiment of the backup process.
FIG. 4 is a flowchart illustrating an example of a process after control board replacement.
FIG. 5 is a flowchart illustrating another embodiment of a process after control board replacement.
[Explanation of symbols]
1 HDD
2 Control board 3 Storage unit 23 Non-volatile memory 25 MPU
31 Head 35 Magnetic disk

Claims (5)

少なくとも1つの記録媒体と、
該記録媒体に対して情報の書き込み及び読み出しを行う少なくとも1つのヘッドと、
不揮発性メモリが設けられた制御基板と、
制御情報に基づいて該記録媒体に対する情報の書き込み及び読み出しを制御する制御手段とを備え、
該記録媒体は、該制御情報を記録していることを特徴とする、記憶装置。
At least one recording medium;
At least one head for writing and reading information to and from the recording medium;
A control board provided with a nonvolatile memory;
Control means for controlling writing and reading of information on the recording medium based on the control information,
The storage device, wherein the control information is recorded on the recording medium.
少なくとも1つの記録媒体と、
該記録媒体に対して情報の書き込み及び読み出しを行う少なくとも1つのヘッドと、
不揮発性メモリが設けられた制御基板と、
該不揮発性メモリから読み出した制御情報に基づいて該記録媒体に対する情報の書き込み及び読み出しを制御する制御手段とを備え、
該制御手段は、該制御情報を任意のタイミングで該記録媒体に記録してバックアップを行うバックアップ手段を含むことを特徴とする、記憶装置。
At least one recording medium;
At least one head for writing and reading information to and from the recording medium;
A control board provided with a nonvolatile memory;
Control means for controlling writing and reading of information to and from the recording medium based on the control information read from the nonvolatile memory,
The storage device, wherein the control unit includes a backup unit that records the control information on the recording medium at an arbitrary timing to perform a backup.
前記制御手段は、前記制御基板の交換に応答して、前記記録媒体から読み出した制御情報に基づいて該記録媒体に対する情報の書き込み及び読み出しを制御する手段を含むことを特徴とする、請求項1又は2記載の記憶装置。2. The apparatus according to claim 1, wherein the control unit includes a unit that controls writing and reading of information to and from the recording medium based on control information read from the recording medium in response to replacement of the control board. Or the storage device according to 2. 前記制御手段は、前記記録媒体からの制御情報の読み出しが成功すると、該制御情報を前記交換後の制御基板上の不揮発性メモリにリロードすることを特徴とする、請求項1〜3のいずれか1項記載の記憶装置。4. The control unit according to claim 1, wherein when the control information is successfully read from the recording medium, the control unit reloads the control information into a nonvolatile memory on the control board after the replacement. The storage device according to claim 1. 前記制御情報は、前記ヘッド及び前記記録媒体の組み合わせによる正常な書き込み動作及び読み出し動作を保証するための動作パラメータと、該記録媒体上の欠陥ブロックを示す欠陥ブロック情報との少なくとも一方を含むことを特徴とする、請求項1〜4のいずれか1項記載の記憶装置。The control information includes at least one of an operation parameter for guaranteeing a normal write operation and a read operation by a combination of the head and the recording medium, and defective block information indicating a defective block on the recording medium. The storage device according to claim 1, wherein the storage device is a storage device.
JP2002286374A 2002-09-30 2002-09-30 Memory device Pending JP2004127351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002286374A JP2004127351A (en) 2002-09-30 2002-09-30 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002286374A JP2004127351A (en) 2002-09-30 2002-09-30 Memory device

Publications (1)

Publication Number Publication Date
JP2004127351A true JP2004127351A (en) 2004-04-22

Family

ID=32279445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002286374A Pending JP2004127351A (en) 2002-09-30 2002-09-30 Memory device

Country Status (1)

Country Link
JP (1) JP2004127351A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020123367A (en) * 2020-04-02 2020-08-13 キヤノン株式会社 Information processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020123367A (en) * 2020-04-02 2020-08-13 キヤノン株式会社 Information processing device

Similar Documents

Publication Publication Date Title
JP4886877B2 (en) Recording medium control apparatus and method
US6384999B1 (en) Rewrite with embedded reassign for data recovery from marginally defective data sites on a data storage device
JP2000149463A (en) Disk drive device, error recovery processing method of disk drive device, and disk drive controller
US7490261B2 (en) Background media scan for recovery of data errors
JP2006185583A (en) Recording method of servo pattern of magnetic disk, and disk drive, magnetic disk and computer-readable medium utilizing the same
US20050044469A1 (en) Data recording/reproducing device, data recording/reproducing method, program, and recording medium
US5764881A (en) Read/write apparatus and alternation process method
JP2004055088A (en) Data recording and reproducing device and data recording and reproducing method, and computer program
US20010010605A1 (en) Read/write control system for a disk drive
JP5080841B2 (en) Control device, control method, recording medium, and disk drive for flying height of magnetic head in retry mode
JP4959630B2 (en) Data storage
JP2007317271A (en) Data storage device and error processing method in its lead processing
US20080091971A1 (en) Stored data processing apparatus, storage apparatus, and stored data processing program
US7612960B2 (en) Method for formatting data sectors on magnetic disk, and magnetic disk drive
JP2004127351A (en) Memory device
US7167961B2 (en) Single head disk drive having backup system information and method of recording and/or reading system information thereof
JP4544412B2 (en) Method for improving retry in data storage system, disk drive and computer-readable storage medium
JP2004220355A (en) File system, file operation mechanism and file operation method
CN110880337B (en) Magnetic disk device and data reading method for magnetic disk device
JP2001118343A (en) Magnetic disk device
CN113345477B (en) Magnetic disk device
JP3909046B2 (en) Data reproduction method, hard disk drive device and storage medium.
US20230153196A1 (en) Codeword redundancy
JP3803209B2 (en) Method for controlling rotary memory device and rotary memory device
JP2008299978A (en) Disk drive device and data reproducing method from disk

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20050328

Free format text: JAPANESE INTERMEDIATE CODE: A621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060704

A521 Written amendment

Effective date: 20060828

Free format text: JAPANESE INTERMEDIATE CODE: A523

A02 Decision of refusal

Effective date: 20070206

Free format text: JAPANESE INTERMEDIATE CODE: A02

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070409

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070508

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070803