JP3715439B2 - File access system and file control device - Google Patents

File access system and file control device Download PDF

Info

Publication number
JP3715439B2
JP3715439B2 JP21826398A JP21826398A JP3715439B2 JP 3715439 B2 JP3715439 B2 JP 3715439B2 JP 21826398 A JP21826398 A JP 21826398A JP 21826398 A JP21826398 A JP 21826398A JP 3715439 B2 JP3715439 B2 JP 3715439B2
Authority
JP
Japan
Prior art keywords
file
logical
logical device
access
file control
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
Application number
JP21826398A
Other languages
Japanese (ja)
Other versions
JP2000047923A (en
Inventor
豊 日吉
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP21826398A priority Critical patent/JP3715439B2/en
Publication of JP2000047923A publication Critical patent/JP2000047923A/en
Application granted granted Critical
Publication of JP3715439B2 publication Critical patent/JP3715439B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ファイル制御装置に係り、特に、ファイル装置を物理装置単位ではなく論理デバイスとして扱う場合のファイル保護に適用して有効な技術に関する。
【0002】
【従来の技術】
近年、ホストコンピュータとファイル装置(磁気ディスク装置)とのデータをより高速かつ、スムーズに伝送するためにメモリを内臓したファイル制御装置を用いている。
【0003】
このような従来技術のシステム構成を示したものが図1である。同図において、1はホストコンピュータ、2はチャネルインターフェース、3はファイル制御装置、4は磁気ディスク装置、5はプロテクトスイッチである。
【0004】
同図に示すように、このファイル制御装置3に接続される磁気ディスク装置4にはファイル保護のためのプロテクト・スイッチ5(Read Onlyスイッチ)が設けられており、このスイッチ5をオン・オフすることによってホストコンピュータ1からの書き込み処理を許可・禁止できるようになっていた。
【0005】
また、ファイル制御装置全体のアクセス制御は、ホストコンピュータ1からのチャネルインターフェース2の接続をそれぞれのファイル制御装置3のオペレータパネル(図示せず)のスイッチ操作により切り離すことにより実現していた。
【0006】
さらに、個々の磁気ディスク装置4へのアクセス禁止は個々の電源をオフにすることにより実現していた。
【0007】
【発明が解決しようとする課題】
しかし、近年のファイル装置構成はRaid装置が主流となり、ホストコンピュータ1から管理可能なファイル装置は個々の物理装置ではなく論理デバイスとなり、実際の物理装置とは1対nの関係で構成されるようになってきた。
【0008】
そのため、個々の磁気ディスク装置4に設けられている物理的なプロテクトスイッチ5では複数の論理デバイスを装置単位に扱うことが難しくなってきた。
また、論理デバイス単位のアクセス禁止等の制御も、物理装置の電源切断では同時に複数の論理デバイスが対象になってしまい、不都合が生じていた。
【0009】
さらに、ファイル制御装置単位でのアクセス制限においても、インターフェース単位のスイッチによる切断では管理が煩雑になってきている。
加えて、ファイル制御装置およびファイル装置はホストコンピュータ1から物理的に隔離された位置にあることが多く、オペレータが装置状態を把握したいときには隔離されたファイル制御装置3やファイル装置(磁気ディスク装置4)まで出向かなければならなかった。
【0010】
本発明は、このような点に鑑みてなされたものであり、論理装置単位、ファイル制御装置単位でのファイル保護が容易なファイル制御装置システムを提供することにある。
【0011】
【課題を解決するための手段】
本発明の第1の手段は、複数の物理的な記憶装置群で論理装置を構成するファイル装置と、前記ファイル装置に対して書き込みおよび読み出しを行うホスト装置とを有し、さらに、前記ホスト装置とファイル装置との間にファイル制御装置を介在させ、このファイル制御装置には、論理デバイス毎にその状態を記述した論理デバイステーブルと前記ホスト装置からファイル装置にアクセスがあったときに前記論理デバイステーブルを参照して書き込みまたは読み出しを許可するか否かを通知するアクセス制御手段とを持たせた構成とした。
【0012】
ここでファイル装置とは、たとえば論理的な磁気ディスク装置群で1つの物理装置を構成したものであり、論理デバイスと実際の物理装置がn対1(n=整数)の関係にあるような場合または、物理的な磁気ディスク装置群を複数の論理装置で構成したn対mの関係になる場合をいう。すなわち、論理デバイス毎に論理デバイステーブルを持たせることによって、磁気ディスク装置等の論理装置群で構成される物理デバイスを論理デバイス単位としたファイル装置の状態を把握できるようになる。
【0013】
本発明の第2の手段は、複数の論理的な記憶装置群で物理装置を構成するファイル装置と当該ファイル装置にアクセスするホスト装置との間に介在するファイル制御装置について、前記論理デバイス毎にその状態を記述した論理デバイステーブルと、前記ホスト装置からファイル装置にアクセスがあったときに前記論理デバイステーブルを参照して書き込みまたは読み出しを許可するか否かを通知するアクセス制御手段とを備えた構成とした。
【0014】
ファイル制御手段をこのような構成とすることにより、前記第1の手段と同様に、論理デバイス毎に論理デバイステーブルを持たせることで磁気ディスク装置等の物理装置で構成される論理デバイスを単位としたファイル装置の状態を把握できるようになる。
【0015】
本発明の第3の手段は、前記第2の手段において、前記論理デバイステーブルを前記ファイル制御装置の外に設置された保守デバイスより発行される制御コマンドによりその内容を更新可能とした。
【0016】
これにより、保守デバイスを通じて外部から制御コマンドを発行することにより、ファイル装置の論理デバイス毎に読み出し専用、読み書き許可等のモードの更新が可能になる。
【0017】
本発明の第4の手段は、前記第2または第4の手段において、前記論理デバイステーブルについて、論理デバイスが読み込み専用であることを示すフラグと、読み書き可能であることを示すフラグと、論理デバイスそのものがアクセス禁止であることを示すフラグと、当該ファイル制御装置そのものがアクセス禁止であることを示すフラグとを含むようにした。これらのフラグを書き換えることにより、モードの変更が容易となる。
【0018】
本発明の第5の手段は、複数の論理的な記憶装置群で物理装置を構成するファイル装置と、前記ファイル装置に対して書き込みおよび読み出しを行うホスト装置と、前記ホスト装置とファイル装置との間にファイル制御装置を介在し、このファイル制御装置には、前記論理デバイス毎にその状態を記述した論理デバイステーブルと、前記ホスト装置からファイル装置にアクセスがあったときに前記論理デバイステーブルを参照して書き込みまたは読み出しを許可するか否かを通知するアクセス制御手段とを持たせた。さらに、このアクセス制御手段に対して、ファイル制御装置内の前記論理デバイステーブルを一括して管理する論理デバイス管理テーブルを備えた保守デバイス装置を接続した。保守デバイス装置は、この論理デバイス管理テーブルの内容を参照しこれを書き換えた制御コマンドを前記ファイル制御装置に送信することにより前記ファイル制御装置の論理デバイステーブルを一括して更新することができる。
【0019】
本発明の第6の手段は、前記第5の手段において、前記保守デバイス装置の上位に、複数の保守デバイス装置を管理する保守デバイス管理装置を設けた構成とした。そして、この保守デバイス管理装置には、ファイル制御装置毎の論理デバイス管理テーブルを格納した一括管理テーブルを備えた構成とした。これにより、保守デバイス管理装置からはファイル制御装置に対して一括でそのファイル制御装置に収容されるファイル装置のアクセスモードを変更できる。
【0020】
【発明の実施の形態】
本発明の実施の形態を図に基づいて説明する。図は、本実施形態におけるシステム構成を示している。
【0021】
同図において、1はホストコンピュータ、2はチャネルインターフェース、3はファイル制御装置、4は磁気ディスク装置、6は保守デバイス、7は保守インターフェースである。
【0022】
ファイル装置3の内部は、ホストコンピュータ1から受信したコマンドの解析を行うチャネルアダプタモジュールモジュール31(CA:Channel Adaptor)と、磁気ディスク装置4へのインターフェースとして機能するデバイスアダプタモジュール32(DA:Device Adaptor)と、メモリ9(MEM)とその管理を行うメモリ制御部33(FE:Future Engine)とを有している。前記メモリ9(MEM)は一時蓄積バッファとして機能する。ファイル制御装置3の内部にはさらに、チャネルアダプタモジュール(CA)31とデバイスアダプタモジュール(DA)32との間のデータ伝送を管理するリソース管理部34(RM:Resource Manager)を有している。このリソース管理部34(RM)はテーブル記憶部(RS:Table Strage)を備えている。リソース管理部34(RM)は、ホストコンピュータ1からのアクセスがあった場合に、当該アクセスが論理デバイスの中の具体的などの物理装置に該当するかを対応付けるテーブル記憶部(RS)を参照しながら磁気ディスク装置4へのアクセスを制御する。
【0023】
さらに、ファイル制御装置3は内蔵磁気ディスク装置(HD)8を備えたサービスアダプタモジュール(SA:Service Adaptor)35を有している。このサービスアダプタモジュール(SA)35は、障害情報の収集や初期ファームウエアのローディングを管理し、保守インターフェース7を通じて保守デバイス6と接続されている。このハードディスク装置(HD)には、ファイル制御装置3のファームウエアおよびチャネルインターフェース2が動作するための各種テーブルおよびデータ等が格納される。
【0024】
さらに、このハードディスク装置(HD)には、磁気ディスク装置4を論理デバイス装置として扱うための論理デバイステーブル(制御テーブル)が格納される。
【0025】
ファイル制御装置3の電源が投入されるとサービスアダプタモジュール(SA)はファイル制御装置3内の全てのモジュールのファームウエアをローディングすると同時に各種テーブルデータをメモリ9(MEM)を通して転送する。
【0026】
また、本発明の各種テーブルも同時にメモリ9(MEM)に展開され、リソース管理部34(RM)に通知される。
ホストコンピュータ1からファイル制御装置3および磁気ディスク装置4へのアクセスは次にのように制御される。
【0027】
まず、ホストコンピュータ1からの書き込みコマンド(Write)はチャネルアダプタモジュール31(CA)により解読されて、ファイル制御装置3は当該コマンドが書き込み処理(Write Operation)であることを知る。
【0028】
次に、チャネルアダプタモジュール31(CA)は磁気ディスク装置4のデバイス状態を調べるため、リソース管理部34(RM)にアクセスする。
ここで、リソース管理部34(RM)は、論理デバイス装置単位に図3に示す論理デバイステーブル301により論理装置の管理を行っている。
【0029】
本実施例では、この論理デバイステーブル301は、図4に示すファイル制御装置全体を管理する論理デバイス管理テーブル401に格納されている。
当該論理デバイステーブル301は8ビットで構成されており、0ビットが読み出し専用フラグ、1ビットが読み書き許可フラグ、2ビットが装置アクセス禁止フラグ、4ビットがファイル制御装置アクセス禁止フラグ、7ビットが有効フラグとなっている。ここで、リソース管理部34(RM)は、0ビットの読み出し専用フラグが設定されているか否かを調べる。そして当該読み出し専用フラグが”1”すなわち読み出し専用状態となっている場合には、チャネルアダプタモジュール31(CA)に対して読み出し専用モードであることを通知する。
【0030】
これにより、チャネルアダプタモジュール31(CA)は、書き込み禁止状態であることを認識してライトプロテクト・エラーとしてアクセス・エラーを上位のホストコンピュータ1に応答する。ホストコンピュータ1では、このエラーにより当該論理装置がプロテクトされていることを認識する。
【0031】
また、当該論理装置に対するアクセス禁止は、前記論理デバイステーブル301の装置アクセス禁止フラグ(2ビット目)が立っているか否かによって判定される。このフラグが立っている場合にはチャネルアダプタモジュール31(CA)によりアクセス禁止が判断され、ホストコンピュータ1からのアクセスに対して介入要求(IRQ)を応答することによりアクセス・エラーとする。
【0032】
さらに、ファイル制御装置3全体のアクセス禁止は、前記論理デバイステーブル301のファイル制御装置アクセス禁止フラグ(4ビット目)が立っているか否かにより判定される。このフラグが立っている場合にも、前記と同様に、チャネルアダプタモジュール31(CA)によりアクセス禁止が判断され、ホストコンピュータ1からのアクセスに対して介入要求(IRQ)を応答することによりアクセス・エラーとする。
【0033】
次に本発明の論理デバイステーブルの更新について説明する。
特定の論理装置の論理デバイステーブル301を更新する場合、保守デバイス6より図6に示すような制御コマンド601を保守インターフェース7を通じてサービスアダプタモジュール(SA)35に送信することにより行われる。この制御コマンド601のフォーマットは、図6に示すように、コマンドコード(CMD:ここでは”70”が格納される)、属性(ATB)およびパラメータが格納される。属性バイト(ATB)は7ビット構成となっており、0ビット目が読み出し専用フラグ、1ビット目が読み書きモードフラグ、2ビット目が装置アクセス禁止フラグ、4ビット目がファイル制御装置アクセス禁止フラグ、7ビット目がセット/リセット指示フラグとなっている。3ビット目および6〜5ビット目は用いられない。
【0034】
前記論理デバイステーブル301を変更する場合、保守デバイス6より前記属性バイト(ATB)の7ビット目、1ビット目および0ビット目のフラグの組み合わせによって変更が可能になる。たとえば、7ビット目=1,1ビット目=1の組み合わせであれば読み出し/書き込み許可モードに設定される。また、7ビット目=1,0ビット目=1であれば読み出し専用モードに設定される。さらに7ビット目=0とすればリセットされる。
【0035】
サービスアダプタモジュール(SA)35は、内蔵磁気ディスク装置(HD)8に保持しているファイル制御装置全体の論理デバイス管理テーブル401から該当する論理デバイステーブル301を読み出して、制御コマンド601の前記属性バイト(ATB)のビット状態に従った書き換えを行う。
【0036】
そして、サービスアダプタモジュール(SA)35は、リソース管理部34(RM)に論理装置の状態が変更になったことを通知する。リソース管理部34(RM)はこのような論理デバイステーブル301の更新により、たとえば当該論理装置を”読み出し専用”(Read Only)または”読み込み/書き出し”(Read/Write)に変更する。
【0037】
なお、論理装置単位のアクセス禁止は、図6に示した制御コマンド601の属性バイト(ATB)を7ビット目=1,2ビット目=1とすることによりホストコンピュータ1からのアクセスを禁止することができる。
【0038】
さらに、ファイル制御装置全体のアクセス禁止は、図6に示した制御コマンド601の属性バイト(ATB)を7ビット目=1,4ビット目=1とすることによりファイル制御装置3の単位で、ホストコンピュータ1からのアクセスを禁止することができる。
【0039】
なお、保守デバイス6からの指示により、サービスアダプタモジュール(SA)は内蔵磁気ディスク装置(HD)8とメモリ9(MEM)に保持している全論理装置の論理デバイステーブル301の「ファイル制御装置アクセス禁止フラグ」を更新することができる。そしてこの場合には、リソース管理部34(RM)に全論理装置の状態が変更されたことを通知する。リソース管理部34(RM)は自身が保有する全論理装置の論理デバイステーブルが更新されその後のホストコンピュータ1からのアクセスが全て禁止または許可となる制御が可能である。
【0040】
また、状態変更すべき論理装置が多数ある場合は図4に示したファイル制御装置全体の論理デバイス管理テーブル401を保守デバイス6に持たせてもよい。この場合、論理デバイス管理テーブル401は、オペレータの指示により更新可能となっている。
【0041】
保守デバイス6は、図7に示す一括制御コマンド701を保守インターフェース7を通じてファイル制御装置3に通知する。
ファイル制御装置3内では、サービスアダプタモジュール(SA)35は、当該コマンドにより転送されてくるファイル制御装置3の論理デバイス管理テーブル401を受け取り、内蔵磁気ディスク装置(HD)8に保持しているデータを更新する。また、ファイル制御装置3内のメモリ(MEM)9の管理データも同時に更新する。サービスアダプタモジュール(SA)35は、リソース管理部34(RM)に論理デバイス管理テーブル401の全体が更新されたことを通知する。リソース管理部34(RM)は論理デバイス管理テーブル401全体の更新を行う。
【0042】
このように、一括制御コマンド701を発行することにより、各論理装置の一括した状態変更が可能となる。
また、多数のファイル制御装置3(FCU)が存在して同様な管理を行うこともできる。図5は、このシステム構成を示している。すなわち、各ファイル制御装置(3a〜3x)を管理する保守デバイス(6a〜6x)は、LAN接続により保守デバイス管理装置501に接続されている。
【0043】
このような構成において、保守デバイス管理装置501内には図8に示すような一括管理テーブル801が設けられている。この中の各ファイル制御装置毎の制御パターンは図4に示した論理デバイス管理テーブルと同様な構成を有している。
【0044】
また、保守デバイス管理装置501の管理画面の構成例を示したものが図9である。同図に示すように、保守デバイス管理装置501では、各保守デバイス(6a〜6x)が管理するファイル制御装置(3a〜3x)毎にアクセス禁止モード、読み出し専用モード、読み出し/書き込み許可モードの別が表示されるようになっている。
【0045】
ここで、システム管理者は、各々のファイル制御装置3(FCU)内の論理装置の状態、およびファイル制御装置3(FCU)の状態を保守デバイス管理装置501を通じて変更することができる。
【0046】
これは、保守デバイス管理装置501から該ファイル制御装置3(FCU)に接続されている保守デバイス(6a〜6x)に図7の一括制御コマンド701と同様なコマンドを用いて指示を行う。この場合は、保守デバイス(6a〜x)は何もすることがないので単に上位からの指示をそのまま該ファイル制御装置3(FCU)に中継する。その後は前述の処理と同様に一括処理が機能し、管理テーブル801が更新される。
【0047】
なお、このときに図10の読み込み制御コマンド1001を用いることにより、ファイル制御装置3(FCU)の状態を読み出すことができ、装置の状態を直ちに把握することができる。
【0048】
この制御コマンド1001が保守デバイス(6a〜6x)からサービスアダプタモジュール(SA)に対して発行されると、内蔵磁気ディスク装置(HD)8およびメモリ9(MEM)に保持されている論理デバイステーブル301のデータは保守デバイス6に転送される。また、読み出し制御コマンド1001の属性バイト(ATB)を”80”とすることにより、ファイル制御装置3(FCU)に保持している内蔵磁気ディスク装置(HD)8およびメモリ9(MEM)の全データが保守アダプタ6に転送される。
【0049】
これにより、装置構成の変更時に論理装置の状態を調べることができ、保守デバイス6が論理装置全体のデータを持たない状態でも一括制御が可能となる。また、最新の全論理装置のデータを作成することが可能となる。
【0050】
また、論理装置の状態表示が可能となり、また、一度に状態を設定できることにより操作性が向上する。
また、複数のファイル制御装置3を1つの保守デバイス管理装置501で管理できるため、変更が容易であり、かつ、管理が簡素化され、信頼性も向上する。
【0051】
【発明の効果】
本発明によれば、論理デバイス単位のモード設定、ファイル制御装置単位のアクセス制御が可能となる。
【図面の簡単な説明】
【図1】 従来技術におけるファイルアクセスシステムのブロック図
【図2】 本発明の実施形態におけるファイルアクセスシステムの全体構成を示すブロック図
【図3】 実施形態における論理デバイステーブルのフォーマットを示す説明図
【図4】 実施形態における保守デバイスに収容される論理デバイス管理テーブルの構成図
【図5】 実施形態において複数の保守デバイスをLANで一括管理する場合の構成図
【図6】 実施形態に用いられる制御コマンドのフォーマット図
【図7】 実施形態に用いられる一括制御コマンドのフォーマット図
【図8】 実施形態における保守デバイス管理装置の管理テーブルデータ
【図9】 実施形態における保守デバイス管理装置上の管理表示画面の構成例
【図10】 実施形態で用いられる制御コマンドフォーマット図
【符号の説明】
1 ホストコンピュータ
2 チャネルインターフェース
3 ファイル制御装置
4 磁気ディスク装置
5 プロテクトスイッチ
6 保守デバイス
7 保守インターフェース
8 内蔵磁気ディスク(HD)
9 メモリ(MEM)
31 チャネルアダプタモジュール(CA)
32 デバイスアダプタモジュール(DA)
33 メモリ制御部(FE)
34 リソース管理部(RM)
35 サービスアダプタモジュール(SA)
301 論理デバイステーブル
401 論理デバイス管理テーブル
501 保守デバイス管理装置
601 制御コマンド
701 一括制御コマンド
801 一括管理テーブル
1001 制御コマンド
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a file control apparatus, and more particularly to a technique effective when applied to file protection when a file apparatus is handled as a logical device instead of a physical unit.
[0002]
[Prior art]
In recent years, a file control device having a built-in memory has been used in order to transmit data between a host computer and a file device (magnetic disk device) faster and more smoothly.
[0003]
FIG. 1 shows such a conventional system configuration. In the figure, 1 is a host computer, 2 is a channel interface, 3 is a file control device, 4 is a magnetic disk device, and 5 is a protect switch.
[0004]
As shown in the figure, the magnetic disk device 4 connected to the file control device 3 is provided with a protect switch 5 (Read Only switch) for protecting the file, and this switch 5 is turned on / off. Thus, the writing process from the host computer 1 can be permitted / prohibited.
[0005]
Also, the access control of the entire file control apparatus is realized by disconnecting the connection of the channel interface 2 from the host computer 1 by operating the switch on the operator panel (not shown) of each file control apparatus 3.
[0006]
Further, the prohibition of access to each magnetic disk device 4 is realized by turning off each power supply.
[0007]
[Problems to be solved by the invention]
However, in the recent file apparatus configuration, the Raid apparatus has become the mainstream, and the file apparatus that can be managed from the host computer 1 is not an individual physical apparatus but a logical device, and is configured in a one-to-n relationship with an actual physical apparatus. It has become.
[0008]
For this reason, it has become difficult to handle a plurality of logical devices in units of the physical protect switch 5 provided in each magnetic disk device 4.
Also, control such as access prohibition for each logical device is inconvenient because a plurality of logical devices are targeted simultaneously when the physical device is powered off.
[0009]
Furthermore, even in the access restriction in units of file control devices, management is complicated by disconnection by a switch in units of interfaces.
In addition, the file control device and the file device are often physically separated from the host computer 1, and when the operator wants to grasp the device state, the isolated file control device 3 or file device (magnetic disk device 4). ) Had to go out.
[0010]
The present invention has been made in view of these points, and it is an object of the present invention to provide a file control apparatus system that can easily protect files in units of logical units and file control units.
[0011]
[Means for Solving the Problems]
According to a first aspect of the present invention, there is provided a file device that constitutes a logical device with a plurality of physical storage device groups, and a host device that writes to and reads from the file device, and further the host device A file control device is interposed between the file device and the file control device. The file control device includes a logical device table describing the state of each logical device, and the logical device when the host device accesses the file device. Access control means for notifying whether writing or reading is permitted with reference to the table is provided.
[0012]
Here, the file device is, for example, one physical device configured by a logical magnetic disk device group, and the logical device and the actual physical device are in an n-to-1 (n = integer) relationship. Or, a case where the physical magnetic disk device group has an n-to-m relationship composed of a plurality of logical devices. That is, by providing a logical device table for each logical device, it becomes possible to grasp the state of a file device in which a physical device composed of a logical device group such as a magnetic disk device is a logical device unit.
[0013]
According to a second means of the present invention, a file control device interposed between a file device constituting a physical device with a plurality of logical storage device groups and a host device accessing the file device is provided for each logical device. A logical device table describing the state; and an access control means for notifying whether to permit writing or reading by referring to the logical device table when the host device accesses the file device. The configuration.
[0014]
By configuring the file control means in this way, as in the first means, each logical device has a logical device table so that each logical device made up of a physical device such as a magnetic disk device can be used as a unit. It becomes possible to grasp the status of the file device that has been used.
[0015]
According to a third means of the present invention, in the second means, the contents of the logical device table can be updated by a control command issued from a maintenance device installed outside the file control apparatus.
[0016]
As a result, by issuing a control command from the outside through the maintenance device, it becomes possible to update a mode such as read-only or read / write permission for each logical device of the file apparatus.
[0017]
According to a fourth means of the present invention, in the second or fourth means, with respect to the logical device table, a flag indicating that the logical device is read-only, a flag indicating that read / write is possible, and a logical device A flag indicating that the access is prohibited and a flag indicating that the file control apparatus itself is prohibited are included. The mode can be easily changed by rewriting these flags.
[0018]
According to a fifth aspect of the present invention, there is provided: a file device that constitutes a physical device with a plurality of logical storage device groups; a host device that writes to and reads from the file device; and the host device and the file device. A file control device is interposed between the logical device table describing the status of each logical device and the logical device table when the host device accesses the file device. And an access control means for notifying whether to permit writing or reading. Furthermore, a maintenance device device having a logical device management table for collectively managing the logical device tables in the file control device is connected to the access control means. The maintenance device device can collectively update the logical device table of the file control device by referring to the contents of the logical device management table and transmitting a control command rewritten to the file control device.
[0019]
According to a sixth means of the present invention, in the fifth means, a maintenance device management device for managing a plurality of maintenance device devices is provided above the maintenance device device. The maintenance device management apparatus includes a collective management table that stores a logical device management table for each file control apparatus. As a result, the maintenance device management device can change the access mode of the file devices accommodated in the file control device collectively for the file control device.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described with reference to the drawings. FIG. 2 shows a system configuration in the present embodiment.
[0021]
In the figure, 1 is a host computer, 2 is a channel interface, 3 is a file control device, 4 is a magnetic disk device, 6 is a maintenance device, and 7 is a maintenance interface.
[0022]
The file device 3 includes a channel adapter module module 31 (CA: Channel Adapter) that analyzes a command received from the host computer 1 and a device adapter module 32 (DA: Device Adapter) that functions as an interface to the magnetic disk device 4. ), A memory 9 (MEM), and a memory control unit 33 (FE: Future Engine) for managing the same. The memory 9 (MEM) functions as a temporary storage buffer. The file control device 3 further includes a resource manager 34 (RM: Resource Manager) that manages data transmission between the channel adapter module (CA) 31 and the device adapter module (DA) 32. The resource management unit 34 (RM) includes a table storage unit (RS: Table Strage). When there is an access from the host computer 1, the resource management unit 34 (RM) refers to a table storage unit (RS) that associates which specific physical device in the logical device the access corresponds to. The access to the magnetic disk device 4 is controlled.
[0023]
Further, the file control device 3 has a service adapter module (SA) 35 having a built-in magnetic disk device (HD) 8. This service adapter module (SA) 35 manages the collection of failure information and the initial firmware loading, and is connected to the maintenance device 6 through the maintenance interface 7. In the hard disk device (HD), firmware of the file control device 3 and various tables and data for operating the channel interface 2 are stored.
[0024]
Further, the hard disk device (HD) stores a logical device table (control table) for handling the magnetic disk device 4 as a logical device device.
[0025]
When the power source of the file control device 3 is turned on, the service adapter module (SA) loads the firmware of all modules in the file control device 3 and simultaneously transfers various table data through the memory 9 (MEM).
[0026]
Also, the various tables of the present invention are simultaneously expanded in the memory 9 (MEM) and notified to the resource management unit 34 (RM).
Access from the host computer 1 to the file control device 3 and the magnetic disk device 4 is controlled as follows.
[0027]
First, a write command (Write) from the host computer 1 is decoded by the channel adapter module 31 (CA), and the file control device 3 knows that the command is a write operation.
[0028]
Next, the channel adapter module 31 (CA) accesses the resource management unit 34 (RM) in order to check the device state of the magnetic disk device 4.
Here, the resource management unit 34 (RM) manages logical devices in units of logical devices using the logical device table 301 shown in FIG.
[0029]
In this embodiment, the logical device table 301 is stored in a logical device management table 401 that manages the entire file control apparatus shown in FIG.
The logical device table 301 is composed of 8 bits, 0 bit is a read-only flag, 1 bit is a read / write permission flag, 2 bits is a device access prohibition flag, 4 bits is a file control device access prohibition flag, and 7 bits are valid. It is a flag. Here, the resource management unit 34 (RM) checks whether a 0-bit read-only flag is set. When the read-only flag is “1”, that is, in the read-only state, the channel adapter module 31 (CA) is notified of the read-only mode.
[0030]
As a result, the channel adapter module 31 (CA) recognizes that it is in a write-inhibited state, and responds to the host computer 1 with an access error as a write protect error. The host computer 1 recognizes that the logical device is protected by this error.
[0031]
Further, the prohibition of access to the logical device is determined by whether or not the device access prohibition flag (second bit) in the logical device table 301 is set. When this flag is set, access prohibition is judged by the channel adapter module 31 (CA), and an access error is made by responding to an intervention request (IRQ) for access from the host computer 1.
[0032]
Further, the access prohibition of the entire file control apparatus 3 is determined by whether or not the file control apparatus access prohibition flag (fourth bit) in the logical device table 301 is set. Even when this flag is set, as described above, the access prohibition is judged by the channel adapter module 31 (CA), and an access request is made by responding to the intervention request (IRQ) for the access from the host computer 1. An error is assumed.
[0033]
Next, the update of the logical device table of the present invention will be described.
When updating the logical device table 301 of a specific logical device, the maintenance device 6 transmits a control command 601 as shown in FIG. 6 to the service adapter module (SA) 35 through the maintenance interface 7. As shown in FIG. 6, the format of the control command 601 stores a command code (CMD: “70” is stored here), an attribute (ATB), and a parameter. The attribute byte (ATB) is composed of 7 bits, the 0th bit is a read-only flag, the 1st bit is a read / write mode flag, the 2nd is a device access prohibition flag, the 4th bit is a file control device access prohibition flag, The seventh bit is a set / reset instruction flag. The third bit and the sixth to fifth bits are not used.
[0034]
When the logical device table 301 is changed, the maintenance device 6 can change the logical device table 301 by combining the seventh bit, first bit, and zeroth bit flag of the attribute byte (ATB). For example, if the combination of the seventh bit = 1 and the first bit = 1 is set, the read / write permission mode is set. If the 7th bit = 1, the 0th bit = 1, the read-only mode is set. If the 7th bit = 0, it is reset.
[0035]
The service adapter module (SA) 35 reads the corresponding logical device table 301 from the logical device management table 401 of the entire file control device held in the built-in magnetic disk device (HD) 8, and the attribute byte of the control command 601 Rewriting is performed according to the bit state of (ATB).
[0036]
Then, the service adapter module (SA) 35 notifies the resource manager 34 (RM) that the state of the logical device has been changed. The resource management unit 34 (RM) changes the logical device to, for example, “Read Only” or “Read / Write” (Read / Write) by updating the logical device table 301 as described above.
[0037]
The access prohibition for each logical unit is to prohibit the access from the host computer 1 by setting the attribute byte (ATB) of the control command 601 shown in FIG. Can do.
[0038]
Further, the access prohibition of the entire file control apparatus is performed by setting the attribute byte (ATB) of the control command 601 shown in FIG. Access from the computer 1 can be prohibited.
[0039]
In response to an instruction from the maintenance device 6, the service adapter module (SA) causes “file control device access” in the logical device table 301 of all the logical devices held in the built-in magnetic disk device (HD) 8 and the memory 9 (MEM). The “prohibition flag” can be updated. In this case, the resource management unit 34 (RM) is notified that the states of all the logical devices have been changed. The resource management unit 34 (RM) can perform a control in which the logical device table of all logical devices owned by itself is updated and all subsequent accesses from the host computer 1 are prohibited or permitted.
[0040]
If there are a large number of logical devices whose status is to be changed, the maintenance device 6 may have the logical device management table 401 of the entire file control device shown in FIG. In this case, the logical device management table 401 can be updated by an instruction from the operator.
[0041]
The maintenance device 6 notifies the file control apparatus 3 of the collective control command 701 shown in FIG.
In the file control device 3, the service adapter module (SA) 35 receives the logical device management table 401 of the file control device 3 transferred by the command, and stores the data held in the built-in magnetic disk device (HD) 8. Update. Also, the management data of the memory (MEM) 9 in the file control device 3 is updated at the same time. The service adapter module (SA) 35 notifies the resource manager 34 (RM) that the entire logical device management table 401 has been updated. The resource manager 34 (RM) updates the entire logical device management table 401.
[0042]
As described above, by issuing the batch control command 701, it is possible to collectively change the state of each logical device.
In addition, a large number of file control apparatuses 3 (FCUs) can exist and perform similar management. FIG. 5 shows this system configuration. That is, the maintenance devices (6a to 6x) that manage the file control apparatuses (3a to 3x) are connected to the maintenance device management apparatus 501 by LAN connection.
[0043]
In such a configuration, the maintenance device management apparatus 501 is provided with a collective management table 801 as shown in FIG. Among these, the control pattern for each file control apparatus has the same configuration as the logical device management table shown in FIG.
[0044]
FIG. 9 shows a configuration example of the management screen of the maintenance device management apparatus 501. As shown in the figure, in the maintenance device management apparatus 501, the access control mode, the read-only mode, and the read / write permission mode are classified for each file control apparatus (3a to 3x) managed by each maintenance device (6a to 6x). Is displayed.
[0045]
Here, the system administrator can change the state of the logical unit in each file control unit 3 (FCU) and the state of the file control unit 3 (FCU) through the maintenance device management unit 501.
[0046]
This is instructed from the maintenance device management apparatus 501 to the maintenance devices (6a to 6x) connected to the file control apparatus 3 (FCU) using a command similar to the collective control command 701 in FIG. In this case, since the maintenance device (6a-x) does nothing, it simply relays the instruction from the host to the file control unit 3 (FCU) as it is. Thereafter, the batch processing functions in the same manner as the above-described processing, and the management table 801 is updated.
[0047]
At this time, by using the read control command 1001 of FIG. 10, the state of the file control device 3 (FCU) can be read, and the state of the device can be immediately grasped.
[0048]
When this control command 1001 is issued from the maintenance device (6a to 6x) to the service adapter module (SA), the logical device table 301 held in the built-in magnetic disk device (HD) 8 and the memory 9 (MEM). Is transferred to the maintenance device 6. Further, by setting the attribute byte (ATB) of the read control command 1001 to “80”, all data in the internal magnetic disk device (HD) 8 and the memory 9 (MEM) held in the file control device 3 (FCU). Is transferred to the maintenance adapter 6.
[0049]
As a result, the state of the logical device can be checked when the device configuration is changed, and collective control is possible even when the maintenance device 6 does not have data for the entire logical device. It is also possible to create the latest data of all logical devices.
[0050]
Further, the status of the logical device can be displayed, and the operability is improved by setting the status at a time.
In addition, since a plurality of file control apparatuses 3 can be managed by one maintenance device management apparatus 501, changes are easy, management is simplified, and reliability is improved.
[0051]
【The invention's effect】
According to the present invention, mode setting in units of logical devices and access control in units of file control devices are possible.
[Brief description of the drawings]
FIG. 1 is a block diagram of a conventional file access system. FIG. 2 is a block diagram showing an overall configuration of a file access system according to an embodiment of the invention. FIG. 3 is an explanatory diagram showing a format of a logical device table in the embodiment. 4 is a configuration diagram of a logical device management table accommodated in the maintenance device in the embodiment. FIG. 5 is a configuration diagram in the case where a plurality of maintenance devices are collectively managed in the LAN in the embodiment. FIG. 6 is a control used in the embodiment. Command format diagram [FIG. 7] Format diagram of collective control command used in the embodiment [FIG. 8] Management table data of the maintenance device management apparatus in the embodiment [FIG. 9] Management display screen on the maintenance device management apparatus in the embodiment [Fig. 10] Control command file used in the embodiment Format [Explanation of symbols]
1 Host computer 2 Channel interface 3 File control device 4 Magnetic disk device 5 Protect switch 6 Maintenance device 7 Maintenance interface 8 Built-in magnetic disk (HD)
9 Memory (MEM)
31 channel adapter module (CA)
32 Device Adapter Module (DA)
33 Memory control unit (FE)
34 Resource Management Department (RM)
35 Service Adapter Module (SA)
301 Logical Device Table 401 Logical Device Management Table 501 Maintenance Device Management Device 601 Control Command 701 Batch Control Command 801 Batch Management Table 1001 Control Command

Claims (3)

複数の物理的な記憶装置群で論理デバイスを構成するファイル装置と、
前記ファイル装置に対して書き込みおよび読み出しを行うホスト装置と、
前記ホスト装置とファイル装置との間に介在し、前記論理デバイス毎にその状態を記述した論理デバイステーブルと、前記ホスト装置からファイル装置にアクセスがあったときに前記論理デバイステーブルを参照して書き込みまたは読み出しを許可するか否かを通知するアクセス制御手段とを備えた複数のファイル制御装置と、
前記ファイル制御装置ごとに各ファイル制御装置内の前記論理デバイステーブルを一括して管理する論理デバイス管理手段と、
前記論理デバイス管理手段間はネットワーク接続され、複数の前記論理デバイス管理手段を一括管理する論理デバイス一括管理手段とを有することを特徴とするファイルアクセスシステム。
A file device that constitutes a logical device with a plurality of physical storage device groups, and
A host device for writing to and reading from the file device;
A logical device table that is interposed between the host device and the file device and describes the state of each logical device, and written by referring to the logical device table when the host device accesses the file device Or a plurality of file control devices comprising an access control means for notifying whether to permit reading, or
Logical device management means for collectively managing the logical device table in each file control device for each file control device;
A file access system comprising: a logical device collective management unit configured to collectively manage a plurality of the logical device management units, wherein the logical device management units are connected to a network .
前記論理デバイステーブルは、前記ファイル制御装置の外に設置された手段により発行される制御コマンドによりその内容を更新可能である請求項1記載のファイルアクセスシステム。2. The file access system according to claim 1, wherein the contents of the logical device table can be updated by a control command issued by means installed outside the file control apparatus. 前記論理デバイステーブルは、論理デバイスが読み込み専用であることを示すフラグと、読み書き可能であることを示すフラグと、論理デバイスそのものがアクセス禁止であることを示すフラグと、当該ファイル制御装置そのものがアクセス禁止であることを示すフラグとを含む請求項1または請求項2記載のファイルアクセスシステム。The logical device table includes a flag indicating that the logical device is read-only, a flag indicating that read / write is possible, a flag indicating that the logical device itself is prohibited to access, and an access by the file control device itself. 3. The file access system according to claim 1, further comprising a flag indicating prohibition.
JP21826398A 1998-07-31 1998-07-31 File access system and file control device Expired - Fee Related JP3715439B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21826398A JP3715439B2 (en) 1998-07-31 1998-07-31 File access system and file control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21826398A JP3715439B2 (en) 1998-07-31 1998-07-31 File access system and file control device

Publications (2)

Publication Number Publication Date
JP2000047923A JP2000047923A (en) 2000-02-18
JP3715439B2 true JP3715439B2 (en) 2005-11-09

Family

ID=16717140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21826398A Expired - Fee Related JP3715439B2 (en) 1998-07-31 1998-07-31 File access system and file control device

Country Status (1)

Country Link
JP (1) JP3715439B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8671460B1 (en) * 2000-09-25 2014-03-11 Fisher-Rosemount Systems, Inc. Operator lock-out in batch process control systems
US20070180312A1 (en) * 2006-02-01 2007-08-02 Avaya Technology Llc Software duplication
JP4900903B2 (en) * 2006-02-24 2012-03-21 東京エレクトロン株式会社 Substrate processing apparatus, parameter management system for substrate processing apparatus, parameter management method for substrate processing apparatus, program, and storage medium

Also Published As

Publication number Publication date
JP2000047923A (en) 2000-02-18

Similar Documents

Publication Publication Date Title
JP3997061B2 (en) Storage subsystem and storage subsystem control method
US7653792B2 (en) Disk array apparatus including controller that executes control to move data between storage areas based on a data protection level
US7185169B2 (en) Virtual physical drives
US7467275B2 (en) Capacity expansion volume migration method
US7634616B2 (en) Remote disk control apparatus, and remote disk control method
JP4949088B2 (en) Remote mirroring between tiered storage systems
US8296468B2 (en) Storage controller and controlling method therefor
US20060155944A1 (en) System and method for data migration and shredding
JP4521865B2 (en) Storage system, computer system, or storage area attribute setting method
WO2003052604A1 (en) Data backup and restoration using dynamic virtual storage
JPH09502035A (en) Computer network with reliable and efficient removable media services
JP2787911B2 (en) Data storage management method and data storage management method
US7370165B2 (en) Apparatus and method for protecting data recording on a storage medium
EP2081127A1 (en) Controller for controlling logical volume-related settings
JP2009169650A (en) Computer system, management computer, and data management method
US6282584B1 (en) Structure and method for reading/writing signature commands from/to a plurality of controller pairs
JP3715439B2 (en) File access system and file control device
JP2008135055A (en) Computer system and secondary storage device
EP1895427B1 (en) Data processing system, data processing apparatus, and data processing method
US7266657B2 (en) Data protection device and method of securing data
JP3794322B2 (en) Data copy system
JP2006294052A (en) Computer system and secondary storage device
JP4641528B2 (en) Data writing program and data writing method
CA2454107C (en) Apparatus and method for protecting data recorded on a storage medium
JPH07325674A (en) Method for exchanging semiconductor memory and method for controlling semiconductor disk sub-system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050624

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: 20050809

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050825

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080902

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090902

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090902

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100902

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100902

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110902

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120902

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120902

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130902

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees