JPH0527921A - File control system for magnetic disk device - Google Patents

File control system for magnetic disk device

Info

Publication number
JPH0527921A
JPH0527921A JP3180025A JP18002591A JPH0527921A JP H0527921 A JPH0527921 A JP H0527921A JP 3180025 A JP3180025 A JP 3180025A JP 18002591 A JP18002591 A JP 18002591A JP H0527921 A JPH0527921 A JP H0527921A
Authority
JP
Japan
Prior art keywords
job
file
area
magnetic disk
temporary area
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.)
Withdrawn
Application number
JP3180025A
Other languages
Japanese (ja)
Inventor
Yoshio Shichijo
好雄 七條
Kouichi Shikahama
孝一 鹿浜
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3180025A priority Critical patent/JPH0527921A/en
Publication of JPH0527921A publication Critical patent/JPH0527921A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To improve the reliability of a system, to recover a defective part by a parallel operation with a user job and to execute active maintenance. CONSTITUTION:Concerning the file managing system of a form to allocate an empty area (Y file) 11 managed by an operating system(OS) to a temporary area (work area) 10 of a magnetic disk device used by a job while activating the job under the control of the OS, when a defective part (*) is detected at a certain part in the allocated temporary area 10, a surface inspecting/ repairing tool is activated as an abnormal end without releasing the temporary area 10. At such a time, the entire magnetic disk device is not occupied but the file (X file) 10 including the defective part is repaired by the parallel operation with the user job.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、磁気ディスク装置にお
いて、媒体欠陥箇所を含むファイルの制御方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of controlling a file containing a defective medium portion in a magnetic disk device.

【0002】最近の計算機システムのオンライン化に伴
い、磁気ディスク装置といったファイル記憶装置(DASD)
に、障害が発生した場合においても、後続しているジョ
ブに影響を与えないファイルの管理が要求される。
File storage devices (DASD), such as magnetic disk devices, have been brought along with the recent online computer systems.
In addition, even if a failure occurs, it is required to manage files that do not affect the following jobs.

【0003】又、ユーザに対するサービスを向上させる
為にも、欠陥箇所の修復をジョブと並列動作で行うとい
った活性保守ができること、更に、オペレータの介入を
必要としない修復ツールの自動起動が要求される。
Further, in order to improve the service to the user, it is required that active maintenance can be performed such that the defective portion is repaired in parallel with the job, and that the repair tool is automatically started without the intervention of the operator. .

【0004】[0004]

【従来の技術】図2は、従来の磁気ディスク装置におけ
るファイル制御方式を説明する図である。
2. Description of the Related Art FIG. 2 is a diagram for explaining a file control method in a conventional magnetic disk device.

