JPS63285777A - Registering method for alternate information in magnetic disk device - Google Patents

Registering method for alternate information in magnetic disk device

Info

Publication number
JPS63285777A
JPS63285777A JP11910787A JP11910787A JPS63285777A JP S63285777 A JPS63285777 A JP S63285777A JP 11910787 A JP11910787 A JP 11910787A JP 11910787 A JP11910787 A JP 11910787A JP S63285777 A JPS63285777 A JP S63285777A
Authority
JP
Japan
Prior art keywords
magnetic disk
alternate information
information
alternate
disk
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
JP11910787A
Other languages
Japanese (ja)
Inventor
Yutaka Miura
豊 三浦
Kenji Takahashi
健次 高橋
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP11910787A priority Critical patent/JPS63285777A/en
Publication of JPS63285777A publication Critical patent/JPS63285777A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To shorten a working time and to improve reliability by withdrawing the alternate information of a magnetic disk prior to the reformat and automatically reregistering after completion. CONSTITUTION:When a reformat processing is started, the alternate information retreating program stored in the firmware 5 of a disk controller 2 is carried out, the alternate information 7 of a magnetic disk 3 is read and stored in the memory 8 of the disk controller 2. Thereafter, the alternate information writing program is carried out after completion of the reformat and the alternate information stored on the memory 8 is automatically reregistered in the magnetic disk 3.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は磁気ディスク装置におけろオルタネイト情報の
再登録方法に関し、磁気ディスク装置の記録媒体である
磁気ディスクの再フォーマツティングの際に適用して有
用なものである。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a method for reregistering alternate information in a magnetic disk device, and is applicable to reformatting of a magnetic disk that is a recording medium of a magnetic disk device. It is useful.

〈従来の技術〉 第2図は外部記憶装置として磁気ディスク装置をrl!
月した電子計算機システムを示すブロック線図である。
<Prior art> Figure 2 shows a magnetic disk device as an external storage device.
1 is a block diagram showing an electronic computer system.

同図に示すように、電子計算機システムは、一般に、八
−ドウエア面では、システムの核となるホストCPUI
、ディスクコントローラ2及びディスクコントローラ2
に制御され内部の磁気ディスクに対する情報の書込み及
び読出しを行なう磁気ディスク装置3を有しており、ソ
フトウェア面では、システムを制御するO8(オペレー
ティングシステム)4及びディスクコントローラ2中に
常駐する磁気ディスク装置3を制御するディスクコント
ロールファームウェア5を有している。
As shown in the figure, computer systems generally have a host CPU, which is the core of the system, in terms of hardware.
, disk controller 2 and disk controller 2
It has a magnetic disk device 3 that is controlled by the system and writes and reads information to and from an internal magnetic disk.In terms of software, it includes an O8 (operating system) 4 that controls the system and a magnetic disk device that resides in the disk controller 2. It has disk control firmware 5 that controls 3.

かくてホストCPUIは、入出力装置6から入力される
情報を処理しディスクコントローラ2を介して磁気ディ
スク族W3の磁気ディスクの所定位置にデータを書込み
、また磁気ディスクの所定位置からディスクコントロー
ラ2を介してデータを読出しこのデータを処理して入出
力装置6に出力す石ようになっている。
In this way, the host CPUI processes information input from the input/output device 6, writes data to a predetermined position on the magnetic disk of the magnetic disk group W3 via the disk controller 2, and also writes data to a predetermined position on the magnetic disk from the predetermined position on the magnetic disk. The data is read out through the input/output device 6, processed, and outputted to the input/output device 6.

ところで、前記磁気ディスク装置3の磁気ディスクは、
これをシステムで使用可能な状態にするためフォーマツ
ティングという処理が必要である。このフォーマツティ
ングとは、磁気ディスクの磁性面を管理し易いあろ記憶
容量単位に分割し、その単位毎に固有のアドレスを付け
て初期設定を行なうことである。
By the way, the magnetic disk of the magnetic disk device 3 is
In order to make it usable by the system, a process called formatting is required. This formatting involves dividing the magnetic surface of a magnetic disk into easily manageable storage capacity units, assigning a unique address to each unit, and performing initial settings.

このときの記憶容量単位をセクタと称し、磁気ディスク
に書込みを行なうとき及び磁気ディスクから読出しを行
なうときは夫々そのセクタアドレスを指定するようにな
っている。
The storage capacity unit at this time is called a sector, and the sector address is specified when writing to the magnetic disk and when reading from the magnetic disk.

ところが、磁気ディスクの磁性面は製造時のバラつきに
より書込みをしても正しく記憶できない欠陥部が存在す
る。この欠陥部は記憶部として使用できない。即ち、フ
ォーマツティングの際、磁気ディスクのセクタがS〜S
、に分割されていたとしてS、(1<i<n)に欠陥が
あったとするとセクタアドレスiのセクタにデータを書
込んでも使用できない。
However, due to variations during manufacturing, the magnetic surface of a magnetic disk has defective areas where data cannot be stored correctly even when written. This defective part cannot be used as a storage part. That is, during formatting, sectors of the magnetic disk are
, and if there is a defect in S, (1<i<n), even if data is written to the sector at sector address i, it cannot be used.

かかる事態を回避するため、n個のセクタに分割されて
いる磁気ディスクでは使用可能なセクタ数をM個(m<
n)に限定し、(n−m)個を置き替えセクタ及び制御
用セクタとして割り当てて使用する。かくて、欠陥があ
るセクタSlは例えば置き替え用セクタS、に置き譬え
るという情報を制御用のセクタ5ll(1≦a (n 
)上記41 サせ、ディスクコントロールファームウェ
ア5がこの情報を初期参照しておくことによってホスト
CPUIからセクタアドレスiのセクタ諸の書込み、読
出しを指定してもセクタアドレスmのセクタSを参照す
ることによりデータの書込み、読出しを通常通り行なう
ことができろ。即ち、ホストCPUIからはセクタS、
〜S、、、は連続的なものとしてみえる。
In order to avoid such a situation, on a magnetic disk that is divided into n sectors, the number of usable sectors is set to M (m<
n), and (n-m) are allocated and used as replacement sectors and control sectors. In this way, the control sector 5ll (1≦a (n
) In addition to the above 41, the disk control firmware 5 initially refers to this information, so that even if writing or reading of sectors at sector address i is specified from the host CPUI, by referring to sector S at sector address m. You should be able to write and read data normally. That is, from the host CPUI, sector S,
~S, , appears to be continuous.

かかる置き替えセクタに関する情報をオルタネイト情報
7(第2@参照)と称し、これに伴なう一連の操作をオ
ルタネイト情報の登録という。
Information regarding this replacement sector is referred to as alternate information 7 (see second @), and a series of operations associated with this is referred to as registration of alternate information.

〈発明が解決しようとする問題点〉 ところで、上記従来技術においてはフォーマツティング
及びオルタネイト情報の登録処理を施した後に、障害な
どにより磁気ディスクを再度フォーマツティングする必
要が生じてフォーマツティングした場合、オルタネイト
情報が消滅していた。したがって、再フォーマツティン
グの後消滅したオルタネイト情報を紙面リスト(磁気デ
ィスクに添附しである)を参照し乍ら入出力装置6を用
いて人手により再登録していた。このためこの再登録に
多大な時間と人手を要していた。
<Problems to be Solved by the Invention> By the way, in the above-mentioned conventional technology, after formatting and registration of alternate information are performed, it becomes necessary to format the magnetic disk again due to a failure or the like, and the formatting is performed. In this case, the alternate information had disappeared. Therefore, the alternate information that disappeared after reformatting was manually re-registered using the input/output device 6 while referring to the paper list (attached to the magnetic disk). Therefore, this re-registration required a great deal of time and manpower.

因に大容量の磁気ディスクには通常多くの ・欠陥部が
存在する。
Incidentally, large-capacity magnetic disks usually have many defects.

本発明は、上記従来技術に鑑み、磁気ディスクの再フォ
ーマツティングに伴なうオルタネイト情報の再登録を自
動的に行ない得ろようにした磁気ディスク装置における
オルタネイト情報の再登録方法を提供することを目的と
する。
In view of the above-mentioned prior art, it is an object of the present invention to provide a method for re-registering alternate information in a magnetic disk device, which enables automatic re-registration of alternate information accompanying reformatting of a magnetic disk. purpose.

ζ問題点を解決するための手段〉 上記目的を達成する本発明の構成は、フォーマツティン
グ及び置き替えセクタに関する情報であるオルタネイト
情報の登録が終了した後の磁気ディスクを再フォーマツ
ティングする際に、磁気ディスクから登録されて、いる
オルタネイト情報を読出してディスクコントローラのメ
モリに記憶せしめ、その後再フォーマツティングを行な
い、この再フォーマツティングが完了した後磁気ディス
クにメモリに記憶されているオルタネイト情報を再登録
するようにしたことを特徴とする。
ζMeans for Solving Problems> The configuration of the present invention that achieves the above object is such that when reformatting a magnetic disk after formatting and registration of alternate information, which is information regarding replacement sectors, is completed, First, the registered alternate information is read from the magnetic disk and stored in the memory of the disk controller, and then reformatting is performed, and after this reformatting is completed, the alternate information stored in the memory is read out from the magnetic disk. The feature is that information is re-registered.

;作   用〉 上記構成の本発明によれば、磁気ディスクのオルタネイ
ト情報は再フォーマツティングに先立ちディスクコント
ローラのメモリに引き上げられ、再フォーマツティング
完了後、磁気ディスクに再登録される。
;Function> According to the present invention having the above configuration, the alternate information on the magnetic disk is retrieved to the memory of the disk controller before reformatting, and is re-registered on the magnetic disk after reformatting is completed.

く実 施 例〉 以下本発明の実施例を図面に基づき詳細に説明する。Practical example Embodiments of the present invention will be described in detail below based on the drawings.

第1図は本発明の実施例を示すフローチャートである。FIG. 1 is a flowchart showing an embodiment of the present invention.

同図に示すように、フォーマツティング及びオルタネイ
ト情報の登録処理が完了している磁気ディスクに対する
再フォーマツティング処理11が開始されると、オルタ
ネイト情報退避プログラム12が実行され、磁気ディス
クのオルタネイト情報を読出しディスクコントローラ2
(第2図参照)のメモリ8に記憶せしめる。その後フォ
ーマツティングプログラム13の実行により磁気ディス
クに対する再フォーマツティングが行なわれろ。この再
フォーマツティングが終了するとオルタネイト情報書込
みプログラム14が実行され、メモリ8に記憶されたオ
ルタネイト情報が磁気ディスクに再登録されて一連の動
作が完了15する。
As shown in the figure, when the reformatting process 11 is started for a magnetic disk for which formatting and alternate information registration processes have been completed, an alternate information saving program 12 is executed, and the alternate information of the magnetic disk is Read disk controller 2
(See FIG. 2). Thereafter, the formatting program 13 is executed to reformat the magnetic disk. When this reformatting is completed, the alternate information writing program 14 is executed, the alternate information stored in the memory 8 is re-registered on the magnetic disk, and the series of operations is completed 15.

かかる一連のプログラムはディスクコントローラ2のデ
ィスクコントロールファームウェア5に記憶されており
、このディスクコントロールファームウェア5により自
動的に実行される。
This series of programs is stored in the disk control firmware 5 of the disk controller 2, and is automatically executed by the disk control firmware 5.

比較のため従来技術に係る同様の操作を第3図に基づき
説明しておく。同図に示すように、再フォーマツティン
グ処理11が開始されると、すぐにフォーマツティング
プログラム13が実行される。このため磁気ディスクの
オルタネイト情報は消失する。そこで、次に人手により
オルタネイト情報の作成16を行ない、続いてオルタネ
イトエリアの書込み17を行なう。これらの操作のうち
フォーマツティングプログラム13及びオルタネイトエ
リアの書込み17はディスクコントロールファームウェ
ア5により実行されるが、オルタネイト情報の作成は人
手によらなければならない。
For comparison, a similar operation according to the prior art will be explained based on FIG. 3. As shown in the figure, immediately after the reformatting process 11 is started, the formatting program 13 is executed. Therefore, the alternate information on the magnetic disk is lost. Therefore, next, the alternate information is created 16 manually, and then the alternate area is written 17. Among these operations, the formatting program 13 and writing to the alternate area 17 are executed by the disk control firmware 5, but the creation of the alternate information must be done manually.

〈発明の効果〉 以上実施例とともに具体的に説明したように、本発明に
よれば再フォーマツティング後のオルタネイト情報の再
登録をディスクコントロールファームウェアにより自動
的に行すうことができるので、従来人手によっていたこ
の作業に要する時間が大幅に短縮されるばかりでなく、
信頼性も向上する。
<Effects of the Invention> As specifically explained above in conjunction with the embodiments, according to the present invention, the re-registration of alternate information after reformatting can be automatically performed by the disk control firmware. Not only is the time required for this task significantly reduced, but
Reliability is also improved.

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

第1図は本発明の実施例を示すフローチャート、第2図
は磁気ディスク装置を有する電子計算機システムを示す
ブロック線図、第3図は従来技術に係る再フォーマツテ
ィング及びオルタネイト情報の再登録作業を示すフロー
チャートである。 図面中、 2はディスクコントローラ、 3は磁気ディスク装置、 5はディスクコントロールファームウェア、7はオルタ
ネイト情報である。
FIG. 1 is a flowchart showing an embodiment of the present invention, FIG. 2 is a block diagram showing an electronic computer system having a magnetic disk device, and FIG. 3 is a reformatting and alternate information re-registration work according to the prior art. It is a flowchart which shows. In the drawing, 2 is a disk controller, 3 is a magnetic disk device, 5 is disk control firmware, and 7 is alternate information.

Claims (1)

【特許請求の範囲】[Claims] フォーマッティング及び置き替えセクタに関する情報で
あるオルタネイト情報の登録が終了した後の磁気ディス
クを再フォーマッティングする際に、磁気ディスクから
登録されているオルタネイト情報を読出してディスクコ
ントローラのメモリに記憶せしめ、その後再フォーマッ
ティングを行ない、この再フォーマッティングが完了し
た後磁気ディスクにメモリに記憶されているオルタネイ
ト情報を再登録するようにしたことを特徴とする磁気デ
ィスク装置におけるオルタネイト情報の再登録方法。
When reformatting a magnetic disk after the registration of alternate information, which is information related to formatting and replacement sectors, is completed, the registered alternate information is read from the magnetic disk and stored in the memory of the disk controller, and then reformatted. A method for re-registering alternate information in a magnetic disk device, characterized in that after the reformatting is completed, the alternate information stored in the memory of the magnetic disk is re-registered.
JP11910787A 1987-05-18 1987-05-18 Registering method for alternate information in magnetic disk device Pending JPS63285777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11910787A JPS63285777A (en) 1987-05-18 1987-05-18 Registering method for alternate information in magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11910787A JPS63285777A (en) 1987-05-18 1987-05-18 Registering method for alternate information in magnetic disk device

Publications (1)

Publication Number Publication Date
JPS63285777A true JPS63285777A (en) 1988-11-22

Family

ID=14753083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11910787A Pending JPS63285777A (en) 1987-05-18 1987-05-18 Registering method for alternate information in magnetic disk device

Country Status (1)

Country Link
JP (1) JPS63285777A (en)

Similar Documents

Publication Publication Date Title
JP3050375B2 (en) Disk drive device and disk drive error recovery method
JPH01231150A (en) Method and device for controlling backup data dump
US5546556A (en) Disk storage system have a defect map of the disk stored in a memory which is different from the disk
US5025432A (en) Autochanger of writable discs including a non-volatile memory for storing most recent defect management information relating to the writable discs
JPH02281474A (en) Auto changer device for storage medium
JP3437502B2 (en) Dynamic defect management method for rewritable optical disk
US7212363B2 (en) Magnetic disk apparatus
JPS63285777A (en) Registering method for alternate information in magnetic disk device
JP2562753B2 (en) Readout control method for magneto-optical disk device
US6880023B2 (en) Method and apparatus for a disc drive client interface
JPH02278572A (en) Alternative block processing system
JPH02113467A (en) Disk control system
JP2595316B2 (en) Alternate assignment processing method
JP2503371B2 (en) Disk system
JPS5969856A (en) Method for controlling built-in magnetic disc
JPH08123626A (en) Disk device
JPS60261079A (en) Maintenance system of magnetic disc
JPH05181613A (en) Information processor
JPH0417458B2 (en)
JPH05128735A (en) Defective block alternation control system
JPS63117370A (en) Disk device
JPH10133867A (en) Data reproducing device and data recording medium
JP2006004487A (en) Optical disk access method, access program, and optical disk apparatus
JPS6390088A (en) Recording information managing system for optical disk
JPH087485A (en) Optical disk controller