JP2773740B2 - Disk unit diagnostic system - Google Patents

Disk unit diagnostic system

Info

Publication number
JP2773740B2
JP2773740B2 JP8156661A JP15666196A JP2773740B2 JP 2773740 B2 JP2773740 B2 JP 2773740B2 JP 8156661 A JP8156661 A JP 8156661A JP 15666196 A JP15666196 A JP 15666196A JP 2773740 B2 JP2773740 B2 JP 2773740B2
Authority
JP
Japan
Prior art keywords
disk device
disk
area
diagnosis
capacity
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.)
Expired - Fee Related
Application number
JP8156661A
Other languages
Japanese (ja)
Other versions
JPH103363A (en
Inventor
将久 細井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP8156661A priority Critical patent/JP2773740B2/en
Publication of JPH103363A publication Critical patent/JPH103363A/en
Application granted granted Critical
Publication of JP2773740B2 publication Critical patent/JP2773740B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はコンピュータ等の情
報処理装置に使用されるディスク装置の診断装置に係わ
り、特にミラー化ディスク装置の診断に好適な診断シス
テムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a diagnostic device for a disk device used in an information processing device such as a computer, and more particularly to a diagnostic system suitable for diagnosing a mirrored disk device.

【0002】[0002]

【従来の技術】データの記憶について高い信頼性が要求
される用途では、ディスク装置をミラー化(二重化)し
てデータを異なったディスク装置に二重に格納すること
が行われている。ディスク装置のミラー化や、ミラー化
を行う運用系のディスクコントローラの障害時の対策等
については例えば特開平2−110723号公報に開示
がある。
2. Description of the Related Art For applications requiring high reliability in data storage, disk devices are mirrored (duplicated) and data is stored in different disk devices twice. For example, JP-A-2-110723 discloses a method of mirroring a disk device and a countermeasure in the event of a failure of an active disk controller that performs mirroring.

【0003】図8は、従来提案されたディスク装置の診
断システムの要部を表わしたものである。この診断シス
テムは、運用系ディスク装置11と代替ディスク装置1
2からなる2台のディスク装置と、図示しないCPU
(中央処理装置)とディスクコントローラとから構成さ
れている。このシステムでは、運用系ディスク装置11
に格納されたデータを、代替ディスク装置12にすべて
コピーすることでミラー化が行われるようになってい
る。また、ミラー化状態では、両ディスク装置11、1
2に同一データを書き込むようにして、格納されるデー
タの内容を一致させ、ミラー化を維持することができ
る。
FIG. 8 shows a main part of a conventionally proposed disk drive diagnosis system. This diagnostic system comprises an operating disk device 11 and an alternative disk device 1.
2 disk devices and a CPU (not shown)
(Central processing unit) and a disk controller. In this system, the active disk device 11
The mirroring is performed by copying all the data stored in the spare disk device 12. In the mirrored state, both disk devices 11, 1
2, the same data is written, the contents of the stored data are matched, and the mirroring can be maintained.

【0004】この従来のディスク装置の診断システムで
は、運用系ディスク装置11と代替ディスク装置12の
容量が共に同一である必要がない。代替ディスク装置1
2は運用系ディスク装置11以上の容量を持っていれば
よい。運用系ディスク装置11からのコピーで、ミラー
化を行うことができるからである。もちろん、代替ディ
スク装置12の容量が運用系ディスク装置11の使用領
域よりも大きければ、運用系ディスク装置11と同一容
量の領域までのコピーが行われて使用領域13となる。
代替ディスク装置12のこれ以外の領域は未使用領域1
4として残されることになる。
In the conventional disk drive diagnosis system, the capacity of the active disk drive 11 and the capacity of the replacement disk drive 12 do not need to be the same. Alternative disk unit 1
No. 2 only needs to have a capacity equal to or larger than the active disk device 11. This is because mirroring can be performed by copying from the active disk device 11. Of course, if the capacity of the substitute disk device 12 is larger than the used area of the active disk device 11, copying to the area having the same capacity as the active disk device 11 is performed to become the used area 13.
The other area of the alternative disk device 12 is an unused area 1
4 will be left.

【0005】[0005]

【発明が解決しようとする課題】この提案のディスク装
置の診断システムでは、代替ディスク装置12の容量が
運用系ディスク装置11の使用領域よりも大きい場合に
発生する未使用領域14について、特にその認識を行っ
ていない。そこで、代替ディスク装置12に対してはそ
の全領域が診断の対象とされ、これに対してリード(re
ad)、ライト(write )およびベリファイ(verify)の
各診断処理が行われていた。この結果、ミラー化したデ
ータについて意味のない未使用領域14まで診断が行わ
れることになり、診断処理の無駄と処理時間の浪費とが
発生することになった。
In the proposed disk drive diagnostic system, the unused area 14 generated when the capacity of the substitute disk apparatus 12 is larger than the used area of the active disk apparatus 11 is particularly recognized. Did not go. Therefore, the entire area of the alternative disk device 12 is to be diagnosed, and a read (re
Ad), write, and verify diagnostic processes were performed. As a result, the diagnosis is performed up to the meaningless unused area 14 of the mirrored data, and the diagnosis process is wasted and the processing time is wasted.

【0006】そこで本発明の目的は、代替ディスク装置
の使用容量が運用系ディスク装置の容量よりも大きい場
合にミラーディスク装置としての使用領域のみの診断を
行うことのできるディスク装置の診断システムを提供す
ることにある。
Accordingly, an object of the present invention is to provide a disk drive diagnosis system which can diagnose only a used area as a mirror disk drive when the used capacity of an alternative disk drive is larger than the capacity of an active disk drive. Is to do.

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明で
は、(イ)データを格納する第1のディスク装置と、
(ロ)この第1のディスク装置に格納されるデータと同
一のものをミラー化して格納すると共に第1のディスク
装置の使用領域以上の容量を有する第2のディスク装置
と、(ハ)第2のディスク装置の診断の要求があったと
き第1のディスク装置の使用領域に対応する領域のみ検
索してその診断を行う診断実行手段とをディスク装置の
診断システムに具備させる。
According to the first aspect of the present invention, (a) a first disk device for storing data;
(B) a second disk device that mirrors and stores the same data as the data stored in the first disk device and has a capacity equal to or larger than the used area of the first disk device; When a request for diagnosis of the disk device is issued, the diagnosis system for the disk device is provided with diagnosis execution means for searching only the area corresponding to the used area of the first disk device and performing the diagnosis.

【0008】すなわち請求項1記載の発明では、データ
を格納する第1のディスク装置に対してこれ以上の容量
を有する第2のディスク装置をミラー化のために使用す
る場合には、この診断の要求があったとき第1のディス
ク装置の使用領域に対応する領域のみ検索してその診断
を行うことにしたので、第2のディスク装置の全領域を
診断する必要がなく、診断の迅速化を図ることができ
る。
That is, according to the first aspect of the present invention, when a second disk device having a capacity larger than that of the first disk device for storing data is used for mirroring, this diagnosis is performed. When a request is made, only the area corresponding to the used area of the first disk device is searched and its diagnosis is performed. Therefore, it is not necessary to diagnose the entire area of the second disk device. Can be planned.

【0009】請求項2記載の発明では、(イ)データを
格納する第1のディスク装置と、(ロ)この第1のディ
スク装置に格納されるデータと同一のものをミラー化し
て格納すると共に第1のディスク装置の使用領域以上の
容量を有する第2のディスク装置と、(ハ)第1のディ
スク装置の使用領域の容量を記憶する使用容量記憶手段
と、(ニ)第2のディスク装置の診断の要求があったと
き使用容量記憶手段を検索することによって第1のディ
スク装置の使用領域を判別する使用領域判別手段と、
(ホ)この使用領域判別手段によって判別された使用領
域に対応する第2のディスク装置の記憶領域のみその診
断を行う診断実行手段とをディスク装置の診断システム
に具備させる。
According to the second aspect of the present invention, (a) a first disk device for storing data, and (b) mirroring and storing the same data as the data stored in the first disk device, A second disk device having a capacity equal to or larger than the used area of the first disk device; (c) used capacity storage means for storing the used area capacity of the first disk device; and (d) a second disk device. Used area determining means for determining the used area of the first disk device by searching the used capacity storage means when a request for diagnosis is made;
(E) A diagnosis system for a disk drive is provided with a diagnosis execution means for performing a diagnosis only on a storage area of the second disk device corresponding to the usage area determined by the usage area determination means.

【0010】すなわち請求項2記載の発明では、データ
を格納する第1のディスク装置に対してこれ以上の容量
を有する第2のディスク装置をミラー化のために使用す
るときに、第1のディスク装置の使用領域の容量を使用
容量記憶手段に記憶させておき、第2のディスク装置の
診断の要求があったときには、この容量に相当する領域
だけ第2のディスク装置の診断を行うようにしている。
これにより、第2のディスク装置の全領域を診断する必
要がなく、診断の迅速化を図ることができる。また、第
1のディスク装置の交換等によって使用容量が変化した
ときには、第2のディスク装置の診断対象となる領域を
これに応じて変更することができる。
That is, according to the second aspect of the present invention, when the second disk device having a capacity larger than that of the first disk device for storing data is used for mirroring, the first disk device is used. The capacity of the used area of the device is stored in the used capacity storage means, and when a request for diagnosis of the second disk device is made, the second disk device is diagnosed only in an area corresponding to this capacity. I have.
This eliminates the need to diagnose the entire area of the second disk device, and can speed up the diagnosis. Further, when the used capacity changes due to replacement of the first disk device or the like, the area to be diagnosed of the second disk device can be changed accordingly.

【0011】請求項3記載の発明では、請求項1または
請求項2記載のディスク装置の診断システムで第1のデ
ィスク装置と第2のディスク装置が複数系統存在し、第
2のディスク装置の診断の要求があったとき要求された
系統の第2のディスク装置の診断が行われることを特徴
としている。
According to a third aspect of the present invention, there is provided a disk drive diagnosis system according to the first or second aspect, wherein a plurality of first disk units and second disk units exist, and diagnosis of the second disk unit is performed. When the request is issued, the second disk device of the requested system is diagnosed.

【0012】請求項4記載の発明では、請求項1または
請求項2記載のディスク装置の診断システムで第2のデ
ィスク装置はその先頭から使用領域を割り当てているこ
とを特徴としている。すなわち、複数系統のディスク装
置が存在するときには、それぞれの系統ごとに第2のデ
ィスク装置が物理的に存在し、これらの先頭番地から使
用領域が設定されることで、ディスクの管理を容易にし
ている。
According to a fourth aspect of the present invention, in the disk drive diagnosis system according to the first or second aspect, the second disk device allocates a use area from the head thereof. In other words, when there are a plurality of systems of disk devices, a second disk device physically exists for each system, and the used area is set from the start address of these systems, thereby facilitating disk management. I have.

【0013】[0013]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

【0014】[0014]

【実施例】以下実施例につき本発明を詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to embodiments.

【0015】第1の実施例 First Embodiment

【0016】図1は本発明の第1の実施例におけるディ
スク装置の診断システムの構成の概要を表わしたもので
ある。このシステムで、コンピュータシステムの端末と
してのシステム端末には、ディスク診断部22を介して
ディスク運用管理部23が接続されている。ディスク運
用管理部23は運用系ディスク装置としての第1のディ
スク装置24と、代替ディスク装置としての第2のディ
スク装置25の双方の運用管理を行うようになってい
る。また、ディスク診断部22は必要に応じて第1およ
び第2のディスク装置24、25の診断処理を実行する
ようになっている。第1および第2のディスク装置2
4、25は、磁気ディスク装置であっても光ディスク装
置あるいはその他のディスク装置であってもよい。
FIG. 1 shows the outline of the configuration of a disk drive diagnosis system according to a first embodiment of the present invention. In this system, a disk operation management unit 23 is connected to a system terminal as a terminal of the computer system via a disk diagnosis unit 22. The disk operation management unit 23 is configured to manage the operation of both the first disk device 24 as the active disk device and the second disk device 25 as the substitute disk device. The disk diagnostic unit 22 executes diagnostic processing of the first and second disk devices 24 and 25 as necessary. First and second disk devices 2
Reference numerals 4 and 25 may be magnetic disk devices, optical disk devices, or other disk devices.

【0017】このような構成のディスク装置の診断シス
テムで、システム端末21はシステム管理者からのディ
スク診断要求があると、これをディスク診断部22へ通
知するようになっている。また、ディスク診断部22か
ら診断結果が得られた場合にはこれをシステム管理者に
対して表示するようになっている。ディスク診断部22
はこのような機能を達成するために、図示しないCPU
(中央処理装置)と、表示用のディスプレイを備えてい
る。ただし、CPUおよびディスプレイは、システム端
末21あるいはディスク運用管理部23と共通するもの
であってもよい。また、システム管理者への表示はプリ
ンタを介して行ってもよいことはもちろんである。
In the disk drive diagnosis system having such a configuration, the system terminal 21 notifies the disk diagnosis unit 22 when a disk diagnosis request is received from a system administrator. When a diagnostic result is obtained from the disk diagnostic unit 22, the diagnostic result is displayed to the system administrator. Disk diagnostic unit 22
Is a CPU (not shown) to achieve such a function.
(Central processing unit) and a display for display. However, the CPU and the display may be common to the system terminal 21 or the disk operation management unit 23. The display to the system administrator may of course be performed via a printer.

【0018】図2は、第1および第2のディスク装置の
使用状況を説明するためのものである。第1の実施例で
第1のディスク装置24は100MB(メガバイト)の
容量を有しており、第2のディスク装置25は150M
Bの容量を有しているものとする。これら2台のディス
ク装置24、25は、共通した100MBの領域がミラ
ー化ディスク装置としての使用領域31となる。このた
め、第2のディスク装置25には50MBの未使用領域
32が存在する。本実施例では第2のディスク装置25
はその先頭番地から100MBの領域を単純に使用領域
として設定し使用する。
FIG. 2 is a diagram for explaining the usage status of the first and second disk devices. In the first embodiment, the first disk device 24 has a capacity of 100 MB (megabyte), and the second disk device 25 has a capacity of 150 MB.
B has a capacity of B. These two disk devices 24 and 25 have a common area of 100 MB as a use area 31 as a mirrored disk device. Therefore, the second disk device 25 has an unused area 32 of 50 MB. In this embodiment, the second disk device 25
Simply sets and uses an area of 100 MB from the start address as a use area.

【0019】図3は、ディスク運用管理部に記憶された
使用領域サイズを表わしたものである。ディスク運用管
理部23は、図示しないがディスク診断部22と同様に
独自のあるいは図1に示したシステム端末21やディス
ク診断部22と共通したCPUを備えており、また、独
自にまたはこれらと共通した記憶領域を備えている。こ
の記憶領域には、ディスク診断部22(図1)の診断対
象となるすべてのディスク装置の使用領域を管理するた
めのデータ領域41が配置されている。本実施例では第
1および第2のディスク装置24、25の2台のディス
ク装置が配置されているので、データ領域41には、こ
れらの使用領域サイズがそれぞれ100MBであること
が記されている。
FIG. 3 shows the used area size stored in the disk operation management unit. Although not shown, the disk operation management unit 23 has its own CPU similar to the disk diagnosis unit 22 or a CPU common to the system terminal 21 and the disk diagnosis unit 22 shown in FIG. Storage area. In this storage area, a data area 41 for managing the used area of all the disk devices to be diagnosed by the disk diagnostic unit 22 (FIG. 1) is arranged. In this embodiment, since two disk devices of the first and second disk devices 24 and 25 are arranged, it is described in the data area 41 that the size of each used area is 100 MB. .

【0020】図4は、このようなディスク装置の診断シ
ステムにおけるディスク診断部の処理の様子を表わした
ものである。この処理は、ディスク診断部22の前記し
たCPUが所定の記憶媒体に格納されたプログラムを実
行することによって実現する。図1に示したディスク診
断部22はシステム端末21から診断要求が入力される
のを待機している(ステップS101)。例えば第2の
ディスク装置25へのデータの書き込みの過程でエラー
が発生すると、システム端末22は第2のディスク装置
25へのミラー化の処理を中止すると共に、この装置に
対する診断要求を発生させる。第2のディスク装置25
に対する診断要求は、保守点検等の他の理由でシステム
の管理者からマニュアルで行われることもある。診断要
求が入力されたら(Y)、ディスク診断部22は診断対
象となる第2のディスク装置25のディスク容量をディ
スク運用管理部23に問い合わせる(ステップS10
2)。そして、ディスク運用管理部23から診断サイズ
に関する情報が返送されるのを待機する(ステップS1
03)。
FIG. 4 shows the state of processing of the disk diagnostic section in such a disk drive diagnostic system. This processing is realized by the CPU of the disk diagnostic unit 22 executing a program stored in a predetermined storage medium. The disk diagnostic unit 22 shown in FIG. 1 waits for a diagnostic request from the system terminal 21 (step S101). For example, if an error occurs in the process of writing data to the second disk device 25, the system terminal 22 stops the mirroring process on the second disk device 25 and generates a diagnosis request for this device. Second disk device 25
May be manually requested by the system administrator for other reasons such as maintenance and inspection. When the diagnosis request is input (Y), the disk diagnosis unit 22 inquires the disk operation management unit 23 about the disk capacity of the second disk device 25 to be diagnosed (step S10).
2). Then, it waits for the information about the diagnostic size to be returned from the disk operation management unit 23 (step S1).
03).

