JPH0262624A - Vtoc recovering device for magnetic disk device - Google Patents

Vtoc recovering device for magnetic disk device

Info

Publication number
JPH0262624A
JPH0262624A JP63215746A JP21574688A JPH0262624A JP H0262624 A JPH0262624 A JP H0262624A JP 63215746 A JP63215746 A JP 63215746A JP 21574688 A JP21574688 A JP 21574688A JP H0262624 A JPH0262624 A JP H0262624A
Authority
JP
Japan
Prior art keywords
label
file
magnetic disk
auxiliary
vtoc
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
JP63215746A
Other languages
Japanese (ja)
Inventor
Naomi Shirai
白井 直美
Toshiro Hori
堀 利郎
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 JP63215746A priority Critical patent/JPH0262624A/en
Publication of JPH0262624A publication Critical patent/JPH0262624A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To quickly recover VTOC (volume table contents) information having a fault by searching an auxiliary label where the same information as a file label is recorded. CONSTITUTION:A magnetic disk device 2 is provided with the file labels 211 and 212 storing the file names and the area start/end addresses within a VTOC area 21 and the auxiliary labels 221 and 222 having the same information as the labels 211 and 212 outside the area 21. When the area 21 is lost due to the fault, an input information check part 11 reads the parameter of the number of a magnetic disk device to be recovered out of a parameter buffer 5 and checks the propriety of recovery. An auxiliary label reading part 12 reads the labels 221 and 222 of the device 2 and stores them into a label buffer 6. An auxiliary label editing part 13 sorts the labels 221 and 222 of the buffer 6 in order of allocation dates. A file label writing part 14 writes the sorted labels 221 and 222 into the area 21 as the file labels.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、磁気1デイスク装置に関し、特に、磁気ディ
スク装置のVTOC(Volue+e Table C
ontents)が何らかの要因により破壊された場合
に補助ラベルをもとにVTOCを復旧する装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a magnetic disk drive, and in particular to a magnetic disk drive with VTOC (Volume+e Table C).
This invention relates to a device for restoring a VTOC based on an auxiliary label when a VTOC (contents) is destroyed due to some reason.

従来の技術 従来、磁気ディスク装置の媒体管理情報はVTOCとフ
ァイル(データ)領域に大きく分かれている。
2. Description of the Related Art Conventionally, medium management information of a magnetic disk device is broadly divided into a VTOC and a file (data) area.

VTOCには、FDPのアドレス、物理セクタ長など、
当該ボリュームのボリューム名およびボリューム属性を
示す情報が格納されているボリュームラベルと、各ファ
イルの管理情報を記録するファイルラベル群から構成さ
れているファイルデイレクトリファイル(FDP)と、
ディスクの空き領域管理のためのフリースペースデイレ
クトリファイル(FSDF)からなっている。
VTOC includes FDP address, physical sector length, etc.
A file directory file (FDP) consisting of a volume label storing information indicating the volume name and volume attributes of the volume, and a file label group recording management information of each file;
It consists of a free space directory file (FSDF) for managing free space on the disk.

このVTOC内のFDPのファイル管理情報により、フ
ァイル領域内のデータファイルがアクセスされる構造と
なっている。
The data file in the file area is accessed using the FDP file management information in this VTOC.

VTOCが何らかの要因、例えば磁気ディスク媒体部の
VTOCを何らかの方法で初期化してしまうなどして情
報が消去もしくは不正となった場合には、データがファ
イル領域に物理的に記憶されているにもかかわらず、F
DPの情報が無いためにアクセスをすることができない
If the VTOC is erased or becomes invalid due to some reason, such as initializing the VTOC of the magnetic disk medium in some way, the data will be deleted even though the data is physically stored in the file area. Zu, F
Access is not possible because there is no DP information.

VTOCの復旧は、従前のFDPの情報がパラメータと
してリストに出力されていればそれをもとにボリューム
の再生成を行い、リストの情報からファイルのアローケ
ーションを行った後にデータファイルの復旧処理を行う
といつな方法が一般的である。
To restore the VTOC, if the previous FDP information is output as a parameter in the list, the volume will be regenerated based on it, the file will be allocated from the list information, and then the data file will be restored. The most common method is when to do it.

