JP2002351746A - Duplex system for hard disk drive - Google Patents

Duplex system for hard disk drive

Info

Publication number
JP2002351746A
JP2002351746A JP2001162783A JP2001162783A JP2002351746A JP 2002351746 A JP2002351746 A JP 2002351746A JP 2001162783 A JP2001162783 A JP 2001162783A JP 2001162783 A JP2001162783 A JP 2001162783A JP 2002351746 A JP2002351746 A JP 2002351746A
Authority
JP
Japan
Prior art keywords
hard disk
storage capacity
disk drive
normal
data
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
JP2001162783A
Other languages
Japanese (ja)
Inventor
Tetsuo Sugiyama
哲雄 杉山
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2001162783A priority Critical patent/JP2002351746A/en
Publication of JP2002351746A publication Critical patent/JP2002351746A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent a duplex restructuring (copying) time from becoming long each time a hard disk drive is replaced. SOLUTION: This hard-disk-drive duplex system which is so structured as to access both hard disk drives (DISK) for reading and writing can obtain one-disk storage capacity from a one-disk information storage part of a DISK1 which was normal after a DISK2 is replaced and the power source is turned on, rewrite and store other-disk storage capacity stored in an other-disk storage part of the DISK2 into the one-disk storage capacity obtained from the one-disk information storage part, and equalize the storage capacity of a replaced DISK2 and the storage capacity of the DISK1 which was normal to each other to copy all the data stored on the DISK1 to the DISK2.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、リード・ライトを
双方ハードディスク装置にアクセスするように構築され
たハードディスク装置の2重化システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual hard disk drive system constructed so as to access both hard disk drives for reading and writing.

【0002】[0002]

【従来の技術】リード・ライトを双方ハードディスク装
置にアクセスするように構築されたハードディスク装置
の2重化システムが知られている。
2. Description of the Related Art There is known a hard disk drive duplex system constructed to access both hard disks and read / write.

【0003】例えば、図5に示す店舗内に配設された複
数の電子キャッシュレジスタ(ターミナル1P)と、各
ターミナル1Pとデータ通信可能でかつそれらの上位機
を形成する店舗コンピュータ(ストアコントローラS
C)10Pとから形成された商品販売データ処理システ
ムの場合には、サーバー系の店舗コンピュータ10Pに
ハードディスク装置の2重化システムが導入されてい
る。
For example, a plurality of electronic cash registers (terminals 1P) disposed in a store shown in FIG. 5 and a store computer (store controller S) capable of data communication with each terminal 1P and forming a higher-level device thereof
C) In the case of the merchandise sales data processing system formed from 10P, a duplex system of a hard disk device is introduced in the server-based store computer 10P.

【0004】すなわち、店舗コンピュータ10Pに記憶
容量が同一の2台のハードディスク装置20P,30P
を設ける。そして、自機(10P)内で設定入力したデ
ータは双方ハードディスク装置20P,30Pにアクセ
スしてライトする。ターミナル(1P)から収集した各
売上データも双方ハードディスク装置20P,30Pに
ライトしておく。
That is, two hard disk devices 20P, 30P having the same storage capacity in the store computer 10P.
Is provided. Then, the data set and input in the own device (10P) accesses and writes to both the hard disk devices 20P and 30P. Each sales data collected from the terminal (1P) is also written in the hard disk devices 20P and 30P.

【0005】一方、ターミナル1Pから商品データの問
合せを受信した場合には、双方ハードディスク装置20
P,30Pにアクセスして問合せ(商品コード)に対応
する商品データをリードし整合性を確認した後に当該タ
ーミナル1Pに応答する。また、双方ハードディスク装
置20P,30Pにアクセスして収集記憶保持されてい
た売上データ等をリードして編集等すれば正確な営業用
資料を作成することができる。
[0005] On the other hand, when a product data inquiry is received from the terminal 1P,
P, 30P is accessed to read the product data corresponding to the inquiry (product code), confirm the consistency, and then respond to the terminal 1P. In addition, accurate sales materials can be created by accessing the hard disk devices 20P and 30P and reading and editing the sales data and the like collected and stored.

【0006】かかるハードディスク装置の2重化システ
ムでは、例えば一方ハードディスク装置(例えば、20
P…DISK1)が正常で、他方ハードディスク装置
(30P…DISK2)に障害が生じた場合、DISK
2を交換する。
In such a dual hard disk drive system, for example, one hard disk drive (for example, 20
DISK1) is normal and the other hard disk drive (30P ... DISK2) fails, DISK
Exchange 2

【0007】かくして、交換後に電源を投入すると、デ
ータ復旧制御手段は、交換しない正常なDISK1から
記憶保持データをリード(図6でST50)し、リード
したデータをDISK2にライト(ST51)する。セ
クタ単位で物理的にコピーするので、全セクタについて
終了(ST52でYES)すれば、全データについての
データ復旧が完了する。つまり、例えば再取得不能な貴
重データの消失を防止でき、データ保存(バックアッ
プ)を確実に行なえる。
Thus, when the power is turned on after the replacement, the data recovery control means reads the stored data from the normal DISK 1 not to be replaced (ST 50 in FIG. 6) and writes the read data to the DISK 2 (ST 51). Since data is physically copied in sector units, the data recovery for all data is completed if the process is completed for all sectors (YES in ST52). That is, for example, loss of valuable data that cannot be reacquired can be prevented, and data can be saved (backed up) reliably.

【0008】[0008]

【発明が解決しようとする課題】ところで、ハードディ
スク装置の大容量化および低コスト化が目覚しい現今で
は、使用現場において上記場合で交換された他方DIS
K2の記憶容量が交換前のDISK2の記憶容量と同じ
である保証性が危ぶまれている。すなわち、交換前(当
初組込み状態)の記憶容量(例えば、5GB)に比較し
て交換後の記憶容量(例えば、10GB)が増大してい
る場合が多い。
Nowadays, the capacity and cost of the hard disk drive are remarkably increasing, and at the time of use, the other DIS is replaced in the above-mentioned case at the site of use.
It is feared that the storage capacity of K2 is the same as the storage capacity of DISK2 before replacement. In other words, the storage capacity after replacement (for example, 10 GB) is often larger than the storage capacity (for example, 5 GB) before replacement (in the initially assembled state).

【0009】しかるに、従来2重化システムでは、ハー
ドディスク装置20P(30P)つまりDISK1(D
ISK2)内に記憶管理されているデータを確実に保存
(バックアップ)できればよいことから、DISK1
(DISK2)内のどのエリアにどのデータが記憶され
ているかを管理しつつその一方から他方にデータをコピ
ーしてもあまり意味がない。つまり、全エリアに記憶さ
れあるいは記憶されている筈であるデータの全てをセク
タ単位で物理的にコピー(2重化再構築)するように形
成されている。
However, in the conventional duplex system, the hard disk drive 20P (30P), that is, DISK1 (D
Since it is sufficient that the data stored and managed in the ISK 2) can be reliably saved (backed up), the DISK 1
It does not make much sense to copy data from one to the other while managing which area is stored in which area in (DISK2). In other words, it is formed so that all the data stored or supposed to be stored in all areas is physically copied (duplex reconstruction) in sector units.

【0010】かくして、交換前の記憶容量と交換後の記
憶容量とが同じ(例えば、5GB)でデータ2重化再構
築(コピー)時間が例えば10分であった場合と比較し
て、交換後の記憶容量が例えば、10GBに増大した場
合の2重化再構築(コピー)時間は20分となる。つま
り、交換後の記憶容量が増大するほどに2重化再構築
(コピー)時間が累積的に長期化する問題がある。これ
は、業務能率を大幅に低下させることになる。
Thus, compared with the case where the storage capacity before replacement and the storage capacity after replacement are the same (for example, 5 GB) and the data duplication reconstruction (copy) time is, for example, 10 minutes, For example, when the storage capacity of the device is increased to 10 GB, the duplex reconstruction (copy) time is 20 minutes. In other words, there is a problem that the double reconstruction (copy) time is cumulatively prolonged as the storage capacity after replacement increases. This will greatly reduce operational efficiency.

【0011】本発明の目的は、交換後の記憶容量が交換
前の記憶容量よりも増大することがあっても2重化再構
築(コピー)時間の長期化を防止することができるハー
ドディスク装置の2重化システムを提供することにあ
る。
An object of the present invention is to provide a hard disk drive capable of preventing a long double rebuilding (copying) time even if the storage capacity after replacement may be larger than the storage capacity before replacement. It is to provide a duplex system.

【0012】[0012]

【課題を解決するための手段】請求項1の発明は、リー
ド・ライトを双方ハードディスク装置にアクセスするよ
うに構築されたハードディスク装置の2重化システムに
おいて、
According to the first aspect of the present invention, there is provided a dual hard disk drive system constructed to access both hard disk drives for read / write.

【0013】他方ハードディスク装置を交換した後でか
つ電源投入後に正常であった一方ハードディスク装置の
一方ディスク情報記憶部から一方ディスク記憶容量を取
得可能で、他方ハードディスク装置の他方ディスク情報
記憶部に記憶されている他方ディスク記憶容量を一方デ
ィスク情報記憶部から取得した一方ディスク記憶容量に
書換え記憶可能に形成するとともに、交換後の他方ハー
ドディスク装置の記憶容量と正常であった一方ハードデ
ィスク装置の記憶容量とを同じとして一方ハードディス
ク装置に記憶された全データを他方ハードディスク装置
にコピー可能に形成されたハードディスク装置の2重化
システムである。
After replacement of the other hard disk device and after power-on, the one disk storage capacity of the one hard disk device can be obtained from the one disk information storage portion of the one hard disk device, and is stored in the other disk information storage portion of the other hard disk device. The other disk storage capacity that is obtained from the one disk information storage unit is replaced with the one disk storage capacity so as to be rewritable, and the storage capacity of the other hard disk drive after replacement and the storage capacity of the normal one hard disk drive are replaced. This is a dual hard disk drive system in which all data stored in one hard disk drive can be copied to the other hard disk drive.

【0014】かかる発明では、他方ハードディスク装置
に支障(異常等)が発生した場合には、他方ハードディ
スク装置を新品に交換する。この交換後に電源投入する
と、正常であった一方ハードディスク装置の一方ディス
ク情報記憶部から一方ディスク記憶容量が取得される。
In this invention, when a trouble (abnormality or the like) occurs in the other hard disk drive, the other hard disk drive is replaced with a new hard disk drive. When the power is turned on after the replacement, the one disk storage capacity is obtained from the one disk information storage unit of the normal one hard disk device.

【0015】そして、交換後の他方ハードディスク装置
の他方ディスク情報記憶部に記憶されている他方ディス
ク記憶容量を、一方ディスク情報記憶部から取得した一
方ディスク記憶容量に書換え記憶する。かくして、交換
後の他方ハードディスク装置の記憶容量と正常であった
一方ハードディスク装置の記憶容量とを同じとして、一
方ハードディスク装置に記憶された全データを交換され
た新規の他方ハードディスク装置にコピーすることがで
きる。
Then, the other disk storage capacity stored in the other disk information storage section of the other hard disk drive after replacement is rewritten and stored in the one disk storage capacity acquired from the one disk information storage section. Thus, it is possible to copy all data stored in the one hard disk drive to the replaced new hard disk drive, assuming that the storage capacity of the other hard disk drive after replacement is the same as the storage capacity of the normal one hard disk drive. it can.

【0016】したがって、交換された他方ハードディス
ク装置の記憶容量が一方ハードディスク装置の記憶容量
の例えば2倍であったときに2倍のコピー時間を費やし
ていた従来例の場合に比較して、コピー時間を半減(1
倍)できかつその後の他方ハードディスク装置の記憶容
量が逐次増大されたとしても装置構築時における一方
(他方)ハードディスク装置の記憶容量としたままコピ
ーすることができるから、コピー時間が累積的に長期化
しない。
Therefore, when the storage capacity of the replaced hard disk drive is twice as large as the storage capacity of the one hard disk drive, for example, the copy time is twice as long as in the conventional example in which the copy time is doubled. Halved (1
Even if the storage capacity of the other hard disk device is gradually increased thereafter, copying can be performed with the storage capacity of the one (other) hard disk device at the time of device construction, so that the copy time is cumulatively prolonged. do not do.

【0017】すなわち、交換後の記憶容量が交換前の記
憶容量よりも増大することがあっても2重化再構築(コ
ピー)時間の長期化を防止することができるとともに、
記憶容量変換を自動で行なえるからハードディスクの管
理負担を軽減できる。
In other words, even if the storage capacity after the replacement is larger than the storage capacity before the replacement, it is possible to prevent the double reconstruction (copy) time from being prolonged, and
Since the storage capacity conversion can be performed automatically, the management burden on the hard disk can be reduced.

【0018】また、請求項2の発明は、前記電源投入後
に前記双方ハードディスク装置にアクセスしていずれの
ハードディスク装置が正常であった前記一方ハードディ
スク装置であるか否かを自動判別可能であるとともに交
換された前記他方ハードディスク装置の記憶容量が正常
であったと自動判別された前記一方ハードディスク装置
の記憶容量以上であるか否かを自動判別可能に形成され
たハードディスク装置の2重化システムである。
Further, according to the invention of claim 2, after the power is turned on, both of the hard disk devices are accessed to automatically determine which hard disk device is the one hard disk device which was normal and to replace the hard disk device. A hard disk device duplex system formed so as to be able to automatically determine whether the determined storage capacity of the other hard disk device is equal to or larger than the storage capacity of the one hard disk device automatically determined to be normal.

【0019】かかる発明では、他方ハードディスク装置
に支障(異常等)が発生した場合には、他方ハードディ
スク装置を交換する。この交換後に電源投入すると、双
方ハードディスク装置にアクセスしていずれのハードデ
ィスク装置が正常(今回非交換)であった一方ハードデ
ィスク装置であるか否かが自動判別される。引続き、正
常な一方ハードディスク装置の記憶容量が取得される。
また、交換された他方ハードディスク装置の記憶容量
が、正常であったと自動判別された一方ハードディスク
装置の記憶容量以上であるか否かが自動判別される。
In this invention, when a trouble (abnormality or the like) occurs in the other hard disk drive, the other hard disk drive is replaced. When the power is turned on after this replacement, both hard disk drives are accessed, and it is automatically determined whether one of the hard disk drives is normal (this time non-replacement) and the other is a hard disk drive. Subsequently, the storage capacity of the normal one-side hard disk device is obtained.
Also, it is automatically determined whether or not the storage capacity of the replaced hard disk drive is equal to or greater than the storage capacity of the hard disk drive while it is automatically determined that the storage capacity is normal.

【0020】かくして、交換された新規の他方ハードデ
ィスク装置の記憶容量が正常な一方ハードディスク装置
の記憶容量以上であると自動判別された場合に、交換後
の他方ハードディスク装置の他方ディスク情報記憶部に
記憶されている他方ディスク記憶容量を一方ディスク情
報記憶部から取得した一方ディスク記憶容量に書換え記
憶することが自動的に行われる。
Thus, when it is automatically determined that the storage capacity of the replaced new hard disk drive is equal to or larger than the storage capacity of the normal one hard disk drive, the data is stored in the other disk information storage section of the replaced other hard disk drive. The other disk storage capacity is automatically rewritten and stored in the one disk storage capacity obtained from the one disk information storage unit.

【0021】また、交換後の他方ハードディスク装置の
記憶容量が正常な一方ハードディスク装置の記憶容量以
上ではない(記憶容量未満である)と自動判別された場
合には、例えば他方ハードディスク装置の記憶容量が不
足している旨の警報等を行なえる。
If it is automatically determined that the storage capacity of the other hard disk drive after replacement is not larger than the normal storage capacity of the one hard disk drive (less than the storage capacity), for example, the storage capacity of the other hard disk drive becomes smaller. A warning can be given to the effect that there is a shortage.

【0022】したがって、請求項1の発明の場合と同様
な作用効果を奏することができることに加え、さらに正
常な一方ハードディスク装置および交換後の他方ハード
ディスク装置のいずれであるかの判別並びに記憶容量間
の大小判別を自動で行われるから、2重化再構築(コピ
ー)に手間が掛からず迅速に行なえかつこれを導入した
サーバー等の早期再起動を担保できる。交換後のハード
ディスク装置が記憶容量不足の場合でも速やかに対策を
講じ得る。
Therefore, in addition to providing the same operation and effect as the case of the first aspect of the present invention, it is further possible to determine which one of the normal hard disk drive and the other hard disk drive after replacement and to determine the storage capacity. Since the magnitude discrimination is performed automatically, the duplex rebuilding (copying) can be performed quickly without any trouble, and early restart of the server or the like into which it is introduced can be secured. Even if the hard disk device after replacement has insufficient storage capacity, measures can be taken promptly.

【0023】また、請求項3の発明は、交換された前記
他方ハードディスク装置の記憶容量が正常であったと自
動判別された前記一方ハードディスク装置の記憶容量以
上ではないと自動判別された場合にデータコピー不能で
ある旨を通知可能に形成されたハードディスク装置の2
重化システムである。
According to a third aspect of the present invention, there is provided a data copying method in which the storage capacity of the replaced other hard disk drive is automatically determined to be normal and the storage capacity of the one hard disk drive is determined not to be larger than the storage capacity of the one hard disk drive. Hard disk drive 2 that is configured to be able to notify that it is not possible
It is a weight system.

【0024】かかる発明では、交換後他方ハードディス
ク装置の記憶容量が正常な一方ハードディスク装置の記
憶容量以上ではないと自動判別された場合には、このま
ま一方ハードディスク装置内のデータを他方ハードディ
スク装置にコピーし始めるとオーバーフローが生じてし
まうので、データコピー不能である旨を通知する。
In this invention, if it is automatically determined that the storage capacity of the other hard disk drive is not larger than the normal storage capacity of the one hard disk drive after the replacement, the data in the one hard disk drive is copied to the other hard disk drive as it is. When the process is started, an overflow occurs, so that a notification that data copying is not possible is given.

【0025】したがって、請求項2の発明の場合と同様
な作用効果を奏することができることに加え、さらにオ
ーバーフローおよび無駄なコピー作業自体を回避でき
る。
Therefore, in addition to providing the same functions and effects as in the case of the second aspect of the present invention, it is possible to avoid overflow and useless copying work itself.

【0026】さらに、請求項4の発明は、前記一方ハー
ドディスク装置の記憶容量が当該時に実際使用されてい
るカレント記憶容量とされているハードディスク装置の
2重化システムである。
Further, the invention of claim 4 is a duplex system for a hard disk drive in which the storage capacity of the one hard disk drive is the current storage capacity actually used at that time.

【0027】かかる発明では、一方ハードディスク装置
の記憶容量は、本来的(定格)な記憶容量でなく当該時
に実際使用されている現在のカレント記憶容量とされ
る。そして、交換後の他方ハードディスク装置の記憶容
量が、一方ハードディスク装置のカレント記憶容量とし
て書換え記憶される。一方ハードディスク装置のカレン
ト記憶容量(例えば、4GB)は、その本来的な記憶容
量(例えば、5GB)に比較して値が小さい。
In this invention, the storage capacity of the hard disk drive is not the original (rated) storage capacity but the current current storage capacity actually used at that time. Then, the storage capacity of the other hard disk drive after replacement is rewritten and stored as the current storage capacity of the one hard disk drive. On the other hand, the current storage capacity (for example, 4 GB) of the hard disk device has a smaller value than its original storage capacity (for example, 5 GB).

【0028】したがって、請求項1から請求項3までの
各発明の場合と同様な作用効果を奏することができるこ
とに加え、さらに正常な一方ハードディスク装置に記憶
されていたデータの全てを交換後の他方ハードディスク
装置へ確実にコピーすることを保証しつつ、データコピ
ー時間を一段と短縮化できる。
Therefore, in addition to providing the same operation and effect as in each of the first to third aspects of the present invention, all of the data stored in the normal one hard disk drive is replaced with the other one after the exchange. The data copy time can be further reduced while ensuring that the data is copied to the hard disk device.

【0029】さらにまた、請求項5の発明は、前記双方
ハードディスク装置に記憶されるデータが商品販売デー
タとされたハードディスク装置の2重化システムであ
る。
Further, the invention according to claim 5 is a duplex system for a hard disk drive in which the data stored in the both hard disk drives is product sales data.

【0030】かかる発明では、一方ハードディスク装置
に記憶されている商品販売データ(例えば、商品登録や
会計処理用の設定データ,商品ファイル,売上ファイル
等)をそのまま他方ハードディスク装置へコピーするこ
とができる。
In this invention, the merchandise sales data (for example, setting data for merchandise registration and accounting processing, merchandise file, sales file, etc.) stored in the one hard disk device can be directly copied to the other hard disk device.

【0031】したがって、請求項1から請求項4までの
各発明の場合と同様な作用効果を奏しつつ、商品販売業
務を継続的かつ円滑に遂行できるとともに必ずしもコン
ピュータ知識が高くないキャッシャー等でもハードディ
スク装置交換が可能でかつその取扱いも簡単である。
Therefore, the hard disk drive can be continuously and smoothly performed while exhibiting the same operation and effects as those of the first to fourth aspects of the present invention, and even in a cashier or the like who does not necessarily have high computer knowledge. Exchangeable and easy to handle.

【0032】[0032]

【発明の実施の形態】以下、本発明の実施形態について
図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0033】(第1の実施形態)本ハードディスク装置
の2重化システムは、図1〜図4に示す如く、支障(異
常等)が発生した他方ハードディスク装置30を新規の
他方ハードディスク装置30に交換した後で電源投入後
に、正常でかつ今回非交換の一方ハードディスク装置2
0の一方ディスク情報記憶部21から一方ディスク記憶
容量n1を取得可能で、新規の他方ハードディスク装置
30の他方ディスク情報記憶部31に記憶されている他
方ディスク記憶容量n2を一方ディスク情報記憶部21
から取得した一方ディスク記憶容量n1に書換え記憶可
能に形成され、交換後の他方ハードディスク装置30の
記憶容量と正常であった一方ハードディスク装置20の
記憶容量とを同じ(n1)として一方ハードディスク装
置20に記憶された全データを他方ハードディスク装置
30にコピー(データ2重化再構築)可能に形成されて
いる。
(First Embodiment) As shown in FIGS. 1 to 4, the duplex system of the present hard disk device replaces another hard disk device 30 in which trouble (abnormality, etc.) has occurred with a new other hard disk device 30. After the power is turned on, the normal and non-replaced hard disk drive 2
0, the one-disk storage capacity n1 can be obtained from the one-disk information storage section 21. The other-disk storage capacity n2 stored in the other-disk information storage section 31 of the new other hard disk drive 30 can be obtained from the one-disk information storage section
The one hard disk drive 20 is formed so that the storage capacity of the other hard disk drive 30 can be rewritten and stored, and the storage capacity of the normal one hard disk drive 20 is the same as the storage capacity of the normal one hard disk drive 20 (n1). All the stored data can be copied (data duplex reconstruction) to the other hard disk device 30.

【0034】この実施形態のハードディスク装置の2重
化システムは、商品販売データ処理システム(POSシ
ステム)の一部を構成するストアコントローラ(店舗コ
ンピュータ10)に導入され、商品販売データの2重化
再構築を確実に行なえるように形成されている。
The duplex system of the hard disk device of this embodiment is introduced into a store controller (store computer 10) which constitutes a part of a merchandise sales data processing system (POS system). It is formed so that construction can be performed reliably.

【0035】図1において、複数のターミナル(図示省
略)とともに商品販売データ処理システム(POSシス
テム)の一部を構成するサーバー系の店舗コンピュータ
(ストアコントローラ)10は、CPU11,BIOS
(ROM)12,メモリ(RAM)13,ハードディス
ク装置を構成する2重化制御ボード14に接続された一
方ハードディスク装置(DISK1)および他方ハード
ディスク装置(DISK2),キーボード15,表示器
16,LAN用インターフェース18およびISDN用
インターフェース19から構成されている。
In FIG. 1, a server-based store computer (store controller) 10 which forms a part of a merchandise sales data processing system (POS system) together with a plurality of terminals (not shown) includes a CPU 11 and a BIOS.
(ROM) 12, memory (RAM) 13, one hard disk drive (DISK1) and the other hard disk drive (DISK2) connected to a duplex control board 14 constituting a hard disk drive, keyboard 15, display 16, LAN interface 18 and an interface 19 for ISDN.

【0036】LAN用インターフェース18には、LA
Nを介して複数(例えば、300)台の図示省略したタ
ーミナル(電子キャッシュレジスタ)がデータ通信可能
に形成されている。各ターミナルとこれらの上位機であ
る店舗コンピュータ10とは、共同して商品販売データ
処理を実行する。各ターミナルが売場において商品販売
業務(商品登録業務,会計処理業務等)を行なう。
The LAN interface 18 has LA
A plurality of (for example, 300) terminals (electronic cash registers) not shown are formed so as to be able to perform data communication via N. Each terminal and the store computer 10, which is a higher-level device thereof, jointly execute product sales data processing. Each terminal performs merchandise sales business (product registration business, accounting processing business, etc.) at the sales floor.

【0037】店舗コンピュータ10は、各ターミナルが
商品販売業務を遂行するために必要な各種データ(例え
ば、商品データ)をダウンロードしたり問合せに対して
応答をしたり、商品販売業務の遂行結果データ(例え
ば、売上データ)を各ターミナルから収集して管理す
る。
The store computer 10 downloads various data (for example, product data) necessary for each terminal to perform the product sales business, responds to inquiries, and executes the product sales business performance data ( For example, sales data is collected from each terminal and managed.

【0038】また、ISDN用インターフェース19に
は、外部コンピュータつまりチェーン店本部内のホスト
コンピュータ,サービス拠点内の支援コンピュータにデ
ータ通信可能に接続されている。この実施形態では、支
援コンピュータとして説明する。
The ISDN interface 19 is connected to an external computer, that is, a host computer in a chain store headquarters and a support computer in a service base so as to be able to perform data communication. This embodiment will be described as a support computer.

【0039】さて、一方ハードディスク装置(DISK
1)のディスク管理エリア内の一方ディスク情報記憶部
21には、図2に示す如く、ハードディスクの型式,シ
リアル番号(例えば、No.1),装置名称(DISK
1),カレント総セクタ数(例えば、m1),アクセス
可能な総セクタ数(例えば、n1),…が格納(記憶)
される。
Now, on the other hand, a hard disk drive (DISK)
As shown in FIG. 2, the one disk information storage unit 21 in the disk management area 1) stores the type of hard disk, serial number (for example, No. 1), and device name (DISK).
1), the total number of current sectors (for example, m1), the total number of accessible sectors (for example, n1),... Are stored (stored).
Is done.

【0040】実際に動作している記憶容量を示すカレン
ト総セクタ数m1は、定格記憶容量である本来的なアク
セス可能総セクタ数n1よりも値が小さい。
The current total sector number m1, which indicates the actual operating storage capacity, is smaller than the intrinsic total accessible sector number n1, which is the rated storage capacity.

【0041】同様に、他方ハードディスク装置(DIS
K2)のディスク管理エリア内の一方ディスク情報記憶
部31には、図2に示す如く、ハードディスクの型式,
シリアル番号(例えば、No.2),装置名称(DIS
K2),カレント総セクタ数(例えば、m2),アクセ
ス可能な総セクタ数(例えば、n2),…が格納(記
憶)される。
Similarly, the other hard disk drive (DIS
In the disk management area 31 in the disk management area K2), as shown in FIG.
Serial number (for example, No. 2), device name (DIS
K2), the total number of current sectors (for example, m2), the total number of accessible sectors (for example, n2),... Are stored (stored).

【0042】また、DISK1の一方ディスク状態レジ
スタ25(および、DISK2の他方ディスク状態レジ
スタ35)に関して、図3(A),(B)に示すbit
0がDISK状態(0:正常、1:異常)を表し、bi
t1がデータロード(0:正常ロード、1:データ異
常)を表す。
As for the one disk status register 25 of DISK1 (and the other disk status register 35 of DISK2), the bit shown in FIGS.
0 indicates the DISK state (0: normal, 1: abnormal), and bi
t1 represents data load (0: normal load, 1: data abnormal).

【0043】2重化制御ボード14は、正常時(各bi
t0=0)にはリード・ライトを双方ハードディスク装
置20,30にアクセスする。障害が発生している場合
(bit0=1)は当該DISK2(または、DISK
1)にはアクセスしない。
The normalization control board 14 operates normally (each bi
At (t0 = 0), both the hard disk devices 20 and 30 are accessed for reading and writing. If a failure has occurred (bit0 = 1), the DISK2 (or DISK)
Do not access 1).

【0044】そして、障害発生時には、障害発生表示制
御手段(CPU11,BIOS12)が、表示器16に
当該DISK2に障害が発生している旨の警報表示をす
るように形成してある。
When a failure occurs, the failure occurrence display control means (CPU 11 and BIOS 12) is configured to display an alarm on the display 16 indicating that the DISK 2 has a failure.

【0045】以下に、オペレータが表示器16の警報表
示から他方ハードディスク装置(DISK2)に障害が
発生している旨を知り、当該DISK2を新規(新品)
で正常なDISK2に交換しかつその後の電源再投入し
た場合を例示した図4を参照して説明する。
In the following, the operator learns from the alarm display on the display 16 that a fault has occurred in the other hard disk drive (DISK2), and replaces the DISK2 with a new one (new).
Will be described with reference to FIG. 4 exemplifying a case where the DISK 2 is replaced with a normal one and the power is turned on again thereafter.

【0046】電源が再投入されると、2重化制御ボード
14は、制御部(CPU11等)の指令により、一方ハ
ードディスク装置(DISK1)を診断する。一方ディ
スク状態レジスタ25のbit0が“0”であるから、
正常と判別(図4のST10でYES)する。
When the power is turned on again, the duplex control board 14 diagnoses one hard disk device (DISK1) according to a command from the control unit (CPU 11 and the like). On the other hand, since bit 0 of the disk status register 25 is “0”,
It is determined to be normal (YES in ST10 of FIG. 4).

【0047】なお、何らかの異常があり支障が発生した
と判別(ST10でNO)された場合には、DISK1
障害発生ルーチン(ST101)へ進み、一方ディスク
状態レジスタ25のbit0に“1”がセットされる。
その後に警報表示される。
If it is determined that a problem has occurred due to some abnormality (NO in ST10), DISK1
The process proceeds to the failure generation routine (ST101), while "1" is set to bit0 of the disk status register 25.
After that, an alarm is displayed.

【0048】DISK1のディスク状態が正常であると
判別(ST10でYES)できたので、続いてDISK
1についてのデータロード状態を判別する。bit1が
“0”であるから“正常ロード”と判別(ST11でY
ES)する。
Since it has been determined that the disk state of DISK1 is normal (YES in ST10), DISK1 is subsequently executed.
1 to determine the data load state. Since bit 1 is "0", it is determined that the load is "normal load" (Y in ST11).
ES).

【0049】なお、bit1が“1”である場合には、
“データ異常”と判別(ST11でNO)する。する
と、制御部(CPU11等)によってDISK1のデー
タ異常ルーチン(ST111)へ移行される。
When bit1 is "1",
It is determined that the data is abnormal (NO in ST11). Then, the control unit (such as the CPU 11) shifts to the data abnormal routine of the disk 1 (ST111).

【0050】DISK1のディスク状態が正常と判別
(ST11でYES)できたので、2重化制御ボード1
4(および、制御部)は、正常であってかつ今回非交換
のDISC1についての図2に示す一方ディスク情報記
憶部21から、一方ディスク記憶容量(総セクタ数=n
1)を取得(ST12)してこれをメモリ13に一時記
憶させる。
Since it was determined that the disk state of DISK1 was normal (YES in ST11), the dual control board 1
4 (and the control unit), from the one disk information storage unit 21 shown in FIG. 2 for the normal and non-replaced DISC 1 shown in FIG.
1) is obtained (ST12), and this is temporarily stored in the memory 13.

【0051】すなわち、他方ハードディスク装置(DI
SK2)を交換した後でかつ電源投入後に正常であった
一方ハードディスク装置(DISK1)の一方ディスク
情報記憶部21から本来的な一方ディスク記憶容量(本
来的な総セクタ数n1)を取得(ST12)する。
That is, the other hard disk drive (DI
After the replacement of the SK2) and after the power was turned on, the original one-disk storage capacity (the original total number of sectors n1) is acquired from the one-disk information storage unit 21 of the one-disk drive (DISK1) (ST12). I do.

【0052】引続き、2重化制御ボード14は、制御部
(CPU11等)の指令により、交換後の他方ハードデ
ィスク装置(DISK2)を診断する。図3に示す他方
ディスク状態レジスタ35のbit0が“0”であるか
ら、正常と判別(ST13でYES)する。
Subsequently, the duplex control board 14 diagnoses the other hard disk drive (DISK2) after the replacement according to a command from the control unit (CPU 11 or the like). Since bit 0 of the other disk status register 35 shown in FIG. 3 is "0", it is determined that the disk is normal (YES in ST13).

【0053】なお、何らかの異常があり支障が発生した
と判別(ST13でNO)された場合には、DISK2
障害発生ルーチン(ST131)へ進み、他方ディスク
状態レジスタ35のbit0に“1”がセットされる。
その後に警報表示される。
If it is determined that some trouble has occurred and a trouble has occurred (NO in ST13), DISK2
The process proceeds to the failure generation routine (ST131), and "1" is set to bit0 of the disk status register 35.
After that, an alarm is displayed.

【0054】DISK2のディスク状態が正常であると
判別(ST13でYES)できたので、続いてDISK
2についてのデータロード状態を判別する。bit1が
未だ“1”であるから“データ異常”と判別(ST14
でNO)する。
Since it has been determined that the disk state of DISK2 is normal (YES in ST13), DISK2 is subsequently executed.
Then, the data loading state of the second data is determined. Since bit1 is still "1", it is determined that "data is abnormal" (ST14).
NO).

【0055】なお、bit1が“0”である場合には、
“正常ロード”と判別(ST11でYES)する。する
と、制御部(CPU11等)によってOSがロードされ
る(ST141)。
When bit1 is "0",
It is determined as "normal load" (YES in ST11). Then, the OS is loaded by the control unit (such as the CPU 11) (ST141).

【0056】さて、DISK2のディスク状態が異常で
あると判別(ST14でNO)した場合には、2重化制
御ボード14(および、制御部)は、今回交換のDIS
C2についての図2に示す他方ディスク情報記憶部31
から、本来的な当該他方ディスク記憶容量(総セクタ数
=n2)を取得(ST15)してこれをメモリ13に一
時記憶させる。
If it is determined that the disk state of the disk 2 is abnormal (NO in ST14), the duplex control board 14 (and the control unit) re-installs the newly replaced disk.
The other disk information storage unit 31 shown in FIG.
Then, the original other disk storage capacity (total number of sectors = n2) is obtained (ST15), and this is temporarily stored in the memory 13.

【0057】ここに、容量判別手段(CPU11等)
は、DISK1の本来的な記憶容量n1とDISK2の
本来的な記憶容量n2とが等しい(n1=n2)か否か
を判別(ST16)する。
Here, capacity determination means (CPU 11 and the like)
Determines whether the original storage capacity n1 of DISK1 is equal to the original storage capacity n2 of DISK2 (n1 = n2) (ST16).

【0058】等しい(n1=n2)と判別された場合
(ST16でYES)には、ST19へ進む。つまり、
データコピー制御手段(CPU11等)が、このままD
ISK1内のデータをDISK2にコピーし始める(S
T19)。データコピー時間は、記憶容量n2(=n1
…例えば、5GB)で決まる時間長(例えば、10分)
である。
If it is determined that they are equal (n1 = n2) (YES in ST16), the process proceeds to ST19. That is,
The data copy control means (CPU 11 etc.)
Start copying the data in ISK1 to DISK2 (S
T19). The data copy time is determined by the storage capacity n2 (= n1
... for example, a time length determined by 5 GB) (for example, 10 minutes)
It is.

【0059】しかし、等しくないと判別された場合(S
T16でNO)には、引続き、記憶容量n2が記憶容量
n1よりも小さな値(n1>n2)であるか否かを判別
(ST17)する。
However, if it is determined that they are not equal (S
(NO in T16), it is determined whether or not the storage capacity n2 is smaller than the storage capacity n1 (n1> n2) (ST17).

【0060】記憶容量n2が記憶容量n1よりも少ない
(小さな値である)と判別(ST17でYES)された
場合、つまり記憶容量n2(例えば、3G)の方が記憶
容量n1(5GB)の値よりも小さい値であると判別さ
れた場合(ST16でNO,ST17でYES)には、
このままDISK1内のデータをDISK2にコピーし
始めるとオーバーフローが生じてしまう。
If it is determined that the storage capacity n2 is smaller (smaller value) than the storage capacity n1 (YES in ST17), that is, the storage capacity n2 (for example, 3G) is the value of the storage capacity n1 (5GB). If it is determined that the value is smaller than (NO in ST16, YES in ST17),
If the data in DISK1 starts to be copied to DISK2 as it is, an overflow occurs.

【0061】そこで、データコピー不能である旨を通知
する。ここでは、エラー表示制御手段(CPU11等)
が、表示器16にエラー表示(ST171)すること
で、オペレータにデータコピー不能である旨を通知可能
に形成してある。
Accordingly, a notification that data copying is impossible is given. Here, error display control means (CPU 11 and the like)
However, by displaying an error on the display 16 (ST171), the operator can be notified that data copying is not possible.

【0062】さて、記憶容量n2が記憶容量n1よりも
少なくない(小さな値でない)と判別(ST17でN
O)された場合、つまり記憶容量n2(例えば、10G
B)の方が記憶容量n1(5GB)の値よりも大きい値
であると判別された場合(ST16でNO,ST17で
NO)には、コピーの長期化に繋がる。
Now, it is determined that the storage capacity n2 is not smaller (not smaller) than the storage capacity n1 (N in ST17).
O), that is, the storage capacity n2 (for example, 10G
If it is determined that the value of B) is larger than the value of the storage capacity n1 (5 GB) (NO in ST16, NO in ST17), it leads to a longer copy time.

【0063】つまり、5GBで10分のコピー時間が、
2倍の10GBでは20分になる。運用時間の関係で、
交換後のDISK2の記憶容量n2が例えば20GB,
40GB,…に増大した場合には、コピー時間が40
分,80分,…と累積的に長期化してしまう。
That is, a copy time of 10 minutes at 5 GB is
Twice at 10 GB, it takes 20 minutes. Due to operating hours,
The storage capacity n2 of the DISK2 after the replacement is, for example, 20 GB,
If the copy time increases to 40 GB,.
Minutes, 80 minutes,...

【0064】そこで、記憶容量書換設定制御手段(CP
U11等)が、DIDK2の記憶容量n2(10GB)
をDISK1の記憶容量n1(5GB)に書換設定する
(ST18)。しかる後に、データコピー制御手段(C
PU11等)が、DIDK1からDISK2へコピー開
始(ST19)する。記憶容量n1(5GB)分だけコ
ピーすれば、終了(ST20でYES)となる。他方デ
ィスク状態レジスタ35のbit1は、“1”から
“0”に切り換えられる。
Therefore, the storage capacity rewriting setting control means (CP
U11 etc.) is the storage capacity n2 of DIDK2 (10 GB)
To the storage capacity n1 (5 GB) of DISK1 (ST18). Thereafter, the data copy control means (C
PU11) starts copying from DIDK1 to DISK2 (ST19). When copying is performed for the storage capacity n1 (5 GB), the process ends (YES in ST20). On the other hand, bit1 of the disk status register 35 is switched from "1" to "0".

【0065】すると、データ正否判別手段(CPU1
1,2重化制御ボード14等)が、他方ディスク状態レ
ジスタ35のbit1が“0”であるから、正常と判別
(ST14でYES)する。かくして、制御部(CPU
11等)によってOSがロードされる(ST141)。
つまり、DISK2を交換した後の再起動を迅速に行な
える。
Then, the data validity determining means (CPU 1
Since the bit 1 of the disk status register 35 is “0”, the duplex control board 14 and the like determine that the disk is normal (YES in ST14). Thus, the control unit (CPU
11 etc.) to load the OS (ST141).
That is, the restart after replacing the DISK 2 can be performed quickly.

【0066】しかして、この第1の実施形態では、DI
SK2の他方ディスク情報記憶部31に記憶されている
本来的な他方ディスク記憶容量n2をDISK1の一方
ディスク情報記憶部21から取得した本来的な一方ディ
スク記憶容量n1に書換え記憶可能で、交換後のDIS
K2の記憶容量と正常であったDISK1の記憶容量と
を値の小さな同じ(n1)としてDISK1に記憶され
た全データをDISK2にコピーすることができるの
で、コピー時間が累積的に長期化しない。
In the first embodiment, however, the DI
The original other disk storage capacity n2 stored in the other disk information storage unit 31 of SK2 can be rewritten and stored in the original one disk storage capacity n1 obtained from the one disk information storage unit 21 of DISK1. DIS
Since all the data stored in DISK1 can be copied to DISK2 with the storage capacity of K2 and the storage capacity of normal DISK1 having the same value (n1) having a small value, the copy time does not increase cumulatively.

【0067】すなわち、交換後の記憶容量が交換前の記
憶容量よりも増大することがあっても2重化再構築(コ
ピー)時間の長期化を防止することができるとともに、
記憶容量変換を自動で行なえるからハードディスクの管
理負担を軽減できる。
That is, even if the storage capacity after the replacement is larger than the storage capacity before the replacement, it is possible to prevent the double reconstruction (copy) time from being prolonged, and
Since the storage capacity conversion can be performed automatically, the management burden on the hard disk can be reduced.

【0068】また、交換後に電源投入すると、双方DI
SK1・2にアクセスしていずれのDISKが正常(今
回非交換)であったDISK1であるか否かが自動判別
(図4のST10〜ST14)され、引続き交換された
DISK2の記憶容量n2が正常なDISK1の記憶容
量n1以上であるか否かが自動判別(ST16,ST1
7)される。
When the power is turned on after replacement, both DIs
SK1 and SK2 are accessed to automatically determine which DISK1 is normal (this time non-replacement) DISK1 (ST10 to ST14 in FIG. 4), and the storage capacity n2 of the subsequently replaced DISK2 is normal. It is automatically determined whether or not the storage capacity of the disk DISK1 is equal to or more than n1 (ST16, ST1).
7) is done.

【0069】そして、記憶容量n2が記憶容量n1以上
であると自動判別された場合に他方ディスク情報記憶部
31に記憶されている他方ディスク記憶容量n2を一方
ディスク情報記憶部21から取得した一方ディスク記憶
容量n1に書換え記憶することを自動的に行えるととも
に、記憶容量n2が記憶容量n1以上ではないと自動判
別された場合には警報表示されるから、2重化再構築
(コピー)に手間が掛からず迅速に行なえかつこれを導
入したサーバー(10)等の早期再起動を担保できる。
交換後のDISK2が記憶容量不足の場合でも、警報表
示を手掛かりに速やかに対策を講じ得る。
When the storage capacity n2 is automatically determined to be equal to or larger than the storage capacity n1, the other disk storage capacity n2 stored in the other disk information storage unit 31 is acquired from the one disk information storage unit 21. Rewriting and storing in the storage capacity n1 can be automatically performed, and when it is automatically determined that the storage capacity n2 is not equal to or more than the storage capacity n1, an alarm is displayed. It can be performed promptly without interruption, and early restart of the server (10) or the like in which the server is introduced can be secured.
Even if the DISK 2 after the replacement has insufficient storage capacity, a countermeasure can be taken promptly by using the alarm display as a clue.

【0070】また、交換後DISK2の記憶容量n2が
正常なDISK1の記憶容量n1以上ではないと自動判
別された場合(図4のST17でYES)には、データ
コピー不能である旨が通知(ST171)されるので、
オーバーフローおよび無駄なコピー作業自体を回避でき
る。
When it is automatically determined that the storage capacity n2 of the DISK2 after replacement is not equal to or larger than the storage capacity n1 of the normal DISK1 (YES in ST17 of FIG. 4), it is notified that data copying is not possible (ST171). )
Overflow and useless copying operation itself can be avoided.

【0071】さらに、一方ハードディスク装置(DIS
K1)20に記憶されている商品販売データ(例えば、
商品登録や会計処理用の設定データ,商品ファイル,売
上ファイル等)をそのまま他方ハードディスク装置(D
ISK2)30へコピーすることができるから、商品販
売業務を継続的かつ円滑に遂行できるとともに必ずしも
コンピュータ知識が高くないキャッシャー等でもハード
ディスク装置交換が可能でかつその取扱いも簡単であ
る。
Further, one hard disk drive (DIS)
K1) Product sales data stored in 20 (for example,
Setting data for merchandise registration and accounting, merchandise files, sales files, etc.
Since the product can be copied to the ISK2) 30, it is possible to continuously and smoothly carry out the merchandise sales business, and it is also possible to exchange the hard disk device even with a cashier or the like who does not necessarily have high computer knowledge, and the handling thereof is simple.

【0072】(第2の実施形態)この第2の実施形態
は、基本的構成・機能が第1の実施形態の場合(図1〜
図4)と同様とされているが、さらに一方ハードディス
ク装置(DISK1)の記憶容量n1を当該時に実際使
用されている図4(ST12,ST16,ST17およ
びST18)に括弧書きしたカレント記憶容量m1とし
てデータ2重化再構築可能に形成されている。
(Second Embodiment) In the second embodiment, the basic configuration and functions are the same as those of the first embodiment (FIG. 1).
4), but the storage capacity n1 of the hard disk device (DISK1) is changed to the current storage capacity m1 in parentheses in FIG. 4 (ST12, ST16, ST17 and ST18) actually used at that time. It is formed so that data duplication can be reconstructed.

【0073】すなわち、支障(異常等)が発生した他方
ハードディスク装置(DISK2)30を新規の他方ハ
ードディスク装置(DISK2)30に交換した後で電
源投入後に、正常でかつ今回非交換の一方ハードディス
ク装置(DISK1)20の一方ディスク情報記憶部2
1から図2に示す一方ディスク記憶容量(カレントセク
タ数m1)を取得可能で、新規のDISK2の他方ディ
スク情報記憶部31に記憶されている他方ディスク記憶
容量n2を一方ディスク情報記憶部21から取得したカ
レントセクタ数(一方ディスク記憶容量)m1に書換え
記憶可能に形成され、交換後のDISK2の記憶容量と
正常であったDISK1の記憶容量とを同じ(m1)と
してDISK1に記憶された全データをDISK2にコ
ピー(データ2重化再構築)可能に形成してある。
That is, after the other hard disk drive (DISK2) 30 in which the trouble (abnormality or the like) has occurred is replaced with a new other hard disk drive (DISK2) 30, the power is turned on, and then the normal and non-replaced one hard disk drive (DISK2) 30 DISK 1) One disk information storage unit 2 of 20
1 can acquire the one disk storage capacity (the number of current sectors m1) shown in FIG. 2, and acquire the other disk storage capacity n2 stored in the other disk information storage section 31 of the new DISK 2 from the one disk information storage section 21. All the data stored in DISK1 is formed so that the storage capacity of DISK2 after replacement and the storage capacity of normal DISK1 are the same (m1), with the current sector number (one disk storage capacity) m1 being the rewritable storage. It is formed on DISK2 so that copying (data duplication reconstruction) is possible.

【0074】詳しくは、図4において、第1の実施形態
でのST12の“DISK1の総セクタ数n1”を“D
ISK1の現在の総セクタ数m1”に、ST16の“n
1=n2”を“m1=n2”に、ST17の“n1>n
2”を“m1>n2”に、ST18の“DISK2の総
セクタ数n2にn1を設定”を“DISK2の総セクタ
数n2にm1を設定”に、それぞれ読み替える。
More specifically, in FIG. 4, the "total number of sectors n1 of DISK1" in ST12 in the first embodiment is changed to "D".
The current total sector number m1 of ISK1 is added to "n" of ST16.
1 = n2 ”to“ m1 = n2 ”, and“ n1> n ”in ST17.
2 is replaced with "m1>n2", and "Set the total number of sectors n2 of DISK2 to n1" in ST18 is replaced with "Set m1 to the total number of sectors n2 of DISK2".

【0075】しかして、この第2の実施形態によれば、
DISK1の記憶容量は、本来的な記憶容量n1でなく
当該時に実際使用されているカレント記憶容量m1とし
て、交換後のDISK2の記憶容量n2(m2としても
実施化可能である。)にコピーされる。カレント記憶容
量m1(例えば、4GB)は、本来的な記憶容量n1
(5GB)に比較して値が小さいから、2重化再構築時
間(全コピー時間)の長期化を防止できることはもとよ
り、さらに5GBで10分に対して8分に短縮すること
ができる。
According to the second embodiment,
The storage capacity of DISK1 is copied to the storage capacity n2 of DISK2 after replacement (it can also be implemented as m2) as the current storage capacity m1 actually used at that time instead of the original storage capacity n1. . The current storage capacity m1 (for example, 4 GB) is equal to the original storage capacity n1.
Since the value is smaller than (5 GB), it is possible not only to prevent the duplex reconstruction time (total copy time) from being prolonged, but also to further shorten the time to 8 minutes from 10 minutes at 5 GB.

【0076】しかして、この実施形態によれば、第1の
実施形態の場合と同様な作用効果を奏することができる
ことに加え、さらに正常なDISK1に記憶されていた
データの全てを交換後のDISK2へ確実にコピーする
ことを保証しつつ、データコピー時間を一段と短縮化で
きる。
According to this embodiment, the same operation and effect as those of the first embodiment can be obtained. In addition, all of the data stored in the normal DISK 1 is replaced with the new DISK 2. The data copy time can be further reduced while ensuring that data is copied reliably.

【0077】[0077]

【発明の効果】請求項1の発明によれば、他方ハードデ
ィスク装置を交換した後でかつ電源投入後に他方ハード
ディスク装置の他方ディスク情報記憶部に記憶されてい
る他方ディスク記憶容量を一方ディスク情報記憶部から
取得した一方ディスク記憶容量に書換え記憶可能に形成
するとともに、交換後他方ハードディスク装置の記憶容
量と正常な一方ハードディスク装置の記憶容量とを同じ
として一方ハードディスク装置に記憶された全データを
他方ハードディスク装置にコピー可能に形成されたハー
ドディスク装置の2重化システムであるから、交換後の
記憶容量が交換前の記憶容量よりも増大することがあっ
ても2重化再構築(コピー)時間の累積的な長期化を防
止することができるとともに、記憶容量変換を自動で行
なえるからハードディスクの管理負担を軽減できる。
According to the first aspect of the present invention, after the other hard disk drive is replaced and after the power is turned on, the other disk storage capacity stored in the other disk information storage unit of the other hard disk drive is changed to the one disk information storage unit. From the storage capacity of the one hard disk drive after the replacement, and the same data storage capacity of the other hard disk drive as the storage capacity of the normal one hard disk drive. Since the hard disk drive is a duplication system formed so as to be able to be copied, even if the storage capacity after the replacement may be larger than the storage capacity before the replacement, the cumulative rebuilding (copying) time is cumulative. Can be prevented from being extended for a long time, and the storage capacity can be automatically converted. It can reduce the administrative burden of the disk.

【0078】また、請求項2の発明によれば、電源投入
後に双方ハードディスク装置にアクセスしていずれのハ
ードディスク装置が正常であった一方ハードディスク装
置であるか否かを自動判別可能であるとともに交換され
た他方ハードディスク装置の記憶容量が正常であったと
自動判別された一方ハードディスク装置の記憶容量以上
であるか否かを自動判別可能に形成されているので、請
求項1の発明の場合と同様な効果を奏することができる
ことに加え、さらに正常な一方ハードディスク装置およ
び交換後の他方ハードディスク装置のいずれであるかの
判別並びに記憶容量間の大小判別を自動で行われるか
ら、2重化再構築(コピー)に手間が掛からず迅速に行
なえかつこれを導入したサーバー等の早期再起動を担保
できる。交換後のハードディスク装置が記憶容量不足の
場合でも速やかに対策を講じ得る。
According to the second aspect of the present invention, both the hard disk drives are accessed after the power is turned on, and it is possible to automatically determine which one of the hard disk drives is normal and the one is the hard disk drive. On the other hand, since the storage capacity of the other hard disk drive is automatically determined to be normal, it can be automatically determined whether or not the storage capacity of the hard disk drive is equal to or larger than the storage capacity of the hard disk drive. In addition to the above, it is possible to automatically determine which one of the normal hard disk drive and the other hard disk drive after replacement and to determine the magnitude of the storage capacity. It can be performed quickly without any trouble, and early restart of a server or the like in which it is installed can be secured. Even if the hard disk device after replacement has insufficient storage capacity, measures can be taken promptly.

【0079】また、請求項3の発明によれば、交換され
た他方ハードディスク装置の記憶容量が正常な一方ハー
ドディスク装置の記憶容量以上ではないと自動判別され
た場合にデータコピー不能である旨を通知可能に形成さ
れているので、請求項2の発明の場合と同様な効果を奏
することができることに加え、さらにオーバーフローお
よび無駄なコピー作業自体を回避できる。
According to the third aspect of the present invention, when it is automatically determined that the replaced storage capacity of the other hard disk drive is not larger than the storage capacity of the normal one hard disk drive, it is notified that data cannot be copied. Since it is formed as possible, the same effect as that of the invention of claim 2 can be obtained, and furthermore, overflow and useless copying operation itself can be avoided.

【0080】さらに、請求項4の発明によれば、一方ハ
ードディスク装置の記憶容量が当該時に実際使用されて
いるカレント記憶容量とされているので、請求項1から
請求項3までの各発明の場合と同様な効果を奏すること
ができることに加え、さらに正常な一方ハードディスク
装置に記憶されていたデータの全てを交換後の他方ハー
ドディスク装置へ確実にコピーすることを保証しつつ、
データコピー時間を一段と短縮化できる。
Further, according to the invention of claim 4, on the other hand, the storage capacity of the hard disk drive is the current storage capacity actually used at that time, so that in each of the inventions of claims 1 to 3, In addition to being able to achieve the same effect as above, while ensuring that all the data stored in the normal one hard disk drive is reliably copied to the other hard disk drive after replacement,
Data copy time can be further reduced.

【0081】さらにまた、請求項5の発明によれば、双
方ハードディスク装置に記憶されるデータが商品販売デ
ータであるから、請求項1から請求項4までの各発明の
場合と同様な効果を奏しつつ、商品販売業務を継続的か
つ円滑に遂行できるとともに必ずしもコンピュータ知識
が高くないキャッシャー等でもハードディスク装置交換
が可能でかつその取扱いも簡単である。
Furthermore, according to the fifth aspect of the present invention, since the data stored in both the hard disk devices is the merchandise sales data, the same effects as those of the first to fourth aspects of the invention can be obtained. On the other hand, the merchandise sales business can be performed continuously and smoothly, and the hard disk device can be replaced even by a cashier or the like who does not necessarily have high computer knowledge, and the handling is easy.

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