【0021】ディスク運用管理部23から診断サイズに
関する情報が送られてきたら(Y)、これを基にして対
象とする第2のディスク装置25における該当する容量
の領域(使用領域)に対して診断を実行する(ステップ
S104)。すなわち、第1のディスク装置24に対応
する使用領域31としての100MBの領域に対して、
その先頭番地からリード、ライトおよびベリファイの各
診断処理が行われる。診断が終了したらその結果をシス
テム端末21に通知して(ステップS105)、すべて
の作業を終了する(エンド)。システム端末21では、
この診断結果を前記したディスプレイに表示することに
なる。
When the information regarding the diagnostic size is sent from the disk operation management unit 23 (Y), based on the information, the diagnostic is performed for the area of the corresponding capacity (used area) in the target second disk device 25. Is executed (step S104). That is, for a 100 MB area as the use area 31 corresponding to the first disk device 24,
From the start address, each diagnostic processing of read, write and verify is performed. When the diagnosis is completed, the result is notified to the system terminal 21 (step S105), and all the operations are completed (end). In the system terminal 21,
The result of this diagnosis is displayed on the display.

【0022】なお、診断が該当する領域のデータを破壊
する方法で行われるものであれば、診断の終了した第2
のディスク装置25の正常と診断された領域には、第1
のディスク装置24に格納されているデータがコピーさ
れることになる。これ以後はディスク運用管理部23が
双方のディスク装置24、25に対して同一のデータを
格納処理することになる。
If the diagnosis is performed by a method of destroying the data in the corresponding area, the second diagnosis is completed.
In the area of the disk device 25 that has been diagnosed as normal,
The data stored in the disk device 24 is copied. Thereafter, the disk operation management unit 23 stores the same data in both disk devices 24 and 25.

【0023】図5は、ディスク運用管理部の処理の流れ
を表わしたものである。ディスク運用管理部23もその
CPUが所定の記憶媒体に格納されたプログラムを実行
することによって処理を行う。すなわち、ディスク運用
管理部23は、ディスク診断部22から診断サイズの問
い合わせがあるのを待機しており(ステップS20
1)、問い合わせがあると(Y)、対象となったディス
ク装置の使用領域サイズをデータ領域41の検索によっ
て調べる(ステップS202)。そして、ディスク診断
部22の診断すべきサイズを判別したら、これを診断サ
イズに関する情報として返送することになる(ステップ
S203)。
FIG. 5 shows the flow of processing of the disk operation management unit. The disk operation management unit 23 also performs the processing when its CPU executes a program stored in a predetermined storage medium. That is, the disk operation management unit 23 waits for an inquiry about the diagnostic size from the disk diagnostic unit 22 (step S20).
1) When there is an inquiry (Y), the used area size of the target disk device is checked by searching the data area 41 (step S202). When the size to be diagnosed by the disk diagnostic unit 22 is determined, the size is returned as information on the diagnostic size (step S203).

【0024】第2の実施例 Second Embodiment

【0025】図6は本発明の第2の実施例におけるディ
スク装置の診断システムの構成の概要を表わしたもので
ある。この第2の実施例で第1の実施例と同一部分には
同一の符号を付しており、これらの説明を適宜省略す
る。第2の実施例では、ディスク運用管理部23Aが、
第1のグループの記憶部51と第2のグループの記憶部
52の運用管理を行うようになっている。第1のグルー
プの記憶部51は、第1のディスク装置24とこれに格
納されたデータをミラー化した第2のディスク装置25
から構成されている。第2のグループの記憶部52も、
第1のディスク装置53とこれに格納されたデータをミ
ラー化した第2のディスク装置54から構成されてい
る。ディスク診断部22Aはシステム端末21の指示に
よって両グループの記憶部51、52のディスク装置2
4、25、53、54の診断を行う。
FIG. 6 shows an outline of a configuration of a disk drive diagnosis system according to a second embodiment of the present invention. In the second embodiment, the same portions as those in the first embodiment are denoted by the same reference numerals, and description thereof will be omitted as appropriate. In the second embodiment, the disk operation management unit 23A
The operation management of the storage unit 51 of the first group and the storage unit 52 of the second group is performed. The storage unit 51 of the first group includes a first disk device 24 and a second disk device 25 that mirrors data stored therein.
It is composed of The storage unit 52 of the second group is also
It comprises a first disk device 53 and a second disk device 54 which mirrors data stored therein. The disk diagnostic unit 22A operates the disk units 2 of the storage units 51 and 52 of both groups in accordance with an instruction from the system terminal 21
Diagnosis of 4, 25, 53 and 54 is performed.

【0026】図7はディスク運用管理部に記憶された使
用領域サイズを表わしたものである。ディスク運用管理
部23Aは、その磁気ディスク等の記録部にデータ領域
41Aを有している。データ領域41Aには、各グルー
プの記憶部51、52(図6参照)を構成するディスク
装置とそれらの使用領域のサイズが記されている。この
図で括弧内はそのディスク装置全体の容量を示してい
る。図6で第2のグループの記憶部51を構成する第1
のディスク装置53は、200MBの容量を有してお
り、第2のディスク装置54は400MBの容量を有し
ている。このため、第2のディスク装置54のミラー化
のための使用領域は200MBとなる。
FIG. 7 shows the used area size stored in the disk operation management unit. The disk operation management unit 23A has a data area 41A in a recording unit such as a magnetic disk. In the data area 41A, the disk devices constituting the storage units 51 and 52 (see FIG. 6) of each group and the sizes of their use areas are described. In this figure, the numbers in parentheses indicate the capacity of the entire disk device. In FIG. 6, the first group constituting the storage unit 51 of the second group
The disk device 53 has a capacity of 200 MB, and the second disk device 54 has a capacity of 400 MB. Therefore, the area used for mirroring the second disk device 54 is 200 MB.

【0027】この第2の実施例でディスク診断部22A
はシステム端末21の診断要求があると、いずれのグル
ープのディスク装置についての診断であるかを判別し、
ディスク運用管理部23Aに対して対象となる第2のデ
ィスク装置25(あるいはディスク装置54)の診断サ
イズを問い合わせることになる。ディスク運用管理部2
3Aでは、この問い合わせがあると図7に示したデータ
領域41Aを検索し、対象となるディスク装置25(あ
るいはディスク装置54)の使用領域サイズを診断の対
象となるサイズとしてディスク診断部22Aに返却す
る。ディスク診断部22Aでは、これに基づいて該当す
る使用領域のみの診断を行うことになる。例えば第2の
ディスク装置54は400MBの容量を有しているが、
この診断に際しては第1のディスク装置53に対応する
200MBの使用領域のみの診断がその先頭番地から実
行される。診断結果はシステム端末21に通知され、第
1の実施例の場合と同様にこれがディスプレイ等に表示
されることになる。
In the second embodiment, the disk diagnosis unit 22A
When there is a diagnosis request from the system terminal 21, it determines which group of disk devices is the diagnosis,
The disk operation management unit 23A is inquired about the diagnostic size of the target second disk device 25 (or disk device 54). Disk operation management unit 2
In 3A, when this inquiry is made, the data area 41A shown in FIG. 7 is searched, and the used area size of the target disk device 25 (or disk device 54) is returned to the disk diagnostic unit 22A as the size to be diagnosed. I do. Based on this, the disk diagnostic unit 22A diagnoses only the relevant use area. For example, the second disk device 54 has a capacity of 400 MB,
At the time of this diagnosis, a diagnosis of only the used area of 200 MB corresponding to the first disk device 53 is executed from the head address. The diagnosis result is notified to the system terminal 21 and is displayed on a display or the like as in the case of the first embodiment.

