JPS61221842A - Computer system - Google Patents

Computer system

Info

Publication number
JPS61221842A
JPS61221842A JP6271985A JP6271985A JPS61221842A JP S61221842 A JPS61221842 A JP S61221842A JP 6271985 A JP6271985 A JP 6271985A JP 6271985 A JP6271985 A JP 6271985A JP S61221842 A JPS61221842 A JP S61221842A
Authority
JP
Japan
Prior art keywords
disk
disk device
controller
host system
logical address
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
JP6271985A
Other languages
Japanese (ja)
Inventor
Toshiharu Ueda
俊治 上田
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP6271985A priority Critical patent/JPS61221842A/en
Publication of JPS61221842A publication Critical patent/JPS61221842A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the integrated handling of programs by giving a function to a disk device controller to control these disk devices after allocating the capacity of each disk device to the continuous memory spaces. CONSTITUTION:A host system sends a desired logical address to a disk controller for delivery of an indication. The comparison is performed within the disk controller among a logical address LA received from the host system and the first and last logical addresses SLA and ELA which are occupied by the disk devices registered previously into a disk memory mapping table. Thus the corresponding disk number is obtained. Then the cylinder number SI, the sector number SE per track and the head number H are obtained from said decided disk number. Based on these numbers SI, SE and H and the addresses LA and SLA, the cylinder number, the sector number and the head number are obtained for the disk device to which an access is actually given and delivered to the disk device.

Description

【発明の詳細な説明】 く技術分野〉 本発明は複数台のディスク装置を接続したコンピュータ
・システムに於けるディスク装置コントローラに関する
ものである0 〈従来技術〉 従来、複数台のディスク装置を接続したコンピュータ・
システムでは、ディスク装置の切り換え、メモリ空間へ
の割シ当てなどの管理はホスト・システムが行なってい
た。例えば、ディスク装置一台の容量を越える大量のデ
ータを取9扱う応用に於いて、一台分の容量を越えたデ
ータについては、ホスト・システムが他のディスク装置
へ割り当てをしていた。通常、ディスク装置へデータを
書き込んだシ、ディスク装置からデータを読み出したシ
する場合は、ディスク番号(ドライブ番号)、シリンダ
番号、セクタ番号、ヘッド番号などを指定する必要があ
る。2つのディスク装置にまたがるデータの場合は、こ
れらを2度指定する必要があった。例えば、ディスク装
置を使ったプログラムの作成時に於いて、使用するデー
タが一台のディスク装置の容量を越えたシ、ディスク装
置が既に他の用途で占められていて残りの容量が少ない
場合など、ディスク装置一台だけでは、プログラムを実
行することができない。複数台のディスク装置を持った
システムでは当然2台目のディスク装置を使用しなけれ
ばならない。このため、1台目のディスク装置の容量を
越えた段階で、2台目に切シ換えるような、本来のプロ
グラム目的からは外れた例外的な処理が必要であった。
[Detailed Description of the Invention] Technical Field> The present invention relates to a disk device controller in a computer system in which a plurality of disk devices are connected. Computer·
In the system, the host system managed things like switching disk devices and allocating memory space. For example, in applications that handle a large amount of data that exceeds the capacity of one disk device, the host system allocates the data that exceeds the capacity of one disk device to another disk device. Normally, when writing data to or reading data from a disk device, it is necessary to specify the disk number (drive number), cylinder number, sector number, head number, etc. In the case of data spanning two disk devices, it was necessary to specify them twice. For example, when creating a program using a disk device, if the data to be used exceeds the capacity of a single disk device, or if the disk device is already occupied for other purposes and there is little remaining capacity. Programs cannot be executed with only one disk device. Naturally, in a system having multiple disk devices, a second disk device must be used. For this reason, exceptional processing that deviates from the original purpose of the program is required, such as switching to a second disk device when the capacity of the first disk device is exceeded.

この結果として、プログラムの統一的な取り扱いができ
ず、融通性を欠くという問題があった。
As a result, there was a problem in that programs could not be handled in a unified manner, resulting in a lack of flexibility.

〈発明の目的、構成〉 本発明は上記の問題点を解決することを目的としてなさ
れたものであり、複数台のディスク装置を接続したシス
テムに於いて、各ディスク装置の容量を連続したメモリ
空間に割シ当てて管理する機能をディスク装置コントロ
ーラに持たせたものである。
<Objective and Structure of the Invention> The present invention has been made with the aim of solving the above-mentioned problems.In a system in which a plurality of disk devices are connected, the capacity of each disk device is divided into a continuous memory space. The disk device controller has the function of allocating and managing disk drives.

〈発明の効果〉 上記構成とすることにより、ホスト・システムは個々の
ディスク装置の容量を考慮する必要がなくなシ、複数台
のディスク装置を一台の仮想的な大容量ディスク装置と
見做すことができる。この結果として、ホスト・システ
ムの負担は軽減され、応用プログラム作成時にも統一的
なディスク装置の取り扱いが可能となシ、プログラムの
一般性が増す。
<Effects of the Invention> With the above configuration, the host system no longer needs to consider the capacity of each individual disk device, and can treat multiple disk devices as one virtual large-capacity disk device. can be done. As a result, the burden on the host system is reduced, and even when creating an application program, disk devices can be handled in a uniform manner, increasing the generality of the program.

〈実施例〉 第3図はシステム構成図を、第4図は仮想ディスク装置
のメモリ空間を表わしている。第3図に於いて、1はホ
スト・システム、2はディスク・コントローラ、3 o
 + 31+・・・、3Nは磁気ディスク装置である。
<Embodiment> FIG. 3 shows a system configuration diagram, and FIG. 4 shows a memory space of a virtual disk device. In Figure 3, 1 is the host system, 2 is the disk controller, and 3 o
+31+..., 3N are magnetic disk devices.

実際のディスク・コントローラの機能としては、次のよ
うなものがある。
Actual disk controller functions include the following.

■ ホスト・システムが仮想ディスク装置に対して行な
った、読み出し、書き込みの指令を実際の個々のディス
ク装置への指令に変更する。
■ Change read and write commands issued by the host system to virtual disk devices into actual commands to individual disk devices.

■ 個々のディスク装置の容量を連続的なメモリ空間に
割り当てる。
■ Allocate the capacity of individual disk units into contiguous memory space.

また、これらの特長により、ホスト・システムの変更な
く、ディスク装置を追加接続することも可能である。
These features also allow additional disk devices to be connected without changing the host system.

以下、例をあげて説明する。This will be explained below using an example.

第1図は本発明によるディスク・コントローラの構成を
示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a disk controller according to the present invention.

各ブロックについて説明する。Each block will be explained.

・ ホスト・インターフェース・ブロック11ホスト・
システムlと、論理アドレスLA。
・Host interface block 11 host・
System l and logical address LA.

データDのやシとシをサポートする。Supports Data D's Yashi and Shi.

・ ディスク・インターフェース・ブロック12デイス
ク装置3の制御信号をサポートする。
- Disk interface block 12 supports control signals of disk device 3.

・ フォーマット制御ブロック13 デイスク装置3へのデータの書き込み/読み出しをサポ
ートする(データ信号など)。
- Format control block 13 Supports writing/reading of data to/from the disk device 3 (data signals, etc.).

・ プロセッサ・ブロック14 ディスク・コントローラ内部の制御をする。・Processor block 14 Controls the inside of the disk controller.

論理アドレスから物理アドレスへの変換をする。Converts a logical address to a physical address.

・  ROM15 プロセッサ・ブロックの制御用プログラムが格納される
- ROM15 A program for controlling the processor block is stored.

・ RAM16 ディスク装置のディスク・メモリ・マツピング・テーブ
ルを記憶する。該ディスク・メモリ・マツピング・テー
ブルは、本発明に於けるl論理アドレスから各ディスク
装置の物理アドレス(ディスク番号、シリンダ番号、セ
クタ番号、ヘッド番号)への変換に用いる。
- RAM 16 Stores the disk memory mapping table of the disk device. The disk memory mapping table is used in the present invention to convert a logical address into a physical address (disk number, cylinder number, sector number, head number) of each disk device.

ディスク・メモリ・マツピング・テーブルの一例を第2
図に示す。
An example of the disk memory mapping table is shown in the second example.
As shown in the figure.

なお、このRAMの内容、すなわち、ディスク・メモリ
・マツピング・テーブルは、システムの起動時に初期設
定(RAMへの書き込み)を行なう。
Note that the contents of this RAM, ie, the disk memory mapping table, are initialized (written to the RAM) when the system is started.

内部バス17 デ、イスク・コントローラ内部のデータ転送に用いられ
る。
Internal bus 17 is used for data transfer within the disk controller.

第1図で、ディスク装置をアクセスすると、以下のよう
な処理が行なわれる。
In FIG. 1, when the disk device is accessed, the following processing is performed.

■ ホスト−システムがディスク嶺コントローラに対し
、目的の論理アドレスを送って指示する。
■ The host system instructs the disk controller by sending the desired logical address.

■ コントローラ内部では、ホスト・システムから受は
取った論理アドレス(LA)と、予め登録されたディス
ク・メモリ・マツピング・テーブル内の各ディスク装置
が占める最初の論理アドレス(S LA )および最後
の論理アドレス(ELA)とを比較して、該幽するディ
スク番号(ドライブ番号)を求める。すなわち、SLA
≦LA≦ELAの式を満足するディスク番号(ドライブ
番号)をざがす。
■ Inside the controller, the logical address (LA) received from the host system, the first logical address (SLA) and the last logical address occupied by each disk unit in the disk memory mapping table registered in advance are stored. The address (ELA) is compared to determine the disk number (drive number) to be lost. That is, S.L.A.
Search for a disk number (drive number) that satisfies the formula ≦LA≦ELA.

■ 決定したディスク番号(ドライブ番号)から、その
時のマツピング・テーブルの項目、すなわち、ディスク
装置のシリンダ数(s工)、トラック当シのセクタ数(
SE)、ヘラ)’数(H)が求まる。
■ From the determined disk number (drive number), the items in the mapping table at that time, that is, the number of cylinders (s) of the disk device, the number of sectors per track (
SE), Hera)' number (H) is found.

■ 求められ+’cS1.SE、Hお!びLA、SLA
から、実際にアクセスするディスク装置のシリンダ番号
No(SI’)、セクタ番号No(sE)、ヘッド番号
No(H)を求める。ただし、論理アドレスはセクタ単
位とする。
■ Required+'cS1. SE, H! LA, SLA
From this, the cylinder number No. (SI'), sector number No. (sE), and head number No. (H) of the disk device to be actually accessed are determined. However, the logical address is in units of sectors.

一8IXNo(H) セクタ番号=No(SE)=LA−8LA−8E(IN
T CXJは、×の整数部を表わす。)■ 上で求めら
れたディスク番号(ドライブ番号)、シリンダ番号、セ
クタ番号、ヘッド番号をディスク装置へ出力する。
-8IXNo(H) Sector number=No(SE)=LA-8LA-8E(IN
T CXJ represents the integer part of x. ) ■ Output the disk number (drive number), cylinder number, sector number, and head number obtained above to the disk device.

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

第1図は本発明によるディスク・コントローラの構成を
示すブロック図、第2図は同ディスク・コントローラ中
のRAMに記憶されるディスク・メモリ・マツピング・
テーブルの一例を示す図、第3図は本発明によるコンピ
ュータ・システムのシステム構成図、第4図は同システ
ムに於ける仮想ディスク装置のメモリ空間図である。 符号の説明 l:ホスト・システム、2:ディスク・コントローラ、
3“:ディスク装置、3o + 31+ ”’+ 3N
 m磁気ディスク装置、11:ホス、ト・インターフェ
ース・ブロック、12:ディスク・インターフェース・
ブロック、)3ニアオーマツト制御ブロツク、14゛:
プロセッサΦブロック、15:ROM。 16:RAM、17:内部バス、LA:論理アト散、D
:データ。 代理人 弁理士 福 士 愛 彦 (他2名)、≧ト、
イン90月175f<27・コー、ky−フqjaAu
”f  プロ・ノア図第1図 ろズ7”メモリ“マッビンデ・干−ブ“ルリーΔ?h、
+、if。 第2図
FIG. 1 is a block diagram showing the configuration of a disk controller according to the present invention, and FIG. 2 is a block diagram showing the configuration of a disk controller according to the present invention.
A diagram showing an example of a table, FIG. 3 is a system configuration diagram of a computer system according to the present invention, and FIG. 4 is a memory space diagram of a virtual disk device in the same system. Explanation of symbols 1: Host system, 2: Disk controller,
3": Disk device, 3o + 31+ "'+ 3N
m magnetic disk device, 11: host interface block, 12: disk interface block;
Block, ) 3 near-automatic control block, 14゛:
Processor Φ block, 15: ROM. 16: RAM, 17: Internal bus, LA: Logical distribution, D
:data. Agent: Patent attorney Aihiko Fukushi (and 2 others), ≧T,
In September 175f<27・Ko,ky-fuqjaAu
``f Pro Noah Figure 1 Roz 7'' Memory ``Mabbinde Dry Bu'' Lurie Δ? h,
+, if. Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1、複数台のディスク装置を接続したコンピュータ・シ
ステムに於いて、ホスト・システムが上記各ディスク装
置の容量を連続したメモリ空間として取り扱うことを可
能とするディスク装置コントローラを設けたことを特徴
とするコンピュータ・システム。
1. A computer system in which a plurality of disk devices are connected is provided with a disk device controller that allows the host system to handle the capacity of each of the disk devices as a continuous memory space. computer system.
JP6271985A 1985-03-25 1985-03-25 Computer system Pending JPS61221842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6271985A JPS61221842A (en) 1985-03-25 1985-03-25 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6271985A JPS61221842A (en) 1985-03-25 1985-03-25 Computer system

Publications (1)

Publication Number Publication Date
JPS61221842A true JPS61221842A (en) 1986-10-02

Family

ID=13208434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6271985A Pending JPS61221842A (en) 1985-03-25 1985-03-25 Computer system

Country Status (1)

Country Link
JP (1) JPS61221842A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6246328A (en) * 1985-08-23 1987-02-28 Nec Corp Virtual magnetic disk device control system
WO1989003082A1 (en) * 1987-09-22 1989-04-06 Fanuc Ltd Method of storing data
JPH02118717A (en) * 1988-10-27 1990-05-07 Hokkaido Nippon Denki Software Kk System for controlling logical connection of hard disk

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57203280A (en) * 1981-05-08 1982-12-13 Storage Technology Corp Virtual memory system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57203280A (en) * 1981-05-08 1982-12-13 Storage Technology Corp Virtual memory system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6246328A (en) * 1985-08-23 1987-02-28 Nec Corp Virtual magnetic disk device control system
WO1989003082A1 (en) * 1987-09-22 1989-04-06 Fanuc Ltd Method of storing data
JPH02118717A (en) * 1988-10-27 1990-05-07 Hokkaido Nippon Denki Software Kk System for controlling logical connection of hard disk

Similar Documents

Publication Publication Date Title
US6021462A (en) Methods and apparatus for system memory efficient disk access to a raid system using stripe control information
US5497476A (en) Scatter-gather in data processing system
JPH0330897B2 (en)
JPH0552540B2 (en)
JPH08278850A (en) Securing method of storage space of hierachical data storagesystem
US5193168A (en) Multiprocessing system with enhanced shared storage
JPH0719426B2 (en) Disk controller
JPS62100851A (en) Area control method for virtual memory device
JPH05181609A (en) Personal computer system
JPS61221842A (en) Computer system
KR890017640A (en) File system
JPH0548500B2 (en)
KR960002297A (en) Disk control method and device
EP0108651A2 (en) Dynamic addressing for variable track length cache memory
JP2000284996A (en) Memory managing device and its method
JPS6237754A (en) Virtual extension storage system
JPS62163154A (en) Virtual logic volume system
JPH0237443A (en) Main storage management system for electronic computer system
JPS6079448A (en) Control system for external page allocation
JPS59146344A (en) Advance control system of virtual stack
JPH0314019A (en) Access system for medium collective device
JPS6174040A (en) Address expansion method
JPH04215120A (en) File system
JPS63316151A (en) Data transfer accelerating device
JPS61221847A (en) Control system for main memory