JP2003241904A5 - - Google Patents

Download PDF

Info

Publication number
JP2003241904A5
JP2003241904A5 JP2002039208A JP2002039208A JP2003241904A5 JP 2003241904 A5 JP2003241904 A5 JP 2003241904A5 JP 2002039208 A JP2002039208 A JP 2002039208A JP 2002039208 A JP2002039208 A JP 2002039208A JP 2003241904 A5 JP2003241904 A5 JP 2003241904A5
Authority
JP
Japan
Prior art keywords
write
block
data
management table
request
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
JP2002039208A
Other languages
Japanese (ja)
Other versions
JP2003241904A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2002039208A priority Critical patent/JP2003241904A/en
Priority claimed from JP2002039208A external-priority patent/JP2003241904A/en
Priority to US10/327,751 priority patent/US6976124B2/en
Publication of JP2003241904A publication Critical patent/JP2003241904A/en
Publication of JP2003241904A5 publication Critical patent/JP2003241904A5/ja
Pending legal-status Critical Current

Links

Claims (9)

複数のディスク装置とこれらディスク装置を制御する制御装置とを有し、外部装置に接続されるディスクアレイ装置において、
前記制御装置は、
前記外部装置からの要求を受け付ける要求受付手段と、
受け付けた前記要求に応じ、前記ディスク装置に対してフォーマット処理を実行するフォーマット手段と、
受け付けた前記要求に応じ、データの読み出し処理を実行する読み出し手段と、
受け付けた前記要求に応じ、データの書き込み処理を実行する書き込み手段と、
前記ディスク装置について、前記書き込み処理が実行された履歴をブロック単位で記録する書き込み履歴管理テーブル
とを備え、
前記フォーマット手段は、前記書き込み履歴管理テーブルを参照してフォーマット先の前記ブロックについて前記書き込み処理の有無を確認し、前記書き込み処理済みのブロックに対して前記フォーマット処理を実行しない一方、前記書き込み処理済みではない前記ブロックのみに対して前記フォーマット処理を実行するとともに、前記書き込み履歴管理テーブルにおける前記フォーマット処理済みの前記ブロックについて前記書き込み処理の実行済みとする履歴を記録し、
前記フォーマット手段の実行状態において、前記外部装置から前記読み出し処理及び/又は前記書き込み処理の実行要求を前記要求受付手段で受け付けると、前記読み出し手段及び/又は前記書き込み手段は、前記書き込み履歴管理テーブルを参照し、該当のブロックが前記書き込み処理済みの場合にのみ、前記ディスクアレイ装置にアクセスして当該ブロックに対して前記読み出し処理及び/又は前記書き込み処理を実行することを特徴とするディスクアレイ装置。
In a disk array device having a plurality of disk devices and a control device for controlling these disk devices and connected to an external device,
The controller is
Request accepting means for accepting a request from the external device;
In response to the received request, formatting means for executing formatting processing on the disk device;
Reading means for executing a data reading process in response to the received request;
Writing means for executing a data writing process in response to the received request;
A writing history management table for recording the history of execution of the writing process in units of blocks for the disk device;
The formatting means refers to the write history management table to check the presence / absence of the write process for the block to be formatted, and does not execute the format process on the write-processed block, while the write process has been completed. The format process is performed only on the blocks that are not, and the history that the write process has been performed on the blocks that have been formatted in the write history management table is recorded,
In the execution state of the formatting means, when the request accepting means accepts an execution request for the read process and / or the write process from the external device, the read means and / or the write means store the write history management table. Referring to the disk array apparatus, the disk array apparatus accesses the disk array apparatus and executes the read process and / or the write process on the block only when the corresponding block has been subjected to the write process.
データを一時的に記憶するキャッシュメモリを備え、前記フォーマット手段の実行状態において、前記外部装置から前記読み出し処理の実行要求を前記要求受付手段で受け付けると、前記読み出し手段は、前記書き込み履歴管理テーブルを参照し、読み出し先のブロックが前記書き込み処理済みではない場合には、所定のデータを生成して前記キャッシュメモリに格納し、当該キャッシュメモリの前記データを前記外部上位装置に送信することを特徴とする請求項1に記載のディスクアレイ装置。A cache memory for temporarily storing data, and when the request processing unit receives the read processing execution request from the external device in the execution state of the formatting unit, the reading unit stores the write history management table. Referring to, when the read destination block is not already written, the predetermined data is generated and stored in the cache memory, and the data in the cache memory is transmitted to the external host device. The disk array device according to claim 1 . データを一時的に記憶するキャッシュメモリを備え、前記フォーマット手段の実行状態において、前記外部装置から前記書き込み処理の実行要求を前記要求受付手段で受け付けると、前記書き込み手段は、前記書き込み履歴管理テーブルを参照し、書き込み先のブロックが前記書き込み処理済みではない場合には、前記キャッシュメモリに前記外部装置から送信された書き込みデータを格納して、前記書き込み履歴管理テーブルにおける当該ブロックについて前記書き込み処理の実行済みとする履歴を記録することを特徴とする請求項1に記載のディスクアレイ装置。A cache memory for temporarily storing data; and in the execution state of the formatting means, when the request receiving means receives the execution request for the write process from the external device, the writing means stores the write history management table If the write destination block is not already written, the write data transmitted from the external device is stored in the cache memory, and the write process is executed for the block in the write history management table. 2. The disk array device according to claim 1, wherein a history to be recorded is recorded. 前記外部装置から前記フォーマット処理の実行要求を前記要求受付手段で受け付けると、前記フォーマット手段は、前記ディスク装置に対する実際のフォーマット処理を実行する前に、前記外部装置へ当該フォーマット処理の完了の報告を実行することを特徴とする請求項1乃3のいずれかに記載のディスクアレイ装置。  When the request accepting unit accepts the execution request for the formatting process from the external device, the formatting unit reports the completion of the formatting process to the external device before executing the actual formatting process for the disk device. 4. The disk array device according to claim 1, wherein the disk array device is executed. 複数のディスク装置を有し、外部装置に接続されるディスクアレイ装置の制御方法であって、
前記外部装置からフォーマット処理の実行要求を受け付けると、書き込み処理が実行された履歴をブロック単位で記録する書き込み履歴管理テーブルを参照して該当のブロックについてデータの書き込み処理の有無を確認し、
前記確認の結果、前記書き込み処理済みの前記ブロックに対してはフォーマット処理を実行しない一方、前記書き込み処理済みではないブロックのみに対して前記フォーマット処理を実行するとともに、前記書き込み履歴管理テーブルにおける前記フォーマット処理済みのブロックについて前記書き込み処理を実行済みとする履歴を記録し、
前記フォーマット処理の実行状態において、前記外部装置から読み出し処理及び/又は前記書き込み処理の実行要求を受け付けると、前記書き込み履歴管理テーブルを参照し、該当のブロックについて前記書き込み処理済みの場合にのみ、前記ディスクアレイ装置にアクセスして当該ブロックに対して前記読み出し処理及び/又は前記書き込み処理を実行することを特徴とするディスクアレイ装置の制御方法。
A method of controlling a disk array device having a plurality of disk devices and connected to an external device,
Upon receiving a format process execution request from the external device, referring to the write history management table that records the history of the write process in units of blocks, confirms the presence or absence of data write process for the corresponding block,
As a result of the confirmation, the format process is not performed on the block that has been subjected to the write process, while the format process is performed only on the block that has not been subjected to the write process, and the format in the write history management table Record the history that the writing process has been executed for the processed block,
When an execution request for a read process and / or the write process is received from the external device in the execution state of the format process, the write history management table is referred to, and only when the write process has been completed for the corresponding block, A method for controlling a disk array device, comprising: accessing a disk array device to execute the read process and / or the write process on the block.
前記ディスクアレイ装置はデータを一時的に記憶するキャッシュメモリを備え、前記フォーマット処理の実行状態において、前記外部装置から前記読み出し処理の実行要求を受け付けると、前記書き込み履歴管理テーブルを参照し、該当のブロックについて前記書き込み処理済みではない場合には、所定のデータを生成して前記キャッシュメモリに格納し、当該キャッシュメモリの前記データを前記外部上位装置に送信することを特徴とする請求項5に記載のディスクアレイ装置の制御方法。  The disk array device includes a cache memory for temporarily storing data. When the execution request for the read process is received from the external device in the execution state of the format process, the disk array apparatus refers to the write history management table, and 6. The block according to claim 5, wherein if the write processing has not been completed for a block, predetermined data is generated and stored in the cache memory, and the data in the cache memory is transmitted to the external host device. Method for controlling the disk array device of the present invention. 前記ディスクアレイ装置はデータを一時的に記憶するキャッシュメモリを備え、前記フォーマット処理の実行状態において、前記外部装置から前記書き込み処理の実行要求を前記要求受付手段で受け付けると、前記書き込み履歴管理テーブルを参照し、該当のブロックについて前記書き込み処理済みではない場合には、前記キャッシュメモリに前記外部装置から送信された書き込みデータを格納して、前記書き込み履歴管理テーブルにおける当該ブロックについて前記書き込み処理の実行済みとする履歴を記録すること特徴とする請求項5に記載の制御方法。The disk array device includes a cache memory for temporarily storing data, and when the request processing unit receives the write processing execution request from the external device in the format processing execution state, the write history management table is stored. If the write processing has not been completed for the corresponding block, the write data transmitted from the external device is stored in the cache memory, and the write processing has been executed for the block in the write history management table The control method according to claim 5, wherein the history is recorded. 前記外部装置から前記フォーマット処理の実行要求を前記要求受付手段で受け付けると、前記フォーマット手段は、前記ディスク装置に対する実際のフォーマット処理を実行する前に、前記外部装置へ当該フォーマット処理の完了の報告を実行することを特徴とする請求項5乃至7のいずれかに記載のディスクアレイ装置の制御方法。  When the request accepting unit accepts the execution request for the formatting process from the external device, the formatting unit reports the completion of the formatting process to the external device before executing the actual formatting process for the disk device. 8. The disk array device control method according to claim 5, wherein the disk array device control method is executed. 複数の磁気ディスクを備えた磁気ディスク装置と、この磁気ディスク装置を制御するディスクコントローラとを有し、A magnetic disk device having a plurality of magnetic disks, and a disk controller for controlling the magnetic disk device;
前記ディスクコントローラは、  The disk controller is
上位装置に接続されて、データの読み出し要求や書き込み要求などの要求を受け付けるホストチャネル制御部と、  A host channel control unit that is connected to a host device and receives requests such as data read requests and write requests;
キャッシュメモリと、  Cache memory,
プロセッサ、制御メモリ、前記制御メモリに記憶された制御データや制御プログラムに基づき前記プロセッサが動作することで実現される、フォーマット手段、読み出し手段、及び、書き込み手段を備え、前記磁気ディスクについて書き込み処理が実行された履歴をブロック単位で記録する書き込み履歴管理テーブルを前記制御メモリに記憶するミドル制御部と、  A processor, a control memory, and a formatting unit, a reading unit, and a writing unit, which are realized by the processor operating based on control data and a control program stored in the control memory. A middle control unit for storing in the control memory a write history management table that records the executed history in block units;
を備え、With
前記フォーマット手段は、前記上位装置からフォーマット要求を受けると、前記上位装置に対してフォーマット処理の終了を報告した後に、前記書き込み履歴管理テーブルを参照してフォーマット先のブロックについて書き込み処理の有無を確認し、書き込み処理済みのブロックに対してフォーマット処理を実行しない一方、書き込み処理済みではないブロックに対してフォーマット処理を実行するとともに、前記フォーマット処理を実行したブロックについて、書き込み処理済みとする履歴を前記書き込み履歴管理テーブルに記録し、  Upon receiving a format request from the host device, the formatting means reports the end of the formatting process to the host device, and then confirms the presence or absence of the writing process for the block to be formatted with reference to the writing history management table The format process is not performed on the block that has been subjected to the write process, while the format process is performed on the block that has not been subjected to the write process. Record in the write history management table,
フォーマット処理の実行状態において、前記上位装置から前記読み出し要求を前記ホストチャネル制御部で受け付けると、前記読み出し手段は、前記キャッシュメモリに該当のデータが存在する場合は前記キャッシュメモリから前記上位装置に該当のデータを転送し、前記キャッシュメモリに該当のデータが存在しない場合は、前記書き込み履歴管理テーブルを参照し、該当のブロックが書き込み処理済みの場合には、前記磁気ディスクから該当のデータを前記キャッシュメモリに読み込み、前記キャッシュメモリから前記上位装置に該当のデータを転送し、該当のブロックが書き込み処理済みではない場合には、所定のデータを前記キャッシュメモリに作成して、前記キャッシュメモリから前記上位装置に前記所定のデータを送信し、  When the host channel control unit accepts the read request from the host device in the format processing execution state, the read unit corresponds to the host device from the cache memory when the corresponding data exists in the cache memory. If the corresponding data does not exist in the cache memory, the write history management table is referred to. If the corresponding block has been written, the corresponding data is transferred from the magnetic disk to the cache memory. Read the data into the memory, transfer the corresponding data from the cache memory to the host device, and if the corresponding block is not already written, create predetermined data in the cache memory and Sending the predetermined data to the device;
前記フォーマット処理の実行状態において、前記上位装置から前記書き込み要求を前記ホストチャネル制御部で受け付けると、前記書き込み手段は、前記書き込み履歴管理テーブルを参照し、該当のブロックが書き込み処理済みの場合には、前記磁気ディスクにアクセスして当該ブロックに対して書き込み処理を実行し、該当のブロックが書き込み処理済みではない場合には、前記キャッシュメモリに該当のブロック全体のフォーマットデータを生成して格納し、このフォーマットデータが格納された前記キャッシュメモリの該当エリアにおいて、前記上位装置から受領した書き込みデータを格納して、当該ブロックについて書き込み処理済みとする履歴を前記書き込み履歴管理テーブルに記録し、前記磁気ディスクに対する前記ブロック単位の書き込み処理を実行する  When the host channel control unit accepts the write request from the host device in the execution state of the format process, the writing unit refers to the write history management table, and when the corresponding block has been written. , Access the magnetic disk and execute a write process on the block. If the corresponding block is not already written, the format data of the entire block is generated and stored in the cache memory. In the corresponding area of the cache memory in which the format data is stored, the write data received from the host device is stored, and a history that the block has been written is recorded in the write history management table, and the magnetic disk Against the block To execute the writing process
ことを特徴とするディスクアレイ装置。A disk array device characterized by that.
JP2002039208A 2001-12-25 2002-02-15 Disk array device and its control method Pending JP2003241904A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002039208A JP2003241904A (en) 2002-02-15 2002-02-15 Disk array device and its control method
US10/327,751 US6976124B2 (en) 2001-12-25 2002-12-23 Control method of control device conducting data input and output to storage devices, and control device used therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002039208A JP2003241904A (en) 2002-02-15 2002-02-15 Disk array device and its control method

Publications (2)

Publication Number Publication Date
JP2003241904A JP2003241904A (en) 2003-08-29
JP2003241904A5 true JP2003241904A5 (en) 2005-05-26

Family

ID=27780310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002039208A Pending JP2003241904A (en) 2001-12-25 2002-02-15 Disk array device and its control method

Country Status (1)

Country Link
JP (1) JP2003241904A (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7181586B2 (en) * 2004-04-05 2007-02-20 Hewlett-Packard Development Company, L.P. Formatting a data storage medium to a desired block format
JP2006127106A (en) 2004-10-28 2006-05-18 Hitachi Ltd Storage system and its control method
JP4884721B2 (en) 2005-08-22 2012-02-29 株式会社日立製作所 Storage system and storage control method that do not require storage device format
JP4968342B2 (en) * 2007-12-27 2012-07-04 富士通株式会社 RAID controller and RAID system
JP4719801B2 (en) 2009-03-06 2011-07-06 富士通株式会社 Device management apparatus, device initialization method, device initialization program, and device system
JP4836014B2 (en) 2009-07-24 2011-12-14 日本電気株式会社 Disk array device and physical disk restoration method
JP5655344B2 (en) 2010-03-31 2015-01-21 富士通株式会社 Storage device, storage device control program, and storage device control method
JP2017004146A (en) * 2015-06-08 2017-01-05 富士通株式会社 Storage control apparatus

Similar Documents

Publication Publication Date Title
KR100345632B1 (en) A memory device and a method for controlling the same
KR101663066B1 (en) Solid state memory command queue in hybrid device
JP2004185349A5 (en)
JP2004506256A5 (en)
JP2007537522A5 (en)
US8086793B2 (en) Optical disc recorder and buffer management method thereof
US20150149741A1 (en) Storage System and Control Method Thereof
JP3078204B2 (en) Magnetic disk device and buffer management method in magnetic disk device
US7000077B2 (en) Device/host coordinated prefetching storage system
JP2007193439A (en) Storage device using nonvolatile cache memory and control method thereof
JP2003241904A5 (en)
JP2006338345A5 (en)
JP2009187547A5 (en)
JP2001306265A5 (en)
US11494312B2 (en) Flash memory devices and prefetch methods thereof
US7263468B2 (en) Method for storing access record in network communication device
JP2010015613A (en) Storage device, controlling method for storage device, and control program
JP4706029B2 (en) Storage device, data writing method, and data writing program
JP4947040B2 (en) Storage device, storage system, and control method
JP2006113882A (en) Data management device
JPH0519981A (en) Data write normal end judging method for optical disk device
JP2011086324A (en) Storage device
US9032184B2 (en) Implementing drive list mode for reads and writes for hard disk drives
JPH0793101A (en) Data backup device
JP2531538B2 (en) Cache memory data write-back method and disk cache control device