JPH01197832A - Magnetic disk access method - Google Patents

Magnetic disk access method

Info

Publication number
JPH01197832A
JPH01197832A JP2318288A JP2318288A JPH01197832A JP H01197832 A JPH01197832 A JP H01197832A JP 2318288 A JP2318288 A JP 2318288A JP 2318288 A JP2318288 A JP 2318288A JP H01197832 A JPH01197832 A JP H01197832A
Authority
JP
Japan
Prior art keywords
magnetic disk
devices
track
host device
virtual
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
JP2318288A
Other languages
Japanese (ja)
Inventor
Toshimasa Arai
新井 利政
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 JP2318288A priority Critical patent/JPH01197832A/en
Publication of JPH01197832A publication Critical patent/JPH01197832A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce a control from a host device, especially a file managing function by a software by likening plural magnetic disk devices of the same kind as one set of virtual magnetic disk device. CONSTITUTION:By assigning continuous track numbers to the same cylinders of plural magnetic disk devices 3, 4, plural magnetic disk device 3, 4 are likened as a host device 1 being one set of virtual magnetic disk device. In this state, when a track number is designated by the host device 1, a magnetic disk control ler 2 executes a seek address conversion and executes an access to a track of the corresponding magnetic disk device. In such a way, the burden of a software of the magnetic disk controller 2 can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数の磁気ディスク装置と、これら磁気ディ
スク装置を制御する磁気ディスク制御装置とからなる磁
気ディスク装置サブシステムの磁気テセイスクアクセス
方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention provides a magnetic disk access method for a magnetic disk device subsystem consisting of a plurality of magnetic disk devices and a magnetic disk control device that controls these magnetic disk devices. Regarding.

(従来の技術〕 従来、この種のシステムでは格納するデータが増えてい
き磁気ディスク装置の記憶容量が足りなくなった場合の
対応として装置を増設していた。
(Prior Art) Conventionally, in this type of system, as the amount of data to be stored increases and the storage capacity of the magnetic disk device becomes insufficient, additional devices have been installed as a countermeasure.

なお、通常、磁気ディスク装置の上位装置である制御装
置は複数台の磁気ディスク装置を接続制御可能なので同
一制御装置下に増設される場合が多い。
Note that since a control device which is a host device of a magnetic disk device can connect and control a plurality of magnetic disk devices, they are often added under the same control device.

第4図は従来の磁気ディスク装置サブシステムの構成図
である。上位装置21からは、磁気ディスク装置を指定
してアクセスする。例えば磁気ディスク装置23の所定
のデータ格納位置を指定してデータの読取りまたは書込
みを磁気ディスク制御装置22に指示する。このとき上
位装置21からの指示は基本的にはソフトウェアによっ
て行なわれるものである。ソフトウェアは、この磁気デ
ィスク装置23の中に、あるまとまったデータの集合で
あるファイルを生成するが、ソフトウェアは装置の性能
・機能を認識し所定の記憶格納領域を設定する。具体的
にはあるシリンダのトラックから別のシリンダのあるト
ラックまでというようにファイルを確保する。即ち、ソ
フトウェアはシリンダ内のトラック数を認識し、例えば
1シリンダすべてのデータをアクセスした後は、次のシ
リンダのトラックのデータをアクセスする。しかし、フ
ァイルの管理は1台の装置でのボリューム内で管理され
るため、もしファイルが非常に大きい場合1台の装置に
収容′できず、別の装置(@気ディスク装置など)をア
クセスするなど別の新たな制御が必要となる。また、″
上記のように1フアイルでなくとも、多数のファイルが
存在して1台の装置に収容できず複数台の装置を準備す
る場合では、ファイルをアクセスするときどの装置にそ
のファイルが格納されているか意識しなければならない
。このように複数の装置(ボリューム)になるとファイ
ルの取扱いが困難になる。
FIG. 4 is a configuration diagram of a conventional magnetic disk drive subsystem. The host device 21 specifies and accesses the magnetic disk device. For example, a predetermined data storage position of the magnetic disk device 23 is designated and the magnetic disk controller 22 is instructed to read or write data. At this time, instructions from the host device 21 are basically performed by software. The software creates a file, which is a set of a certain set of data, in the magnetic disk device 23, and the software recognizes the performance and functions of the device and sets a predetermined storage area. Specifically, files are allocated from a track on one cylinder to a track on another cylinder. That is, the software recognizes the number of tracks in a cylinder and, for example, after accessing all the data in one cylinder, accesses the data in the next cylinder's tracks. However, files are managed within the volume of one device, so if a file is very large, it cannot be stored on one device and must be accessed from another device (such as a disk device). Other new controls such as these will be required. Also,"
As mentioned above, if there are many files, even if they are not just one file, that cannot be stored on one device and multiple devices are prepared, when accessing a file, it is difficult to know which device the file is stored on. You have to be aware of it. When there are multiple devices (volumes) in this way, it becomes difficult to handle files.

(発明が解決しようとする課題) 上述した従来の磁気ディスクアクセス方法は、格納参照
したいデータが複数の装置のボリュームに格納されるこ
とになるため、このデータを扱うソフトウェアとしては
、複数のボリュームにアクセスできるよう制御しなけれ
ばならず、装置の増設時におけるソフトウェアサポート
に大きな作果が発生するという欠点がある。
(Problem to be Solved by the Invention) In the conventional magnetic disk access method described above, the data to be stored and referenced is stored in the volumes of multiple devices. Access must be controlled, and there is a drawback that software support is required when adding devices.

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

本発明の磁気ディスクアクセス方法は、複数の磁気ディ
スク装置の同一シリンダに対して連続したトラック番号
を割り当てて前記複数の磁気ディスク装置を一台の仮想
磁気ディスク装置として上位装置に見せ、磁気ディスク
制御装置は前記トラック番号が前記上位装置により指定
された場合、シークアドレス変換を行なって対応する磁
気ディスク装置のトラックをアクセスする。
The magnetic disk access method of the present invention allocates consecutive track numbers to the same cylinder of a plurality of magnetic disk devices, presents the plurality of magnetic disk devices as one virtual magnetic disk device to a host device, and controls the magnetic disk. When the track number is designated by the host device, the device performs seek address conversion to access the corresponding track of the magnetic disk device.

(作 用) したがって、磁気ディスク制御装置のソフトウェアの負
担を軽減できる。
(Function) Therefore, the burden on the software of the magnetic disk control device can be reduced.

(実施例) 次に、本発明の実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の磁気アクセス方法が適用された磁気デ
ィスク装置サブシステムの一実施例の構成図、第2図は
磁気ディスク制御5A置2の制御を示すフローチャート
、第3図は磁気ディスク装置3.4のトラックマツプで
ある。
FIG. 1 is a configuration diagram of an embodiment of a magnetic disk device subsystem to which the magnetic access method of the present invention is applied, FIG. 2 is a flowchart showing control of the magnetic disk controller 5A, and FIG. 3 is a magnetic disk device subsystem. 3.4 track map.

磁気ディスク制御装置2は2台の磁気ディスク装置3お
よび4に接続され、それぞれの装置の動作を制御する。
The magnetic disk control device 2 is connected to two magnetic disk devices 3 and 4, and controls the operation of each device.

磁気ディスク装置3および4は、全く同一の°性能・機
能をもつ装置である。また、磁気ディスク制御装置2は
上位装置1と接続され、上位装置1からの動作要求を受
けたり、動作完了後の報告を行なう。
The magnetic disk devices 3 and 4 are devices having exactly the same performance and functions. The magnetic disk control device 2 is also connected to the host device 1, receives operation requests from the host device 1, and reports after the operation is completed.

次に、第2図を参照して、磁気ディスク制御装置2の動
作について説明する。上位装置1より磁気ディスク装置
3に対するアクセス要求を受けとると、磁気ディスク制
御装置2は、まず本磁気ディスクサブシステムが上記で
述べたような複数台の磁気ディスク装置を単一の仮想デ
ィスク装置にみせる動作を実施するかを判定する(ステ
ップ+1)。このモードは、磁気ディスク制御装置2に
対して予め上位装置1により指示されてもよいし、磁気
ディスク制御装置2に切替スイッチを人手により操作さ
れることにより、いずれの方法でも8紡に設定可能であ
る。この判定で、もし上記の仮想装置として扱わないと
判定したならば、従来からあるような通常のディスク装
置へのアクセス動作を実行する(ステップ+4)。仮想
ディスク装置として取扱うアクセスと判定したならば。
Next, the operation of the magnetic disk control device 2 will be explained with reference to FIG. When receiving an access request to the magnetic disk device 3 from the host device 1, the magnetic disk control device 2 first causes the magnetic disk subsystem to make multiple magnetic disk devices as described above appear as a single virtual disk device. Determine whether to perform the action (step +1). This mode may be instructed in advance to the magnetic disk control device 2 by the host device 1, or it can be set to 8 spins in any way by manually operating a changeover switch in the magnetic disk control device 2. It is. In this determination, if it is determined that it is not treated as the above-mentioned virtual device, a conventional access operation to a normal disk device is executed (step +4). If the access is determined to be treated as a virtual disk device.

シークアドレスの変換を行なう(ステップ+2)。Convert the seek address (step +2).

磁気ディスク装置3および4がそれぞれlシリンダあた
りnトラックを有する(ヘッドがn個)場合、L位装置
1よりみえる1シリンダあたりのトラック数は2nとな
る。第3図にはこのトラックマツプを示してあり、仮想
ディスク装置としては各シリンダあたり0〜2n−1の
トラックを有する。0〜n−1のトラックが上位装置1
より指定されたならば磁気ディスク装置3の0〜n−1
トラツクをアクセスするようにし、n〜2n−1トラツ
クが指定されたならば磁気ディスク装置4のそれよりn
だけ減じた0〜n−1トラツクにアクセスするようにす
る動作を行なう。これにより必要なデータ格納領域への
シーク動作が、2つの磁気ディスク装置3.4にまたが
って行なうことが可能になる。次に、ステップ12によ
って選択されたトラックへの書込み/読込み動作が上位
装置1の指示に従って行なわれる(ステップ13)。な
′お、この時実際にはシリンダ、トラック(ヘッド)番
号を含む情報を書込み/読込みすることがあるが、ス′
テップ12と同様に情報の変換をすればよい。
When the magnetic disk devices 3 and 4 each have n tracks per cylinder (n heads), the number of tracks per cylinder visible from the L-position device 1 is 2n. FIG. 3 shows this track map, and the virtual disk device has 0 to 2n-1 tracks for each cylinder. Tracks 0 to n-1 are host device 1
If specified, 0 to n-1 of the magnetic disk device 3
If n to 2n-1 tracks are specified, then n to 2n-1 tracks are specified.
The operation is performed to access the 0 to n-1 tracks decreased by the same amount. This makes it possible to perform a seek operation to the required data storage area across the two magnetic disk drives 3.4. Next, a write/read operation to the track selected in step 12 is performed according to instructions from the host device 1 (step 13). Note that at this time, information including cylinder and track (head) numbers may actually be written/read, but the
The information may be converted in the same manner as in step 12.

以上に説明したように、2台の磁気ディスク装置3.4
を1台の拡張した仮想磁気ディスク装置として上位装置
1にみせることが可能である。なお、本実施例では2台
の磁気ディスク装置の場合を示したが、磁気ディスク制
御装置が台数を認識できるようにすれば同様に3台以上
の磁気ディスク装置を1台の仮想磁気ディスク装置にみ
せることも容易にできる。
As explained above, two magnetic disk drives 3.4
can be presented to the host device 1 as one expanded virtual magnetic disk device. Although this embodiment shows the case of two magnetic disk devices, if the magnetic disk control device can recognize the number of disk devices, three or more magnetic disk devices can be combined into one virtual magnetic disk device in the same way. It is also easy to show off.

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

以上説明したように本発明は、複数の同一種の磁気ディ
スク装置を1台の仮想磁気ディスク装置にみせることに
より、上位装置からの制御、特にソフトウェアによるフ
ァイル管理機能を軽減できる効果がある。
As described above, the present invention has the effect of reducing the control from a host device, especially the file management function by software, by making a plurality of magnetic disk devices of the same type appear as one virtual magnetic disk device.

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

第1図は本発明の磁気ディスクアクセス方法が適用され
た磁気ディスク装置サブシステムの一実施例の構成図、
第2図は磁気ディスク制御装置2の制御を示すフローチ
ャート、第3図は磁気ディスク装置3.4のトラックマ
ツプ、第4図は磁気ディスク装置サブシステムの従来例
の構成図である。 1.21−・・上位装置、 2.22−・・磁気ディスク制御装置、3.4.23.
24−・・磁気ディスク装置、11−14−・・磁気デ
ィスク制御装置2の動作ステップ。
FIG. 1 is a configuration diagram of an embodiment of a magnetic disk device subsystem to which the magnetic disk access method of the present invention is applied;
FIG. 2 is a flowchart showing the control of the magnetic disk controller 2, FIG. 3 is a track map of the magnetic disk device 3.4, and FIG. 4 is a configuration diagram of a conventional example of the magnetic disk device subsystem. 1.21--Host device, 2.22--Magnetic disk control device, 3.4.23.
24--Magnetic disk device, 11-14--Operation step of magnetic disk control device 2.

Claims (1)

【特許請求の範囲】 1、複数の磁気ディス装置と、上位装置と接続され、こ
れら磁気ディスク装置を制御する磁気ディスク制御装置
とからなる磁気ディスク装置サブシステムにおいて、 前記複数の磁気ディスク装置の同一シリンダに対して連
続したトラック番号を割り当てて前記複数の磁気ディス
ク装置を一台の仮想磁気ディスク装置として前記上位装
置に見せ、磁気ディスク制御装置は前記トラック番号が
前記上位装置により指定された場合、シークアドレス変
換を行なって対応する磁気ディスク装置のトラックをア
クセスする磁気ディスクアクセス方法。
[Claims] 1. In a magnetic disk device subsystem consisting of a plurality of magnetic disk devices and a magnetic disk control device connected to a host device and controlling these magnetic disk devices, If consecutive track numbers are assigned to the cylinders and the plurality of magnetic disk devices are presented as one virtual magnetic disk device to the higher-level device, and the magnetic disk control device specifies the track number by the higher-level device, A magnetic disk access method that performs seek address conversion to access the corresponding track of a magnetic disk device.
JP2318288A 1988-02-02 1988-02-02 Magnetic disk access method Pending JPH01197832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2318288A JPH01197832A (en) 1988-02-02 1988-02-02 Magnetic disk access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2318288A JPH01197832A (en) 1988-02-02 1988-02-02 Magnetic disk access method

Publications (1)

Publication Number Publication Date
JPH01197832A true JPH01197832A (en) 1989-08-09

Family

ID=12103504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2318288A Pending JPH01197832A (en) 1988-02-02 1988-02-02 Magnetic disk access method

Country Status (1)

Country Link
JP (1) JPH01197832A (en)

Similar Documents

Publication Publication Date Title
US6938123B2 (en) System and method for raid striping
EP1006445B1 (en) Dynamically expandable storage unit array system
JP3202600B2 (en) Magnetic disk drive
JP2003256150A (en) Storage control device and control method for storage control device
JPH1091362A (en) Method and device for adaptive localization of data that is frequently accessed and addressed at random
US6591356B2 (en) Cluster buster
US5805919A (en) Method and system for interleaving the distribution of data segments from different logical volumes on a single physical drive
US5872955A (en) Method and apparatus for reading and writing data in a disk drive system
US6697866B1 (en) Access control method for data stored in fixed-block length format in computer configurations utilizing variable length data format interfaces
JP3127796B2 (en) Information recording / reproducing device
JPH01197832A (en) Magnetic disk access method
JP3190546B2 (en) Block address conversion method, rotation type storage subsystem control method, and disk subsystem
JPH07319636A (en) Controller for storing data of magnetic disk
JPH06332622A (en) Information processor
JP3028706B2 (en) Disk controller
JPH04217017A (en) Memory extension method for semiconductor disk device
JPH09293007A (en) Program install device
JPH08202503A (en) Disk array device
JPH04223518A (en) Disk control device responding to plural commands
JP2782842B2 (en) Disk cache device
JPS61221842A (en) Computer system
JPH02307116A (en) storage subsystem
JPH08278906A (en) Device and method for file management of storage medium
JPS61287071A (en) Magnetic disc controller
JPH0922331A (en) Information recording and playback method