【0005】従来、オペレーティングシステム (以下、
OSということがある) 下でジョブを実行する時は、ジョ
ブで使用する一時領域(ワーク領域)(Xファイル) 10を
システムが管理している磁気ディスク装置 1の空き領域
群(Yファイル) 11から割り当てる。
Conventionally, operating systems (hereinafter,
When a job is executed under (OS), the temporary area (work area) (X file) 10 used by the job is managed by the system. Free space group (Y file) 11 of the magnetic disk unit 1 Assign from

【0006】このとき、割り当てられた一時領域 10 で
ライト/リードできない欠陥箇所を検出すると、ハード
及びソフトウェアの回復処理を実施し、回復処理が失敗
すると欠陥箇所のレコードアドレスをロギングファイル
に記録したのちにジョブを異常終了させ、一時領域を開
放する。
At this time, if a defective portion that cannot be written / read is detected in the allocated temporary area 10, recovery processing of hardware and software is performed, and if the recovery processing fails, the record address of the defective portion is recorded in the logging file. Abnormally terminates the job and releases the temporary area.

【0007】通常、ジョブが終了すると、該一時領域
(ワーク領域) 10を他のジョブで使用できるように、該
一時領域 (ワーク領域) 10を開放して、OSの管理下に置
くようにしているので、該一時領域(ワーク領域) 10に
欠陥箇所を検出した場合においても、該一時領域 10 を
開放することになる。
Normally, when the job is completed, the temporary area
Since the temporary area (work area) 10 is released and placed under the control of the OS so that the (work area) 10 can be used by other jobs, there is a defect in the temporary area (work area) 10. Even when the location is detected, the temporary area 10 is released.

【0008】以下に、オペレーティングシステム(OS)下
での動作の詳細を、処理順に従って説明する。 (1) オペレーティングシステム(OS)下で、ジョブが
起動される。
The details of the operation under the operating system (OS) will be described below in the order of processing. (1) A job is started under the operating system (OS).

【0009】(2) ジョブで使用する一時領域 (ワーク領
域:Xファイル、以下略することがある) 10をOS下の
ファイル管理システムがディスク装置の空き領域 (Yフ
ァイル)11から割り当てる。 (図2参照) (3) 割り当てられた一時領域 10 に対してライト/リー
ドを行い、ジョブを遂行していく。
(2) A file management system under the OS allocates a temporary area (work area: X file, which may be abbreviated below) 10 used in a job from a free area (Y file) 11 of a disk device. (See Fig. 2) (3) Write / read to the allocated temporary area 10 to execute the job.

【0010】(4) 割り当てられた一時領域 10 のある箇
所でリード系エラー(データチェック)が発生すると、
OSまたは制御装置で回復処理を行い、訂正不能なリー
ド系エラーであれば、エラーロギング情報として欠陥箇
所のシリンダ、トラック、レコード位置を、図示してい
ないロギングファイルに記録する。 (図2のB参照) (5) OSはエラーロギング情報をロギングファイルに記
録した後、欠陥箇所(*) のある一時領域 10 を開放し、
システムの空き領域として再度割当て可能な領域とす
る。又、OSはハードエラー(訂正不能なリード系エラ
ー)検出したことにより、実行中のジョブを異常終了さ
せる。 (図2のB,C参照)
(4) If a read error (data check) occurs at a location in the allocated temporary area 10,
Recovery processing is performed by the OS or the control device, and if it is an uncorrectable read error, the defective cylinder, track, and record position are recorded as error logging information in a logging file (not shown). (See B in Fig. 2) (5) The OS records the error logging information in the logging file and then releases the temporary area 10 with the defective part (*),
It should be an area that can be reallocated as a free area in the system. Further, the OS abnormally terminates the job being executed when it detects a hard error (uncorrectable read error). (See B and C in Figure 2)

【0011】[0011]

【発明が解決しようとする課題】以上のようなことから
次の問題点がある。上記(5) の処理の後にジョブを実行
すると、先に述べた欠陥箇所が再度、一時領域 10 とし
て割り当てられるため、後続のジョブも異常終了してし
まう(即ち、エラーの多発)ことがあるという問題があ
った。
From the above, the following problems occur. When the job is executed after the process of (5) above, the defective part described above is again allocated as the temporary area 10, so the following jobs may end abnormally (that is, many errors occur). There was a problem.

【0012】又、上記(4) の処理でロギングされた情報
を基に、訂正不能な欠陥箇所(シリンダ、トラック、レ
コード位置)を認識し、その後に磁気ディスク装置の表
面検査・修復ツールを使い、装置全体を専有し欠陥箇所
のスキップ処理または交代トラック処理を行い、欠陥箇
所の修復をしていた。
Further, based on the information logged in the process of (4) above, the uncorrectable defective portion (cylinder, track, record position) is recognized, and then the surface inspection / repair tool of the magnetic disk device is used. The entire device is occupied, and the defective portion is skipped or the alternate track processing is performed to repair the defective portion.

【0013】即ち、従来方式においては、欠陥箇所を含
むファイルを開放していた為、どのファイルに該欠陥箇
所が存在するかを認識することができなくなる為、シス
テムが該ディスク装置の全体を専有し、磁気ディスク装
置の表面検査・修復ツールを使い、欠陥箇所の修復を行
う必要があった。
That is, in the conventional method, since the file including the defective portion is opened, it is not possible to recognize in which file the defective portion exists. Therefore, the system occupies the entire disk device. However, it is necessary to repair the defective portion using the surface inspection / repair tool of the magnetic disk device.

【0014】又、従来方式では、該欠陥箇所を含むファ
イルを開放して、後続のジョブの実行を開始しており、
且つ、該欠陥箇所を含むファイルを認識することができ
ず、前述のように、システムは該ディスク装置の全体を
管理する必要があったため、例えば、異常終了が多発し
ていることを、オペレータが検知した時点で、ジョブの
実行を一旦停止したのち、上記ロギング情報の中から修
正用のパラメータを人手で抽出して、システムに入力
し、前述の磁気ディスク装置の表面検査・修復ツールを
起動する必要があった。即ち、自動的に、該修復ツール
を起動できないことから、人手により上記修正用のパラ
メータを入力することに伴い発生する誤入力の問題, 入
力に時間がかかる等の問題を生じさせていた。
Further, in the conventional method, the file including the defective portion is opened and the execution of the subsequent job is started.
Moreover, since the file including the defective portion cannot be recognized and the system needs to manage the entire disk device as described above, for example, the operator may find that abnormal terminations frequently occur. At the time of detection, after temporarily stopping the execution of the job, the correction parameters are manually extracted from the above logging information, input to the system, and the above-mentioned surface inspection / repair tool of the magnetic disk device is started. There was a need. That is, since the repair tool cannot be automatically started, problems such as erroneous input and time-consuming input that occur when the correction parameters are manually input are caused.

【0015】本発明は上記従来の欠点に鑑み、磁気ディ
スク装置において、ジョブを実行中に、媒体に欠陥箇所
が存在することを検出したとき、後続するジョブの実行
に際して、異常終了の多発を防止して、システムの信頼
度を向上させると共に、ユーザに対するサービスを向上
させることができる媒体の修復を行うファイル制御方式
を提供することを目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention prevents frequent occurrence of abnormal termination when a succeeding job is executed when it is detected that there is a defective portion on the medium during execution of the job in the magnetic disk device. In addition, it is an object of the present invention to provide a file control method for repairing a medium, which can improve the reliability of the system and improve the service to the user.

【0016】[0016]

【課題を解決するための手段】図1は本発明の一実施例
を示した図である。上記の問題点は下記の如くに構成し
た磁気ディスク装置におけるファイル制御方式によって
解決される。
FIG. 1 is a diagram showing an embodiment of the present invention. The above problems can be solved by the file control method in the magnetic disk device configured as follows.

【0017】(1) オペレイティングシステム(OS)の配下
でジョブが起動され、該ジョブで使用する磁気ディスク
装置 1の一時領域(ワーク領域) 10に、該オペレイティ
ングシステム(OS)が管理する空き領域を割当てる形式の
ファイル管理方式において、該割当てられた一時領域
(ワーク領域) 10の、ある箇所で、欠陥箇所(*) が検出
されたとき、該一時領域 (ワーク領域) 10を開放するこ
となく、異常終了とするように構成する。
(1) A job is started under the operating system (OS), and a free space managed by the operating system (OS) is stored in a temporary area (work area) 10 of the magnetic disk device 1 used by the job. In a file management method of allocating an area, when a defective portion (*) is detected at a certain place in the allocated temporary area (work area) 10, the temporary area (work area) 10 is released. Instead, it is configured to terminate abnormally.

【0018】(2) オペレイティングシステム(OS)の配下
でジョブが起動され、該ジョブで使用する磁気ディスク
装置 1の一時領域(ワーク領域) 10に、該オペレイティ
ングシステム(OS)が管理する空き領域を割当てる形式の
ファイル管理方式において、該割当てられた一時領域
(ワーク領域) 10の、ある箇所で、欠陥箇所(*) が検出
されたとき、該一時領域(ワーク領域) 10を開放するこ
となく保持することで、該磁気ディスク装置 1全体を専
有することなく、該一時領域(ワーク領域) 10のみを修
復するように構成する。
(2) A job is started under the operating system (OS), and a temporary area (work area) 10 of the magnetic disk device 1 used by the job has a free space managed by the operating system (OS). In the file management method of allocating an area, when a defective portion (*) is detected at a certain position in the allocated temporary area (work area) 10, the temporary area (work area) 10 is released. By holding the magnetic disk device 1 without using the magnetic disk device 1, only the temporary area (work area) 10 is restored without occupying the entire magnetic disk device 1.

【0019】(3) オペレイティングシステム(OS)の配下
でジョブが起動され、該ジョブで使用する磁気ディスク
装置 1の一時領域(ワーク領域) 10に、該オペレイティ
ングシステム(OS)が管理する空き領域を割当てる形式の
ファイル管理方式において、該割当てられた一時領域
(ワーク領域) 10のある箇所で、欠陥箇所(*) が検出さ
れたとき、該一時領域(ワーク領域) 10を開放すること
なく保持して、修復ツールを起動するように構成する。
(3) A job is started under the operating system (OS), and a free space managed by the operating system (OS) is stored in a temporary area (work area) 10 of the magnetic disk device 1 used by the job. In the file management method of allocating an area, when a defective part (*) is detected at a location of the allocated temporary area (work area) 10, the temporary area (work area) 10 is not released. Retain and configure to launch the repair tool.

【0020】[0020]

【作用】即ち、本発明では、オペレイティングシステム
(OS)に以下の処理をもたせる。 一時領域(ワーク領域:Xファイル)で、例えば、
訂正不能なリード系エラー(データチェック)を検出し
た場合に、そのジョブは異常終了させるが、この一時領
域を開放せずに専有した状態{制御情報のデータコント
ロールブロック(DCB),データスペースコントロールブロ
ック(DSCB)も専有状態}にしておく。
In other words, in the present invention, the operating system
(OS) has the following processing. In the temporary area (work area: X file), for example,
When an uncorrectable read error (data check) is detected, the job terminates abnormally, but the status is occupied without releasing this temporary area (control information data control block (DCB), data space control block). (DSCB) is also in the exclusive state}.

【0021】これにより、後続のジョブへ、該欠陥箇所
を含むファイルの割当てを行わないため、従来方式で多
発していた異常終了を防ぐことができる。 OSは、前述の(4) の処理、即ち、割り当てられた
一時領域10 のある箇所でリード系エラー(データチェ
ック)が発生すると、OSまたは制御装置で回復処理を
行い、訂正不能なリード系エラーであれば、エラーロギ
ング情報として欠陥箇所のシリンダ、トラック、レコー
ド位置を、図示していないロギングファイルに記録する
処理を行うと同時に、システムの記憶域にも、同様にエ
ラーロギング情報を退避しておく。
As a result, since the file including the defective portion is not assigned to the succeeding job, it is possible to prevent the abnormal termination that frequently occurs in the conventional method. The OS performs the above-mentioned process (4), that is, when a read error (data check) occurs at a portion of the allocated temporary area 10, the OS or the control device performs a recovery process to make an uncorrectable read error. If so, the process records the defective cylinder, track, and record position as error logging information in a logging file (not shown) .At the same time, save the error logging information in the system storage area as well. deep.

【0022】 さらに、欠陥箇所を含む一時領域をシ
ステムが専有し、且つ、上記で退避したエラーロギン
グ情報を基に、欠陥箇所に対して媒体の表面を検査し,
修復する保守ツールをシステム運用中に動作させる。
Further, the system occupies the temporary area including the defective portion, and the surface of the medium is inspected for the defective portion based on the error logging information saved as described above.
Run the maintenance tool to be repaired during system operation.

【0023】これによって、該欠陥箇所を持つディスク
装置に対しても、オペレイティングシステム(OS)は該欠
陥箇所を含むファイルを認識することができる為、該フ
ァイルに対して、上記保守ツールを自動起動して、該フ
ァイルの修復処理を行いながら、他のユーザジョブの並
行動作、具体的には、該修復処理と、後続ジョブとの時
分割処理ができるため活性保守が可能となる。
As a result, the operating system (OS) can recognize the file including the defective portion even for the disk device having the defective portion. While the file is started up and the file is repaired, the parallel operation of other user jobs, specifically, the time-sharing process of the repair process and the succeeding job can be performed, which enables active maintenance.

【0024】従って、本発明にによるファイル制御方式
においては、オペレーティングシステム(OS)下でジョブ
の実行時、一時領域で回復不能な欠陥箇所を検出した
ら、この一時領域を開放しないことにより、後続するジ
ョブに悪影響を及ぼすことなく、後続のジョブを実行す
ることができ、システムの信頼性を高めることが可能と
なる効果がある。更に、この欠陥箇所を含む一時領域を
システムが開放しないため、後続のジョブを実行しなが
ら、修復ツールを起動することができ、該修復ツール
で、上記前もって待避してあるエラーロギング情報を基
にして、修復パラメータを抽出して、該修復処理を実行
でき、活性保守ができる効果も得られる。
Therefore, in the file control method according to the present invention, when a non-recoverable defective portion is detected in the temporary area when the job is executed under the operating system (OS), the temporary area is not released, and the subsequent processing is performed. Subsequent jobs can be executed without adversely affecting the jobs, and the system reliability can be improved. Further, since the system does not release the temporary area including this defective portion, the repair tool can be started while executing the subsequent job, and the repair tool can use the error logging information saved in advance as a basis. Thus, the repair parameter can be extracted, the repair process can be executed, and the effect of active maintenance can be obtained.

