JP4380658B2 - Shared disk device - Google Patents
Shared disk device Download PDFInfo
- Publication number
- JP4380658B2 JP4380658B2 JP2006134689A JP2006134689A JP4380658B2 JP 4380658 B2 JP4380658 B2 JP 4380658B2 JP 2006134689 A JP2006134689 A JP 2006134689A JP 2006134689 A JP2006134689 A JP 2006134689A JP 4380658 B2 JP4380658 B2 JP 4380658B2
- Authority
- JP
- Japan
- Prior art keywords
- command
- client
- data
- nfs
- scsi
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は多量のデータを記憶できるディスク装置に係り、特にホストとのインタフェースに高速データ転送が可能なファイバチャネルを備え、複数台のホストから共有されるディスク装置に関する。 The present invention relates to a disk device that can store a large amount of data, and more particularly to a disk device that includes a fiber channel capable of high-speed data transfer at an interface with a host and is shared by a plurality of hosts.
磁気ディスク装置或いはディスクアレイ装置とホストコンピュータを接続する手段としては、SCSIを使用する事が多い。 SCSI is often used as a means for connecting a magnetic disk device or disk array device to a host computer.
近年、蓄積するデータ量の増加に伴い、ユーザのシステムではファイルサーバの設置や複数のサーバとクライアントをネットワーク接続する形態が普通となってきている。この様な状況において、あるメーカのデータベースソフトを使用して、別のメーカのワークフローソフトを使用するといった場合には各メーカのソフトが動くクライアントを各々用意せざるを得ない。ところが、SCSIのインタフェースではホストのファイルシステムにより磁気ディスク上のデータの管理方法が異なるため、異なるメーカのクライアントでは磁気ディスクの共有が難しい。 In recent years, with an increase in the amount of data to be accumulated, a user's system is generally configured to install a file server or connect a plurality of servers and clients to a network. In such a situation, when using the database software of a certain manufacturer and using the workflow software of another manufacturer, it is necessary to prepare clients that run the software of each manufacturer. However, since the management method of data on the magnetic disk differs depending on the host file system in the SCSI interface, it is difficult for clients of different manufacturers to share the magnetic disk.
それに対してNFSは、ネットワークのTCP/IPを利用し異なるメーカのクライア
ントからファイルの共有を実現している。しかしながら、メーカに依存しないファイル操作のコマンドを使用する事から、サーバでマッピングするために使用できないクライアント特有のファイル属性があったり、プロトコルのオーバーヘッドが大きいのでデータ転送性能が低いという問題がある。
NFS, on the other hand, uses a network TCP / IP to share files from clients from different manufacturers. However, since a file operation command which does not depend on the manufacturer is used, there are problems such as a client-specific file attribute which cannot be used for mapping by the server, and a protocol overhead is large, resulting in low data transfer performance.
このように複数のプロトコルの各特徴を利用するため、異種プロトコル混在型の光ネットワークが提案されている。特開平9-51322号公報では複数のプロトコ
ル各々に対して別の光波長を割り当てることにより、同一の光ネットワークに異種プロトコルを混在可能としている。
Thus, in order to use each feature of a plurality of protocols, a heterogeneous protocol mixed type optical network has been proposed. In Japanese Patent Laid-Open No. 9-51322, different optical wavelengths are assigned to each of a plurality of protocols, so that different protocols can be mixed in the same optical network.
また、特開平10-149334号公報ではパーソナルコンピュータのPCIバスにファイバチャネルインターフェイスアダプタを接続する手段を開示している。この様にTCP/IPのプロトコルを使用することで従来のイーサネット(イーサネットは登録商標)経由のNFSと同様に制御することも可能である。 Japanese Patent Laid-Open No. 10-149334 discloses means for connecting a fiber channel interface adapter to a PCI bus of a personal computer. In this way, by using the TCP / IP protocol, it is possible to perform control in the same manner as NFS via conventional Ethernet (Ethernet is a registered trademark).
上記のようにNFSを使用することにより大容量の磁気ディスクの共用化が可能になるが、共用化をした場合にはデータ転送性能が低下する事と各ホスト固有のファイル属性がそのままでは使用できなくなるという問題が残る。特開平9-5132
2号公報に記載の様に光ネットワークを使用して複数のプロトコルに別の光波長を割り当てる方法を使用すれば、TCP/IP(すなわちNFS)とSCSIのプロトコルを同
時に使用できるので、使用目的に応じて使い分ける事により、前記問題点を解決できる。
As described above, using NFS makes it possible to share a large-capacity magnetic disk. However, if shared, the data transfer performance will be degraded and the file attributes unique to each host can be used as they are. The problem of disappearing remains. JP-A-9-5132
If you use the method of assigning different optical wavelengths to multiple protocols using an optical network as described in Publication No. 2, you can use TCP / IP (i.e. NFS) and SCSI protocols at the same time. The above-mentioned problems can be solved by using them accordingly.
しかしながら、光波長を割り当てる方法は特殊な光波長のフィルタが必要であるとともに、一般的な規格ではないために使用範囲が制限される。 However, the method of assigning the optical wavelength requires a filter with a special optical wavelength and is not a general standard, so that the range of use is limited.
また、ファイバチャネルインターフェイスを使用すれば、TCP/IP(すなわちNFS
)とSCSIのプロトコルを使用可能であり、ANSIによる規格であるため広く利用可
能であるが、特開平10-149334号公報には複数のプロトコルを同時に使用するこ
とまでは規定されておらず、各ホスト固有の専用ファイルへTCP/IPとSCSIとの共有ファイルとしてそのままアクセスできる様にすると、データが破壊されてしまう問題が生じる。
Also, if you use a Fiber Channel interface, TCP / IP (i.e. NFS
) And SCSI protocols can be used and are widely available because they are ANSI standards. However, Japanese Patent Laid-Open No. 10-149334 does not define the use of multiple protocols at the same time. If a host-specific dedicated file can be accessed as it is as a shared file of TCP / IP and SCSI, there will be a problem of data corruption.
本願発明の目的は、TCP/IP(すなわちNFS)とSCSIとのプロトコルを同時に且つ
各ホスト固有のファイル属性も使用することができ、さらに各ホスト固有のファイル属性を使用する場合に誤って異なるファイルにアクセスしてもデータを破壊することがない共有ディスク処理装置を提供することにある。
The object of the present invention is to use TCP / IP (that is, NFS) and SCSI protocols at the same time and to use file attributes specific to each host. It is an object of the present invention to provide a shared disk processing device that does not destroy data even when accessed.
また、本願発明の他の目的は、ANSIの規格に準拠した上で複数のプロトコルを同時に使用可能とする共有ディスク処理装置を提供することにある。 Another object of the present invention is to provide a shared disk processing apparatus that can simultaneously use a plurality of protocols while conforming to the ANSI standard.
上記目的を達成するために本発明では、TCP/IPとSCSIのプロトコルを識別する手段と、SCSIコマンドでアクセスするデータとNFSコマンドとでアクセスするデ
ータとにパーティションとを設け誤ったアクセスによるデータ破壊を防止する。
In order to achieve the above object, the present invention provides a means for identifying TCP / IP and SCSI protocols, a partition for data accessed by the SCSI command and data accessed by the NFS command, and data destruction due to erroneous access. To prevent.
また、TCP/IPとSCSIのプロトコルを識別する手段と、この識別手段でTCP/IPと判定した場合にNFSのコマンドであるか否かを判定する手段と、この判定手段でNFSと判定した場合にNFSファイルシステムの処理を実施してSCSIコマンドに変換して磁気ディスクへアクセスする手段と、前記識別手段でSCSIと判定した場合にSCSIコマンドを用いて磁気ディスクへアクセスする手段を使用する。 Also, means for identifying the protocol of TCP / IP and SCSI, means for determining whether or not the command is an NFS command when this identification means is determined to be TCP / IP, and a case where the determination means determines NFS Further, a means for accessing the magnetic disk by converting the NFS file system into a SCSI command is used, and a means for accessing the magnetic disk using the SCSI command when the identification means determines SCSI.
更に、前記TCP/IPとSCSIのプロトコルを識別する手段としてファイバチャネルのヘッダ情報のソースIDを参照する手段と、ソースIDから使用するプロトコルを判定するテーブルを備える手段を使用する。 Further, as means for identifying the TCP / IP and SCSI protocols, means for referring to the source ID of the Fiber Channel header information and means for providing a table for determining the protocol to be used from the source ID are used.
更に、前記NFSのコマンドであるか否かを判定する手段にてNFSでないと判定した場合にTelnetの処理を実施して磁気ディスクを制御するプロセッサにリモートログインする手段を使用する。 Further, when the means for determining whether or not the command is an NFS command, it is determined that the command is not NFS, and a means for executing a Telnet process and remotely logging in to a processor that controls the magnetic disk is used.
本発明によれば、同一のファイバチャネルに接続したクライアントから必要に応じてNFSとSCSIコマンドを使い分けて同一のファイルサーバへアクセスできるので、クライアント間でデータを共有する場合はNFSコマンドを使用し、データ
を共有せずに高速にアクセスしたい場合はSCSIコマンドを使用できる。
According to the present invention, a client connected to the same Fiber Channel can access the same file server by using the NFS and SCSI commands as needed, so when sharing data between clients, use the NFS command, You can use SCSI commands if you want fast access without sharing data.
以下、本発明の一実施例を図1と図2を使用して説明する。図1はファイルサーバ101と上位装置であるクライアント102,103とをファイバチャネルインターフェイス105を介して接続したシステム構成と処理手順を示す図である。また、図2はファイバチャネルで使用されるヘッダの構造図である。
An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a diagram showing a system configuration and processing procedure in which a
先ず、図1の構成を説明する。一般に、ホストたるクライアントとサーバのと接続にはSCSIやイーサネットを使用することが多いが、これらに代わり、最近ファイバチャネルが注目されている。ファイバチャネルは光ファイバか銅線を使用して100MB/sでデータを転送する規格であり、物理層と下位の論理層を規定して
いる。上位の論理層に関しては枠組みだけであり、ファイバチャネルの中にSCSI
-3やTCP/IPのプロトコルを通すことが可能であるため、例えばSCSI-3のプロトコルを使用することで従来のSCSIの磁気ディスクの様に制御することができる。このファイバチャネルの光ケーブル104を経由してファイルサーバ101はクライアント102とクライアント103に接続される。
First, the configuration of FIG. 1 will be described. In general, SCSI and Ethernet are often used for connection between a client and a server as a host, but recently, fiber channel has been attracting attention instead. Fiber Channel is a standard for transferring data at 100MB / s using optical fiber or copper wire, and defines the physical layer and the lower logical layer. For the upper logical layer, it is only a framework, and SCSI in Fiber Channel
-3 and TCP / IP protocols can be passed through, for example, the SCSI-3 protocol can be used to control like a conventional SCSI magnetic disk. The
コマンドインターフェイスであるファイバチャネルインタフェース105は光ケーブル104の光信号を電気信号に変換するとともにクライアントからのヘッダ情報からファイルサーバ101宛てのデータ(コマンド)を選別する。また、逆にクライアント102とクライアント103に対して相手先をヘッダ情報に入れ、電気信号を光信号に変換して光ケーブル104へ送り出す。プロトコル判定部106はヘッダ情報の内容から送られて来たデータ(コマンド)のプロトコル
がSCSIかTCP/IPかを識別する手段である。
The
処理判定部107はTCP/IPのプロトコルで送られて来たデータ(コマンド)がNFSのコマンドか、NFSコマンド以外かを判定する手段である。NFS処理部108
はNFSコマンドを受け取り、独自のファイルシステムに従ってSCSIコマンドへ変
換し、記録媒体である磁気ディスク110へデータを書き込む、あるいは磁気ディスク110に記録されているデータを読み出す。磁気ディスクインタフェース109はSCSIコマンドで磁気ディスク110にデータを書き込む、あるいはデータを読み出すためのインタフェースである。
The
Receives an NFS command, converts it into a SCSI command according to its own file system, writes data to the
クライアント102からSCSIコマンドでファイルサーバ101のデータを読み出す場合の処理を以下に示す。クライアント102はSCSIのREADコマンドを光ケーブル104経由でファイルサーバ101のファイバチャネルインタフェース105へ送る。ファイバチャネルインタフェース105では図2のデスティネーションID202の内容をチェックしてファイルサーバ101宛てのREADコマンドを選別し、プロトコル判定部106へREADコマンドを受け渡す。
Processing when data in the
プロトコル判定部106では図2のプロトコル203がSCSIかTCP/IPかをチェックし、ここではSCSIのため磁気ディスクインタフェース109へREADコマンドを渡す。SCSIのREADコマンドではファイル名等の位置をクライアント102で管理しているので、READコマンドのパラメタとしては磁気ディスク上のブロック位置が単純に指定されるだけである。
The
磁気ディスクインタフェース109は磁気ディスク110へREADコマンドを発行してREADコマンドで指定されたブロックのデータを読み出す。読み出したデータは磁気ディスクインタフェース109からファイバチャネルインタフェース105へ送られ、ファイバチャネルインタフェース105にてソースID201がファイルサーバ101、デスティネーションID202がクライアント102、プロトコル203がSCSIのヘッダ情報を付加して光ケーブル104へ送り出される。クライアント102はデスティネーションID202がクライアント102宛てのデータを光ケーブル104から拾い上げて、READコマンドに対して読み出したデータを受け取る。
The
次にクライアント103からNFSコマンドでファイルサーバ101のデータを読み出す場合の処理を以下に示す。NFSでファイルサーバ上のデータを使用する
には、予めファイルサーバ101がクライアント103へ公開するファイルをエキスポートし、クライアント103がNFSマウントする必要があるが、ここでは
説明を省略する。クライアント103はTCP/IPを使用してNFSのREADコマンドを
発行し、光ケーブル104経由でファイルサーバ101のファイバチャネルインタフェース105へ送る。ファイバチャネルインタフェース105では図2のデスティネーションID202の内容をチェックしてファイルサーバ101宛てのREADコマンドを選別し、プロトコル判定部106へREADコマンドを渡す。
Next, processing when data in the
プロトコル判定部106では図2のプロトコル203の内容をチェックし、ここではTCP/IPのため処理判定部107へREADコマンドを渡す。処理判定部107では渡されたコマンドがNFSコマンドか否かを判定する。この場合のREADコマン
ドはNFSコマンドの一つであるため、NFS処理部108へREADコマンドを更に渡す
。NFSのREADコマンドではファイル名等の位置をNFS処理部108が管理しているので、READコマンドのパラメタとしてはファイル名あるいはファイル名の代わりとなるファイルディスクリプタとファイルの先頭からのオフセットが指定される
。NFS処理部108はNFSのREADコマンドをSCSIのREADコマンドへ変換し、ファイル名とファイル先頭からのオフセットを使用して磁気ディスク上のブロック位置を算出して、磁気ディスクインタフェース109へSCSIのREADコマンドとブロック位置を渡す。
The
磁気ディスクインタフェース109は磁気ディスク110へREADコマンドを発行してREADコマンドで指定されたブロックのデータを読み出す。読み出したデータは磁気ディスクインタフェース109からNFS処理部108へ送られ、NFS処理部108にてNFSのデータフォーマットに変換し、ファイバチャネルインタフェ
ース105へ送る。ファイバチャネルインタフェース105にてソースID201がファイルサーバ101、デスティネーションID202がクライアント103、プロトコル203がTCP/IPのヘッダ情報を付加して光ケーブル104へ送り出される。クライアント103はデスティネーションID202がクライアント103宛てのデータを光ケーブル104から拾い上げて、READコマンドに対して読み出したデータを受け取る。
The
以上説明したように本実施例によれば、同一のファイバチャネルに接続したクライアントから必要に応じてNFSとSCSIコマンドを使い分けて同一のファイルサーバへアクセスできるので、クライアント間でデータを共有する場合はNFSコマ
ンドを使用し、データを共有せずに高速にアクセスしたい場合はSCSIコマンドを使用できる。尚、本実施例に於いてはクライアント102からSCSI、クライアント103からNFSでのデータのやり取りを説明したが、いずれのクライアントで
いずれのファイルシステム、若しくは双方のファイルシステムを使用してもよい
。
As described above, according to this embodiment, clients connected to the same Fiber Channel can access the same file server using NFS and SCSI commands as needed, so when sharing data between clients, If you use NFS commands and want to access them quickly without sharing data, you can use SCSI commands. In the present embodiment, the exchange of data from the
次に図3を使用して本発明による異種ファイルシステムによるデータ破壊防止のためにクライアント(プロトコル)毎に使用する磁気ディスクの位置をパーティションにより仕切り、パーティション毎に識別子を設けた実施例を説明する。 Next, an embodiment in which the position of the magnetic disk used for each client (protocol) is partitioned by partition and an identifier is provided for each partition will be described with reference to FIG. .
図3は光ケーブル104に接続されたクライアントを管理するためのテーブルを示す。項目301は光ケーブル104に接続しているクライアントのID、項目302は各クライアントの使用しているプロトコルがTCP/IPすなわちNFSかSCSIかの情報、項目303は各クライアント(プロトコル)の使用する磁気ディスク110のパーティションの識別子を表している。TCP/IPは共用のファイルシステムであるので同一のパーティション識別子であり、SCSIは専用のファイルシステムであるので同じSCSI同士でも異なったパーティション識別子となる。
FIG. 3 shows a table for managing clients connected to the
まず、プロトコル判定部106にて図2のプロトコル203とソースID201が図3のクライアントID301とプロトコル302に適合するかをチェックすることで、誤ったプロトコルによるアクセスを防止する。そして、NFSの場合はNFS処理部108にて磁気ディスク110上のブロック位置とプロトコル302がTCP/IPであるパーティション303のブロック位置をチェックすることにより、誤ったパーティションへのアクセスを防止する。また、SCSIの場合にはプロトコル判定部106にて磁気ディスク110上のブロック位置とプロトコル302がSCSIであるパーティション303のブロック位置をチェックすることにより、誤ったパーティションへのアクセスを防止する。
First, the
この様にして、誤ったパーティションへのアクセスをチェックできるので、パーティションとプロトコルの不整合により発生するデータ破壊を防止することができる。 In this way, since access to an erroneous partition can be checked, data corruption caused by partition and protocol mismatch can be prevented.
尚、一つのクライアントが一つのプロトコルのみを使用する(例えばこの図に示すクライアント103)のであれば、ファイバチャネルインターフェイス105からのヘッダ情報が不十分でプロトコル情報が欠落しており、プロトコル判定部106で判定できない場合であっても、ソースID201から項目301のどのクライアントかを判定し、クライアント103であれば該当する項目302からプロトコルはTCP/IPであると判定できる。
If one client uses only one protocol (for example, the
以下、本発明の別の実施例を図4を使用して説明する。図4はファイルサーバの別の構成を示す図である。 Hereinafter, another embodiment of the present invention will be described with reference to FIG. FIG. 4 is a diagram showing another configuration of the file server.
ファイバチャネルアダプタ401は光ケーブル104とバス407を接続するアダプタであり、光ケーブル104のデータ(コマンド)をバス407経由でメモリ403へ書き込む、あるいはメモリ403のデータをバス407経由で光ケーブル104へ送り出す。CPU402は、ROM(Read Only Memory)404に書き込まれたプログラムに従ってファイルサーバ全体を制御するプロセッサである。メモリ403は光ケーブル104と磁気ディスク406の間でデータ交換する際の一時的なバッファに使用する他、CPU402の一時的なデータの記憶場所に使用する。
The
ROM404はCPU402のプログラムを格納する。格納するプログラムはCPU402が様々なプログラムを実行する上で基本とするオペレーティングシステムと、プロトコル判定部106、処理判定部107、NFS処理部108に相
当する処理手順である。SCSIアダプタ405は磁気ディスク406とバス407を接続するアダプタであり、図1の磁気ディスクインターフェイス109に相当するものであり、磁気ディスク406のデータをバス407経由でメモリ403へ書き込む、あるいはメモリ403のデータをバス407経由で磁気ディスク406へ書き込む。
The
処理の手順自体は図1の構成と同じである。すなわち、クライアント102(
図1参照)からSCSIコマンドでファイルサーバ101のデータを読み出す場合の処理は以下の通りである。
The processing procedure itself is the same as the configuration of FIG. That is, client 102 (
The processing in the case of reading the data of the
クライアント102はファイバチャネルのプロトコルに従いSCSIのREADコマンドを光ケーブル104経由でファイルサーバ101のファイバチャネルアダプタ401へ送る。図1に示した実施例のファイバチャネルインターフェイス105に相当するファイバチャネルアダプタ401では図2のデスティネーションID202の内容をチェックしてファイルサーバ101宛てのREADコマンドを選別し、メモリ403へ書き込む。
The
ROM404内に書き込まれたプロトコル判定部106の処理内容を実現するプログラムに従ってCPU402は、メモリ403へ書き込まれたREADコマンドの図2のプロトコル203の内容をチェックする。ここではSCSIのためメモリ403からSCSIアダプタ405へREADコマンドを受け渡す。
The
図1に示した磁気ディスクインターフェイス109に相当するSCSIアダプタ405は磁気ディスク406へREADコマンドを発行してREADコマンドで指定されたブロックのデータを読み出す。読み出したデータはSCSIアダプタ405からメモリ403へ書き込む。更にメモリ403からファイバチャネルアダプタ401へ送り、ファイバチャネルアダプタ401にてソースID201がファイルサーバ101、デスティネーションID202がクライアント102、プロトコル203がSCSIのヘッダ情報を付加して光ケーブル104へ送り出される。クライアント102はデスティネーションID202がクライアント102宛てのデータを光ケーブル104から拾い上げて、READコマンドに対して読み出したデータを受け取る
。
The
クライアント103からのNFSコマンドでのアクセスも同様であり、プロトコ
ル判定部106、処理判定部107、NFS処理部108に相当する処理の手順が
プログラムとしてROM404に書き込まれており、プロトコル判定部に相当する処理を行うプログラムでTCP/IPと識別された場合には、処理判定部に相当するプログラムがNFSコマンドかどうか判定し、NFSコマンドであればNFS処理部に相
当するプログラムによってSCSIコマンドに変換されSCSIアダプタに送られる。
The access by the NFS command from the
クライアント103からTelnetを使用してファイルサーバ101へリモートログインするには、ファイバチャネルのプロトコルに従いTCP/IPを使用してTelnetコマンドを発行し、光ケーブル104経由でファイルサーバ101のファイバチャネルアダプタ401へ送る。ファイバチャネルアダプタ401では図2のデスティネーションID202の内容をチェックしてファイルサーバ101宛てのTelnetコマンドを選別し、メモリ403へ書き込む。
To remotely log in to the
ROM404内のプロトコル判定部106の処理内容を実現するプログラムに従いCPU402はメモリ403へ書き込まれたTelnetコマンドの図2のプロトコル203の内容をチェックする。ここではTCP/IPのため更にROM404内の処理判定部107の処理内容を実現するプログラムに従いCPU402はメモリ403へ書き込まれたTelnetコマンドをチェックする。NFSコマンドではないの
で、ROM404内のオペレーティングシステムの処理にコマンドを渡す。
The
UNIX(UNIXは登録商標)系のオペレーティングシステムでは標準でTelnetコマンドをサポートしているため、特別にプログラムをROM404へ組み込まなくともTelnetに対する処理が実現できる。
Since a UNIX (UNIX is a registered trademark) type operating system supports a Telnet command as a standard, processing for Telnet can be realized without specially incorporating a program into the
以上説明したように本実施例によれば、特殊なハードウェアを使用せず普及しているプロセッサを使用しても、同一のファイバチャネルに接続したクライアントから必要に応じてNFSとSCSIコマンドを使い分けて同一のファイルサーバへアクセスできるので、クライアント間でデータを共有する場合はNFSコマンドを使
用し、データを共有せずに高速にアクセスしたい場合はSCSIコマンドを使用できる。また、ファイバチャネル経由でTelnetによりリモートログインすることにより、データ経路とは別の回線を持たずにファイルサーバ101の様々な設定が可能になる。
As described above, according to the present embodiment, even when using a processor that does not use special hardware and uses a widespread processor, a client connected to the same Fiber Channel can properly use NFS and SCSI commands as necessary. You can use the NFS command to share data between clients, and you can use the SCSI command to access data at high speed without sharing data. Further, by remotely logging in via Telnet via fiber channel, various settings of the
101…ファイルサーバ、102…クライアント、103…クライアント、104…光ケーブル、105…ファイバチャネルインタフェース、106…プロトコル判定部、107…処理判定部、108…NFS処理部、109…磁気ディスクイ
ンタフェース、110…磁気ディスク、201…ソースID、202…ディスティネーションID、203…プロトコル、301…クライアントID、302…プロトコル、303…パーティション、401…ファイバチャネルアダプタ、402…CPU、403…メモリ、404…ROM、405…SCSIアダプタ、406…磁気ディスク。
DESCRIPTION OF
Claims (5)
クライアントと接続され、前記クライアントからのコマンドを受け取るコマンドインターフェイスと、
前記クライアントからのコマンドに従い前記磁気ディスクに対してデータの書き込み或いは読み出しを行うディスクインターフェイスと、
前記コマンドインターフェイスからのデータがTCP/IPとSCSIとのいずれかのプロトコルかを識別する識別手段と、
前記識別手段でTCP/IPと判定した場合にNFSのコマンドであるか否かを判定する判定手段と、
前記判定手段でNFSと判定した場合にNFSファイルシステムの処理を実施してSCSIコマンドに変換して、書き込みを行うパーティションを決定し、前記磁気ディスクへアクセスする処理手段とを有し、
前記識別手段は、SCSIのプロトコルであることを識別した場合、前記データの書き込みを行うパーティションを決定することを特徴とする共有ディスク装置。 A magnetic disk for storing data;
A command interface connected to the client and receiving commands from the client;
A disk interface for writing or reading data to or from the magnetic disk in accordance with a command from the client;
An identification means for identifying whether the data from the command interface is a protocol of TCP / IP or SCSI;
A determination unit that determines whether the command is an NFS command when the identification unit determines TCP / IP,
When the determination means determines NFS, the NFS file system processing is performed and converted to a SCSI command, a partition to be written is determined, and processing means for accessing the magnetic disk,
2. The shared disk device according to claim 1, wherein the identification unit determines a partition to which the data is written when it is identified as a SCSI protocol.
前記コマンドインターフェイスと接続され、前記コマンドインターフェイスからのデータがTCP/IPとSCSIとのいずれかのプロトコルかを識別する識別手段と、 An identification means connected to the command interface and identifying whether the data from the command interface is a protocol of TCP / IP or SCSI;
前記識別手段と接続され、前記クライアントからのコマンドに従い書き込み或いは読み出しを行うディスクインターフェイスと、 A disk interface connected to the identification means and writing or reading in accordance with a command from the client;
前記ディスクインターフェイスと接続され、前記クライアントが使用するプロトコルの種類に対応してパーティションを有する磁気ディスクと、 A magnetic disk connected to the disk interface and having a partition corresponding to the type of protocol used by the client;
前記識別手段でTCP/IPと判定した場合にNFSのコマンドであるか否かを判定する判定手段と、 A determination unit that determines whether the command is an NFS command when the identification unit determines TCP / IP,
前記判定手段でNFSと判定した場合にNFSファイルシステムの処理を実施してSCSIコマンドに変換して前記磁気ディスクへアクセスする処理手段とを有し、 Processing means for performing NFS file system processing when converted to a SCSI command and accessing the magnetic disk when the determination means determines NFS;
前記識別手段及び前記処理手段は、前記クライアントが使用するプロトコルの種類毎に対応した前記磁気ディスク上のパーティションに対して付けられる第1の識別子と、前記クライアントに対して付けられる第2の識別子との対応関係を有し、前記プロトコル及び/または前記識別子により前記データが書き込まれるパーティションを決定することを特徴とする共有ディスク装置。 The identification unit and the processing unit include a first identifier attached to the partition on the magnetic disk corresponding to each type of protocol used by the client, and a second identifier attached to the client. The shared disk device is characterized in that a partition to which the data is written is determined by the protocol and / or the identifier.
クライアントと接続され、前記クライアントからのコマンドを受け取るコマンドインターフェイスと、A command interface connected to the client and receiving commands from the client;
前記磁気ディスクと接続され、前記クライアントからのコマンドに従い前記磁気ディスクに対してデータの書き込み或いは読み出しを行うディスクインターフェイスと、 A disk interface connected to the magnetic disk and writing or reading data to or from the magnetic disk in accordance with a command from the client;
前記コマンドインターフェイスからのデータがTCP/IPとSCSIのプロトコルがいずれであるのかを識別する識別手段と、 Identification means for identifying whether the data from the command interface is a TCP / IP or SCSI protocol;
前記識別手段でTCP/IPと判定した場合、NFSのコマンドであるか否かを判定する判定手段と、 When it is determined that the identification unit is TCP / IP, a determination unit that determines whether the command is an NFS,
前記判定手段でNFSと判定した場合にNFSファイルシステムの処理を実施してSCSIコマンドに変換し、前記データの書き込みを行うパーティションを決定し、前記磁気ディスクへアクセスする処理手段とを有し、 When the determination means determines NFS, the NFS file system processing is performed and converted into a SCSI command, the partition for writing the data is determined, and the processing means for accessing the magnetic disk,
前記識別手段は、SCSIのプロトコルであることを識別した場合、前記データの書き込みを行うパーティションを決定することを特徴とする共有ディスク装置。 2. The shared disk device according to claim 1, wherein the identification unit determines a partition to which the data is written when it is identified as a SCSI protocol.
前記識別手段は、前記第1の識別子と、前記第2の識別子と、前記第2の識別子が付された前記クライアントが使用するプロトコルとの関係を記述したテーブルを有することを特徴とする共有ディスク装置。 The identification unit includes a table describing a relationship between the first identifier, the second identifier, and a protocol used by the client to which the second identifier is attached. apparatus.
前記識別手段は、前記クライアントが使用するプロトコルの種類毎に対応したパーティションに対して付けられる第1の識別子と、前記クライアントに対して付けられる第2の識別子と、前記第2の識別子が付された前記クライアントが使用するプロトコルとの関係を記述したテーブルを有することを特徴とする共有ディスク装置。 The identification means includes a first identifier attached to a partition corresponding to each type of protocol used by the client, a second identifier attached to the client, and the second identifier. A shared disk device comprising a table describing a relationship with a protocol used by the client.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006134689A JP4380658B2 (en) | 2006-05-15 | 2006-05-15 | Shared disk device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006134689A JP4380658B2 (en) | 2006-05-15 | 2006-05-15 | Shared disk device |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10318698A Division JP2000148651A (en) | 1998-11-10 | 1998-11-10 | Shared disk device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2006221675A JP2006221675A (en) | 2006-08-24 |
| JP4380658B2 true JP4380658B2 (en) | 2009-12-09 |
Family
ID=36983906
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006134689A Expired - Fee Related JP4380658B2 (en) | 2006-05-15 | 2006-05-15 | Shared disk device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4380658B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5203041B2 (en) * | 2008-05-22 | 2013-06-05 | エヌイーシーコンピュータテクノ株式会社 | Network system, network connection method, connection device, connection card |
-
2006
- 2006-05-15 JP JP2006134689A patent/JP4380658B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2006221675A (en) | 2006-08-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7275050B2 (en) | Storage system, a method of file data backup and method of copying of file data | |
| US9208168B2 (en) | Inter-protocol copy offload | |
| JP4252301B2 (en) | Storage system and data backup method thereof | |
| US7827261B1 (en) | System and method for device management | |
| US6907457B2 (en) | Architecture for access to embedded files using a SAN intermediate device | |
| JP4704161B2 (en) | How to build a file system | |
| US7159024B2 (en) | Storage system and method for controlling the same | |
| JP2005535019A (en) | Storage management bridge | |
| US20070294491A1 (en) | Methods and systems for storage architectures | |
| US20080077752A1 (en) | Storage system and audit log management method | |
| JP4353208B2 (en) | Storage subsystem, storage system, load balancing method, load balancing program | |
| US7139871B2 (en) | Method of managing storage system to be managed by multiple managers | |
| US20080098321A1 (en) | Method and apparatus for in-band discovery of capabilities of managed devices | |
| US10523753B2 (en) | Broadcast data operations in distributed file systems | |
| US20090119452A1 (en) | Method and system for a sharable storage device | |
| US6810396B1 (en) | Managed access of a backup storage system coupled to a network | |
| JP2000148651A (en) | Shared disk device | |
| CN100454283C (en) | Virtual universal serial bus equipment system and data transmission method thereof | |
| US20080263222A1 (en) | Computer system, root node, and log management method for access path conversion | |
| US8112557B2 (en) | Method and apparatus for tape drive data logging | |
| JP4380658B2 (en) | Shared disk device | |
| KR101470857B1 (en) | Network distributed file system and method using iSCSI storage system | |
| JP4258768B2 (en) | File placement system | |
| CN106796572A (en) | By the data storage of optical-fibre channel | |
| US7721007B2 (en) | Methods of transmitting non-SCSI commands involving loading opcode in command descriptor block (CDB) bytes and non-SCSI commands into remaining CDB bytes |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090303 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090415 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090901 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090914 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121002 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121002 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131002 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |