JPS62273678A - Test method for magnetic disk device - Google Patents

Test method for magnetic disk device

Info

Publication number
JPS62273678A
JPS62273678A JP11776686A JP11776686A JPS62273678A JP S62273678 A JPS62273678 A JP S62273678A JP 11776686 A JP11776686 A JP 11776686A JP 11776686 A JP11776686 A JP 11776686A JP S62273678 A JPS62273678 A JP S62273678A
Authority
JP
Japan
Prior art keywords
area
test
write
medium
magnetic disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11776686A
Other languages
Japanese (ja)
Inventor
Hiroko Nagaya
長屋 宏子
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 JP11776686A priority Critical patent/JPS62273678A/en
Publication of JPS62273678A publication Critical patent/JPS62273678A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To eliminate the necessity for the preparation of an exclusive medium used for the test by utilizing an idle area existing in a file medium so as to conduct the write/read test of a magnetic disk device while selecting an optional location of the file medium. CONSTITUTION:A file managing table 10 is retrieved and whether or not a test area 15 exists in a data area 11. When the area 15 exists, it is extracted and if not, idle areas 14, 14a and 14b are extracted. In confirming the existence of the area 15, a write/read test is executed and if no existence is confirmed, an area not in use is registered in the idle area management table of a main memory. Based on the information registered in the idle area management table, an area executing the write/read test is set in the area not in use of the medium as the test area. Thus, the write/read test is conducted while the optional location of a file medium is selected.

Description

【発明の詳細な説明】 発明の詳細な説明 〔産業上の利用分野〕 本発明は、磁気ディスク装置のテスト方法に関し、特に
記憶媒体の一部または全記憶領域に対して書込み、およ
び読出しのテストを行なう方法に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a test method for a magnetic disk device, and particularly to a test method for testing a part or all of a storage area of a storage medium. Concerning how to do this.

〔従来の技術〕[Conventional technology]

一般に磁気ディスク装置は、情報処理システムのファイ
ル装置として広く使用されている。従来、このような磁
気ディスク装置の書込みテストおよび読出しテストは、
記憶媒体をテスト専用の媒体に交換するか、テスト専用
領域として与えられる媒体上のごく一部の領域で実施し
ている。
Generally, magnetic disk devices are widely used as file devices in information processing systems. Conventionally, write and read tests for such magnetic disk devices were performed using
Either the storage medium is replaced with a test-only medium, or a small area on the medium is designated as a test-only area.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のような書込みテストは、テストに供し得
る媒体が臨機に準備できないときには、媒体の任意の記
憶領域に対する書込みテストは実施できないという欠点
がある。すなわち、通常の業務で自由に使用できる領域
を避けて、テスト専用領域として定められている極めて
狭い領域内だけでの書込みテストを行なうことになる。
The above-described conventional write test has the disadvantage that if a medium that can be used for testing cannot be prepared in a timely manner, a write test cannot be performed on any storage area of the medium. In other words, the write test is performed only within an extremely narrow area designated as a test-only area, avoiding areas that can be used freely for normal work.

なお最近オフィスオートメーション分野において急速に
普及しているフロッピィディスク装置についても、上記
とまったく同様の欠点を有している。
Floppy disk devices, which have recently become popular in the field of office automation, also have the same drawbacks as described above.

本発明の目的は、有窓の情報が書込まれた媒体に存在す
る未使用の領域を利用して、ある特定の領域を作成し、
媒体の一般に使われる記憶領域内に対する書込みテスト
を実施できるようにすることによって上記の欠点を改善
した磁気ディスク装置のデス1〜方法を提供することに
ある。
An object of the present invention is to create a specific area by using an unused area existing in a medium on which windowed information is written,
It is an object of the present invention to provide a method for a magnetic disk device that improves the above-mentioned drawbacks by making it possible to perform a write test in a commonly used storage area of a medium.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の磁気ディスク装置のテスト方法は、記憶媒体の
記憶領域における予め登録された試験領域を検索し、前
記試験領域がない場合には前記記憶媒体の記憶領域内に
ある未使用の空領域に前記試験領域を形成し、この試験
領域に対して書込みおよび読出しテストを行うことを特
徴とする。
The magnetic disk device testing method of the present invention searches for a pre-registered test area in the storage area of a storage medium, and if the test area does not exist, an unused empty area in the storage area of the storage medium is searched for. The present invention is characterized in that the test area is formed and write and read tests are performed on the test area.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例である磁気ディスク装置のテ
ストの手順を示す流れ図である。
FIG. 1 is a flowchart showing a test procedure for a magnetic disk device according to an embodiment of the present invention.

第2図は、本発明の一実施例を説明するためのファイル
媒体の構成図である。同図において、ファイル媒体9は
、ファイル管理テーブル10とデータ領域11とテスト
専用領域12とから構成されている。ファイル管理テー
ブル10にはデータ領域11に書込まれたファイルの属
性を示すデータがファイル管理情報として書込まれてい
る。データ領域11は複数個のデータファイル13.1
3aおよび13bから構成され、これらのデータファイ
ル13.13aおよび13bを区切って空領域14.1
4aおよび14bがある。
FIG. 2 is a configuration diagram of a file medium for explaining one embodiment of the present invention. In the figure, the file medium 9 is composed of a file management table 10, a data area 11, and a test-only area 12. In the file management table 10, data indicating attributes of files written in the data area 11 is written as file management information. The data area 11 has multiple data files 13.1
These data files 13.13a and 13b are separated into an empty area 14.1.
There are 4a and 14b.

テスト専用領域は、通常では使用されない媒体の一番後
に位置している。
The test-only area is located at the end of the medium that is not normally used.

第1図は本発明の一実施例である磁気ディスク装置のテ
ストの手順を示す流れ図である。
FIG. 1 is a flowchart showing a test procedure for a magnetic disk device according to an embodiment of the present invention.

ステップ1はファイル管理テーブル10を検索し、デー
タ領域11の中に、書込み/読出しテストに使用する領
域すなわち試験領域15が存在するか否かを調べる。フ
ァイル管理テーブル10にはデータ領域11において、
登録されているファイルの名前および各ファイルについ
て実際に情報が書込まれている範囲を示すデータがある
ので、これを利用して、既に書込み/読出し試験に使用
可能となっている試験領域15が存在すれば、それをそ
うでない場合は空領域14.14aおよび14bt!−
抽出する。ステップ2は上記の試験領域を確認する判断
を示し、存在が確認されたらステップ7にとび書込み/
読出し試験を実施する。
In step 1, the file management table 10 is searched to determine whether or not an area used for a write/read test, that is, a test area 15 exists in the data area 11. In the file management table 10, in the data area 11,
Since there is data indicating the names of registered files and the range in which information is actually written for each file, this can be used to test the test area 15 that is already available for write/read tests. if it exists, otherwise empty areas 14.14a and 14bt! −
Extract. Step 2 indicates the judgment to confirm the above test area, and if the existence is confirmed, jump to Step 7 and write/write.
Perform a reading test.

ステップ3は上記の未使用の領域を確認する判断を示し
、ステップ4はその未使用の領域を空領域管理テーブル
に登録する。この空領域管理テーブルは主メモリに作成
する(図示していない)、ステップ5は上記ステップ1
〜4が終了したか否かを確認する判断である。このよう
にしてデータ領域11に在るすべての領域を検索し、空
領域は上記の空領域管理テーブルに登録する。ステップ
7は空領域管理テーブルに登録された情報をもとに、媒
体上の未使用の領域内に書込み、読出し試験を実行する
領域を試験領域として設定し、ファイル管理テーブルに
登録する。又、上記のようにして設定された試験領域ま
たは既に存在している試験領域について書込みテストお
よび読出しテストを実施する。これらのテストのための
テストデータは前似って主メモリに準備しておく、ステ
ップ8は上記の書込みテストおよび読出しテストが終了
したか否かを確認する判断である。
Step 3 indicates the determination to confirm the above-mentioned unused area, and step 4 registers the unused area in the empty area management table. This free space management table is created in the main memory (not shown), step 5 is the step 1 above.
This is a judgment to confirm whether or not steps 4 to 4 have been completed. In this way, all areas in the data area 11 are searched, and empty areas are registered in the above-mentioned empty area management table. In step 7, based on the information registered in the empty area management table, an area in which writing and reading tests are to be performed in an unused area on the medium is set as a test area and registered in the file management table. Further, a write test and a read test are performed on the test area set as described above or the test area that already exists. Test data for these tests is prepared in advance in the main memory. Step 8 is a judgment to confirm whether the above write test and read test have been completed.

なお上記の実施例では一般的に磁気ディスク装置につい
て説明したが、最近オフィスオートメーション分野にお
いて急速に普及しているフロッピィディスク装置のテス
トについてもまったく同様に適用することができる。
In the above embodiment, a magnetic disk device was generally described, but the present invention can be similarly applied to testing of a floppy disk device, which has recently become rapidly popular in the office automation field.

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

以上説明したように本発明による磁気ディスク装置のテ
スト方法によれば、通常業務に適用しているファイル媒
体に存在する空領域を利用して磁気ディスク装置の書込
みテストおよび読出しテストをファイル媒体の任意の位
置を選択して行うことができるので、上記のテストに供
する専用のファイル媒体を準備する必要がなくなるとい
う効果がある。また、従来のように、テスト専用領域に
対してのみ書込みテスI・および読出しテストを行うの
ではなく、一般に使われる領域に対してテストが実施で
きるので、より現実に即したテストができるという効果
もある。なお、テスト専用媒体にあらかじめ全領域を試
験領域と設定しておけば、全領域に対する書込みテスト
および読出しテストも従来通り実施できる。
As explained above, according to the test method for a magnetic disk device according to the present invention, a write test and a read test of a magnetic disk device can be performed on any file medium by using the free space existing in a file medium that is used for normal business. Since the test can be performed by selecting a location, there is no need to prepare a dedicated file medium for the above test. In addition, instead of performing write tests and read tests only on test-only areas as in the past, tests can be performed on commonly used areas, making it possible to conduct tests that are more in line with reality. There is also. Note that if all areas are set as test areas in advance on the test-only medium, write tests and read tests on all areas can be performed as before.

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

第1図は本発明による磁気ディスク装置のテストの一実
施例の手順を示す流れ図、第2図は本発明の一実施例を
説明する記憶媒体の構成図である。 9・・・ファイル媒体、10・・・ファイル管理テーブ
ル、11・・・データ領域1.12・・・テスト専用領
域、13.13a、13b−データファイル、14.1
4a、14b・・・空領域、15・・・書込みテスト読
出しテストを実行する試験領域。 躬1図
FIG. 1 is a flowchart showing the procedure of an embodiment of testing a magnetic disk device according to the present invention, and FIG. 2 is a configuration diagram of a storage medium illustrating an embodiment of the present invention. 9...File medium, 10...File management table, 11...Data area 1.12...Test exclusive area, 13.13a, 13b-data file, 14.1
4a, 14b...Empty area, 15...Test area for executing write test and read test. Figure 1

Claims (1)

【特許請求の範囲】[Claims] 記憶媒体の記憶領域における予め登録された試験領域を
検索し、前記試験領域がない場合には前記記憶媒体の記
憶領域内にある未使用の空領域に前記試験領域を形成し
、この試験領域に対して書込みおよび読出しテストを行
うことを特徴とする磁気ディスク装置のテスト方法。
Search for a pre-registered test area in the storage area of the storage medium, and if the test area does not exist, form the test area in an unused empty area in the storage area of the storage medium, and A method for testing a magnetic disk device, the method comprising performing a write and read test on a magnetic disk device.
JP11776686A 1986-05-21 1986-05-21 Test method for magnetic disk device Pending JPS62273678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11776686A JPS62273678A (en) 1986-05-21 1986-05-21 Test method for magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11776686A JPS62273678A (en) 1986-05-21 1986-05-21 Test method for magnetic disk device

Publications (1)

Publication Number Publication Date
JPS62273678A true JPS62273678A (en) 1987-11-27

Family

ID=14719790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11776686A Pending JPS62273678A (en) 1986-05-21 1986-05-21 Test method for magnetic disk device

Country Status (1)

Country Link
JP (1) JPS62273678A (en)

Similar Documents

Publication Publication Date Title
CN107729558A (en) Method, system, device and the computer-readable storage medium that file system fragmentation arranges
US5961592A (en) Screen identification system
JPS62273678A (en) Test method for magnetic disk device
US6574704B1 (en) Information storage management device and method, control device and method
JP2008287675A (en) Storage interface conversion device, information processing system and computer program
JPH0895835A (en) Method for reserving file space
JPH05298172A (en) Control device and control method of common file
JP3016255B2 (en) Database management system
JPS6286583A (en) Test method for magnetic disk device
JPS63158641A (en) Idle file control system
JPH02151944A (en) Data processor
JPS5987572A (en) Controlling system of disk storage device
JPH11272529A (en) Constitution reproduction device, its method and storage medium
JPH04165543A (en) Electronic filing device
JPH01276250A (en) System for managing file history using optical disk
JPS58190750U (en) Computer software error information storage device
JPH09293007A (en) Program install device
KR100343163B1 (en) Multiple database table accessors and methods
JPH04350741A (en) Access speed increasing method for indexed sequential file
JPH05334141A (en) File management system
JPH04336341A (en) File access control system
JPH05257773A (en) File managing system
JP2000047917A (en) File managing method and filing system
JPS63164087A (en) File management system
JPH02227749A (en) Data file system for file control information on magnetic disk