Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0373904B2 - - Google Patents
[go: Go Back, main page]

JPH0373904B2 - - Google Patents

Info

Publication number
JPH0373904B2
JPH0373904B2 JP57003465A JP346582A JPH0373904B2 JP H0373904 B2 JPH0373904 B2 JP H0373904B2 JP 57003465 A JP57003465 A JP 57003465A JP 346582 A JP346582 A JP 346582A JP H0373904 B2 JPH0373904 B2 JP H0373904B2
Authority
JP
Japan
Prior art keywords
bit
redundant
bitmap
bit map
storage device
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 - Lifetime
Application number
JP57003465A
Other languages
Japanese (ja)
Other versions
JPS58121462A (en
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 filed Critical
Priority to JP57003465A priority Critical patent/JPS58121462A/en
Publication of JPS58121462A publication Critical patent/JPS58121462A/en
Publication of JPH0373904B2 publication Critical patent/JPH0373904B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/004Error avoidance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子計算機システムにおける記憶装
置の管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a storage device management method in an electronic computer system.

〔従来の技術〕[Conventional technology]

従来のフアイル管理での磁気デイスク装置のス
ペースの管理法を第1図に示す。磁気デイスク装
置のスペース1を一定の大きさのブロツク2に分
割し、各ブロツクが使用中であるか空であるかビ
ツトマツプ3を用いて磁気デイスク装置のスペー
スの管理が行なわれている。ビツトマツプのj
(j=1,2……n)番目のビツトはj番目のブ
ロツクの使用状況を表示している。第1図でハツ
チングの入つているブロツクが使用中であると
し、ブロツクが使用中であることを1、空である
ことを0で表現すると、ビツトマツプ3は101110
……0となる。
FIG. 1 shows a conventional file management method for managing space in a magnetic disk device. The space 1 of the magnetic disk device is divided into blocks 2 of a fixed size, and the space of the magnetic disk device is managed using a bit map 3 to determine whether each block is in use or empty. bit map j
The (j=1, 2...n)th bit indicates the usage status of the jth block. If we assume that the block with hatching in Figure 1 is in use, and if we express that the block is in use by 1 and if it is empty by 0, then bitmap 3 will be 101110.
...becomes 0.

一方、次のような場合、ビツトマツプ3の情報
が破壊されることがある。すなわち、磁気デイス
ク装置を高速にアクセスするため、フアイル管理
によるオーバヘツドを避け、フアイル管理プログ
ラムを通さないでユーザプログラムが磁気デイス
ク装置のセクタアドレスを指定して、直接磁気デ
イスク装置をアクセスすることがあるが、この時
ユーザが誤つてビツトマツプ上に別のデータを書
いてしまつた場合や、デイスクコントローラ内の
転送先アドレスを記憶しているレジスタやこのア
ドレスをメモリ側に伝達するアドレス線でのビツ
トの誤りなどの異常により、磁気デイスク装置を
アクセスする時に磁気デイスク装置のセクタアド
レスの計算がCPUの異常により誤り、間違つた
箇所にデータを書いた場合、ビツトマツプが破壊
されることがある。
On the other hand, the information in the bit map 3 may be destroyed in the following cases. In other words, in order to access a magnetic disk device at high speed, a user program may directly access the magnetic disk device by specifying the sector address of the magnetic disk device without going through the file management program, avoiding the overhead caused by file management. However, if the user accidentally writes different data on the bitmap, or if the bit is written in the register that stores the transfer destination address in the disk controller or in the address line that transmits this address to the memory side. If an error or other abnormality occurs in the calculation of the sector address of the magnetic disk device when the magnetic disk device is accessed due to an error in the CPU, and data is written to the wrong location, the bit map may be destroyed.

また、システムプログラムの誤りにより、主メ
モリ上にビツトマツプが読み込まれている時に、
ビツトマツプを機械語命令により書替えてしまう
ことによつてもビツトマツプの情報は破壊され
る。
Also, due to an error in the system program, when the bitmap is being loaded into main memory,
The information in the bitmap is also destroyed by rewriting the bitmap with machine language instructions.

これらの原因により第1図のビツトマツプ3が
第2図のビツトマツプ3のように書替えられたと
すると、使用中のブロツク21がビツトマツプ3
上で空と表示されているため、次にフアイルが定
義される時、ブロツク21がこのフアイルに割当
てられてしまい、ブロツク21の情報が破壊され
る。
If bitmap 3 in FIG. 1 is rewritten as bitmap 3 in FIG. 2 due to these reasons, the block 21 in use is rewritten as bitmap 3 in FIG.
Since it is shown as empty above, the next time the file is defined, block 21 will be assigned to this file, and the information in block 21 will be destroyed.

また、空のブロツク22がビツトマツプ3上で
使用中と表現されているので、実際には使用可能
であるにもかかわらず、このブロツクは使用でき
なくなる。
Furthermore, since the empty block 22 is expressed as being in use on the bitmap 3, this block becomes unusable even though it is actually usable.

従来、ビツトマツプの情報の破壊を検出するの
に、1ビツトのチエツクビツトを追加し情報の破
壊を検出するパリテイチエツク法、あるいはチエ
ツクビツトを多く設け、情報の破壊を検出する
ECC(error correcting code,error check and
correction)法などの方法が提案されている。
Conventionally, to detect information corruption in a bit map, a parity check method was used in which a 1-bit check bit was added to detect information corruption, or a parity check method was used to detect information corruption by providing a large number of check bits.
ECC (error correcting code, error check and
methods such as the correction method have been proposed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

計算機の大半の命令を取扱うデータはバイト単
位であり、また磁気デイスク装置の入出力の単位
はセクタである。しかしながら、前記パリテイチ
エツク法は1ビツトの情報の破壊を検出するもの
であり、ECCは2ビツトの情報の破壊を検出す
るものであるため、バイト単位あるいはセクタ単
位の情報の破壊を検出することはできない。
The data that handles most instructions in computers is in bytes, and the input/output unit in magnetic disk drives is sectors. However, since the above parity check method detects the destruction of 1-bit information, and ECC detects the destruction of 2-bit information, it cannot detect the destruction of information in bytes or sectors. I can't.

本発明の目的は、前記の問題を解決し、バイト
単位あるいはセクタ単位のビツトマツプの情報の
破壊をも検出し、ビツトマツプの情報の破壊によ
るフアイルの破壊を防止すること、磁気デイスク
装置のスペース上に使用できないブロツクができ
ることを防止する方式を提供することにある。
It is an object of the present invention to solve the above-mentioned problems, to detect the destruction of information in a bit map in units of bytes or sectors, to prevent file destruction due to the destruction of information in the bit map, and to save space on a magnetic disk device. The object of the present invention is to provide a method for preventing the creation of unusable blocks.

〔課題を解決するための手段〕[Means to solve the problem]

前記目的を達成するために本発明の特徴とする
ところは、記憶装置の管理方式において、ブロツ
クの使用状況を表現しているビツトマツプに対し
て冗長となるビツト列を設け、該冗長ビツト列に
予め所定のビツトパターンを設定し、前記ビツト
マツプを参照、あるいは更新するあたり前記冗長
ビツト列の内容が前記所定のビツトパターンに一
致しているかを判定し、もし前記所定のビツトパ
ターンと一致しなければ、前記ビツトマツプの情
報が破壊されていると判定するようにしたことに
ある。
In order to achieve the above object, the present invention is characterized in that, in a storage device management system, a redundant bit string is provided for a bit map expressing the usage status of a block, and the redundant bit string is filled with data in advance. When setting a predetermined bit pattern and referring to or updating the bit map, it is determined whether the contents of the redundant bit string match the predetermined bit pattern, and if it does not match the predetermined bit pattern, The problem lies in that it is determined that the information in the bit map is destroyed.

〔作用〕[Effect]

本発明によれば、ブロツクの使用状況を表示す
るビツトに対して冗長ビツトを設け、該冗長ビツ
ト列に予め所定のビツトパターンを設定し、ビツ
トマツプの情報を参照、あるいは更新するにあた
り前記冗長ビツト列の内容が所定のビツトパター
ンに一致しているかを判定し、もし前記所定のビ
ツトパターンと一致しなければ、ビツトマツプの
情報が破壊されていると判定するため、ビツトマ
ツプを誤つて他のデータで上塗りしてしまうこと
によるビツトマツプの破壊を検出し、該ビツトマ
ツプの破壊によるフアイルの破壊を防止するこ
と、磁気デイスク装置のスペース上に使用できな
いブロツクができることを防止することが可能と
なる。
According to the present invention, redundant bits are provided for the bits that display the usage status of a block, a predetermined bit pattern is set in advance in the redundant bit string, and the redundant bit string is used when referring to or updating information on a bitmap. It is determined whether the contents of the bit map match a predetermined bit pattern, and if it does not match the predetermined bit pattern, it is determined that the information in the bit map has been destroyed, so the bit map is mistakenly overwritten with other data. It becomes possible to detect the destruction of a bitmap due to the bitmap being destroyed, to prevent the file from being destroyed due to the destruction of the bitmap, and to prevent the creation of unusable blocks in the space of the magnetic disk device.

〔実施例〕〔Example〕

第4図に本発明において用いられるビツトマツ
プの構成を示す。ビツトマツプ31においてブロ
ツクの使用状況を表示するビツト311a〜31
1gに対して冗長ビツト312a〜312gを設
ける。このような2ビツトの組(例えば311a
と312a)を以下エントリと呼ぶ。
FIG. 4 shows the configuration of a bitmap used in the present invention. Bits 311a to 31 that display the usage status of blocks in the bitmap 31
Redundant bits 312a to 312g are provided for 1g. Such a 2-bit set (for example, 311a
and 312a) are hereinafter referred to as entries.

以下、第5図、第6図、第7図および第8図に
より本発明の実施例を説明する。第5図におい
て、冗長ビツト列312a〜312gには全て1
をセツトする。ビツトマツプ31のエントリに先
頭から順番につけられた番号(1,2……n)を
以下エントリ番号と呼ぶ。
Embodiments of the present invention will be described below with reference to FIGS. 5, 6, 7, and 8. In FIG. 5, redundant bit strings 312a to 312g all have 1 bits.
Set. The numbers (1, 2, . . . n) assigned sequentially to the entries in the bit map 31 from the beginning are hereinafter referred to as entry numbers.

ビツトマツプ31を磁気デイスク装置から主記
憶装置に読み込んだ時に、ビツトマツプ31の冗
長ビツト列312a〜312gが全て1になつて
いるかをチエツクする。このチエツクを高速に行
なうため、つぎに述べる命令を用いている。すな
わち、第6図に示すようにジエネラルレジスタ
GROで指定されるアドレスから、ジエネラルレ
ジスタGRIで指定されるエントリ数だけ冗長ビツ
トが1であるかをチエツクする命令で、結果が正
常なときは現在実行しているプログラムの状態が
どうなつているかを表示するコンデイシヨンコー
ドの零ビツト、負ビツトを0とし、異常時は1と
するものである。
When the bitmap 31 is read from the magnetic disk device into the main storage device, it is checked whether the redundant bit strings 312a to 312g of the bitmap 31 are all 1s. In order to perform this check at high speed, the following command is used. In other words, as shown in Figure 6, the general register
This instruction checks whether the redundant bit is 1 for the number of entries specified by the general register GRI from the address specified by GRO. If the result is normal, it checks the state of the currently executing program. The zero bit and negative bit of the condition code that indicates whether there is a problem are set to 0, and set to 1 when an abnormality occurs.

この命令について、第6図を例にとり、その動
作を説明する。まず第6図は4096個のエントリか
らなり、2セクタ(512バイト/セクタ)の大き
さのビツトマツプで、今ビツトマツプの2セクタ
目が誤つて、全て0からなるデータより上塗りさ
れた場合を示している。すなわち、2セクタ目の
先頭のエントリである2049番目のエントリから
4096番目のエントリまでの冗長ビツトが0となつ
ている。
The operation of this command will be explained using FIG. 6 as an example. First, Figure 6 shows a bitmap consisting of 4096 entries and a size of 2 sectors (512 bytes/sector), where the second sector of the bitmap is accidentally overwritten with data consisting of all 0s. There is. In other words, from the 2049th entry, which is the first entry of the second sector,
The redundant bits up to the 4096th entry are 0.

第7図にこの命令の動作ロジツクを、第8図に
命令フオーマツトを示す。まず、命令フオーマツ
トは、第8図に示すように、1バイトのオペレー
シヨンコード601のみからなる。
FIG. 7 shows the operation logic of this instruction, and FIG. 8 shows the instruction format. First, the instruction format consists of only a 1-byte operation code 601, as shown in FIG.

次に、この動作ロジツクを第7図に示す。40
0は主メモリ上のデータあるいは命令、401は
主メモリ、402はメモリアドレスレジスタ、4
03は命令のオペレーシヨンコードからこの命令
のマイクロプログラムの先頭アドレスを計算する
デコーダ、404はマイクロプログラムを格納し
ているROM、405はマイクロプログラム、4
06はジエネラルレジスタ、407はワークレジ
スタ、408および409はセレクタ、410は
リテラル、すなわち定数を保持しているレジス
タ、412はコンデイシヨンコードのフラグであ
る。これらからなる計算機にて、ステツプ501〜
510で示すフローチヤートを実行する。命令が実
行される前に、ジエネラルレジスタGR0、GR1
にそれぞれ、主メモリ401に読み込んだビツト
マツプの先頭アドレス、エントリ数4096がセツト
されている。
Next, this operating logic is shown in FIG. 40
0 is data or instructions on main memory, 401 is main memory, 402 is memory address register, 4
03 is a decoder that calculates the start address of the microprogram for this instruction from the operation code of the instruction; 404 is a ROM that stores the microprogram; 405 is a microprogram;
06 is a general register, 407 is a work register, 408 and 409 are selectors, 410 is a literal, that is, a register holding a constant, and 412 is a condition code flag. Steps 501~
Execute the flowchart shown in 510. General registers GR0, GR1 before the instruction is executed.
The start address of the bitmap read into the main memory 401 and the number of entries, 4096, are set in each of the bitmaps.

ステツプ501にて、エントリ数を1度にチエツ
クする数(本実施例では16)だけジエネラルレジ
スタGR1の値を更新する。この結果GR1の値は
4080になる。ステツプ502では、ビツトマツプの
情報内の4バイト、2進表示で×1×1×1×1
×1×1×1×1×1×1×1×1×1×1×1
×1(×はブロツクの使用状況により0または1)
を主メモリ400から読み込む。ステツプ503で
は4バイトのリテラル410(2進表示で
10101010101010101010101010101010、16進表示で
AAAAAAAA、これをマスクパターンと称す
る)と502で読み込んだビツトマツプの情報との
論理和をとる。結果は2進表示で
11111111111111111111111111111111、16進表示で
FFFFFFFFとなる。この値をワークレジスタ
WK1へセツトする。ステツプ504でジエネラルレ
ジスタGR1の値によりビツトマツプのチエツク
が終了したかを判定する。この場合、ジエネラル
レジスタGR1の値は4080であるので、ステツプ
505ヘリンクする。ステツプ505ではワークレジス
タWK1の値が2進表示で
11111111111111111111111111111111(これを検査
パターンと称する)であるかを判定する。この場
合先に述べたように、「Yes」となり、ステツプ
506へリンクする。ステツプ506ではビツトマツプ
のアドレスを4バイトだけ更新し、ステツプ501
ヘリンクする。このような処理が128回繰り返さ
れる。129回目になると、エントリ番号2049から
2064のエントリのチエツクが行なわれる。すなわ
ち、ステツプ501ではジエネラルレジスタGROの
値が2032となり、ステツプ502では2進表示で上
述のマスクパターンと同じ値をワークレジスタ
WK1へセツトする。ステツプ504では先に述べた
ように、ジエネラルレジスタGR1の値は2032で
あるので、ステツプ505へリンクする。ステツプ
505における判定では「No」であるので、ステツ
プ507へリンクし、ビツトマツプが異常であるこ
とを示すコンデシヨンコード412の負ビツト、
零ビツトをセツトして命令を終了する。
At step 501, the value of the general register GR1 is updated by the number of entries checked at one time (16 in this embodiment). As a result, the value of GR1 is
It becomes 4080. In step 502, the 4 bytes in the bit map information are x1 x 1 x 1 x 1 in binary representation.
×1×1×1×1×1×1×1×1×1×1×1
×1 (× is 0 or 1 depending on the usage status of the block)
is read from main memory 400. In step 503, the 4-byte literal 410 (binary representation
10101010101010101010101010101010, in hex
AAAAAAAAA (this is called a mask pattern) and the bitmap information read in step 502 are logically ORed. The result is displayed in binary
11111111111111111111111111111111, in hex
It becomes FFFFFFFF. This value is stored in the work register.
Set to WK1. In step 504, it is determined based on the value of the general register GR1 whether the bitmap check has been completed. In this case, the value of general register GR1 is 4080, so the step
Link to 505. In step 505, the value of work register WK1 is displayed in binary.
11111111111111111111111111111111 (this is called a test pattern). In this case, as mentioned earlier, the answer is “Yes” and the step
Link to 506. In step 506, the address of the bitmap is updated by 4 bytes, and in step 501
Link here. Such processing is repeated 128 times. At the 129th time, entry number 2049 starts.
2064 entries are checked. That is, in step 501, the value of the general register GRO becomes 2032, and in step 502, the same value as the above mask pattern is written in the work register in binary representation.
Set to WK1. In step 504, as mentioned earlier, the value of general register GR1 is 2032, so a link is made to step 505. step
Since the determination in step 505 is "No," the process is linked to step 507 and the negative bit of the condition code 412 indicating that the bit map is abnormal is set.
Sets the zero bit and ends the instruction.

このようにして、ビツトマツプが1セクタ
(512バイト)分、全て0の情報により塗り替えら
れたことにより破壊されていることを検出するこ
とができる。
In this way, it is possible to detect that the bitmap has been destroyed by repainting one sector (512 bytes) with all 0 information.

ステツプ508〜509では、ステツプ501〜506で16
エントリづつチエツクした残りの端数のチエツク
を行なう。もし端数がないときは(GR)+16が
0となり、チエツクは行なわない。ステツプ510
では全ての冗長ビツトが0であつた場合であるの
で、正常なコンデイシヨンコードをセツトする。
In steps 508-509, 16 in steps 501-506
Check the remaining fraction after checking each entry. If there is no fraction, (GR)+16 becomes 0 and no check is performed. step 510
This is the case where all redundant bits are 0, so a normal condition code is set.

ビツトマツプの破壊はこの例のように、磁気デ
イスク装置上で別のデータが上塗りされることに
よる他、主メモリ上での命令により1、2あるい
は4バイト単位あるいはビツト単位で誤つて書替
えが行なわれることにより起こる。一般に機械語
命令では1、2あるいは4バイト単位のデータの
処理が主であり、冗長ビツトを書替えないでビツ
トマツプ本体の情報が破壊される可能性は小さ
い。従つて、この方法により大部分のビツトマツ
プの情報の破壊を検出できる。
As in this example, bitmaps can be destroyed not only by being overwritten with other data on the magnetic disk drive, but also by erroneously rewriting 1, 2, or 4 bytes or bits by instructions in main memory. It happens due to things. Generally, machine language instructions mainly process data in units of 1, 2, or 4 bytes, and there is little possibility that the information in the bitmap itself will be destroyed without rewriting redundant bits. Therefore, this method can detect most of the information corruption in the bitmap.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、冗長ビツ
トを全て破壊しないような希な場合を除き、ビツ
トマツプの情報の破壊の検出が可能である。計算
機の大半の命令を取扱うデータはバイト単位であ
り、また磁気デイスク装置の入出力の単位はセク
タ(通常128〜512バイト)である。ビツトマツプ
を他のデータで上塗りする等のエラーによりビツ
トマツプの情報が破壊された場合、複数ビツトの
情報が同時に破壊される。すなわち冗長ビツトの
情報が破壊される可能性が大きく、大半のビツト
マツプの情報の破壊を検出し、ビツトマツプの情
報の破壊によるフアイルの破壊を防止すること、
磁気デイスク装置のスペース上に使用できないブ
ロツクができることを防止する方式を提供するこ
とが可能となつたのである。
As explained above, according to the present invention, it is possible to detect destruction of information in a bitmap, except in rare cases where all redundant bits are not destroyed. The data that handles most instructions in computers is in bytes, and the input/output unit in magnetic disk drives is sectors (usually 128 to 512 bytes). If the bitmap information is destroyed due to an error such as overpainting the bitmap with other data, multiple bits of information will be destroyed at the same time. In other words, there is a high possibility that information in redundant bits will be destroyed, so it is necessary to detect destruction of information in most bitmaps and prevent file destruction due to destruction of information in bitmaps.
It has now become possible to provide a method for preventing the creation of unusable blocks in the space of a magnetic disk device.

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

第1図は従来のビツトマツプの説明図、第2図
はビツトマツプの情報が破壊された場合の問題点
の説明図、第3図は従来のビツトマツプの構成の
説明図、第4図は本発明のビツトマツプの構成の
説明図、第5図は実施例におけるビツトマツプの
構成の説明図、第6図はビツトマツプをチエツク
する命令を説明するためのビツトマツプの例を示
す図、第7図はビツトマツプをチエツクする命令
のフローチヤートと、機械語命令が動く計算機ハ
ードウエアの構成を示す図、第8図はビツトマツ
プチエツク命令の命令フオーマツトを示す図であ
る。
Fig. 1 is an explanatory diagram of a conventional bitmap, Fig. 2 is an explanatory diagram of problems when the information in the bitmap is destroyed, Fig. 3 is an explanatory diagram of the configuration of a conventional bitmap, and Fig. 4 is an explanatory diagram of the configuration of a conventional bitmap. FIG. 5 is an explanatory diagram of the bitmap configuration in the embodiment. FIG. 6 is a diagram showing an example of a bitmap for explaining a command to check a bitmap. FIG. 7 is an illustration of a bitmap check instruction. FIG. 8 is a diagram showing an instruction flowchart and the configuration of computer hardware on which machine language instructions operate. FIG. 8 is a diagram showing an instruction format of a bitmap check instruction.

Claims (1)

【特許請求の範囲】 1 電子計算機システムにおいて用いられる記憶
装置の管理方式であつて、所定のブロツクに分割
された前記記憶装置の記憶領域の各ブロツクの使
用状況を表現してなるビツトマツプに対応させて
冗長ビツト列を設け、該冗長ビツト列に予め所定
のビツトパターン情報を設定し、前記ビツトマツ
プを参照、あるいは更新するにあたり前記冗長ビ
ツト列の内容が前記所定のビツトパターン情報に
一致しているかを判定し、不一致のときに前記ビ
ツトマツプの破壊を検出することを特徴とする記
憶装置管理方式。 2 電子計算機システムにおいて用いられる記憶
装置の管理方式であつて、所定のブロツクに分割
された前記記憶装置の記憶領域の各ブロツクの使
用状況を表わすビツト列からなるビツトマツプに
対応させて冗長ビツト列を設け、該冗長ビツト列
に予め所定のビツトパターン情報を設定し、前記
ビツトマツプ及び前記冗長ビツト列に対して前記
ビツトマツプに対応するビツトが1で、前記冗長
ビツト列に対応するビツトが0であるようなマス
クパターンと、前記ビツトマツプに対応するビツ
ト及び前記冗長ビツト列に対応するビツトが1で
あるような検査パターンを記憶し、前記ビツトマ
ツプを参照、あるいは更新するにあたり前記所定
のビツトパターン情報と前記マスクパターンとの
論理和をとつた値が前記検査パターンに一致して
いるかを判定し、不一致のときに前記ビツトマツ
プの破壊を検出することを特徴とする記憶装置管
理方式。
[Scope of Claims] 1. A management method for a storage device used in a computer system, which corresponds to a bitmap representing the usage status of each block of a storage area of the storage device divided into predetermined blocks. A redundant bit string is provided, predetermined bit pattern information is set in the redundant bit string, and when the bit map is referred to or updated, it is checked whether the contents of the redundant bit string match the predetermined bit pattern information. A storage device management method characterized in that the bit map is determined and, when there is a mismatch, destruction of the bit map is detected. 2 A management method for a storage device used in a computer system, in which a redundant bit string is created in correspondence with a bit map consisting of a bit string representing the usage status of each block of the storage area of the storage device divided into predetermined blocks. and setting predetermined bit pattern information in the redundant bit string in advance such that the bit corresponding to the bit map is 1 and the bit corresponding to the redundant bit string is 0 for the bit map and the redundant bit string. A test pattern in which a bit corresponding to the bit map and a bit corresponding to the redundant bit string are 1 is stored, and when referring to or updating the bit map, the predetermined bit pattern information and the mask are stored. A storage device management method characterized in that it is determined whether a value obtained by calculating a logical sum with a pattern matches the test pattern, and when the check pattern does not match, destruction of the bit map is detected.
JP57003465A 1982-01-14 1982-01-14 Storage device management method Granted JPS58121462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57003465A JPS58121462A (en) 1982-01-14 1982-01-14 Storage device management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57003465A JPS58121462A (en) 1982-01-14 1982-01-14 Storage device management method

Publications (2)

Publication Number Publication Date
JPS58121462A JPS58121462A (en) 1983-07-19
JPH0373904B2 true JPH0373904B2 (en) 1991-11-25

Family

ID=11558069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57003465A Granted JPS58121462A (en) 1982-01-14 1982-01-14 Storage device management method

Country Status (1)

Country Link
JP (1) JPS58121462A (en)

Also Published As

Publication number Publication date
JPS58121462A (en) 1983-07-19

Similar Documents

Publication Publication Date Title
EP0433269A2 (en) Volume verification method and apparatus
JPH11272427A (en) Data saving method and external storage device
US7711891B1 (en) Method, system, and computer-readable medium for updating memory devices in a computer system
US6363457B1 (en) Method and system for non-disruptive addition and deletion of logical devices
US20030014697A1 (en) System and method for dynamically moving checksums to different memory locations
KR20230161517A (en) Error checking of data used in offloaded operations
JP3315779B2 (en) File transfer device and file transfer method between disk devices
JPH10302485A (en) Information processing device having flash memory
JPH0373904B2 (en)
JPH02278572A (en) Alternative block processing system
EP0113982A2 (en) A data processing system
US7260658B2 (en) Verifying input/output command data by separately sending data to be written and information about contents of the data
JPS59160250A (en) Storage device management method
JP3022011B2 (en) Data backup system
JPH0573226A (en) Data input/output system for external storage device
JPH02151936A (en) Error processing for change bit
US5951699A (en) Method and apparatus for verifying integrity of predefined data structures in a computer system
JPS63278162A (en) Error correction device in information processor
JPH0258653B2 (en)
JPH0441375B2 (en)
JPS62297948A (en) Database failure recovery method
US7426686B2 (en) System and method for verifying data integrity
JPS6159696A (en) Control memory repair method
EP0655686A1 (en) Retry control method and device for control processor
JPH02226350A (en) Data control method for computer system