【0028】以上説明した実施例では1系統または2系
統のディスク装置に対する診断について説明したが、更
に多くのディスク装置が存在する場合にも本発明を適用
することができる。
In the embodiment described above, the diagnosis for one or two systems of disk devices has been described. However, the present invention can be applied to a case where more disk devices exist.

【0029】[0029]

【発明の効果】以上説明したように請求項1記載の発明
によれば、データを格納する第1のディスク装置に対し
てこれ以上の容量を有する第2のディスク装置をミラー
化のために使用するときには、この診断の要求があった
とき第1のディスク装置の使用領域に対応する領域のみ
検索してその診断を行うことにしたので、第2のディス
ク装置の全領域を診断する必要がなく、診断の迅速化を
図ることができる。また、使用領域以外の領域でエラー
が発生するような場合でも、これと関係なく第2のディ
スク装置を使用することができる。
As described above, according to the first aspect of the present invention, the second disk device having a larger capacity than the first disk device for storing data is used for mirroring. When the diagnosis is requested, only the area corresponding to the used area of the first disk device is searched and the diagnosis is performed, so that it is not necessary to diagnose the entire area of the second disk device. In addition, the diagnosis can be speeded up. Further, even when an error occurs in an area other than the used area, the second disk device can be used regardless of this.

【0030】更に、請求項2記載の発明によれば、第2
のディスク装置の全領域を診断する必要がなく、診断の
迅速化を図ることができる他、第1のディスク装置の交
換等によって使用容量が変化したときには、第2のディ
スク装置の診断対象となる領域をこれに応じて自在に変
更することができる。
Further, according to the second aspect of the present invention, the second
There is no need to diagnose the entire area of the disk device, and the diagnosis can be speeded up. In addition, when the used capacity changes due to replacement of the first disk device or the like, the second disk device is diagnosed. The area can be freely changed accordingly.

【0031】また、請求項4記載の発明では第2のディ
スク装置はその先頭から使用領域を割り当てているの
で、ディスクの管理が容易であるという特徴がある。
Further, in the invention according to claim 4, since the second disk device allocates the used area from the head thereof, there is a feature that the management of the disk is easy.

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

【図1】本発明の第1の実施例におけるディスク装置の
診断システムのシステム構成図である。
FIG. 1 is a system configuration diagram of a disk drive diagnosis system according to a first embodiment of the present invention.

【図2】第1の実施例における第1および第2のディス
ク装置の使用状況を示した説明図である。
FIG. 2 is an explanatory diagram showing a usage state of first and second disk devices in the first embodiment.

【図3】第1の実施例のディスク運用管理部に記憶され
た使用領域サイズを表わした説明図である。
FIG. 3 is an explanatory diagram showing a used area size stored in a disk operation management unit of the first embodiment.

【図4】ディスク装置の診断システムにおけるディスク
診断部の処理の様子を表わした流れ図である。
FIG. 4 is a flowchart showing a state of processing of a disk diagnosis unit in the disk device diagnosis system.

【図5】ディスク運用管理部の処理の流れを表わした流
れ図である。
FIG. 5 is a flowchart showing a processing flow of a disk operation management unit.

【図6】本発明の第2の実施例におけるディスク装置の
診断システムのシステム構成図である。
FIG. 6 is a system configuration diagram of a disk drive diagnosis system according to a second embodiment of the present invention.