【図1】本発明の実施形態を説明するためのブロック図
である。
FIG. 1 is a block diagram illustrating an embodiment of the present invention.

【図2】同じく、ハードディスク装置装置内の情報記憶
部を説明するための図である。
FIG. 2 is a diagram for explaining an information storage unit in the hard disk device.

【図3】同じく、ハードディスク装置内のディスク状態
レジスタを説明するための図である。
FIG. 3 is a diagram for explaining a disk status register in the hard disk device.

【図4】同じく、作用・動作を説明するためのフローチ
ャートである。
FIG. 4 is a flowchart for explaining the operation and operation.

【図5】従来例を説明するための図である。FIG. 5 is a diagram for explaining a conventional example.

【図6】従来例の作用・動作を説明するためのフローチ
ャートである。
FIG. 6 is a flowchart for explaining the operation and operation of the conventional example.

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

10 店舗内コンピュータ 11 CPU 12 BIOS 13 メモリ 14 2重化制御ボード 20 一方ハードディスク装置(DISK1) 21 一方ディスク情報記憶部 25 一方ディスク状態レジスタ 30 他方ハードディスク装置(DISK2) 31 他方ディスク情報記憶部 35 他方ディスク状態レジスタ DESCRIPTION OF SYMBOLS 10 In-store computer 11 CPU 12 BIOS 13 Memory 14 Duplex control board 20 One hard disk device (DISK1) 21 One disk information storage unit 25 One disk status register 30 The other hard disk device (DISK2) 31 Other disk information storage unit 35 Other disk Status register

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 リード・ライトを双方ハードディスク装
置にアクセスするように構築されたハードディスク装置
の2重化システムにおいて、 他方ハードディスク装置を交換した後でかつ電源投入後
に正常であった一方ハードディスク装置の一方ディスク
情報記憶部から一方ディスク記憶容量を取得可能で、他
方ハードディスク装置の他方ディスク情報記憶部に記憶
されている他方ディスク記憶容量を一方ディスク情報記
憶部から取得した一方ディスク記憶容量に書換え記憶可
能に形成するとともに、交換後の他方ハードディスク装
置の記憶容量と正常であった一方ハードディスク装置の
記憶容量とを同じとして一方ハードディスク装置に記憶
された全データを他方ハードディスク装置にコピー可能
に形成した、ハードディスク装置の2重化システム。
Claims: 1. In a hard disk drive duplex system constructed so that both read / write accesses a hard disk drive, one of the hard disk drives which is normal after the other hard disk drive is replaced and after the power is turned on. One disk storage capacity can be obtained from the disk information storage unit, and the other disk storage capacity stored in the other disk information storage unit of the other hard disk drive can be rewritten and stored in the one disk storage capacity obtained from the one disk information storage unit. A hard disk drive that is formed so that the storage capacity of the other hard disk drive after replacement is the same as the storage capacity of the normal one hard disk drive and all data stored in one hard disk drive can be copied to the other hard disk drive. Doubled Temu.
【請求項2】 前記電源投入後に前記双方ハードディス
ク装置にアクセスしていずれのハードディスク装置が正
常であった前記一方ハードディスク装置であるか否かを
自動判別可能であるとともに交換された前記他方ハード
ディスク装置の記憶容量が正常であったと自動判別され
た前記一方ハードディスク装置の記憶容量以上であるか
否かを自動判別可能に形成されている請求項1記載のハ
ードディスク装置の2重化システム。
2. The two hard disk drives are accessed after the power is turned on, and it is possible to automatically determine which one of the hard disk drives is normal and which one of the hard disk drives is normal, and to exchange the other hard disk drive. 2. The duplex system for a hard disk drive according to claim 1, wherein the system is formed so as to be able to automatically determine whether or not the storage capacity is equal to or larger than the storage capacity of the one hard disk drive automatically determined to be normal.
【請求項3】 交換された前記他方ハードディスク装置
の記憶容量が正常であったと自動判別された前記一方ハ
ードディスク装置の記憶容量以上ではないと自動判別さ
れた場合にデータコピー不能である旨を通知可能に形成
されている請求項2記載のハードディスク装置の2重化
システム。
3. A storage capacity of the exchanged second hard disk device is automatically determined to be normal. If it is automatically determined that the storage capacity of the one hard disk device is not more than the storage capacity, it is possible to notify that data cannot be copied. 3. The duplex system for a hard disk drive according to claim 2, wherein:
【請求項4】 前記一方ハードディスク装置の記憶容量
が当該時に実際使用されているカレント記憶容量である
ものとされている請求項1から請求項3までのいずれか
1項に記載されたハードディスク装置の2重化システ
ム。
4. The hard disk drive according to claim 1, wherein the storage capacity of said one hard disk drive is a current storage capacity actually used at that time. Duplex system.
【請求項5】 前記双方ハードディスク装置に記憶され
るデータが商品販売データである請求項1から請求項4
までのいずれか1項に記載されたハードディスク装置の
2重化システム。
5. The data stored in the both hard disk devices is merchandise sales data.
The duplex system for a hard disk device according to any one of the above.
JP2001162783A 2001-05-30 2001-05-30 Duplex system for hard disk drive Pending JP2002351746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001162783A JP2002351746A (en) 2001-05-30 2001-05-30 Duplex system for hard disk drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001162783A JP2002351746A (en) 2001-05-30 2001-05-30 Duplex system for hard disk drive

Publications (1)

Publication Number Publication Date
JP2002351746A true JP2002351746A (en) 2002-12-06

Family

ID=19005853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001162783A Pending JP2002351746A (en) 2001-05-30 2001-05-30 Duplex system for hard disk drive

Country Status (1)

Country Link
JP (1) JP2002351746A (en)

Similar Documents

Publication Publication Date Title
TWI299451B (en) Feature selection methods and apparatus, and computer system
JP3106409B2 (en) Diagnostic system and interface for personal computer
US7689802B2 (en) Controlling memory access in a multi-booting system
US8037347B2 (en) Method and system for backing up and restoring online system information
US20040019821A1 (en) Method and apparatus for reliable failover involving incomplete raid disk writes in a clustering system
US6961818B1 (en) Method, system and computer program product for managing data in a mirrored cache using an access balancing technique
JPH11265300A (en) Client/server system, computer and storage medium
KR100872247B1 (en) Method of using feature flags to determine compatibility between bios revisions and installed hardware during flash update
JPH09231013A (en) Method for sharing energized hsd among plural storage subsystems and its device
US6944789B2 (en) Method and apparatus for data backup and recovery
US7225327B1 (en) Method, system, software, and processor for initializing information systems operating in headless and non-headless environments
KR100633827B1 (en) Method and apparatus for enumeration of a multi-node computer system
JP2004302991A (en) Backup method of interface bios for computer system
US6473655B1 (en) Data processing system and method for creating a virtual partition within an existing partition in a hard disk drive
US6745324B1 (en) Dynamic firmware image creation from an object file stored in a reserved area of a data storage device of a redundant array of independent disks (RAID) system
US7366891B2 (en) Methods and apparatus to provide dual-mode drivers in processor systems
JP2003015826A (en) Shared memory copy function in disk array controller
US20130191576A1 (en) Computer system and method for controlling additional chassis added to computer system
US7958344B2 (en) Method for adjusting set-up default value of bios and mainboard using the same method
US8365159B2 (en) Apparatus and method to update code in an information storage and retrieval system while that system remains in normal operation
JP2002351746A (en) Duplex system for hard disk drive
US7337368B2 (en) System and method for shutdown memory testing
US20190138407A1 (en) Systems and methods of deploying an operating system from a resilient virtual drive
US20070271311A1 (en) Disk array device and data management method for managing master data and replication data replicated from master data
JP2002229742A (en) Access switching control device and access switching control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040324

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060912

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060926

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070206