他の有効な復旧方法としては、データファイルの一般的
な復旧方法と同様、適時にVTOCを別媒体に複写して
おく方法が知られている。
Another effective recovery method is to copy the VTOC to another medium in a timely manner, similar to the general recovery method for data files.

発明が解決しようとする課題 上述した従来のVTOCの復旧方法は、FDPの情報が
リスト等に出力されていない場合には5各フアイルの先
頭にあるファイルラベルを磁気ディスクのデータ(ファ
イル)領域からダンプリスト等で捜し出す必要があり、
この作業は非常に困難である。
Problems to be Solved by the Invention In the conventional VTOC recovery method described above, when FDP information is not output to a list etc., the file label at the beginning of each file is extracted from the data (file) area of the magnetic disk. It is necessary to search for it in the dump list etc.
This task is extremely difficult.

また、FDPの情報が出力されていたとしても、障害発
生時点の情報とずれが生じている場合があり、正確に復
旧するには長時間(3〜4時間)かかってしまうという
欠点がある。
Furthermore, even if FDP information is output, there may be a discrepancy with the information at the time of failure, and there is a drawback that it takes a long time (3 to 4 hours) for accurate recovery.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内、在する上記相
欠点を解消することを可能とした磁気ディスク装置の新
規なVTOC復旧装置を提供することにある。
The present invention has been made in view of the above-mentioned conventional situation,
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a novel VTOC recovery device for a magnetic disk device that makes it possible to eliminate the above-mentioned drawbacks existing in the conventional technology.

課題を解決するための手段 上記目的を達成する為に5本発明に係る磁気ディスク装
置のVTOC復旧装置は、磁気ディスク装置上の各種フ
ァイル情報をもつファイルラベルの他にそれと同様の情
報をもつ補助ラベルをファイルエリアの先頭にもつ磁気
ディスク装置をその補助ラベルをもとに、操作者の入力
情報の妥当性を診断する入力情報チエツク部と、前記補
助ラベルを読み取りラベルバッファに格納する補助ラベ
ル読み取り部と、前記ラベルバッファ内のデータを並び
変える補助ラベルv4集部と、前記ラベルバッファ内の
データをVTOCに書き込むファイルラベル書き込み部
とをもつCPLIを備えて構成される。
Means for Solving the Problems In order to achieve the above object, the VTOC recovery device for a magnetic disk device according to the present invention provides, in addition to a file label having various file information on the magnetic disk device, an auxiliary label having similar information. An input information check unit that diagnoses the validity of information input by the operator based on the auxiliary label of a magnetic disk device that has a label at the beginning of the file area, and an auxiliary label reader that reads the auxiliary label and stores it in a label buffer. The CPLI includes a CPLI, an auxiliary label v4 collection unit that rearranges the data in the label buffer, and a file label writing unit that writes the data in the label buffer to the VTOC.

即ち5本発明の「磁気ディスク装置VTOc復旧Jは、
ファイル管理情報を磁気ディスク上の先頭に続いた領域
として管理していると同時に各ファイルの先頭エリアに
も上記の情報を補助ラベルとして記憶している磁気ディ
スク装置を対象としており、その補助ラベルを読み取り
VTOC内にファイルラベルとして書き込むことにより
、VTOCを速やかに復旧せしめ、各データを利用可能
とする。
In other words, the "magnetic disk device VTOc recovery J" of the present invention is
The target is a magnetic disk device that manages file management information as an area following the beginning of the magnetic disk, and at the same time stores the above information as an auxiliary label in the beginning area of each file. By reading and writing into the VTOC as a file label, the VTOC can be quickly restored and each data can be used.

実施例 次に本発明をその好ましい一実施例について図面を参照
しながら具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック構成図である
FIG. 1 is a block diagram showing one embodiment of the present invention.

構成 第1図を参照するに、本発明に係る磁気ディスク装置V
TOCi旧装置は、入力情報チエツク部11と、補助ラ
ベル読み取り部12と、補助ラベル12i&部13と、
ファイルラベル書き込み部14とで構成されているCP
υ1にそれぞれ接続された入力装置(キーボード)3、
出力装置(デイスプレィ)4、メモリであるパラメータ
バッファ5、ラベルバッファ6によって構成されており
、磁気ディスク装置2を処理対象としている。
Configuration Referring to FIG. 1, a magnetic disk device V according to the present invention
The old TOCi device has an input information check section 11, an auxiliary label reading section 12, an auxiliary label 12i & section 13,
A CP consisting of a file label writing section 14
Input device (keyboard) 3 connected to υ1,
It is composed of an output device (display) 4, a parameter buffer 5 which is a memory, and a label buffer 6, and processes the magnetic disk device 2.

機能 入力+7t IIチエツク部11はパラメータバッファ
5内に格納されたパラメータ(復旧対象の磁気ディスク
装置番号と、復旧をするか否かの復旧情報)の妥当性を
診断する機能を持つ。
The function input +7t II check section 11 has a function of diagnosing the validity of the parameters stored in the parameter buffer 5 (the magnetic disk device number to be restored and restoration information indicating whether or not to perform restoration).

補助ラベル読み取り部12は磁気ディスク装置2内の補
助ラベルをラベルバッファ6内に格納する機能を持つ、
補助ラベルR,l集部13はラベルバッファ6内の補助
ラベルデータをアロケーション日付順に並べ変える機能
を持つ。
The auxiliary label reading section 12 has a function of storing an auxiliary label in the magnetic disk device 2 in the label buffer 6.
The auxiliary label R, l collection section 13 has a function of rearranging the auxiliary label data in the label buffer 6 in order of allocation date.

ファイルラベル書き込み部14はラベルバッファ6内の
補助ラベルデータを磁気ディスク装置2のVTOC21
にファイルラベルとして書き込む機能を持つ 動  作 キーボード3より処理対象磁気ディスク装置番号(磁気
ディスク装置が複数台接続されている場合)とその磁気
ディスク装置のVTOCを復旧するか否かを入力する。
The file label writing unit 14 writes the auxiliary label data in the label buffer 6 to the VTOC 21 of the magnetic disk device 2.
Using the operational keyboard 3, which has the function of writing a file label to a file, enter the number of the magnetic disk device to be processed (if a plurality of magnetic disk devices are connected) and whether or not to restore the VTOC of that magnetic disk device.

その入力パラメータ(情報)はパラメータバッファ5に
格納される。
The input parameters (information) are stored in the parameter buffer 5.

CPU l内の入力情報チエツク部11がパラメータバ
ッファ5内に格納されているパラメータ(情報)の妥当
性を診断する。
An input information checking unit 11 in the CPU 1 diagnoses the validity of the parameters (information) stored in the parameter buffer 5.

その妥当性の診断によって妥当性が認められない場合に
は、入力情報チエツク部11はデイスプレィ4上にパラ
メータ(情報)の妥当性が認められない旨のエラーメツ
セージを出力する。
If the validity is not recognized by the validity diagnosis, the input information check section 11 outputs an error message on the display 4 to the effect that the validity of the parameter (information) is not recognized.

また、パラメータ(情報)の妥当性が認められた場合に
は、入力情報チエツク部11は、復旧処理中である旨の
メツセージをデイスプレィ4上に出力する。
Further, if the validity of the parameters (information) is recognized, the input information check section 11 outputs a message on the display 4 to the effect that the restoration process is in progress.

次に、CPU l内にある、補助ラベル読み取り部12
に制御が移る。
Next, the auxiliary label reading section 12 in the CPU l
control is transferred to

111助ラベル読み取り部12は磁気ディスク装置2内
に存在する補助ラベル221あるいは補助ラベル222
などを磁気ディスク媒体上を先頭から順次サーチして読
み取り、ラベルバッファ6内に順序よく格納していく。
111 Auxiliary label reading unit 12 reads an auxiliary label 221 or 222 existing in the magnetic disk device 2.
etc. are searched and read sequentially from the beginning on the magnetic disk medium and stored in the label buffer 6 in an orderly manner.

補助ラベル221あるいは222には、VTOC21内
に存在するファイルラベル211あるいは212と同様
のファイル情報(ファイル名、ファイル編成、レコード
長、ブロック長、有効レコード件数、アロケーション日
付、エリア開始アドレス、エリア終了アドレス等)が格
納されている。
The auxiliary label 221 or 222 contains the same file information as the file label 211 or 212 existing in the VTOC 21 (file name, file organization, record length, block length, number of valid records, allocation date, area start address, area end address). etc.) are stored.

磁気ディスク装置2内の全ての補助ラベルをラベルバッ
ファ6内に格納する処理が終了したら、CI’U l内
の補助ラベル編集部13に制御が移る。
When the process of storing all the auxiliary labels in the magnetic disk device 2 in the label buffer 6 is completed, control is transferred to the auxiliary label editing section 13 in the CI'Ul.

補助ラベル編集部13はラベルバッファ6内に格納され
た補助ラベルデータをその各々のファイルアロケーショ
ン日付の古い順序に補助ラベルデータを並び変える。
The auxiliary label editing unit 13 rearranges the auxiliary label data stored in the label buffer 6 in the order of the oldest file allocation date of each of the auxiliary label data.

ラベルバッファ6内の補助ラベルデータが上記の順序に
並べ変えられたならば、CPU l内のファイルラベル
書き込み部14に制御が移る。
Once the auxiliary label data in the label buffer 6 has been rearranged in the above order, control is transferred to the file label writing unit 14 in the CPU 1.

ファイルラベル書き込み部14はラベルバッファ6内の
アロケーション日付情報順に並べ変えられた補助ラベル
データを順次、磁気ディスク装置2内のVTOC21内
にファイルラベルとして書き込む。
The file label writing unit 14 sequentially writes the auxiliary label data rearranged in the order of allocation date information in the label buffer 6 into the VTOC 21 in the magnetic disk device 2 as a file label.

ラベルバッファ6内の補助ラベルデータがずべてVTO
C21内に書き込まれたら、復旧処理が終了した旨のメ
ツセージをデイスプレィ4上に表示し、操作者に伝える
All auxiliary label data in label buffer 6 is VTO
Once written in C21, a message to the effect that the restoration process has been completed is displayed on the display 4 to notify the operator.

以上の一連の動作により、磁気ディスク装置2内のVT
OC21が何らかの要因により破壊された場合に、VT
OC21が復旧されてその装置内の各ファイルは利用者
に利用可能となる。
Through the above series of operations, the VT in the magnetic disk device 2
If OC21 is destroyed for some reason, VT
The OC 21 is restored and each file in the device is made available to the user.

以上説明した本実施例では、復旧対象を全ファイルラベ
ルとして説明をしたが、CPtJ l内の補助ラベル読
み取り部12が磁気ディスク装置2内の補助ラベルを一
つ読み取るたびにその内容をデイスプレィ4上に出力し
、操作者に逐次確認をさせ復旧対象にしたいファイルラ
ベルを選択しながら復旧することも可能である。
In the embodiment described above, all file labels are to be recovered. However, each time the auxiliary label reading unit 12 in the CPtJ1 reads one auxiliary label in the magnetic disk device 2, its contents are displayed on the display 4. It is also possible to restore the files while selecting the file labels to be restored by outputting them and having the operator check them one by one.

また、本実施例では、各ファイル単位に、それぞれの補
助ラベルを有する構成となっているが、第1図の参照番
号7に示すように、それぞれの補助ラベルを集合して、
補助VTOCとし、その補助VTOCは、データファイ
ル領域に存在させて復旧データとして用いれば、復旧の
為の時間がより短縮される。
Furthermore, in this embodiment, each file has its own auxiliary label, but as shown by reference numeral 7 in FIG.
If the auxiliary VTOC is made to exist in the data file area and used as recovery data, the time for recovery will be further shortened.

発明の詳細 な説明したように、本発明によれば、簡単な復旧情報を
入力するだけで今まで長時間かかったVTOC情報の復
旧を速やかに行い、多量のデータ資源の消滅を防ぐこと
ができるといった効果が得られる。
As described in detail, according to the present invention, by simply inputting simple recovery information, VTOC information can be quickly recovered, which previously took a long time, and the disappearance of large amounts of data resources can be prevented. This effect can be obtained.

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

第1図は本発明の一実施例を示すブロック構成図である
。 1・・・CPU 、11・・・入力情報チエツク部、1
2・・補助ラベル読み取り部、13・・・補助ラベル編
集部、14・・・補助ラベルIFき込み部、2・・・磁
気ディスク装置、21・・・VTOC1211・・・フ
ァイルAのファイルラベル・212・・・ファイルBの
ファイルラベル、221・・・ファイルAの補助ラベル
、222・・・ファイルBの補助ラベル、2211・゛
・ファイルAのデータエリア、2221・・・ファイル
Bのデータエリア、 3・・・キーボード、 ・・・デイスプレィ ラベルバッファ 5・・・パラメータバッファ、 6・・・
FIG. 1 is a block diagram showing one embodiment of the present invention. 1...CPU, 11...Input information check section, 1
2... Auxiliary label reading unit, 13... Auxiliary label editing unit, 14... Auxiliary label IF importing unit, 2... Magnetic disk device, 21... VTOC1211... File label of file A. 212...File label of file B, 221...Auxiliary label of file A, 222...Auxiliary label of file B, 2211...Data area of file A, 2221...Data area of file B, 3...Keyboard,...Display label buffer 5...Parameter buffer, 6...

Claims (1)

【特許請求の範囲】[Claims] 磁気ディスク装置上の各種ファイル情報をもつファイル
ラベルの他にそれと同様の情報をもつ補助ラベルをファ
イルエリアの先頭にもつ磁気ディスク装置をその補助ラ
ベルをもとに、操作者の入力情報の妥当性を診断する入
力情報チェック部と、前記補助ラベルを読み取りラベル
バッファに格納する補助ラベル読み取り部と、前記ラベ
ルバッファ内のデータを並び変える補助ラベル編集部と
、前記ラベルバッファ内のデータをVTOCに書き込む
ファイルラベル書き込み部とをもつCPUを備えたこと
を特徴とする磁気ディスク装置の復旧装置。
In addition to a file label containing various file information on the magnetic disk device, a magnetic disk device has an auxiliary label with the same information at the beginning of the file area.Based on the auxiliary label, the validity of the information input by the operator is verified. an input information checking unit that diagnoses the auxiliary label; an auxiliary label reading unit that reads the auxiliary label and stores it in a label buffer; an auxiliary label editing unit that rearranges the data in the label buffer; and writes the data in the label buffer to the VTOC. 1. A recovery device for a magnetic disk device, comprising a CPU having a file label writing section.
JP63215746A 1988-08-30 1988-08-30 Vtoc recovering device for magnetic disk device Pending JPH0262624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63215746A JPH0262624A (en) 1988-08-30 1988-08-30 Vtoc recovering device for magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63215746A JPH0262624A (en) 1988-08-30 1988-08-30 Vtoc recovering device for magnetic disk device

Publications (1)

Publication Number Publication Date
JPH0262624A true JPH0262624A (en) 1990-03-02

Family

ID=16677525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63215746A Pending JPH0262624A (en) 1988-08-30 1988-08-30 Vtoc recovering device for magnetic disk device

Country Status (1)

Country Link
JP (1) JPH0262624A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08329611A (en) * 1995-05-30 1996-12-13 Hitachi Ltd Information recording method, method and device for reproducing information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08329611A (en) * 1995-05-30 1996-12-13 Hitachi Ltd Information recording method, method and device for reproducing information

Similar Documents

Publication Publication Date Title
US6542975B1 (en) Method and system for backing up data over a plurality of volumes
EP0479535B1 (en) File managing method
US5579516A (en) Method for storing data files on a multiple volume media set
US5485606A (en) System and method for storing and retrieving files for archival purposes
US4189781A (en) Segmented storage logging and controlling
EP0487331B1 (en) Directory management system
JP2734391B2 (en) File management device for nonvolatile memory
JPH0318208B2 (en)
JPH0786844B2 (en) Formatting a write-once optical storage medium
JPS636667A (en) Picture filing device
US5321558A (en) Method of storing data on a magnetic tape
JPS60196854A (en) Information retrieving system
US6662307B1 (en) Disk recovery/reconstruction
JP3950316B2 (en) IC card and IC card memory access control method
EP0338839A2 (en) Optical recording medium recording and reproducing device
US20020069376A1 (en) Method, article of manufacture and apparatus for copying information to a storage medium
JPH0262624A (en) Vtoc recovering device for magnetic disk device
JPH0876935A (en) Backup data preparation and reproduction system
JP2822869B2 (en) Library file management device
JP2668938B2 (en) Data backup device for write-once optical disks
Boyd et al. A Simplified On‐line Circulation System
JPH02253452A (en) Office managing information logical saving/storing device
JP2652388B2 (en) Optical disk storage management method
JPH03240164A (en) Picture filing device
JPS6346553A (en) File copying method