【図7】第2の実施例におけるディスク運用管理部に記
憶された使用領域サイズを表わした説明図である。
FIG. 7 is an explanatory diagram showing a used area size stored in a disk operation management unit in the second embodiment.

【図8】従来提案されたディスク装置の診断システムの
要部を表わした説明図である。
FIG. 8 is an explanatory diagram showing a main portion of a conventionally proposed disk device diagnosis system.

【符号の説明】[Explanation of symbols]

21 システム端末 22、22A ディスク診断部 23、23A ディスク管理部 24、53 第1のディスク装置 25、54 第2のディスク装置 31 使用領域 32 未使用領域 51 第1のグループの記憶部 52 第2のグループの記憶部 21 System Terminal 22, 22A Disk Diagnosis Unit 23, 23A Disk Management Unit 24, 53 First Disk Device 25, 54 Second Disk Device 31 Used Area 32 Unused Area 51 First Group Storage Unit 52 Second Group storage

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データを格納する第1のディスク装置
と、 この第1のディスク装置に格納されるデータと同一のも
のをミラー化して格納すると共に第1のディスク装置の
使用領域以上の容量を有する第2のディスク装置と、 第2のディスク装置の診断の要求があったとき第1のデ
ィスク装置の使用領域に対応する領域のみ検索してその
診断を行う診断実行手段とを具備することを特徴とする
ディスク装置の診断システム。
1. A first disk device for storing data, the same disk as the data stored in the first disk device being mirrored and stored, and having a capacity larger than the used area of the first disk device. A second disk device, and a diagnosis executing means for searching only an area corresponding to the used area of the first disk device when a request for diagnosis of the second disk device is made, and performing the diagnosis. Characteristic disk device diagnostic system.
【請求項2】 データを格納する第1のディスク装置
と、 この第1のディスク装置に格納されるデータと同一のも
のをミラー化して格納すると共に第1のディスク装置の
使用領域以上の容量を有する第2のディスク装置と、 第1のディスク装置の使用領域の容量を記憶する使用容
量記憶手段と、 第2のディスク装置の診断の要求があったとき前記使用
容量記憶手段を検索することによって第1のディスク装
置の使用領域を判別する使用領域判別手段と、 この使用領域判別手段によって判別された使用領域に対
応する第2のディスク装置の記憶領域のみその診断を行
う診断実行手段とを具備することを特徴とするディスク
装置の診断システム。
2. A first disk device for storing data, and the same data as the data stored in the first disk device is mirrored and stored, and a capacity larger than the used area of the first disk device is stored. A second disk device, a used capacity storage unit for storing a capacity of a used area of the first disk device, and a search for the used capacity storage unit when a request for diagnosis of the second disk device is issued. A use area discriminating means for discriminating a use area of the first disk device; and a diagnosis executing means for diagnosing only the storage area of the second disk device corresponding to the use area determined by the use area discrimination means. Diagnostic system for a disk device.
【請求項3】 第1のディスク装置と第2のディスク装
置は複数系統存在し、第2のディスク装置の診断の要求
があったとき要求された系統の第2のディスク装置の診
断が行われることを特徴とする請求項1または請求項2
記載のディスク装置の診断システム。
3. A first disk device and a second disk device are provided in a plurality of systems, and when a request for diagnosis of the second disk device is made, diagnosis of the second disk device of the requested system is performed. 3. The method according to claim 1, wherein
A diagnostic system for a disk device according to claim 1.
【請求項4】 第2のディスク装置はその先頭から使用
領域を割り当てていることを特徴とする請求項1または
請求項2記載のディスク装置の診断システム。
4. The diagnostic system for a disk device according to claim 1, wherein the second disk device allocates a use area from the head thereof.
JP8156661A 1996-06-18 1996-06-18 Disk unit diagnostic system Expired - Fee Related JP2773740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8156661A JP2773740B2 (en) 1996-06-18 1996-06-18 Disk unit diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8156661A JP2773740B2 (en) 1996-06-18 1996-06-18 Disk unit diagnostic system

Publications (2)

Publication Number Publication Date
JPH103363A JPH103363A (en) 1998-01-06
JP2773740B2 true JP2773740B2 (en) 1998-07-09

Family

ID=15632544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8156661A Expired - Fee Related JP2773740B2 (en) 1996-06-18 1996-06-18 Disk unit diagnostic system

Country Status (1)

Country Link
JP (1) JP2773740B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4716438A (en) * 1986-11-17 1987-12-29 Xerox Corporation High speed electronic reprographic/printing machine
KR100584926B1 (en) * 2002-10-04 2006-05-30 가부시키가이샤 타나카코산카켄큐우쇼 System for supplying useful-to-human-body substance into human body utilizing sauna space
WO2008126169A1 (en) * 2007-03-12 2008-10-23 Fujitsu Limited Storage management program, storage management method, and storage management device

Also Published As

Publication number Publication date
JPH103363A (en) 1998-01-06

Similar Documents

Publication Publication Date Title
US7107486B2 (en) Restore method for backup
US7577897B2 (en) Data integrity inspection support method for disk devices, and data integrity inspection method for disk devices
US8751862B2 (en) System and method to support background initialization for controller that supports fast rebuild using in block data
JP3699166B2 (en) Method for monitoring data loss in hierarchical data storage
JP4252139B2 (en) Storage system
US5832200A (en) Data storage apparatus including plural removable recording mediums and having data reproducing function
JPH05224832A (en) Disk device diagnostic method for array disk device
JPH0216640A (en) Exclusive system for identifying point with possible defect in digital data processing system
JP2002278819A (en) Generation management method for snap shot image, storage medium and generation management system
JPH09231013A (en) Method for sharing energized hsd among plural storage subsystems and its device
JPH08263222A (en) Discrimination system of controller
US20050246576A1 (en) Redundant system utilizing remote disk mirroring technique, and initialization method for remote disk mirroring for in the system
JPH09269871A (en) Data re-redundancy making system in disk array device
US7130973B1 (en) Method and apparatus to restore data redundancy and utilize spare storage spaces
JP2773740B2 (en) Disk unit diagnostic system
EP0303856B1 (en) Method and apparatus for maintaining duplex-paired devices by means of a dual copy function
US6732194B1 (en) Method and apparatus for multi-sequential data operations
JPH07121315A (en) Disk array
US6272442B1 (en) Taking in-use computer drives offline for testing
JP2960667B2 (en) Information processing apparatus and external storage device driving method
JP3614886B2 (en) File system
CN115359834B (en) Disk arbitration region detection method, device, equipment and readable storage medium
JP3832485B2 (en) Computer system and secondary storage device
JP2000172570A5 (en) Information recording device and data input / output method and reconstruction method in this device
JPH11237959A (en) Multiple writing storage device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080424

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090424

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100424

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110424

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees