JPH01235075A - Disk memory controller - Google Patents
Disk memory controllerInfo
- Publication number
- JPH01235075A JPH01235075A JP5993388A JP5993388A JPH01235075A JP H01235075 A JPH01235075 A JP H01235075A JP 5993388 A JP5993388 A JP 5993388A JP 5993388 A JP5993388 A JP 5993388A JP H01235075 A JPH01235075 A JP H01235075A
- Authority
- JP
- Japan
- Prior art keywords
- sector
- data
- disk memory
- substitute
- 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
Links
- 230000015654 memory Effects 0.000 title claims abstract description 30
- 230000002950 deficient Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明はコンピュータシステムの外部記憶装置として用
いられるディスクメモリの制御装置に関するものである
。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a control device for a disk memory used as an external storage device of a computer system.
(従来の技術)
ディスクメモリは記憶容ωが大きいことや、ランダムア
クセスが可能であるという点でコンビ1−タシステムの
外部記憶装置として多用されている。(Prior Art) Disk memories are frequently used as external storage devices in combination systems because of their large storage capacity ω and their ability to be randomly accessed.
このようなディスクメモリは、通常、ディスクメモリ制
御装置を介してコンピュータ本体と接続され、コンピュ
ータ本体からのデータ書込みまたは読出し命令に従って
ディスク制御装置がデータの書込み制御または読出し制
御を行い、コンピュータ本体との間でデータの送受を行
うように構成されている。Such disk memory is usually connected to a computer via a disk memory control device, and the disk control device controls data writing or reading according to data write or read commands from the computer. It is configured to send and receive data between the two.
このようなシステムにおいて、ディスクメモリとの間の
データの送受を高速で行うために、コンピュータ本体と
ディスクメモリ制御D装置との間にキャッシュ方式のシ
ステムバッフ戸を配置したものがある。In such systems, in order to transmit and receive data to and from the disk memory at high speed, there is a system in which a cache type system buffer door is disposed between the computer main body and the disk memory control device.
このキャッシュ方式を用いたシステムでは、ディスクメ
モリに記憶させるべきデータをシステムバッファに転送
しておくと、転送されたデータは、システムバッファに
空きがなくなった時、あるいはシステムバッファの痒き
出し命令が発行された時に、実際にディスクメモリ制御
′!!A置によってディスクメモリに書込まれる。In a system using this cache method, data that should be stored in disk memory is transferred to the system buffer, and the transferred data is saved when the system buffer runs out of space or when an instruction to start the system buffer is issued. When issued, actually disk memory control′! ! Written to disk memory by the A location.
〔弁明が解決しようとする課題]
ところが、上記のようにギヤフシ1方式を用いたシステ
ムでは、ディスクメモリ側で書込みエラーが発生したと
してもコンピュータ本体はシステムバツアに対し次の新
たなデータを転送するまでの間、別の91!IL理を実
行しているために瀉込みエラーが弁士じたことを直ちに
知ることができない。[Problem that the defense is trying to solve] However, in a system using the Gear Fushi 1 method as described above, even if a write error occurs on the disk memory side, the computer itself cannot transfer the next new data to the system buffer. Until then, another 91! Since the IL method is being executed, it is not possible to immediately know that the error was caused by the benshi.
このため、ディスクメモリに記憶させたデータが正常で
あるか否かを保証し得ないという問題が生じていた。For this reason, a problem has arisen in that it is not possible to guarantee whether the data stored in the disk memory is normal.
本発明の目的は、ディスクメモリに記憶させたデータを
確実に保証することができるディスクメモリ制agaを
提供することにある。An object of the present invention is to provide a disk memory system AGA that can reliably guarantee the data stored in the disk memory.
[課題を解決するための手段〕
本発明では、ディスクメモリの単位記憶領域を構成する
セクタ群の一部に代替セクタを設け、この代替セクタを
選んでデータを害込むようにディスクドライバを構成し
たものである。[Means for Solving the Problems] In the present invention, an alternative sector is provided in a part of a sector group constituting a unit storage area of a disk memory, and a disk driver is configured to select this alternative sector and damage data. It is something.
(作用)
書込みエラーが弁士じたセクタに対するデータは代替セ
クタに書込まれる。これによって、データは確実に保証
されることになる。(Operation) Data for the sector in which a write error occurred is written to an alternative sector. This ensures that the data is guaranteed.
(実施例)
第1図は本発明の一実施例を示すシステムブロック図で
あり、ディスク制御装置1はシステムバッファ2を介し
て中央処理装置(CPU)3と接続され、CPtJ3の
ユーザプログラム4から発生されるデータの読出し命令
または書込み命令に応じてオペレーティングシステム5
が起動し、システムバッファ2を介してのデータの送受
を行うように構成されている。(Embodiment) FIG. 1 is a system block diagram showing an embodiment of the present invention, in which a disk control device 1 is connected to a central processing unit (CPU) 3 via a system buffer 2, and a user program 4 of CPtJ3 is The operating system 5 responds to the generated data read or write command.
is activated and is configured to send and receive data via the system buffer 2.
ディスクメモリ制御装置1にはディスクメモリ6が接続
され、データの読み書きが実行される。A disk memory 6 is connected to the disk memory control device 1, and reads and writes data therefrom.
第2図は、ディスク制御装置1の詳細構成を示すブロッ
ク図であり、ディスクドライバ10とディスクコントロ
ーラ11とから構成され、ディスクドライバ10には代
替セクタとして設定したセクタの論理アドレスを記憶す
る代替セクタ管理部12が設けられている。一方、ディ
スクメモリ6には多数のセクタで構成されるセクタ群の
一部に代替セクタ部60が設けられるとともに、代替セ
クタとして使用しているセクタの論理アドレスを記憶す
る代替セクタ管理用セクタ61が設けられている。FIG. 2 is a block diagram showing the detailed configuration of the disk control device 1, which is composed of a disk driver 10 and a disk controller 11, and the disk driver 10 has an alternative sector that stores the logical address of a sector set as an alternative sector. A management section 12 is provided. On the other hand, the disk memory 6 is provided with an alternative sector section 60 as part of a sector group consisting of a large number of sectors, and an alternative sector management sector 61 that stores the logical address of the sector used as an alternative sector. It is provided.
第3図はデータ書込み時の動作を示すフローチャートで
あり、ディスクドライバ10はオペレーティングシステ
ム5からのデータ書込み要求を受(プたならば、この要
求を解析した後、ディスクコントローラ11に対してデ
ータ書込み用の各種のコマンドを送出する。これによっ
て、ディスクコントローラ11は、システムバッファ2
に格納されているデータの書込みを行う。そして、その
書込みが終了したならば、ディスクドライバ10に対し
て終了ステータス信号を返信する。FIG. 3 is a flowchart showing the operation when writing data, in which the disk driver 10 receives a data write request from the operating system 5, analyzes this request, and then writes data to the disk controller 11. The disk controller 11 sends various commands for the system buffer 2.
Writes data stored in . When the writing is completed, a completion status signal is sent back to the disk driver 10.
ディスクドライバ10は終了ステータス信号の中に困込
みエラー信号が含まれているかどうかを監視しているが
、もし、再込みエラーが発生していたならば該セクタを
不良セクタと見做し、代替セクタ部60に用意されてい
る代替セクタの1つを選択し、この代替セクタに対して
不良セクタに対するデータを書込む。この後、代替セク
タの論理アドレスを不良セクタの1.a31アドレスに
入れ替え、代替セクタ管理部12および代替セクタ管理
用セクタ61に格納する。The disk driver 10 monitors whether a trouble error signal is included in the completion status signal, but if a rewrite error has occurred, it considers the sector to be a bad sector and replaces it. One of the alternative sectors prepared in the sector section 60 is selected, and data for the defective sector is written into this alternative sector. After this, the logical address of the replacement sector is set to 1. of the bad sector. a31 address and stored in the alternative sector management unit 12 and the alternative sector management sector 61.
従って、代替セクタ管理部12および代替セクタ管理用
セクタ61には、書込みエラーを発生した不良セクタが
どの代替セクタに代替されているかの情報が保存される
ことになる。この場合、電源を一部オフにすると、代替
セクタ管理部12の内容は消去されるため、電源投入時
には管理用セクタ61の内容は管理部12に転送してお
く必要がある。Therefore, the alternative sector management unit 12 and the alternative sector management sector 61 store information as to which alternative sector has replaced the bad sector in which the write error has occurred. In this case, when the power is partially turned off, the contents of the alternative sector management section 12 are erased, so the contents of the management sector 61 must be transferred to the management section 12 when the power is turned on.
なお、代替セクタ60に準備されているセクタの数は限
りがあるため、全ての代替セクタを使用する状態となっ
た時には書込み異常として報知される。Note that since the number of sectors prepared in the alternative sector 60 is limited, a write abnormality is reported when all the alternative sectors are used.
以上のように本発明においては、代替セクタを設け、書
込みエラーの発生したセクタへのデータはこの代替セク
タに書込むように構成したため、ディスクメモリに書込
まれたデータを確実に保汀することができるという効果
がある。As described above, in the present invention, an alternative sector is provided and data to the sector where a write error has occurred is written to this alternative sector, so that data written to the disk memory can be reliably preserved. It has the effect of being able to.
第1図は本発明の一実施例を示すシステムブロック図、
第2図はディスクメモリ制[置の詳細構成を示すブロッ
ク図、第3図はデータ書込み動作を示すフローチャート
である。
1・・・ディスクメモリ制′n装置、2・・・システム
バッファ、3・・・CPU、6・・・ディスクメモリ、
10・・・ディスクドライバ、11・・・ディスクコン
トローラ、12・・・代替セクタ管理部、60・・・代
替セクタ部、61・・・代替セクタ管理用セクタ。
第1図
第2図FIG. 1 is a system block diagram showing an embodiment of the present invention;
FIG. 2 is a block diagram showing the detailed configuration of the disk memory system, and FIG. 3 is a flowchart showing the data write operation. 1... Disk memory system device, 2... System buffer, 3... CPU, 6... Disk memory,
DESCRIPTION OF SYMBOLS 10... Disk driver, 11... Disk controller, 12... Alternative sector management part, 60... Alternative sector part, 61... Sector for alternative sector management. Figure 1 Figure 2
Claims (1)
受を行うディスクメモリ制御装置において、 ディスクメモリの単位記憶領域を構成するセクタ群の一
部に代替セクタを設けたうえ、データの書込みエラー発
生時は上記代替セクタを選択して書込みエラーの発生し
たセクタに対するデータを書込むディスクドライバを備
えることを特徴とするディスクメモリ制御装置。[Claims] In a disk memory control device that sends and receives data via a cache-type system buffer, an alternative sector is provided in a part of a sector group constituting a unit storage area of the disk memory, and data is written in the disk memory control device. A disk memory control device comprising: a disk driver that selects the alternative sector when an error occurs and writes data to the sector in which a write error has occurred.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5993388A JPH01235075A (en) | 1988-03-14 | 1988-03-14 | Disk memory controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5993388A JPH01235075A (en) | 1988-03-14 | 1988-03-14 | Disk memory controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01235075A true JPH01235075A (en) | 1989-09-20 |
Family
ID=13127426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5993388A Pending JPH01235075A (en) | 1988-03-14 | 1988-03-14 | Disk memory controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01235075A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5530828A (en) * | 1992-06-22 | 1996-06-25 | Hitachi, Ltd. | Semiconductor storage device including a controller for continuously writing data to and erasing data from a plurality of flash memories |
US5530673A (en) * | 1993-04-08 | 1996-06-25 | Hitachi, Ltd. | Flash memory control method and information processing system therewith |
US5644539A (en) * | 1991-11-26 | 1997-07-01 | Hitachi, Ltd. | Storage device employing a flash memory |
US6078520A (en) * | 1993-04-08 | 2000-06-20 | Hitachi, Ltd. | Flash memory control method and information processing system therewith |
US6081447A (en) * | 1991-09-13 | 2000-06-27 | Western Digital Corporation | Wear leveling techniques for flash EEPROM systems |
US6347051B2 (en) | 1991-11-26 | 2002-02-12 | Hitachi, Ltd. | Storage device employing a flash memory |
US6549974B2 (en) | 1992-06-22 | 2003-04-15 | Hitachi, Ltd. | Semiconductor storage apparatus including a controller for sending first and second write commands to different nonvolatile memories in a parallel or time overlapped manner |
US7120729B2 (en) | 2002-10-28 | 2006-10-10 | Sandisk Corporation | Automated wear leveling in non-volatile storage systems |
US7190617B1 (en) | 1989-04-13 | 2007-03-13 | Sandisk Corporation | Flash EEprom system |
-
1988
- 1988-03-14 JP JP5993388A patent/JPH01235075A/en active Pending
Cited By (37)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7190617B1 (en) | 1989-04-13 | 2007-03-13 | Sandisk Corporation | Flash EEprom system |
US6081447A (en) * | 1991-09-13 | 2000-06-27 | Western Digital Corporation | Wear leveling techniques for flash EEPROM systems |
US7353325B2 (en) | 1991-09-13 | 2008-04-01 | Sandisk Corporation | Wear leveling techniques for flash EEPROM systems |
US6850443B2 (en) | 1991-09-13 | 2005-02-01 | Sandisk Corporation | Wear leveling techniques for flash EEPROM systems |
US6594183B1 (en) | 1991-09-13 | 2003-07-15 | Sandisk Corporation | Wear leveling techniques for flash EEPROM systems |
US6230233B1 (en) | 1991-09-13 | 2001-05-08 | Sandisk Corporation | Wear leveling techniques for flash EEPROM systems |
US7082510B2 (en) | 1991-11-26 | 2006-07-25 | Renesas Technology Corp. | Storage device employing a flash memory |
US6567334B2 (en) | 1991-11-26 | 2003-05-20 | Hitachi, Ltd. | Storage device employing a flash memory |
US6130837A (en) * | 1991-11-26 | 2000-10-10 | Hitachi, Ltd. | Storage device employing a flash memory |
US7123519B2 (en) | 1991-11-26 | 2006-10-17 | Renesas Technology Corp. | Storage device employing a flash memory |
US7184320B2 (en) | 1991-11-26 | 2007-02-27 | Renesas Technology Corp. | Storage device employing a flash memory |
US7379379B2 (en) | 1991-11-26 | 2008-05-27 | Solid State Storage Solutions Llc | Storage device employing a flash memory |
US6341085B1 (en) | 1991-11-26 | 2002-01-22 | Hitachi, Ltd. | Storage device employing a flash memory |
US6347051B2 (en) | 1991-11-26 | 2002-02-12 | Hitachi, Ltd. | Storage device employing a flash memory |
US7327624B2 (en) | 1991-11-26 | 2008-02-05 | Solid State Storage Solutions, Llc | Storage device employing a flash memory |
US7064995B2 (en) | 1991-11-26 | 2006-06-20 | Renesas Technology Corp. | Storage device employing a flash memory |
US7006386B2 (en) | 1991-11-26 | 2006-02-28 | Renesas Technology Corp. | Storage device employing a flash memory |
US7154805B2 (en) | 1991-11-26 | 2006-12-26 | Renesas Technology Corp. | Storage device employing a flash memory |
US5644539A (en) * | 1991-11-26 | 1997-07-01 | Hitachi, Ltd. | Storage device employing a flash memory |
US7002851B2 (en) | 1991-11-26 | 2006-02-21 | Renesas Technology Corp. | Storage device employing a flash memory |
US6925012B2 (en) | 1991-11-26 | 2005-08-02 | Renesas Technology Corp. | Storage device employing a flash memory |
US6788609B2 (en) | 1991-11-26 | 2004-09-07 | Renesas Technology Corp. | Storage device employing a flash memory |
US5809515A (en) * | 1992-06-22 | 1998-09-15 | Hitachi, Ltd. | Semiconductor storage device in which instructions are sequentially fed to a plurality of flash memories to continuously write and erase data |
US6728826B2 (en) | 1992-06-22 | 2004-04-27 | Renesas Technology Corp. | Semiconductor storage device in which commands are sequentially fed to a plurality of flash memories to continuously write data |
US6598115B2 (en) | 1992-06-22 | 2003-07-22 | Hitachi, Ltd. | Semiconductor storage apparatus including a plurality of nonvolatile flash memories and utilizing logical to physical sector conversion |
US6549974B2 (en) | 1992-06-22 | 2003-04-15 | Hitachi, Ltd. | Semiconductor storage apparatus including a controller for sending first and second write commands to different nonvolatile memories in a parallel or time overlapped manner |
US6457092B1 (en) | 1992-06-22 | 2002-09-24 | Hitachi, Ltd. | Semiconductor disk storage apparatus including a plurality of flash memories and a buffer memory to continuously write data responsive to first and second write commands |
US5530828A (en) * | 1992-06-22 | 1996-06-25 | Hitachi, Ltd. | Semiconductor storage device including a controller for continuously writing data to and erasing data from a plurality of flash memories |
US8001319B2 (en) | 1992-06-22 | 2011-08-16 | Solid State Storage Solutions, Inc. | Semiconductor storage device |
US6145050A (en) * | 1992-06-22 | 2000-11-07 | Hitachi, Ltd. | Semiconductor disk storage apparatus including a write buffer memory in which instructions are sequentially fed to a plurality of flash memories to continuously write sectors of data in an overlapped manner into the flash memories |
US6421279B1 (en) | 1993-04-08 | 2002-07-16 | Hitachi, Ltd. | Flash memory control method and apparatus processing system therewith |
US5862083A (en) * | 1993-04-08 | 1999-01-19 | Hitachi, Ltd. | Information processing system |
US6078520A (en) * | 1993-04-08 | 2000-06-20 | Hitachi, Ltd. | Flash memory control method and information processing system therewith |
US5530673A (en) * | 1993-04-08 | 1996-06-25 | Hitachi, Ltd. | Flash memory control method and information processing system therewith |
US6275436B1 (en) | 1993-04-08 | 2001-08-14 | Hitachi, Ltd | Flash memory control method and apparatus processing system therewith |
US5973964A (en) * | 1993-04-08 | 1999-10-26 | Hitachi, Ltd. | Flash memory control method and information processing system therewith |
US7120729B2 (en) | 2002-10-28 | 2006-10-10 | Sandisk Corporation | Automated wear leveling in non-volatile storage systems |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20030043627A1 (en) | Internal data transfer | |
KR930010981A (en) | Storage device using flash memory | |
JP2001166993A (en) | Memory control unit and method for controlling cache memory | |
US4423479A (en) | Cache/disk subsystem with acquire write command | |
US6671751B1 (en) | Raid device for establishing a direct passage between a host computer and a hard disk by a data hub selectively passing only data to be accessed | |
JPH01235075A (en) | Disk memory controller | |
KR20080045833A (en) | Method of controlling flash memory and flash memory system using the same | |
JPH07121444A (en) | Auxiliary storage device | |
JP3541349B2 (en) | Cache memory backup system | |
KR100445182B1 (en) | Data Copy Device | |
JPH04111113A (en) | Hard disk emulator | |
JPH0793101A (en) | Data backup device | |
EP0539966A2 (en) | A magneto-optical disc control system and method | |
JPH0744982A (en) | Data recording/reproducing device and method for controlling data write | |
JPH0520196A (en) | Disk cache controller | |
JP2701739B2 (en) | Processor switching method | |
JP3125634B2 (en) | Electronic computer system | |
JPH06348503A (en) | Device with master and slave control system and its control method | |
JPH02113467A (en) | Disk control system | |
JP4009401B2 (en) | Disk control apparatus and recording medium recording program | |
JPH0514353Y2 (en) | ||
JP2737495B2 (en) | I / O control unit | |
JP2904077B2 (en) | Magnetic disk drive | |
JPH09114674A (en) | Hard disk device | |
JPH01177151A (en) | Information processing system |