JP2004326401A - Method and system for controlling storage device, and switch - Google Patents
Method and system for controlling storage device, and switch Download PDFInfo
- Publication number
- JP2004326401A JP2004326401A JP2003119715A JP2003119715A JP2004326401A JP 2004326401 A JP2004326401 A JP 2004326401A JP 2003119715 A JP2003119715 A JP 2003119715A JP 2003119715 A JP2003119715 A JP 2003119715A JP 2004326401 A JP2004326401 A JP 2004326401A
- Authority
- JP
- Japan
- Prior art keywords
- storage device
- magnetic disk
- attribute
- switch
- logical volume
- 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.)
- Granted
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、記憶装置制御方法、および、スイッチに係り、複数の上位装置(サーバ等、磁気ディスクをアクセスするコンピュータ)と複数の磁気ディスクを接続するスイッチに関し、特に、複数の磁気ディスクから構成した論理ボリュームに対するSCSI(Small Computer System Interface)プロトコルのコマンド制御をおこなうスイッチに用いて好適な記憶装置制御方法、および、スイッチに関する。
【0002】
【従来の技術】
近年、多数の上位装置と多数の磁気ディスクを接続する場合に、接続用スイッチを用いることが一般的なおこなわれるようになってきている。その接続のための伝送路のプロトコルとしてファイバーチャネルプロトコルがあり、ファイバチャネルプロトコルでのスイッチングをおこなうのがファイバーチャネルスイッチである。このファイバーチャネルスイッチは、上位装置および磁気ディスクと接続するためのI/Fを持ち、データの変換をおこなう。また、ファイバーチャネルプロトコルによって運ばれるプロトコルとしては、例えば、SCSIプロトコルがあり、このようなプロトコルでは、磁気ディスクは、WWN(World Wide Name)とLUN(Logical Unit Number)の組によって識別される。
【0003】
ところで、特許文献1に記載のように、そのファイバーチャネルスイッチに、複数の磁気ディスクから複数の論理ボリュームを構成する機能を持たせることが提案されている。このファイバーチャネルスイッチは、ある論理ボリュームのある論理ボリュームアドレス範囲が、どの磁気ディスクのどの磁気ディスクアドレス範囲に対応するかを管理するための構成情報管理・アクセス権管理部と構成情報テーブルを持っている。そして、上位装置からのデータ要求に対して、論理ボリュームの論理ボリューム番号と論理ボリュームアドレスを、磁気ディスクの磁気ディスク番号と磁気ディスクアドレスに変換し、データの送信をおこなう。ここで、磁気ディスク番号と論理ボリューム番号は、それぞれ、それ自身を識別するための識別子であり、例えば、上記のWWNとLUNの組である。
【0004】
【特許文献1】
特開2001−325207号公報
【0005】
【発明が解決しようとする課題】
通常、上位装置と磁気ディスクがスイッチを介さずに直接接続されているシステムにおいては、上位装置は、磁気ディスクに対して、磁気ディスク情報一覧取得コマンドを発行することにより、磁気ディスク情報一覧を取得する。
【0006】
ここで、磁気ディスク情報一覧取得コマンドとは、磁気ディスク情報一覧を取得するためのコマンドであり、SCSIプロトコルではInquiryコマンドやmode senseコマンドなどである。また、磁気ディスク情報一覧とは、磁気ディスク情報を集めたものであり、磁気ディスク情報とは、磁気ディスク固有の情報のことであり、磁気ディスク固有の機能(以下、「磁気ディスク機能」)のサポートの有無や、磁気ディスク機能のパラメータが含まれる。この磁気ディスク機能としては、例えば、磁気ディスクに対して効率的にアクセスすることを支援するタグ付きコマンド・キューイング機能などがある。上位装置は磁気ディスク情報一覧取得コマンドを発行することにより、このような磁気ディスク機能の有無やパラメータを取得して、磁気ディスクへのアクセスを効率化することに役立てている。
【0007】
一方、上記従来技術のように、上位装置と磁気ディスクがスイッチを介して接続されているシステムにおいては、スイッチが複数の磁気ディスクから論理ボリュームを構成している場合には、上位装置がアクセスする対象は、論理ボリュームであるため、論理ボリュームとしての情報を取得する必要がある。
【0008】
このときにも、磁気ディスク情報一覧取得コマンドを発行したときと同様に、論理ボリュームとしての情報を一つだけ、上位装置に返却する必要がある。論理ボリュームを構成する複数の磁気ディスクの機種がすべて同じであれば、上位装置から発行された磁気ディスク情報一覧取得コマンドを、論理ボリュームを構成する複数の磁気ディスクのうちのどれか一つに発行し、その結果を上位装置に返すという方式で、特に問題は生じない。
【0009】
しかしながら、論理ボリュームを構成する複数の磁気ディスクが持っている磁気ディスク機能もそれぞれ異なる場合が考えられる。この場合において、前記方法と同様に、複数の磁気ディスクの一つに磁気ディスク情報一覧取得コマンドを発行し、その結果、得られた磁気ディスクを上位装置に返却すると、上位装置が論理ボリュームを通して別の磁気ディスク装置にアクセスしたときに、磁気ディスク情報が一致しないために、不整合が生じる可能性がある。
【0010】
また、それぞれの磁気ディスク全てに磁気ディスク情報一覧取得コマンドを発行し、複数の磁気ディスク情報が得られたとしても、上位装置が要求しているのは一つの磁気ディスク情報であるため、それらの全てを上位装置に返却することはできない。
【0011】
そのため、複数の磁気ディスクそれぞれに対して発行した磁気ディスク情報一覧取得コマンドによって得られる結果を、適切に統合して上位装置に返却する必要が生じる。
【0012】
上記従来技術のように、複数の磁気ディスクから一つの論理ディスクを構成すると、上位装置から磁気ディスク情報一覧を要求するコマンドに対して、適切な応答を返す必要があるが、上記特許文献1は、そのことに対して考慮されていない。
【0013】
また、上位装置上で動作するソフトウェアには、その接続する磁気ディスクが検証済みであるかどうかを、その磁気ディスク固有の情報を基にして判定しているものがある。したがって、もし論理ボリュームが磁気ディスク固有の情報に対応付けられた論理ボリューム固有の情報を持たなければ、そのようなソフトウェアは、その論理ディスクを検証済みかどうかを確認できない。
【0014】
本発明は、上記問題点を解決するためになされたもので、その目的は、複数の磁気ディスクから複数の論理ボリュームを構成する機能を持ったスイッチに対して、上位装置からの論理ボリュームの属性の問合せに対して適切に応答し、その論理構成と問合せに対して、矛盾なく返答できるスイッチ、および、記憶装置制御方法を提供することを目的とする。
【0015】
【課題を解決するための手段】
本発明は、上位装置から、一つ以上の磁気ディスク装置を論理化し論理ボリュームとしてアクセスさせるスイッチとを有する。そして、上位装置から、前記仮想記憶装置の属性を前記スイッチに対して問い合せて、スイッチは、上位装置からの問合せに対して、論理ボリュームを構成する磁気ディスク装置の属性を問い合せる。そして、スイッチは、磁気ディスク装置からの返答に対して、返答された属性を、各々の前記磁気ディスク装置の属性毎に、演算するか固定値によって、統合して上位装置に返すようにする。属性を問い合わせるとき、返答するときには、例えば、SCSIプロトコルが用いられる。
【0016】
また、磁気ディスク固有の情報が必要な上位装置上で動作するソフトウェアに対しては、磁気ディスク固有の情報に対応付けられた論理ボリューム固有の情報を返すようにする。
【0017】
【発明の実施の形態】
以下、本発明に係る一実施形態を、図1ないし図6を用いて説明する。
【0018】
この実施形態では、物理記憶装置を磁気ディスクとし、仮想記憶装置を論理ボリュームとし、上位装置から磁気ディスクが論理ボリュームとして、論理化してアクセスする場合を考える。そして、物理記憶装置の属性を「磁気ディスク情報」とし、仮想記憶装置の属性を「論理ボリューム情報」とする。
【0019】
先ず、図1を用いて本発明の記憶装置制御システムの構成を説明する。
図1は、本発明の記憶装置制御システムの構成図である。
【0020】
本発明の記憶装置制御システムは、上位装置110と磁気ディスク130,140,…がスイッチ120により接続されている構成である。そして、上位装置110、磁気ディスク130、スイッチは、例えば、ファイバチャネルプロトコルにより通信することができる。
【0021】
上位装置110は、磁気ディスク130,140,…は、論理化されて論理ボリューム150,160…として構成されており、スイッチ120を解して格納されているデータにアクセスすることができる。論理ボリュームは、一つの磁気ディスクで構成されていてもよいし、複数の磁気ディスクで構成されていてもよい。また、複数の磁気ディスクの一部を論理ボリュームとし構成してもよい。
【0022】
スイッチ120は、通常の通信のスイッチング機能の他に、上位装置110に複数の磁気ディスクを論理化して、論理ボリュームとしてアクセスさせる機能を有している。
【0023】
スイッチ120は、論理ボリューム構成情報管理部121と、論理ボリューム構成情報管理テーブル122と、磁気ディスク情報一覧応答部123と、磁気ディスク情報統合手段テーブル124と、パス切り替え部125とから構成されている。
【0024】
論理ボリューム構成情報管理部121は、磁気ディスクと論理ボリュームを関連付けて管理する部分である。
【0025】
より詳細には、論理ボリューム構成情報管理部121は、ユーザが指定する複数の磁気ディスク130,140…からユーザが指定する複数の論理ボリューム150,160を構成するために、論理ボリューム番号301と論理ボリュームアドレス範囲302に対応する磁気ディスク番号303と磁気ディスクアドレス範囲304を論理ボリューム構成情報管理テーブル122に登録する。
【0026】
論理ボリューム構成情報管理テーブル122は、論理ボリュームと磁気ディスクの情報を関連付けて格納されているテーブルである。
【0027】
磁気ディスク情報応答部123は、磁気ディスクに属性情報を問い合わせて、その応答を受け取る部分である。
【0028】
磁気ディスク情報統合手段テーブル124は、磁気ディスクの情報を統合して、論理ボリュームの属性を返すときに使われる属性毎の演算方法や返答のための固定値を格納されるテーブルである。
【0029】
パス切り替え部125は、上位装置110と磁気ディスク130,140,…の間のパスの切り替えをおこなう部分である。
【0030】
次に、図2を用いて本発明の記憶装置制御方法の概略手順を説明する。
図2は、本発明の記憶装置制御方法の概略手順を示した図である。
【0031】
上位装置110は、スイッチ620を介して物理記憶装置(磁気ディスク)130,140と接続されている。スイッチ620は、物理記憶装置130,140から仮想記憶装置(論理ボリューム)150を構成しており、上位装置110からアクセスできるようになっている。
【0032】
このときには、上位装置110は、下位の物理記憶装置130,140を全く意識することなく、仮想記憶装置150のみのインタフェースを意識することにより、データの読出しや格納をおこなうことができる。したがって、このようなスイッチ620を用いることで広く従来と同じインタフェースを持つ上位装置110を、改造することなく、複数の物理記憶装置に接続して利用することができる。
【0033】
上位装置は、スイッチに仮想記憶装置150の属性を要求し(S661)、スイッチは、物理記憶装置130の属性と物理記憶装置140の属性の要求を出して(S662)、物理記憶装置の属性を取得する(S663)。
【0034】
スイッチは、それらの属性を、個々の属性の性質を勘案して統合し(S664)、スイッチは、その統合された属性を上位装置に送り返す(S665)。
【0035】
以下、この記憶装置制御方法の手順についてより詳細に説明していく。
【0036】
先ず、図3ないし図5を用いて本発明に用いられるデータ構造について説明する。
図3は、論理ボリューム構成情報管理テーブル122を示す模式図である。
【0037】
論理ボリューム構成情報管理テーブル122は、論理ボリュームと磁気ディスクの構成を関連付けるためのテーブルであり、論理ボリューム番号301と論理ボリュームアドレス範囲302に対応する磁気ディスク番号303と磁気ディスクアドレス範囲304のフィールドを持つ。
図4は、磁気ディスク情報一覧の例を示す模式図である。
【0038】
磁気ディスク情報一覧は、磁気ディスクの持つ情報の一覧であり、図4には、キューイング可能数、機能サポートの有無、ベンダ名称、磁気ディスクサイズなどの例が図示されている。
【0039】
キューイング可能数とは、磁気ディスクがコマンドをどれだけキューイングできるかを示す数である。機能サポートの有無とは、ある機能がサポートされているか否かを示している。ベンダ名称とは、磁気ディスクのベンダの名称である。磁気ディスクサイズは、格納できる記憶容量を示している。
図5は、磁気ディスク情報統合手段テーブルを示す模式図である。
【0040】
磁気ディスク情報統合手段テーブル124は、磁気ディスク情報を論理ボリュームの属性として統合するときに使われる演算方法や固定値を格納するためのテーブルであり、磁気ディスク情報511に格納された磁気ディスク情報の名称が、磁気ディスク情報501と一致するときに、磁気ディスク統合方法512に記述した情報によって、その磁気ディスク情報に対して、演算をおこなうか、また、固定値を返すことにする。
【0041】
次に、図6を用いて磁気ディスク情報一覧応答部123が、上位装置110の論理ボリュームの属性の問合せに対して返答する処理について説明する。
図6は、磁気ディスク情報一覧応答部123が、上位装置110の論理ボリュームの属性の問合せに対して返答する処理を示すフローチャートである。
【0042】
磁気ディスク情報一覧応答部123は、論理ボリュームに対しての磁気ディスク情報を要求するコマンドを受信し、そのコマンドのフレームに記録されている送信先の論理ボリューム番号を取り出す(S401)。
【0043】
次に、その論理ボリュームに対応する磁気ディスク番号を、論理ボリューム構成情報管理テーブル122から取り出す(S402)。そして、その磁気ディスクに対して磁気ディスク情報を要求するコマンドを発行する(S403)。
【0044】
次に、論理ボリュームを構成する全ての磁気ディスクに対して磁気ディスク情報を要求するコマンドを発行したことを判定する(S404)。
【0045】
全ての磁気ディスクに対して磁気ディスク情報を要求するコマンドを発行したときには、S405に行き、コマンドを発行してない磁気ディスクがあるときには、S403に戻る。
【0046】
そして、複数の磁気ディスクから得られた磁気ディスク情報一覧からすべての磁気ディスク情報を取り出し(S405)、磁気ディスク情報統合手段テーブル124から、それらの磁気ディスク情報511に対応する磁気ディスク情報統合手段512を取り出して、磁気ディスク情報を統合する(S406)。
【0047】
例えば、磁気ディスク情報2の「機能サポートあり」の例では、一つの論理ボリュームが二つの磁気ディスクから構成されているときに、一方の磁気ディスクがある磁気ディスク機能をサポートしており、もう一方の磁気ディスクがその磁気ディスク機能をサポートしていない場合には、上位装置が論理ボリュームに対して発行された磁気ディスク情報一覧取得コマンドに対して、論理ボリュームはその磁気ディスク機能をサポートしていないと応答する必要がある。そのために、磁気ディスク統合方法512を見て、論理積の演算をおこなう。
【0048】
磁気ディスクの機能の例としては、障害ログの保持機能、装置レベルのコピー機能などがある。
【0049】
また、磁気ディスク情報4の「規格バージョン」の例では、例えば、SCSI規格バージョンのときには、SCSI−1、SCSI−2のそれぞれに対して数字の1と数字の2を対応付けている。この場合には、例えば、SCSI−1規格をサポートする磁気ディスクとSCSI−2規格をサポートする磁気ディスクで論理ボリュームを構成している場合には、最下位規格であるSCSI−1をサポートしていると上位装置に伝える必要があり、数字の1を上位装置に返却することにする。
【0050】
このときに、上位規格が必ずしも最下位規格の機能をサポートしていないときがあるが、このときには、対象となる「規格バージョン」の内で、共通となる規格のバージョンを論理ボリュームの属性として、応答するようにする。
【0051】
また別の例としては、磁気ディスク情報3のベンダ名称の問合せがあったときには、論理ボリューム固有の文字列を返すことにする。
【0052】
さらに、磁気ディスク情報nの磁気ディスクサイズの問合せがあったときには、論理ボリュームを構成する磁気ディスクサイズの合計値を返答することになる。
【0053】
また、図4には示していないが磁気ディスク固有の情報が必要な上位装置上で動作するソフトウェアに対しては、磁気ディスク固有の情報に対応付けられた論理ボリューム固有の情報を返すようにすればよい。
【0054】
そして、最後に、統合した磁気ディスク情報一覧を上位装置110に送信する(S407)。
【0055】
さて、本実施形態では、磁気ディスク情報統合手段テーブル124を利用して、磁気ディスク情報の統合をおこなったが、この方法以外として、処理S406において、磁気ディスク情報ごとに多重分岐処理をおこない、それぞれの磁気ディスクの磁気ディスク情報に固有の統合処理をおこなうことも可能である。その場合には、磁気ディスク情報統合手段テーブル124は不要となる。
【0056】
また、本実施形態では、上位装置110からの磁気ディスク情報一覧を要求するコマンドを契機として、磁気ディスクから磁気ディスク情報一覧を取得していたが、このタイミングよりも以前に磁気ディスクから磁気ディスク情報一覧を取得しておき、その磁気ディスク情報一覧を統合しておく方法も可能である。この方法を採用すれば、上位装置からの磁気ディスク情報一覧要求に対して、より高速に、統合した磁気ディスク情報一覧を返却することができる。この方法を採用する場合には、磁気ディスクから磁気ディスク情報一覧を取得し統合する契機は、磁気ディスクがスイッチに接続された時となる。また、予め統合した磁気ディスク情報一覧を更新する契機は、磁気ディスク装置が新たに接続されたときと、構成情報が変更されたときである。
【0057】
また、本実施形態では、スイッチ内にパス切り替え部と論理ボリューム構成情報管理部、磁気ディスク情報応答部が共存しているが、それらを別々の装置に分離し、ファイバーチャネルなどの通信路で接続して、本発明を実現する実施形態も考えられる。
【0058】
以上述べたように、スイッチ120の磁気ディスク情報一覧応答部123を動作させることにより、サポートする磁気ディスク情報の異なる複数の磁気ディスクから構成される論理ボリュームに対して発行される磁気ディスク情報一覧取得コマンドに対しても、適切な応答を返すことができるために、上位装置が効率的に論理ボリュームに対してアクセスすることが可能となる。
【0059】
また、本実施形態では、論理記憶装置である論理ボリュームから物理記憶装置である磁気ディスクを構成する装置として、スイッチ120を例に採って説明したが、このような機能を持ち上位装置110と物理記憶装置との間におかれる装置にも、本発明は適用することができる。例えば、上位装置110と磁気ディスクの間に、コンピュータを置き、このコンピュータが磁気ディスクを仮想化して、論理ボリュームに見せかけるようにしてもよい。
【0060】
また、本実施形態では、物理記憶装置として磁気ディスクを例に採って説明したが、他の記憶媒体に格納する記憶装置、例えば、磁気テープ、半導体記憶装置、光ディスクなどにも適用することができる。
【0061】
【発明の効果】
本発明によれば、複数の磁気ディスクから複数の論理ボリュームを構成する機能を持ったスイッチに対して、上位装置からの論理ボリュームの属性の問合せに対して適切に応答し、その論理構成と問合せに対して、矛盾なく返答できるスイッチ、および、記憶装置制御方法を提供することができる。
【図面の簡単な説明】
【図1】本発明の記憶装置制御システムの構成図である。
【図2】本発明の記憶装置制御方法の概略手順を示した図である。
【図3】論理ボリューム構成情報管理テーブル122を示す模式図である。
【図4】磁気ディスク情報一覧の例を示す模式図である。
【図5】磁気ディスク情報統合手段テーブルを示す模式図である。
【図6】磁気ディスク情報一覧応答部123が、上位装置110の論理ボリュームの属性の問合せに対して返答する処理を示すフローチャートである。
【符号の説明】
110…上位装置、120…スイッチ、130,140…磁気ディスク、150,160…論理ボリューム、121…論理ボリューム構成情報管理部、122…論理ボリューム構成情報管理テーブル、123…磁気ディスク情報一覧応答部、124…磁気ディスク情報統合手段テーブル、125…パス切り替え部。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a storage device control method and a switch, and more particularly to a switch for connecting a plurality of higher-level devices (computers accessing a magnetic disk, such as a server) to a plurality of magnetic disks, and more particularly, to a switch configured from a plurality of magnetic disks. The present invention relates to a storage device control method and a switch suitable for use in a switch that performs a command control of a SCSI (Small Computer System Interface) protocol for a logical volume.
[0002]
[Prior art]
In recent years, when many magnetic disks are connected to many host devices, a connection switch is generally used. There is a fiber channel protocol as a transmission path protocol for the connection, and a fiber channel switch performs switching according to the fiber channel protocol. The fiber channel switch has an I / F for connecting to a host device and a magnetic disk, and performs data conversion. In addition, as a protocol carried by the fiber channel protocol, for example, there is a SCSI protocol. In such a protocol, a magnetic disk is identified by a set of a WWN (World Wide Name) and a LUN (Logical Unit Number).
[0003]
By the way, as described in
[0004]
[Patent Document 1]
JP 2001-325207 A
[Problems to be solved by the invention]
Normally, in a system in which a host device and a magnetic disk are directly connected without using a switch, the host device acquires a magnetic disk information list by issuing a magnetic disk information list acquisition command to the magnetic disk. I do.
[0006]
Here, the magnetic disk information list acquisition command is a command for obtaining a magnetic disk information list, and in the SCSI protocol, includes an inquiry command and a mode sense command. Further, the magnetic disk information list is a collection of magnetic disk information, and the magnetic disk information is information unique to the magnetic disk, and includes functions unique to the magnetic disk (hereinafter, “magnetic disk function”). This includes the presence or absence of support and the parameters of the magnetic disk function. The magnetic disk function includes, for example, a tagged command queuing function that supports efficient access to the magnetic disk. By issuing a magnetic disk information list obtaining command, the host device obtains the presence or absence of such a magnetic disk function and the parameters, thereby helping to improve the efficiency of accessing the magnetic disk.
[0007]
On the other hand, in a system in which a higher-level device and a magnetic disk are connected via a switch as in the above-described related art, when the switch constitutes a logical volume from a plurality of magnetic disks, the higher-level device accesses the switch. Since the target is a logical volume, it is necessary to acquire information as a logical volume.
[0008]
Also at this time, it is necessary to return only one piece of information as a logical volume to the host device as in the case where the magnetic disk information list acquisition command is issued. If the models of the multiple magnetic disks that make up the logical volume are all the same, issue the magnetic disk information list acquisition command issued from the higher-level device to one of the multiple magnetic disks that make up the logical volume. However, there is no particular problem in the method of returning the result to the host device.
[0009]
However, it is conceivable that a plurality of magnetic disks constituting a logical volume also have different magnetic disk functions. In this case, as in the above method, a magnetic disk information list acquisition command is issued to one of the plurality of magnetic disks, and as a result, the obtained magnetic disk is returned to the higher-level device. When the magnetic disk device is accessed, mismatching may occur because the magnetic disk information does not match.
[0010]
Further, even if a magnetic disk information list acquisition command is issued to all of the respective magnetic disks and a plurality of magnetic disk information is obtained, the host device requests only one magnetic disk information. All cannot be returned to the host device.
[0011]
Therefore, it is necessary to appropriately integrate the results obtained by the magnetic disk information list acquisition command issued for each of the plurality of magnetic disks and return the result to the host device.
[0012]
When one logical disk is configured from a plurality of magnetic disks as in the above-described related art, it is necessary to return an appropriate response to a command requesting a magnetic disk information list from a higher-level device. , Has not been considered for that.
[0013]
Some software operating on the host device determines whether or not the connected magnetic disk has been verified based on information unique to the magnetic disk. Therefore, if a logical volume does not have logical volume-specific information associated with magnetic disk-specific information, such software cannot confirm whether the logical disk has been verified.
[0014]
The present invention has been made to solve the above problems, and an object of the present invention is to provide a switch having a function of configuring a plurality of logical volumes from a plurality of magnetic disks with an attribute of a logical volume from a host device. It is an object of the present invention to provide a switch and a storage device control method that can appropriately respond to the inquiry of the above and can respond to the logical configuration and the inquiry without contradiction.
[0015]
[Means for Solving the Problems]
The present invention includes a switch that allows one or more magnetic disk devices to be logically accessed from a higher-level device and accessed as a logical volume. Then, the host inquires the attribute of the virtual storage device to the switch, and in response to the inquiry from the host, the switch inquires the attribute of the magnetic disk device constituting the logical volume. Then, in response to a response from the magnetic disk device, the switch integrates the returned attribute for each attribute of the magnetic disk device by operation or by using a fixed value and returns the integrated attribute to the host device. When inquiring or replying to attributes, for example, the SCSI protocol is used.
[0016]
In addition, information specific to a logical volume associated with information specific to a magnetic disk is returned to software operating on a higher-level device that requires information specific to a magnetic disk.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to FIGS.
[0018]
In this embodiment, a case is considered in which a physical storage device is a magnetic disk, a virtual storage device is a logical volume, and a magnetic disk is logically accessed from a host device as a logical volume for access. Then, the attribute of the physical storage device is “magnetic disk information”, and the attribute of the virtual storage device is “logical volume information”.
[0019]
First, the configuration of the storage device control system of the present invention will be described with reference to FIG.
FIG. 1 is a configuration diagram of a storage device control system of the present invention.
[0020]
The storage device control system of the present invention has a configuration in which the
[0021]
Are logically configured as
[0022]
The
[0023]
The
[0024]
The logical volume configuration
[0025]
More specifically, the logical volume configuration
[0026]
The logical volume configuration information management table 122 is a table in which information on a logical volume and information on a magnetic disk are stored in association with each other.
[0027]
The magnetic disk
[0028]
The magnetic disk information integration means table 124 is a table in which information on the magnetic disk is integrated and a calculation method for each attribute used when returning the attribute of the logical volume and a fixed value for a response are stored.
[0029]
The
[0030]
Next, a schematic procedure of the storage device control method of the present invention will be described with reference to FIG.
FIG. 2 is a diagram showing a schematic procedure of the storage device control method of the present invention.
[0031]
The
[0032]
At this time, the higher-
[0033]
The higher-level device requests the attribute of the
[0034]
The switch integrates the attributes in consideration of the properties of the individual attributes (S664), and returns the integrated attributes to the host device (S665).
[0035]
Hereinafter, the procedure of the storage device control method will be described in more detail.
[0036]
First, a data structure used in the present invention will be described with reference to FIGS.
FIG. 3 is a schematic diagram showing the logical volume configuration information management table 122.
[0037]
The logical volume configuration information management table 122 is a table for associating a logical volume with a configuration of a magnetic disk. The logical volume configuration information management table 122 includes a
FIG. 4 is a schematic diagram showing an example of a magnetic disk information list.
[0038]
The magnetic disk information list is a list of information possessed by the magnetic disk, and FIG. 4 shows examples of the number of queuable items, the presence or absence of function support, the vendor name, the magnetic disk size, and the like.
[0039]
The queueable number is a number indicating how much a command can be queued by the magnetic disk. Whether or not a function is supported indicates whether or not a certain function is supported. The vendor name is the name of the vendor of the magnetic disk. The magnetic disk size indicates the storage capacity that can be stored.
FIG. 5 is a schematic diagram showing a magnetic disk information integration means table.
[0040]
The magnetic disk information integration means table 124 is a table for storing an arithmetic method and a fixed value used when integrating the magnetic disk information as an attribute of a logical volume, and stores the magnetic disk information stored in the
[0041]
Next, a process in which the magnetic disk information
FIG. 6 is a flowchart showing a process in which the magnetic disk information
[0042]
The magnetic disk information
[0043]
Next, the magnetic disk number corresponding to the logical volume is extracted from the logical volume configuration information management table 122 (S402). Then, a command for requesting magnetic disk information is issued to the magnetic disk (S403).
[0044]
Next, it is determined that a command requesting magnetic disk information has been issued to all magnetic disks constituting the logical volume (S404).
[0045]
If a command for requesting magnetic disk information has been issued to all magnetic disks, the process proceeds to S405, and if there is a magnetic disk for which no command has been issued, the process returns to S403.
[0046]
Then, all the magnetic disk information is extracted from the magnetic disk information list obtained from the plurality of magnetic disks (S405), and from the magnetic disk information integrating means table 124, the magnetic disk information integrating means 512 corresponding to the
[0047]
For example, in the example of "with function support" in the
[0048]
Examples of the function of the magnetic disk include a failure log holding function and a device level copy function.
[0049]
In the example of the "standard version" of the
[0050]
At this time, there is a case where the upper standard does not necessarily support the function of the lowest standard. In this case, among the target “standard versions”, the version of the common standard is used as the attribute of the logical volume as Be responsive.
[0051]
As another example, when the vendor name of the
[0052]
Further, when there is an inquiry about the magnetic disk size of the magnetic disk information n, the total value of the sizes of the magnetic disks constituting the logical volume is returned.
[0053]
In addition, for software that is not shown in FIG. 4 but runs on a higher-level device that requires information unique to the magnetic disk, information unique to the logical volume associated with information unique to the magnetic disk may be returned. Just fine.
[0054]
Finally, the integrated magnetic disk information list is transmitted to the host device 110 (S407).
[0055]
In the present embodiment, the magnetic disk information is integrated using the magnetic disk information integrating means table 124. However, in addition to this method, in step S406, multiple branch processing is performed for each magnetic disk information. It is also possible to perform a unique integration process on the magnetic disk information of the magnetic disk. In that case, the magnetic disk information integration means table 124 becomes unnecessary.
[0056]
In the present embodiment, the magnetic disk information list is acquired from the magnetic disk in response to a command requesting the magnetic disk information list from the
[0057]
Further, in this embodiment, the path switching unit, the logical volume configuration information management unit, and the magnetic disk information response unit coexist in the switch, but they are separated into separate devices and connected by a communication path such as a fiber channel. Then, an embodiment for realizing the present invention is also conceivable.
[0058]
As described above, by operating the magnetic disk information
[0059]
In the present embodiment, the
[0060]
In the present embodiment, a magnetic disk has been described as an example of a physical storage device. However, the present invention can be applied to a storage device that stores data in another storage medium, such as a magnetic tape, a semiconductor storage device, and an optical disk. .
[0061]
【The invention's effect】
According to the present invention, a switch having a function of configuring a plurality of logical volumes from a plurality of magnetic disks is appropriately responded to an inquiry about the attribute of a logical volume from a higher-level device, and the logical configuration and the inquiry are made. , And a storage device control method can be provided.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a storage device control system of the present invention.
FIG. 2 is a diagram showing a schematic procedure of a storage device control method of the present invention.
FIG. 3 is a schematic diagram showing a logical volume configuration information management table 122;
FIG. 4 is a schematic diagram showing an example of a magnetic disk information list.
FIG. 5 is a schematic diagram showing a magnetic disk information integration means table.
FIG. 6 is a flowchart showing a process in which the magnetic disk information
[Explanation of symbols]
110: host device, 120: switch, 130, 140: magnetic disk, 150, 160: logical volume, 121: logical volume configuration information management section, 122: logical volume configuration information management table, 123: magnetic disk information list response section, 124: magnetic disk information integration means table; 125: path switching unit.
Claims (9)
前記上位装置から前記仮想記憶装置の属性を問合せる手順と、
前記上位装置からの問合せに対して、前記仮想記憶装置を構成する物理記憶装置の属性を問合せる手順と、
前記物理記憶装置からの返答に対して、返答された属性を統合して前記仮想記憶装置の属性とする手順と、
前記上位装置からの前記仮想記憶装置の属性を問合せに対して返答する手順とを有することを特徴とする記憶装置制御方法。In a storage device control method for logically connecting one or more physical storage devices and accessing the virtual storage device from a higher-level device,
Querying the attribute of the virtual storage device from the higher-level device;
In response to an inquiry from the higher-level device, a procedure for inquiring about attributes of physical storage devices constituting the virtual storage device,
For responding to the response from the physical storage device, integrating the returned attributes into attributes of the virtual storage device;
Responding to the inquiry about the attribute of the virtual storage device from the higher-level device.
前記上位装置から前記仮想記憶装置の属性を問合せに対して、前記仮想記憶装置を構成する物理記憶装置の属性を問合せて、前記物理記憶装置から返答された属性を統合して前記仮想記憶装置の属性とし、前記上位装置からの前記仮想記憶装置の属性を問合せに対して返答することを有することを特徴とするスイッチ。In a switch that connects a higher-level device and one or more physical storage devices, and logically accesses the physical storage device and makes it accessible as a virtual storage device,
In response to an inquiry about the attribute of the virtual storage device from the higher-level device, an inquiry is made about the attribute of the physical storage device constituting the virtual storage device, and the attributes returned from the physical storage device are integrated to integrate the attributes of the virtual storage device. A switch comprising: responding to a query with an attribute of the virtual storage device from the host device as an attribute.
このシステムは、
上位装置と、
一つ以上の物理記憶装置と、
前記物理記憶装置と前記上位装置とを接続し、前記物理記憶装置を論理化し仮想記憶装置としてアクセスさせるスイッチとを有し、
前記上位装置は、前記仮想記憶装置の属性を前記スイッチに対して問合せて、
前記スイッチは、前記上位装置からの問合せに対して、前記仮想記憶装置を構成する物理記憶装置の属性を問合せて、前記物理記憶装置からの返答に対して、返答された属性を統合して前記仮想記憶装置の属性として、前記上位装置からの前記仮想記憶装置の属性を問合せに対して返答することを特徴とする記憶装置制御システム。In a storage device control system in which one or more physical storage devices are logically accessed from a higher-level device and accessed as a virtual storage device,
This system is
A host device,
One or more physical storage devices;
A switch that connects the physical storage device and the higher-level device, logically logicalizes the physical storage device, and accesses the virtual storage device,
The higher-level device queries the switch for an attribute of the virtual storage device,
The switch inquires of an attribute of a physical storage device constituting the virtual storage device in response to an inquiry from the higher-level device, and in response to a response from the physical storage device, integrates the returned attributes and integrates the returned attribute. A storage device control system, wherein an attribute of the virtual storage device from the higher-level device is responded to an inquiry as an attribute of the virtual storage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003119715A JP4384436B2 (en) | 2003-04-24 | 2003-04-24 | Storage device control method, storage device control system, and switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003119715A JP4384436B2 (en) | 2003-04-24 | 2003-04-24 | Storage device control method, storage device control system, and switch |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004326401A true JP2004326401A (en) | 2004-11-18 |
JP4384436B2 JP4384436B2 (en) | 2009-12-16 |
Family
ID=33498869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003119715A Expired - Fee Related JP4384436B2 (en) | 2003-04-24 | 2003-04-24 | Storage device control method, storage device control system, and switch |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4384436B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006235843A (en) * | 2005-02-23 | 2006-09-07 | Hitachi Ltd | Storage control device, and its control method |
JP2014179066A (en) * | 2013-02-14 | 2014-09-25 | Panasonic Corp | Storage control device, storage system, and storage control method |
-
2003
- 2003-04-24 JP JP2003119715A patent/JP4384436B2/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006235843A (en) * | 2005-02-23 | 2006-09-07 | Hitachi Ltd | Storage control device, and its control method |
US8051225B2 (en) | 2005-02-23 | 2011-11-01 | Hitachi, Ltd. | Storage controller and controlling method therefor |
US8296468B2 (en) | 2005-02-23 | 2012-10-23 | Hitachi, Ltd. | Storage controller and controlling method therefor |
JP2014179066A (en) * | 2013-02-14 | 2014-09-25 | Panasonic Corp | Storage control device, storage system, and storage control method |
Also Published As
Publication number | Publication date |
---|---|
JP4384436B2 (en) | 2009-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7552125B1 (en) | Synergistic data structures | |
US7260656B2 (en) | Storage system having a plurality of controllers | |
US7676628B1 (en) | Methods, systems, and computer program products for providing access to shared storage by computing grids and clusters with large numbers of nodes | |
RU2302034C2 (en) | Multi-protocol data storage device realizing integrated support of file access and block access protocols | |
CN105975214B (en) | Object storage system configured for input/output operations | |
JP4451293B2 (en) | Network storage system of cluster configuration sharing name space and control method thereof | |
JP4836533B2 (en) | File system migration method in storage system, storage system, and management computer | |
JP2004310621A (en) | File access method, and program for file access in storage system | |
JP4806572B2 (en) | Controlling access in a storage system that distributes the reference load by data mirroring | |
US20210344772A1 (en) | Distributed database systems including callback techniques for cache of same | |
JP2003345631A (en) | Computer system and allocating method for storage area | |
US20070214253A1 (en) | Fault notification based on volume access control information | |
US20220261377A1 (en) | Scalable multi-tier storage structures and techniques for accessing entries therein | |
JP2002082775A (en) | Computer system | |
US20070079098A1 (en) | Automatic allocation of volumes in storage area networks | |
US8285749B2 (en) | Computer system and recording medium | |
JP2003141054A (en) | Storage management computer | |
US20140259123A1 (en) | Aliasing of exported paths in a storage system | |
US20070174360A1 (en) | Storage system embedding database | |
US7275064B2 (en) | Apparatus for managing virtualized-information | |
US7293152B1 (en) | Consistent logical naming of initiator groups | |
US7831623B2 (en) | Method, system, and article of manufacture for storing device information | |
JP4384436B2 (en) | Storage device control method, storage device control system, and switch | |
US8996802B1 (en) | Method and apparatus for determining disk array enclosure serial number using SAN topology information in storage area network | |
US8521954B2 (en) | Management computer and volume configuration management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060404 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20060404 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090318 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090331 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090528 |
|
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: 20090925 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121002 Year of fee payment: 3 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (prs 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 |