【0025】[0025]

【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1が、本発明の一実施例を示した図であ
り、 (イ) は動作フローを模式的に示し、 (ロ) はファ
イル管理情報(DSCB 制御情報) のフォーマット例を示
し、 (ハ) は装置管理(UCB制御情報) のフォーマット例
を示している。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 described above is a diagram showing an embodiment of the present invention, (a) schematically shows an operation flow, (b) shows a format example of file management information (DSCB control information), C) shows a format example of device management (UCB control information).

【0026】本発明においては、オペレイティングシス
テム(OS)の配下でジョブが起動され、該ジョブで使用す
る磁気ディスク装置 1の一時領域(ワーク領域)10に、
該オペレイティングシステム(OS)が管理する空き領域を
割当てる形式のファイル管理方式において、該割当てら
れた一時領域 10 のある箇所で、欠陥箇所が検出された
とき、該一時領域 10を開放することなく、異常終了と
して、表面検査・修復ツールを起動する。又、このと
き、磁気ディスク装置 1の全体を専有しないで、該欠陥
箇所を含むファイルを、ユーザジョブとの並列動作で修
復するように制御する手段が、本発明を実施するのに必
要な手段である。尚、全図を通して同じ符号は同じ対象
物を示している。
In the present invention, a job is started under the control of the operating system (OS), and the temporary area (work area) 10 of the magnetic disk device 1 used for the job is
In the file management method of allocating a free area managed by the operating system (OS), when a defective portion is detected at a portion of the allocated temporary area 10, the temporary area 10 is not released. , Start the surface inspection / repair tool as abnormal termination. Further, at this time, the means for controlling the file including the defective portion so as to be repaired by the parallel operation with the user job without occupying the entire magnetic disk device 1 is a means necessary for implementing the present invention. Is. The same reference numerals indicate the same objects throughout the drawings.

【0027】以下、図1により、本発明による磁気ディ
スク装置におけるファイル制御方式を説明する。 a.オペレイティングシステム(OS)下でジョブが実行さ
れ、空き領域(Yファイル)11から領域(Xファイル)
10が割り当てられる。このとき、オペレイティングシス
テム(OS)は、このXファイル 10 に対して、制御情報(D
SCB){図1 (ロ) 参照}を作成し、又、このXファイル
10 は、どの装置のどの位置に獲得されているかを、UC
B 制御情報{図1 (ハ) 参照}で管理している。
The file control method in the magnetic disk device according to the present invention will be described below with reference to FIG. a. Jobs are executed under the operating system (OS), and free space (Y file) 11 to space (X file)
10 will be assigned. At this time, the operating system (OS) sends the control information (D
SCB) {Refer to Fig. 1 (b)} and create this X file
10 is the UC that tells which device and in what position
It is managed by B control information (see Fig. 1 (c)).

【0028】b.上記ジョブの実行中に、例えば、訂正
不能なリード系エラー(データチェック)が発生{欠陥
箇所が有る。図1のXファイル 10 中の*で示す箇
所}。この欠陥箇所を検出したときのセンス情報(シリ
ンダ値とトラック値)をシステム記憶域に退避する。
B. During execution of the above-mentioned job, for example, an uncorrectable read error (data check) occurs {there is a defective portion. The part indicated by * in the X file 10 of FIG. 1}. The sense information (cylinder value and track value) when this defective portion is detected is saved in the system storage area.

【0029】c.オペレイティングシステム(OS)下のフ
ァイル管理は、上記一時領域(Xファイル)10を開放せ
ず、専有した状態でジョブを異常終了させる。又、異常
終了したジョブのDCB(データコントロールブロッ
ク),DSCB (データスペースコントロールブロック)
等の制御情報もシステムで専有している。
C. The file management under the operating system (OS) does not release the temporary area (X file) 10 and abnormally terminates the job in the occupied state. DCB (data control block) and DSCB (data space control block) of the job that ended abnormally
The control information such as is monopolized by the system.

【0030】d.該欠陥箇所を含むファイル (Xファイ
ル)10はシステムで専有しているので、後続のユーザジ
ョブでは、この磁気ディスク装置 1を使用しても先に述
べた欠陥箇所を含むXファイル 10 を必ず除いた空き領
域(Yファイル) 11から割り当てられるのでアベンドが
防止できる。
D. Since the file (X file) 10 including the defective portion is exclusively used by the system, the X file 10 including the defective portion described above must be excluded in the subsequent user job even if this magnetic disk device 1 is used. Since it is allocated from the free space (Y file) 11, abend can be prevented.

【0031】e.上記のc. で専有しているXファイル
10 の欠陥箇所に対して、退避していたセンス情報のシ
リンダ値、トラック値 (トラック位置) と, オペレイテ
ィングシステム(OS)の制御情報(DSCB,UCB等)
からボリューム通し番号、装置アドレス、装置名を求
め、それらをパラメタとして媒体表面検査・修復(スキ
ップコントロール処理、交代トラック割り付けを行う)
ツールをシステムが呼び出すようにする。
E. X file exclusively owned by c. Above
Cylinder value and track value (track position) of sense information saved for 10 defective parts and control information (DSCB, UCB, etc.) of operating system (OS)
Obtain the volume serial number, device address, and device name from the media, and use these as parameters to inspect and repair the medium surface (skip control processing, alternate track allocation)
Have the system call the tool.

【0032】本発明の場合、前述のように、欠陥箇所を
含むファイル (Xファイル) 10をシステムが保持してい
るので、後続するジョブに影響を与えることなく、シス
テムが管理している正常なファイル (Yファイル)11を
割当て、ジョブの実行指示を行えるので、該ジョブの実
行と、並列動作、具体的には、時分割動作で、該修復ツ
ールを自動起動して実行することができる。
In the case of the present invention, as described above, since the system holds the file (X file) 10 including the defective portion, the normal job managed by the system can be performed without affecting the subsequent jobs. Since the file (Y file) 11 is allocated and the job execution instruction can be given, the repair tool can be automatically started and executed by the execution of the job and the parallel operation, specifically, the time-sharing operation.

【0033】このようにして、該後続ジョブに影響を与
えることなく、該Xファイル 10 の欠陥箇所を取り除く
ことにより、そのトラックが正常に使用できる。又、上
記のように、表面検査時にユーザジョブが欠陥箇所のあ
る装置に対して並行動作できることで活性保守が実現さ
れる。その例としてdで示すYファイル 11 を使用した
ジョブが同時動作できる。
In this way, the track can be used normally by removing the defective portion of the X file 10 without affecting the succeeding job. Further, as described above, active maintenance is realized by allowing a user job to operate in parallel with a device having a defective portion during surface inspection. As an example, jobs using the Y file 11 indicated by d can operate simultaneously.

【0034】f.表面検査が終了し、欠陥箇所が取り除
かれることにより、オペレイティングシステム(OS)が専
有していた、一時領域 (Xファイル) 10を開放し、空き
領域として使用可能状態にする。
F. After the surface inspection is completed and the defective portion is removed, the temporary area (X file) 10 occupied by the operating system (OS) is opened and made available as a free area.

【0035】このように、本発明は、オペレイティング
システム(OS)の配下でジョブが起動され、該ジョブで使
用する磁気ディスク装置 1の一時領域(ワーク領域)10
に、該オペレイティングシステム(OS)が管理する空き領
域を割当てる形式のファイル管理方式において、該割当
てられた一時領域 10 のある箇所で、欠陥箇所が検出さ
れたとき、該一時領域 10 を開放することなく、異常終
了として、表面検査・修復ツールを起動する。又、この
とき、磁気ディスク装置 1の全体を専有しないで、該欠
陥箇所を含むファイルを、ユーザジョブとの並列動作で
修復するようにしたところに特徴がある。
As described above, according to the present invention, the job is started under the operating system (OS), and the temporary area (work area) 10 of the magnetic disk device 1 used for the job is used.
In the file management method of allocating a free area managed by the operating system (OS), the temporary area 10 is released when a defect is detected at a location of the allocated temporary area 10. Without that, the surface inspection / repair tool is started as an abnormal termination. Further, at this time, the magnetic disk device 1 is not entirely occupied, but a file including the defective portion is repaired by a parallel operation with a user job.

【0036】[0036]

【発明の効果】以上、詳細に説明したように、本発明の
磁気ディスク装置におけるファイル制御方式は、ジョブ
を実行中に、一時領域で回復不能な欠陥箇所を検出した
ら、この一時領域を開放しないで、システムが保持し、
修復ツールを起動して、後続ジョブの実行との並列動作
で、該欠陥箇所を含む一時領域の修復を行うようにした
ものであるので、後続するジョブに悪影響を及ぼさない
ことから、システムの信頼性が高まる。又、欠陥箇所を
含む部分領域のみシステムが専有するため、ディスク装
置媒体全部を専有しないで欠陥箇所の修復が可能とな
り、ユーザジョブとの並行動作で、欠陥箇所の修復を行
うという活性保守が可能となる。又、従来方式では、シ
ステムを一旦停止した後、ロギングされた情報を基に、
訂正不能な欠陥箇所を人が調査した後に、表面検査・修
復ツールを使用していたが、本発明では欠陥箇所を検出
した時点で、該欠陥箇所を含むファイルを保持すると共
に、後続ジョブの実行も可能となるので、表面検査・修
復ツールの起動(自動起動)が可能となる効果がある。
As described above in detail, the file control method in the magnetic disk device of the present invention does not open the temporary area when a non-recoverable defective portion is detected in the temporary area during execution of a job. And the system holds
Since the repair tool is started and the temporary area including the defective portion is repaired in parallel with the execution of the subsequent job, it does not adversely affect the subsequent job. The nature is enhanced. Also, since the system occupies only the partial area including the defective portion, the defective portion can be repaired without occupying the entire disk device medium, and active maintenance that repairs the defective portion in parallel with the user job is possible. Becomes In addition, in the conventional method, after stopping the system once, based on the logged information,
Although a surface inspection / repair tool was used after a person investigated an uncorrectable defect part, the present invention holds a file including the defect part and executes a subsequent job when the defect part is detected. It is also possible to activate the surface inspection / repair tool (automatic activation).

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

【図1】本発明の一実施例を示した図FIG. 1 is a diagram showing an embodiment of the present invention.

【図2】従来の磁気ディスク装置におけるファイル制御
方式を説明する図
FIG. 2 is a diagram illustrating a file control method in a conventional magnetic disk device.

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

1 磁気ディスク装置(DASD) 10 一時領域 (ワーク領域),又は、Xファイル 11 空き領域群,又は、Yファイル 1 Magnetic disk unit (DASD) 10 Temporary area (work area) or X file 11 Free space group or Y file

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】オペレイティングシステム(OS)の配下でジ
ョブが起動され、該ジョブで使用する磁気ディスク装置
(1) の一時領域(ワーク領域)(10) に、該オペレイティ
ングシステム(OS)が管理する空き領域を割当てる形式の
ファイル管理方式において、 該割当てられた一時領域(ワーク領域)(10) の、ある箇
所で、欠陥箇所(*) が検出されたとき、該一時領域 (ワ
ーク領域)(10) を開放することなく、異常終了とするこ
とを特徴とする磁気ディスク装置におけるファイル制御
方式。
1. A magnetic disk drive used by a job when a job is started under the control of an operating system (OS).
In the file management method of allocating the free space managed by the operating system (OS) to the temporary area (work area) (10) of (1), the allocated temporary area (work area) (10) A file control method in a magnetic disk device, wherein when a defective portion (*) is detected at a certain location, the temporary area (work area) (10) is not terminated and abnormal termination is performed.
【請求項2】オペレイティングシステム(OS)の配下でジ
ョブが起動され、該ジョブで使用する磁気ディスク装置
(1) の一時領域(ワーク領域)(10) に、該オペレイティ
ングシステム(OS)が管理する空き領域を割当てる形式の
ファイル管理方式において、 該割当てられた一時領域(ワーク領域)(10) の、ある箇
所で、欠陥箇所(*) が検出されたとき、該一時領域(ワ
ーク領域)(10) を開放することなく保持することで、該
磁気ディスク装置(1) 全体を専有することなく、該一時
領域(ワーク領域)(10) のみを修復することを特徴とす
る磁気ディスク装置におけるファイル制御方式。
2. A magnetic disk drive used by a job when a job is started under the operating system (OS).
In the file management method of allocating the free space managed by the operating system (OS) to the temporary area (work area) (10) of (1), the allocated temporary area (work area) (10) , When a defective portion (*) is detected at a certain location, the temporary area (work area) (10) is held without being opened, so that the entire magnetic disk device (1) is not occupied, A file control method in a magnetic disk device, wherein only the temporary area (work area) (10) is restored.
【請求項3】オペレイティングシステム(OS)の配下でジ
ョブが起動され、該ジョブで使用する磁気ディスク装置
(1) の一時領域(ワーク領域)(10) に、該オペレイティ
ングシステム(OS)が管理する空き領域を割当てる形式の
ファイル管理方式において、 該割当てられた一時領域(ワーク領域)(10) のある箇所
で、欠陥箇所(*) が検出されたとき、該一時領域(ワー
ク領域)(10) を開放することなく保持して、修復ツール
を起動することを特徴とする磁気ディスク装置における
ファイル制御方式。
3. A magnetic disk device used by the job when a job is started under the operating system (OS).
In the file management method of allocating the free space managed by the operating system (OS) to the temporary area (work area) (10) of (1), the allocated temporary area (work area) (10) When a defective portion (*) is detected at a certain location, the temporary area (work area) (10) is held without being opened, and the repair tool is started up. method.
JP3180025A 1991-07-20 1991-07-20 File control system for magnetic disk device Withdrawn JPH0527921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3180025A JPH0527921A (en) 1991-07-20 1991-07-20 File control system for magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3180025A JPH0527921A (en) 1991-07-20 1991-07-20 File control system for magnetic disk device

Publications (1)

Publication Number Publication Date
JPH0527921A true JPH0527921A (en) 1993-02-05

Family

ID=16076154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3180025A Withdrawn JPH0527921A (en) 1991-07-20 1991-07-20 File control system for magnetic disk device

Country Status (1)

Country Link
JP (1) JPH0527921A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008269338A (en) * 2007-04-20 2008-11-06 Hitachi Ltd Storage device, and management unit setting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008269338A (en) * 2007-04-20 2008-11-06 Hitachi Ltd Storage device, and management unit setting method

Similar Documents

Publication Publication Date Title
JP4234277B2 (en) Computer system hard drive restoration method and apparatus
US6412083B1 (en) Disk drive that supports a list-requesting command for enabling a host computer to assist in rescuing a rescue-candidate location having a drive-unrecoverable data
US20040060045A1 (en) Programmatic application installation diagnosis and cleaning
US7330947B2 (en) Method and apparatus for backing up data in virtual storage medium
JPH10255403A (en) Disk driving device, and its error recovering processing method
JPH09274541A (en) Storage device, control method for the same, storage system and control method for the same
JP4734663B2 (en) Virtual library apparatus and physical drive diagnosis method
US7409585B2 (en) Automatic media repair after read failure due to media error
US6229743B1 (en) Method of a reassign block processing time determination test for storage device
JPH0527921A (en) File control system for magnetic disk device
JPH07182250A (en) Automatic substituting processing system for magnetic disk
JPH07114444A (en) File movement control system
US5590272A (en) Method and system for a high-reliable disk system
JPH08227557A (en) Method for managing defect of optical disk and optical disk device
JP2005149248A (en) Metadata restoration system, method thereof, storage device and program therefor
JP2007122831A (en) Storage device, control method, and program
JP3231704B2 (en) Disk array device with data loss prevention function
JP2005284449A (en) Information recording medium array system and its restoration method
KR100524892B1 (en) Hard Disk Burn-in Test Method
JPS60171677A (en) Method for processing fault of storing medium
JPH0423120A (en) Method and device for automatic allocation of alternate block in array disk device
JPS6023375B2 (en) Dynamic device reconfiguration control method
JPH0695942A (en) Computer device having double filing function
JP2735071B2 (en) Defective block management method
JPH05224835A (en) Reliability improvement system for disk subsystem

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981008