JP2001005702A - Computer system - Google Patents

Computer system

Info

Publication number
JP2001005702A
JP2001005702A JP11173664A JP17366499A JP2001005702A JP 2001005702 A JP2001005702 A JP 2001005702A JP 11173664 A JP11173664 A JP 11173664A JP 17366499 A JP17366499 A JP 17366499A JP 2001005702 A JP2001005702 A JP 2001005702A
Authority
JP
Japan
Prior art keywords
file
backup
computer
disk
file system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11173664A
Other languages
Japanese (ja)
Inventor
Kiyousuke Achiwa
恭介 阿知和
Kenji Yamakami
憲司 山神
Minoru Kosuge
稔 小菅
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11173664A priority Critical patent/JP2001005702A/en
Publication of JP2001005702A publication Critical patent/JP2001005702A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable a computer connected to SAN to access as a file pieces of data on a storage device which is controlled by another computer, does not have a file converting function of absorbing differences between systems, and is connected to the same SAN. SOLUTION: When a backup computer 1030 tries to access a disk 1090 on SAN 1080 controlled by a host computer 1020 on a file level, the backup computer 1030 inquires the kind of the file system controlling the disk 1090 of the host computer 1020 and then a backup computer 1040 reads file access information out of the disk 1090 by using the file system, so that the backup computer 1030 can access the data on the disk 1090 as a file.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【発明の属する技術分野】本発明はコンピューターシス
テム、さらに詳細には、SANに繋がるストレージへのア
クセス方式に係り、特に、自分で管理していないSAN上
のストレージ上のデータをファイルとしてアクセスする
方式に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a computer system, and more particularly to a method of accessing storage connected to a SAN, and more particularly to a method of accessing data on storage on a SAN that is not managed by the user as a file. About.

【従来の技術】従来ストレージ装置はファイルサーバー
などのコンピューターにSCSI(Small Computer System I
nterface)などを介して直接つながっていた。他のコン
ピューターがファイルサーバーが管理するストレージ装
置にあるファイルにアクセスするには、必ずファイルサ
ーバーと、コンピューターとファイルサーバーを結ぶLA
N(Local Area Netowrk)を経由する必要があった。この
ため、ファイルサーバーの管理するストレージのバック
アップ時のように大量のデータを転送するときにはLAN
負荷が増大した。このような問題を解決するために、St
orage Area Network(以下、SANと呼ぶ)という概念が
提唱されている。SANは比較的新しい概念であり、まだ
厳密に定義されていないが、ここでは一つ以上のコンピ
ューターと一つ以上のストレージ装置を結ぶネットワー
ク環境をSANと呼ぶことにする。SANについての公知例と
して、日経エレクトロニクス1998.5.4号58-63ページが
ある。SAN上のあるストレージ装置のデータを同一SANに
接続されたバックアップ用ストレージ装置にバックアッ
プするにはLANを介する必要がないため、LANの負荷を増
大させることはない。また、SANに複数のコンピュータ
ーが接続されているとき、それらのコンピューターの間
でSAN上のストレージ装置を共有することができる。ま
た、異なるファイルシステムを持つコンピューター同士
がファイルを共有することを可能とするため、ファイル
フォーマット変換機能を持つハードディスクを作ること
を発表しているメーカーもある。
2. Description of the Related Art Conventionally, a storage device is provided in a computer such as a file server by SCSI (Small Computer System I).
nterface) and so on. In order for other computers to access files on the storage device managed by the file server, be sure to use the file server and the LA connecting the computer and the file server.
It had to go through N (Local Area Netowrk). Therefore, when transferring large amounts of data, such as when backing up storage managed by a file server, LAN
The load has increased. To solve such a problem, St
The concept of an orage area network (hereinafter referred to as a SAN) has been proposed. Although SAN is a relatively new concept and has not been strictly defined yet, a network environment that connects one or more computers and one or more storage devices will be referred to as a SAN here. As a publicly known example of SAN, there is Nikkei Electronics 1998.5.4 No. 58-63. In order to back up data of a storage device on a SAN to a backup storage device connected to the same SAN, there is no need to go through a LAN, so that the load on the LAN is not increased. Further, when a plurality of computers are connected to the SAN, a storage device on the SAN can be shared between the computers. Also, some companies have announced that they will create hard disks with file format conversion capabilities to allow computers with different file systems to share files.

【発明が解決しようとする課題】ファイルシステム間の
違いを吸収するファイル変換機能を持たないストレージ
装置がSANに繋がっており、また、そのストレージ装置
を管理(初期化と読み書き)しているコンピューター
と、別のコンピューターも同じSANに繋がっている場合
を考える。このとき、そのストレージ装置を管理してい
ないコンピューターはそのストレージ装置上のファイル
の管理情報を持たないため、そのストレージ装置上のデ
ータに対して直接ファイルとしてアクセスを行うことが
できないという問題があった。本発明の目的はSANに繋
がっているコンピューターが、別のコンピューターが管
理していて、ファイルシステム間の違いを吸収するファ
イル変換機能を持たない、同じSANに繋がっているスト
レージ装置上のデータをファイルとしてアクセスできる
ようにする方式を提供することである。
A storage device without a file conversion function for absorbing differences between file systems is connected to a SAN, and a computer that manages the storage device (initialization and reading / writing) Suppose another computer is also connected to the same SAN. At this time, since the computer that does not manage the storage device does not have the file management information on the storage device, there is a problem that data on the storage device cannot be directly accessed as a file. . An object of the present invention is to store data on a storage device connected to the same SAN, where a computer connected to the SAN is managed by another computer and does not have a file conversion function to absorb differences between file systems. Is to provide a scheme that allows access as

【課題を解決するための手段】上記目的を達成するため
に、自分で管理していないストレージ(SAN上にある)
上のファイルをアクセスしたいコンピューター(コンピ
ューターA)は、そのストレージを管理しているコンピ
ューター(コンピューターB)に、どのファイルシステ
ムを使ってそのストレージを管理しているかを問い合わ
せ、コンピューターBはそのストレージを管理している
ファイルシステム種類をコンピューターAに通知するこ
とで、コンピューターAはそのストレージを管理してい
るファイルシステムを選択し、選択したファイルシステ
ムを通じてそのストレージのファイル管理情報を読み出
すことで、そのストレージ上のデータをファイルとして
アクセスすることができるようにする。また、上記目的
を達成するために、自分で管理していないストレージ
(SAN上にある)上のファイルをアクセスしたいコンピ
ューター(コンピューターA)はそのストレージがどの
ファイルシステムを使用しているかの情報をユーザーか
らもらうことで、コンピューターAはそのストレージを
管理しているファイルシステムを選択し、選択したファ
イルシステムを通じてそのストレージのファイル管理情
報を読み出すことで、そのストレージ上のデータをファ
イルとしてアクセスすることができるようにする。ま
た、上記目的を達成するために、自分で管理していない
ストレージ(SAN上にある)上のファイルをアクセスし
たいコンピューター(コンピューターA)は、コンピュ
ーターAが使用可能な複数のファイルシステムでそのス
トレージのファイル管理情報を読み出すことを試みるこ
とで、そのストレージ上のデータをファイルとしてアク
セスできるファイルシステムを選択する。また、上記目
的を達成するために、自分で管理していないストレージ
(SAN上にある)上のファイルをアクセスしたいコンピ
ューター(コンピューターA)は、そのストレージ上の
固定領域にあらかじめ保持されているファイルシステム
を読み出し、そのファイルシステムを使ってそのストレ
ージのファイル管理情報を読み出すことで、そのストレ
ージ上のデータをファイルとしてアクセスすることがで
きるようにする。
[Means for Solving the Problems] In order to achieve the above object, storage that is not managed by itself (it is on a SAN)
The computer that wants to access the above file (Computer A) asks the computer that manages the storage (Computer B) which file system is used to manage the storage, and Computer B manages the storage Notifying the computer A of the type of the file system being used, the computer A selects the file system that manages the storage, and reads out the file management information of the storage through the selected file system, so that the storage on the storage is To be accessible as a file. In order to achieve the above purpose, a computer (Computer A) who wants to access files on storage (on a SAN) that is not managed by himself / herself sends information on which file system that storage uses to the user. The computer A can access the data on the storage as a file by selecting the file system that manages the storage and reading the file management information of the storage through the selected file system To do. In order to achieve the above purpose, the computer (Computer A) who wants to access files on the storage (on the SAN) that is not managed by himself / herself uses the multiple file systems that Computer A can use. By trying to read the file management information, a file system that can access data on the storage as a file is selected. In order to achieve the above purpose, a computer (computer A) that wants to access files on storage (on a SAN) that is not managed by itself requires a file system that is stored in a fixed area on the storage in advance. By reading the file management information of the storage using the file system, the data on the storage can be accessed as a file.

【発明の実施の形態】(第1の実施例)図1は本発明を
適用するコンピューターシステム1000を示す。コンピュ
ーターシステム1000はコンピューター同士を結ぶLAN101
0、ホストコンピューター1020、データのバックアップ
を行うバックアップコンピューター1030、ストレージ用
のネットワークであるSAN1080、ホストコンピューター
のデータを格納するディスク1090、バックアップコンピ
ューター1030が管理し、バックアップデータを保存する
バックアップディスク1100およびバックアップテープ11
10から構成される。ホストコンピューター1020はファイ
ル管理を行うプログラムであるファイルシステムA1040
が動作しており、ディスク1090はホストコンピューター
1020がこのファイルシステムA1040を用いて初期化およ
びデータ読み書きしている。バックアップコンピュータ
ー1030ではファイルシステムA1040、ファイルシステムB
1050、ファイルシステムC1060、ファイルシステムD1070
の4種類のファイルシステムが動作している。バックア
ップディスク1100およびバックアップテープ1110はバッ
クアップコンピューター1030がファイルシステムD1070
を用いて初期化およびデータの読み書きを行っている。
本実施例では、SAN1080に繋がっているディスク1090、
バックアップディスク1100、バックアップテープ1110
は、SAN1080のプロトコルに従って、ホストコンピュー
ター1020およびバックアップコンピューター1030のいず
れからも物理的にアクセスは可能であるが、たとえばバ
ックアップディスク1100から見たホストコンピューター
1020のように、ストレージ装置を管理しているファイル
システムを持たないコンピューターはそのストレージの
ファイルやディレクトリの構造がわからないため、ファ
イルとしてデータアクセスすることができない。図2は
ホストコンピューター1020用のデータを格納するディス
ク1090を示す。ディスク1090はSAN1080とデータをやり
とりする口として、SANポートC1500を持ち、SANポートC
1500にはSANポートアドレスC1510が割り当てられてい
る。SANポートアドレスC1510をあて先として持つSAN108
0上のパケット(データ)はSANポートC1500に転送され
る。ディスク1090上にはファイルの属性やディレクトリ
構成といった管理情報であるファイルアクセス情報A153
0を格納しているメタデータ格納領域A1520と、ファイル
の実体であるデータを格納するファイル格納領域A1540
がある。また、ファイル格納領域A1540にはバックアッ
プ対象ファイル1550が格納されている。ディスク1090上
のファイルはファイルシステムA1040を用いてホストコ
ンピューター1020が作成したものであるため、ファイル
システムB1050、ファイルシステムC1060、ファイルシス
テムD1070ではアクセスできないものとする。本実施例
は、ホストコンピューター1020の管理するバックアップ
対象ファイル1550をバックアップコンピューター1030が
ファイルとして読み出し、バックアップする手順につい
て説明する。図3はホストコンピューター1020の構成を
示す。ホストコンピューター1020はLAN1010とデータを
やりとりする口としてLANポートA2000を持ち、LANポー
トA2000はLANポートアドレスA2010を持つ。LANポートア
ドレスA2010をあて先として持つLAN1010上のパケットは
LANポートA2000に転送される。また、ホストコンピュー
ター1020はSAN1080とデータをやりとりする口として、S
ANポートA2050を持ち、SANポートA2050にはSANポートア
ドレスA2060が割り当てられている。SANポートアドレス
A2060をあて先として持つSAN1080上のパケットはSANポ
ートA2050に転送される。ホストコンピューター1020上
では複数のプロセス2020、ファイルシステムの種類の通
知を行うファイルシステム通知プロセス2030が動いてい
る。ホストコンピューター1020ではファイルシステムA1
040が動いており、各プロセス2020が発行したファイル
アクセス要求はこのファイルシステムA1040がトラップ
し、SAN1080を経由してディスク1090に発行される。フ
ァイルシステムA1040が管理するアクセス情報格納領域2
040にはファイルアクセス情報A1530が存在し、この情報
を元にホストコンピューター1020はディスク1090上に配
置されたファイルにアクセスすることができる。図4は
バックアップコンピューター1030の構成を示す。バック
アップコンピューター1030はLAN1010とデータをやり取
りする口としてLANポートB2500を持ち、LANポートB2500
はLANポートアドレスB2510を持つ。LANポートアドレスB
2510をあて先として持つLAN1010上のパケットはLANポー
トB2500に転送される。また、バックアップコンピュー
ター1030はSAN1080とデータをやりとりする口として、S
ANポートB2560を持ち、SANポートB2560にはSANポートア
ドレスB2570には割り当てられている。SANポートアドレ
スB2570をあて先として持つSAN1080上のパケットはSAN
ポートB2560に転送される。バックアップコンピュータ
ー1030上では複数のプロセス2020、ユーザーからの指示
によりデータのバックアップ作業を行うバックアッププ
ロセス2520が動作している。バックアッププロセス2520
はユーザーが入力したパラメーターを格納する入力テー
ブル2530を管理する。バックアップコンピューター1030
はファイルシステムA1040、ファイルシステムB1050、フ
ァイルシステムC1050、ファイルシステムD1070の4つの
ファイルシステムが使用可能である。バックアップコン
ピューター1030が管理し、バックアップデータを格納す
るバックアップディスク1100およびバックアップテープ
1110は、ファイルシステムD1070を用いてアク
セスすることができる。ファイルシステムD1070上のア
クセス情報管理領域2040にはバックアップディスク1100
上のファイル管理情報であるファイルアクセス情報B254
0と、バックアップテープ1110上のファイル管理情報で
あるファイルアクセス情報C2550が読みこまれている。
バックアップコンピューター1030はこのファイルアクセ
ス情報B2540を元にバックアップディスク1100上に配置
されたファイルにアクセスすることができ、同様にファ
イルアクセス情報C2550を元にバックアップテープ1110
上に配置されたファイルにアクセスすることができる。
本実施例の初期状態では、ファイルシステムA1040、フ
ァイルシステムB1050、ファイルシステムC1060上のそれ
ぞれのアクセス情報格納領域2040にはいかなるファイル
アクセス情報も読みこまれていないものとする。図5は
バックアップコンピューター1030からアクセスされ、バ
ックアップデータを格納するバックアップディスク1100
の構成を示す。バックアップディスク1100はSAN1080と
データをやりとりする口として、SANポートD3000を持
ち、SANポートD3000にはSANポートアドレスD3010が割り
当てられている。SANポートアドレスD3010をあて先とし
て持つSAN1080上のパケットはSANポートD3000に転送さ
れる。バックアップディスク1100上にはファイルの属性
やディレクトリ構成といった管理情報であるファイルア
クセス情報B2540を格納しているメタデータ格納領域B30
20と、ファイルの実体であるデータを格納するファイル
格納領域B3030がある。バックアップディスク1100上の
ファイルはファイルシステムD1070が作成したものであ
るため、ファイルシステムA1040、ファイルシステムB10
50、ファイルシステムC1060ではアクセスできないもの
とする。図6はバックアップコンピューター1030からア
クセスされ、バックアップデータを格納するバックアッ
プテープ1110の構成を示す。バックアップテープ1110は
SAN1080とデータをやりとりする口として、SANポートE3
500を持ち、SANポートE3500にはSANポートアドレスE351
0が割り当てられている。SANポートアドレスE3510をあ
て先として持つSAN1080上のパケットはSANポートE3500
に転送される。バックアップテープ1110上にはファイル
の属性やディレクトリ構成といった管理情報であるファ
イルアクセス情報C2550を格納しているメタデータ格納
領域C3520と、ファイルの実体であるデータを格納する
ファイル格納領域C3530がある。バックアップテープ111
0上のファイルはファイルシステムD1070が作成したもの
であるため、ファイルシステムA1040、ファイルシステ
ムB1050、ファイルシステムC1060ではアセスできないも
のとする。図18はユーザーがバックアップコンピュー
ター1030にバックアップを指示するときに入力するユー
ザー入力コマンド9500を示す。「backup」はバックアッ
プコマンド名称である。「hostabc」はバックアップの
対象となるファイルを管理するホストコンピューター10
20の名称である。「/tmp/test.txt」はバックアップの
対象ファイルであるバックアップ対象ファイル1550のフ
ルパス名である。このように、本実施例ではバックアッ
プコマンドに対し、バックアップ対象となるファイルの
フルパス名とそれを管理するコンピューターの名称をパ
ラメーターとして指定する。図7はユーザー入力したバ
ックアップコマンドのパラメーターを保持し、バックア
ッププロセス2520が管理する入力テーブル2530を示す。
入力テーブル2530はバックアップ対象コンピューター名
4000とバックアップ対象フルパスファイル名4010の情報
を持つ。バックアッププロセス2520はこれらの情報を元
にファイルのバックアップ処理を行う。図8はバックア
ップコンピューター1030上のバックアッププロセス2520
がファイルシステムの種類を問い合わせるために、ファ
イルシステムを知りたいコンピューターにLAN1010を経
由して送る問い合わせパケット4500を示す。問い合わせ
パケット4500は、送信対象LANポートアドレス4510、送
信元LANポートアドレス4515、ファイルシステム問い合
わせコマンド4520、バックアップ対象フルパスファイル
名4010の情報を持つ。図9はホストコンピューター1020
上のファイルシステム通知プロセス2030が、ファイルシ
ステム問い合わせ要求を受けたコンピューターに対し、
LAN1010を経由して送る通知パケット5000を示す。通知
パケット5000は、送信対象LANポートアドレス4510、送
信元LANポートアドレス4515、ファイルシステム通知コ
マンド5010、バックアップ対象SANポートアドレス502
0、バックアップ対象ファイルシステム種別5030の情報
を持つ。図10はバックアップ処理7500の流れを示す。
まずステップ7520でユーザーは、バックアップコンピュ
ーター1030に対して、ホストコンピューター1020が管理
するディスク1090上のバックアップ対象ファイル1550を
バックアップするよう指示を出す。具体的には、ユーザ
ー入力コマンド9500を入力する。入力テーブル2530にバ
ックアップ対象コンピューター名4000としてホストコン
ピューター1020の名称である「hostabc」をセットし、
入力テーブル2530のバックアップ対象フルパスファイル
名4010にはバックアップ対象ファイル1550のフルパスの
ファイル名として「/tmp/test.txt」をセットする。次
にステップ7540において、バックアッププロセス2520は
入力テーブル2530上の情報を元に問い合わせパケット45
00を作成し、LAN1010を経由してホストコンピューター1
020に送る。問い合わせパケット4500の送信対象LANポー
トアドレス4510にはホストコンピューター1020のLANポ
ートアドレスA2010を指定し、送信元LANアドレス4515に
はバックアップコンピューター1030のLANポートアドレ
スB2510を指定する。そしてファイルシステム問い合わ
せコマンド4520と、入力テーブル2530のバックアップ対
象フルパスファイル名4010を問い合わせパケット4500に
セットする。コンピューター名からそのコンピューター
に対応するLANのポートアドレスを得るにはコンピュー
ター名とLANポートアドレスを対応させるテーブルを参
照するのだが、本発明とは直接関係しない公知の技術で
あるため細かい説明は省略する。ホストコンピューター
1020が受け取った問い合わせパケット4500はファイルシ
ステム通知プロセス2030に渡される。更にステップ7560
において、ファイルシステム通知プロセス2030は通知パ
ケット5000を作成する。問い合わせパケット4500の送信
元LANポートアドレス4515を通知パケット5000の送信対
象LANポートアドレス4510にコピーし、通知パケット500
0の送信元LANポートアドレス4515には自LANポートのア
ドレスであるLANポートアドレスA2010をセットする。そ
して、ファイルシステム通知プロセス2030は問い合わせ
パケット4500のバックアップ対象フルパスファイル名40
10が示すバックアップ対象ファイル1550が格納されてい
るのがディスク1090であることをファイルシステムA104
0の管理するファイルアクセス情報A1530を調べて知り、
ディスク1090のSANポートアドレスCを通知パケット5000
のバックアップ対象SANポートアドレス5020にセットす
る。また、バックアップ対象ファイルシステム種別5030
にはバックアップ対象ファイル1550を格納しているディ
スク1090を管理しているファイルシステムA1040を指定
するのだが、これは、バックアップ対象ファイル1550を
管理する情報がホストコンピューター1020上のファイル
システムA1040のアクセス情報格納領域2040に格納され
ているファイルアクセス情報A1530に存在することから
わかる。そして、通知パケット5000はLAN1010を経由し
てバックアップコンピューター1030に送信され、バック
アッププロセス2520が受け取る。そしてステップ7580に
おいて、バックアッププロセス2520は受け取った通知パ
ケット5000のバックアップ対象ファイルシステム種別50
30を元に、バックアップ対象ファイル1550がファイルシ
ステムA1040で管理されているファイルであることを知
り、同様に通知パケット5000のバックアップ対象SANポ
ートアドレス5020を元に、バックアップ対象ファイル15
50の格納されているのがディスク1090であることを知
る。ついで、ステップ7600において、バックアッププロ
セス2520はファイルシステムA1040を用いてファイルシ
ステムA1040のアクセス情報格納領域2040にディスク109
0上のメタデータ格納領域A1520に格納されているファイ
ルアクセス情報A1530を読み込ませ、バックアップコン
ピューター1030がファイルシステムA1040を使って正し
くディスク1090上のファイルを読み書きできるようにす
る。ステップ7640では、バックアッププロセス2520がフ
ァイルシステムA1040に対してバックアップ対象ファイ
ル1550の読み出し要求を発行すると、ファイルシステム
A1040はディスク1090上のバックアップ対象ファイル155
0を読み出し、バックアッププロセス2520に渡す。最後
にステップ7660において、バックアッププロセス2520は
ファイルシステムD1070に対し、バックアップ対象ファ
イル1550をバックアップディスク1100にライトするよう
要求し、ファイルシステムD1070はファイルアクセス情
報B2540を元に、バックアップディスク1100にバックア
ップ対象ファイル1550を格納する。以上のようにして、
バックアップコンピューター1030はホストコンピュータ
ー1020の管理するディスク1090に格納されているバック
アップ対象ファイル1550を、ファイル単位でバックアッ
プコンピューター1030の管理するバックアップディスク
1100にバックアップすることができる。本実施例ではバ
ックアップディスク1100にバックアップする例を示した
が、バックアップテープ1110にも同様の処理を行うこと
でバックアップ対象ファイル1550をバックアップするこ
とができることは言うまでもない。また、本実施例では
問い合わせパケット4500や通知パケット5000がLAN1010
で送信される例を示したが、これらのパケットがSAN108
0で送信される場合についても本発明を適用可能である
ことは言うまでもない。また、通知パケット5000のバッ
クアップ対象SANポートアドレス5020の代わりにバック
アップ対象のファイルを格納するストレージの名称を持
つようにしても本発明は適用可能である。 (第2の実施例)第1の実施例では、ユーザーはファイ
ルのバックアップ要求を出すときに、バックアップの対
象ファイルを管理しているコンピューターと対象ファイ
ルのフルパス名を指定したが、第2の実施例は、バック
アップの対象となるファイルを格納しているストレージ
名と、対象ファイルのフルパス名、対象ファイルを管理
しているファイルシステムの種別をユーザーが入力する
場合について、第1の実施例と異なる点について示す。
図19はユーザーがバックアップコンピューター1030に
バックアップを指示するときに入力するユーザー入力コ
マンドA9520を示す。「backup」はバックアップコマン
ド名称である。「diskabc」はバックアップの対象とな
るファイルを格納するディスク1090の名称である。「/t
mp/test.txt」はバックアップの対象ファイルであるバ
ックアップ対象ファイル1550のフルパス名である。「sf
a」はバックアップ対象ファイル1550を管理するファイ
ルシステム種別を示す。このように、本実施例ではバッ
クアップコマンドに対し、バックアップ対象となるファ
イルのフルパス名とそれを格納するストレージの名称、
そのファイルを管理するファイルシステム種別をパラメ
ーターとして指定する。図11はユーザー入力したバッ
クアップコマンドのパラメーターを保持し、バックアッ
ププロセス2520が管理する入力テーブルA5500を示す。
入力テーブルA5500はバックアップ対象ストレージ名502
0とバックアップ対象フルパスファイル名4010、バック
アップの対象ファイルを管理するファイルシステム種別
5520の情報を持つ。バックアッププロセス2520はこれら
の情報を元にファイルのバックアップ処理を行う。入力
テーブルA5500は第1の実施例における入力テーブル253
0の代わりに使用される。第2の実施例ではバックアッ
プコンピューター1030がホストコンピューター1020にフ
ァイルシステム種別などを問い合わせることをしないた
め、ホストコンピューター1020上のファイルシステム通
知プロセス2030、問い合わせパケット4500、通知パケッ
ト5000は不要である。図12はバックアップ処理A8000
の流れを示す。まずステップ8020でユーザーは、バック
アップコンピューター1030に対して、ホストコンピュー
ター1020が管理するディスク1090上のバックアップ対象
ファイル1550をバックアップするよう指示を出す。具体
的には、ユーザー入力コマンドA9520を入力する。入力
テーブルA5500にバックアップ対象ストレージ名5020と
してディスク1090の名称である「diskabc」をセット
し、入力テーブルA5500のバックアップ対象フルパスフ
ァイル名4010にはバックアップ対象ファイル1550のフル
パスのファイル名として「/tmp/test.txt」をセット
し、入力テーブルA5500のファイルシステム種別5520に
はファイルシステムA1040を意味する「sfa」をセットす
る。次に、ステップ8060において、バックアッププロセ
ス2520は入力テーブルA5500のファイルシステム種別552
0の値「sfa」を見てファイルシステムA1040を選択し、
さらに入力テーブルA5500のバックアップ対象ストレー
ジ名5020の値「diskabc」を見てディスク1090を選択す
る。そして、バックアッププロセス2520は選択したファ
イルシステムA1040のアクセス情報格納領域2040に選択
したディスク1090上のメタデータ格納領域A1520に格納
されているファイルアクセス情報A1530を読み込ませ、
バックアップコンピューター1030がファイルシステムA1
040を使って正しくディスク1090上のファイルを読み書
きできるようにする。ステップ8100では、バックアップ
プロセス2520がファイルシステムA1040に対してバック
アップ対象ファイル1550の読み出し要求を発行すると、
ファイルシステムA1040はディスク1090上のバックアッ
プ対象ファイル1550を読み出し、バックアッププロセス
2520に渡す。最後にステップ8120において、バックアッ
ププロセス2520はファイルシステムD1070に対し、バッ
クアップ対象ファイル1550をバックアップディスク1100
にライトするよう要求し、ファイルシステムD1070はフ
ァイルアクセス情報B2540を元に、バックアップディス
ク1100にバックアップ対象ファイル1550を格納する。以
上のようにして、第2の実施例でもバックアップコンピ
ューター1030はホストコンピューター1020の管理するデ
ィスク1090に格納されているバックアップ対象ファイル
1550を、ファイル単位でバックアップコンピューター10
30の管理するバックアップディスク1100にバックアップ
することができる。本実施例ではバックアップディスク
1100にバックアップする例を示したが、バックアップテ
ープ1110にも同様の処理を行うことでバックアップする
ことができることは言うまでもない。 (第3の実施例)第3の実施例は、バックアップの対象
となるファイルを格納しているストレージ名と、対象フ
ァイルのフルパス名をユーザーが入力する場合につい
て、第1の実施例と異なる点について示す。図20はユ
ーザーがバックアップコンピューター1030にバックアッ
プを指示するときに入力するユーザー入力コマンドB954
0を示す。「backup」はバックアップコマンド名称であ
る。「diskabc」はバックアップの対象となるファイル
を格納するディスク1090の名称である。「/tmp/test.tx
t」はバックアップの対象ファイルであるバックアップ
対象ファイル1550のフルパス名である。このように、本
実施例ではバックアップコマンドに対し、バックアップ
対象となるファイルのフルパス名とそれを格納するスト
レージの名称をパラメーターとして指定する。図13は
第1の実施例における入力テーブル2530の代わりに使用
する入力テーブルB6000を示す。入力テーブルB6000はバ
ックアップ対象ストレージ名5020とバックアップ対象フ
ルパスファイル名4010の情報を持つ。バックアッププロ
セス2520はこれらの情報を元にファイルのバックアップ
処理を行う。入力テーブルB6000は第1の実施例におけ
る入力テーブル2530の代わりに使用される。第3の実施
例ではバックアップコンピューター1030がホストコンピ
ューター1020にファイルシステム種別などを問い合わせ
ることをしないため、ホストコンピューター1020上のフ
ァイルシステム通知プロセス2030、問い合わせパケット
4500、通知パケット5000は不要である。図14は本実施
例に対応するバックアップ処理B8500の流れを示す。ま
ずステップ8520でユーザーは、バックアップコンピュー
ター1030に対して、ホストコンピューター1020が管理す
るディスク1090上のバックアップ対象ファイル1550をバ
ックアップするよう指示を出す。具体的には、ユーザー
入力コマンドB9540を入力する。そして入力テーブルB60
00にバックアップ対象ストレージ名5020としてディスク
1090の名称である「diskabc」をセットし、入力テーブ
ルA5500のバックアップ対象フルパスファイル名4010に
はバックアップ対象ファイル1550のフルパスのファイル
名として「/tmp/test.txt」をセットする。次にステッ
プ8540においてバックアップコンピューター1030上のフ
ァイルシステムを一つ選択する。そしてステップ8560
で、選択したファイルシステムのアクセス情報格納領域
2040に、バックアップ対象ストレージ名5020が示すディ
スク1090から、ディスク1090がステップ8540で選択した
ファイルシステムで管理されていると仮定した場合にフ
ァイルのアクセス情報が格納されている領域を読み出
す。実際にはディスク1090はファイルシステムA1040で
管理されているため、その他のファイルシステムを使っ
て管理情報と思われる領域を読み出したデータは意味を
なさないでたらめなデータとなる。そしてステップ8580
で、ステップ8560で読み出したデータが期待する管理デ
ータであるかどうかを判定する。この判定は、読み出し
た管理情報にステップ8520でユーザーが指定したバック
アップ対象ファイル1550の情報が正しく格納されている
かどうかで行う。もし正しい情報であればステップ8620
に進み、正しくなければ8660へジャンプする。ステップ
8620では、バックアッププロセス2520がファイルシステ
ムA1040に対してバックアップ対象ファイル1550の読み
出し要求を発行し、ファイルシステムA1040はディスク1
090上のバックアップ対象ファイル1550を読み出し、バ
ックアッププロセス2520に渡す。最後にステップ8640に
おいて、バックアッププロセス2520はファイルシステム
D1070に対し、バックアップ対象ファイル1550をバック
アップディスク1100にライトするよう要求し、ファイル
システムD1070はファイルアクセス情報B2540を元に、バ
ックアップディスク1100にバックアップ対象ファイル15
50を格納する。以上のようにして、第3の実施例でもバ
ックアップコンピューター1030はホストコンピューター
1020の管理するディスク1090に格納されているバックア
ップ対象ファイル1550を、ファイル単位でバックアップ
コンピューター1030の管理するバックアップディスク11
00にバックアップすることができる。本実施例ではバッ
クアップディスク1100にバックアップする例を示した
が、バックアップテープ1110にも同様の処理を行うこと
でバックアップすることができることは言うまでもない (第4の実施例)第4の実施例は、バックアップコンピ
ューターA7000が本実施例の初期状態において、ファイ
ルシステムD1070しかファイルシステムを持たない場合
について、第3の実施例と異なる点を示す。第4の実施
例の初期状態では、バックアップコンピューターA7000
はバックアップ対象ファイル1550を格納するディスクA6
500を管理するファイルシステムAを持たないため、バッ
クアップ対象ファイル1550をファイルとしてアクセスす
ることができない。図15はホストコンピューター1020
用のデータを格納するディスクA6500を示す。ディスクA
6500はSAN1080とデータをやりとりする口として、SANポ
ートC1500を持ち、SANポートC1500にはSANポートアドレ
スC1510が割り当てられている。SANポートアドレスC151
0をあて先として持つSAN1080上のパケット(データ)は
SANポートC1500に転送される。ディスクA6500上には、
このディスクA6500を管理するファイルシステムA1040が
ファイルシステム格納領域6510という固定領域に格納さ
れている。また、ディスクA6500上には、ファイルの属
性やディレクトリ構成といった管理情報であるファイル
アクセス情報A1530を格納しているメタデータ格納領域A
1520と、ファイルの実体であるデータを格納するファイ
ル格納領域A1540がある。また、ファイル格納領域A1540
にはバックアップ対象ファイル1550が格納されている。
ディスク1090上のファイルはファイルシステムA1040を
用いてホストコンピューター1020が作成したものである
ため、ファイルシステムB1050、ファイルシステムC106
0、ファイルシステムD1070ではアクセスできないものと
する。本実施例は、ホストコンピューター1020の管理す
るバックアップ対象ファイル1550をバックアップコンピ
ューターA7000がファイルとして読み出し、バックアッ
プする手順について説明する。図16はバックアップコ
ンピューターA7000の構成を示す。バックアップコンピ
ューターA7000はLAN1010とデータをやり取りする口とし
てLANポートB2500を持ち、LANポートB2500はLANポート
アドレスB2510を持つ。LANポートアドレスB2510をあて
先として持つLAN1010上のパケットはLANポートB2500に
転送される。また、バックアップコンピューターA7000
はSAN1080とデータをやりとりする口として、SANポート
B2560を持ち、SANポートB2560にはSANポートアドレスB2
570には割り当てられている。SANポートアドレスB2570
をあて先として持つSAN1080上のパケットはSANポートB2
560に転送される。バックアップコンピューターA7000上
では複数のプロセス2020、ユーザーからの指示によりデ
ータのバックアップ作業を行うバックアッププロセス25
20が動作している。バックアッププロセス2520はユーザ
ーが入力したパラメーターを格納する入力テーブルB600
0を管理する。バックアップコンピューターA7000はファ
イルシステムD1070が使用可能である。バックアップコ
ンピューターA7000が管理し、バックアップデータを格
納するバックアップディスク1100およびバックアップテ
ープ1110は、ファイルシステムD1070を用いてアクセス
することができる。ファイルシステムD1070上のアクセ
ス情報管理領域2040にはバックアップディスク1100上の
ファイル管理情報であるファイルアクセス情報B2540
と、バックアップテープ1110上のファイル管理情報であ
るファイルアクセス情報C2550が読みこまれている。バ
ックアップコンピューターA7000はこのファイルアクセ
ス情報B2540を元にバックアップディスク1100上に配置
されたファイルにアクセスすることができ、同様にファ
イルアクセス情報C2550を元にバックアップテープ1110
上に配置されたファイルにアクセスすることができる。
図17はバックアップ処理C9000の流れを示す。まずス
テップ9020でユーザーは、バックアップコンピューター
A7000に対して、ホストコンピューター1020が管理する
ディスクA6500上のバックアップ対象ファイル1550をバ
ックアップするよう指示を出す。具体的には、ユーザー
入力コマンドB9540を入力する。そして入力テーブルB60
00にバックアップ対象ストレージ名5020としてディスク
A6500の名称である「diskabc」をセットし、入力テーブ
ルB6000のバックアップ対象フルパスファイル名4010に
はバックアップ対象ファイル1550のフルパスのファイル
名として「/tmp/test.txt」をセットする。次に、ステ
ップ9040において、バックアッププロセス2520は入力テ
ーブルB6000のバックアップ対象ストレージ5020が示す
ディスクA6500のファイルシステム格納領域6510に格納
されているファイルシステムA1040をディスクA6500をア
クセスするためのファイルシステムとして読み出す。そ
してステップ9060では、バックアッププロセス2520が、
ステップ9040で読み出されたファイルシステムA1040の
アクセス情報格納領域2040にディスクA6500のメタデー
タ格納領域A1520に格納されているファイルアクセス情
報A1530を読み込ませ、バックアップコンピューターA70
00がファイルシステムA1040を使って正しくディスクA65
00上のファイルを読み書きできるようにする。ステップ
9100では、バックアッププロセス2520がファイルシステ
ムA1040に対して入力テーブルB6000のバックアップ対象
フルパスファイル名4010が示すバックアップ対象ファイ
ル1550の読み出し要求を発行すると、ファイルシステム
A1040はディスクA6500上のバックアップ対象ファイル15
50を読み出し、バックアッププロセス2520に渡す。最後
にステップ9120において、バックアッププロセス2520は
ファイルシステムD1070に対し、バックアップ対象ファ
イル1550をバックアップディスク1100にライトするよう
要求し、ファイルシステムD1070はファイルアクセス情
報B2540を元に、バックアップディスク1100にバックア
ップ対象ファイル1550を格納する。以上のようにして、
第4の実施例でもバックアップコンピューターA7000は
ホストコンピューター1020の管理するディスクA6500に
格納されているバックアップ対象ファイル1550を、ファ
イル単位でバックアップコンピューターA7000の管理す
るバックアップディスク1100にバックアップすることが
できる。本実施例ではバックアップディスク1100にバッ
クアップする例を示したが、バックアップテープ1110に
も同様の処理を行うことでバックアップすることができ
ることは言うまでもない
(First Embodiment) FIG. 1 shows the present invention.
1 shows a computer system 1000 to which the present invention is applied. Compu
LAN system 1000 connects computers to each other.
0, host computer 1020, data backup
Do backup computer 1030 for storage
SAN1080, the network of the host computer
Disk 1090 to store the data of
1030 manages and stores backup data
Backup disk 1100 and backup tape 11
Consists of ten. The host computer 1020
File system A1040, a program that manages files
Is running and disk 1090 is the host computer
1020 is initialized using this file system A1040.
Reading and writing data. Backup computer
-For 1030, file system A 1040, file system B
1050, file system C1060, file system D1070
Four types of file systems are running. Backdoor
Backup disk 1100 and backup tape 1110
Backup computer 1030 has file system D1070
Is used to initialize and read / write data.
In this embodiment, the disk 1090 connected to the SAN 1080,
Backup disk 1100, backup tape 1110
Host computer according to the SAN1080 protocol
Computer 1020 and backup computer 1030
Physical access is still possible, but
Host computer viewed from the backup disk 1100
A file that manages the storage device, such as 1020
A computer without a system is
Because you do not know the structure of files and directories,
Data cannot be accessed as a file. Figure 2
Disk that stores data for host computer 1020
1090 is shown. Disk 1090 exchanges data with SAN1080
Hold the SAN port C1500 as the port to take
1500 is assigned SAN port address C1510
You. SAN108 with SAN port address C1510 as destination
The packet (data) on 0 is forwarded to SAN port C1500
You. File attributes and directories on disk 1090
File access information A153, which is management information such as configuration
Metadata storage area A1520 storing 0 and files
File storage area A1540 for storing data that is the substance of
There is. The file storage area A1540 has a backup
File 1550 is stored. On disk 1090
Files are stored in the host system using the file system A1040.
File created by computer 1020
System B1050, File system C1060, File system
It is assumed that access cannot be made with the system D1070. This embodiment
Backup managed by host computer 1020
The backup computer 1030 copies the target file 1550
Procedure for reading and backing up as a file
Will be explained. FIG. 3 shows the configuration of the host computer 1020.
Show. Host computer 1020 communicates with LAN 1010
It has LAN port A2000 as a communication port,
A2000 has LAN port address A2010. LAN port
Packets on LAN1010 with dress A2010 as destination
Transferred to LAN port A2000. Also, the host computer
1020 is a port for exchanging data with SAN1080.
It has AN port A2050 and SAN port A2050 has SAN port
Dress A2060 is assigned. SAN port address
Packets on SAN1080 with A2060 as the destination are
Forwarded to A2050. On host computer 1020
Let's take a look at multiple processes 2020,
The file system notification process 2030 that performs
You. File system A1 on host computer 1020
040 running and files issued by each process 2020
Access request is trapped by this file system A1040
Then, it is issued to the disk 1090 via the SAN1080. H
Access information storage area 2 managed by file system A1040
040 has file access information A1530.
Host computer 1020 on disk 1090
You can access the placed file. Figure 4
17 shows the configuration of a backup computer 1030. back
Upcomputer 1030 exchanges data with LAN1010
LAN port B2500 as a port for
Has LAN port address B2510. LAN port address B
Packets on LAN1010 with destination 2510 are
Transferred to B2500. Also, backup computer
1030 is a port for exchanging data with SAN1080.
It has AN port B2560 and SAN port B2560 has SAN port
Dress B2570 is assigned. SAN port address
Packets on SAN1080 with the destination B2570 as SAN
Forwarded to port B2560. Backup computer
-Multiple processes 2020 on 1030, instructions from users
Backup program that backs up data
Roses 2520 is running. Backup process 2520
Is an input table that stores the parameters entered by the user.
Manage Bull 2530. Backup computer 1030
File system A1040, file system B1050, file system
File system C1050 and file system D1070
File system is available. Backup con
Computer 1030 manages and stores backup data
Backup disk 1100 and backup tape
1110 is accessed using the file system D1070.
Can be accessed. File system D1070
Access information management area 2040 has a backup disk 1100
File access information B254 which is the above file management information
0 and the file management information on the backup tape 1110
Certain file access information C2550 has been read.
The backup computer 1030 uses this file access
On backup disk 1100 based on source information B2540
Files can be accessed, as well as
Backup tape 1110 based on file access information C2550
You can access the files located above.
In the initial state of this embodiment, the file system A1040
File system B1050, it on file system C1060
Any file is stored in each access information storage area 2040.
It is assumed that the access information has not been read. FIG.
Accessed from the backup computer 1030 and
Backup disk 1100 for storing backup data
Is shown. Backup disk 1100 is SAN1080
Holds SAN port D3000 as a port to exchange data
SAN port address D3010 is assigned to SAN port D3000.
Has been applied. The destination is SAN port address D3010
Packets on SAN1080 are transferred to SAN port D3000.
It is. File attributes on backup disk 1100
File information, which is management information such as
Metadata storage area B30 that stores access information B2540
20 and the file that stores the data that is the substance of the file
There is a storage area B3030. On backup disk 1100
The file was created by file system D1070.
File system A1040, file system B10
50, inaccessible with file system C1060
And Figure 6 shows the backup computer 1030
Backup data that is
2 shows the configuration of a tape 1110. Backup tape 1110
SAN port E3 as a port to exchange data with SAN1080
500 and the SAN port E3500 has the SAN port address E351
0 is assigned. Enter SAN port address E3510
The packet on SAN1080 that has the destination is SAN port E3500
Is forwarded to Files on backup tape 1110
File that is management information such as
Metadata storing file access information C2550
Stores area C3520 and the data that is the substance of the file
There is a file storage area C3530. Backup tape 111
The file on 0 is created by file system D1070
File system A1040, file system
B1050, file system C1060 cannot be accessed
And FIG. 18 shows that the user
To enter when instructing the backup
User input command 9500. `` Backup '' is for backup
Command name. "Hostabc" is the backup
Host computer 10 that manages the target file
20 names. "/Tmp/test.txt" is the backup
File of backup target file 1550 which is the target file
Is the path name. Thus, in this embodiment, the backup is performed.
Command to backup files
Enter the full path name and the name of the computer that manages it.
Specify as a parameter. Fig. 7 shows the user input
Backup command parameters and backup
The input table 2530 managed by the backup process 2520 is shown.
Input table 2530 is the name of the computer to be backed up
Information of 4000 and full path file name of backup target 4010
have. The backup process 2520 uses this information to
File backup process. Figure 8 shows the backup
Backup process 2520 on laptop computer 1030
To query the file system type,
Via LAN1010 to a computer that wants to know the file system
The query packet 4500 sent by the user is shown. Inquiry
Packet 4500 is sent to LAN port address 4510
Sender LAN port address 4515, file system inquiry
Command 4520, backup target full path file
It has information on the name 4010. FIG. 9 shows the host computer 1020.
The file system notification process 2030 on the
For the computer that received the system inquiry request,
This shows a notification packet 5000 sent via the LAN 1010. notification
Packet 5000 is sent to LAN port address 4510
Source LAN port address 4515, file system notification
Command 5010, backup target SAN port address 502
0, Information on file system type 5030 to be backed up
have. FIG. 10 shows the flow of the backup process 7500.
First, in step 7520, the user
Host computer 1020 manages
Target file 1550 on disk 1090
Instruct them to back up. Specifically, the user
-Enter the input command 9500. Input table 2530
Host computer as the backup target computer name 4000
Set “hostabc” which is the name of Pewter 1020,
Backup target full path file of input table 2530
The name 4010 contains the full path of the file 1550 to be backed up.
Set "/tmp/test.txt" as the file name. Next
In step 7540, the backup process 2520
Inquiry packet 45 based on information on input table 2530
00 and create host computer 1 via LAN1010.
Send to 020. LAN port for sending inquiry packet 4500
Port 4510 has the LAN port of the host computer 1020.
Port address A2010, and set it as the source LAN address 4515
Is the LAN port address of the backup computer 1030.
Specify B2510. And file system inquiry
Command 4520 and backup of input table 2530
Elephant full path file name 4010 inquiry packet 4500
set. Computer name to computer
Computer to obtain the LAN port address corresponding to
Refer to the table that associates LAN port addresses with
However, it is known technology that is not directly related to the present invention.
Therefore, detailed description is omitted. Host computer
The inquiry packet 4500 received by 1020 is
Passed to the stem notification process 2030. Step 7560
In the file system notification process 2030, the notification
Create a ket 5000. Send inquiry packet 4500
Source LAN port address 4515
Copy to the local LAN port address 4510 and notify packet 500
The source LAN port address 4515 of 0
Set the LAN port address A2010 that is the dress. So
Then the file system notification process 2030 is queried
Packet 4500 backup target full path file name 40
The backup target file 1550 indicated by 10 is stored
File system A104
Check the file access information A1530 managed by
Notification packet 5000 for SAN port address C of disk 1090
Set to the backup target SAN port address 5020
You. File system type 5030 to be backed up
Is the directory that stores the backup target file 1550.
Specify file system A1040 that manages disk 1090
However, this is
Information to manage is a file on the host computer 1020
Stored in the access information storage area 2040 of system A1040
File access information A1530
Understand. And the notification packet 5000 goes through LAN1010
Sent to the backup computer 1030
Up process 2520 receives. And then to step 7580
The backup process 2520
File system type 50 to be backed up for 5000
Based on 30 files 1550 to be backed up
That the file is managed by Stem A1040.
Similarly, the backup target SAN
File 15 based on the
It is known that 50 is stored on disk 1090.
You. Then, in step 7600, the backup
Process 2520 uses the file system A1040
Disk 109 in access information storage area 2040 of stem A1040
File stored in the metadata storage area A1520 on
Read access information A1530, and
Pewter 1030 corrects using file system A1040
To read and write files on disk 1090.
You. In step 7640, the backup process 2520
File system A1040
When a read request for file 1550 is issued, the file system
A1040 is 155 files to be backed up on disk 1090
Read 0 and pass to backup process 2520. last
In step 7660, the backup process 2520
The file to be backed up is
File 1550 to backup disk 1100
File system D1070 requests file access information.
Backup to disk 1100 based on
The file 1550 to be backed up is stored. As described above,
Backup computer 1030 is the host computer
-Backs stored on disk 1090 managed by 1020
1550 files to be backed up
Backup disk managed by computer 1030
Can be backed up to 1100. In this embodiment, the
Backup disk 1100 was shown as an example
However, the same process must be performed on the backup tape 1110.
File 1550 to be backed up
Needless to say, it can be done. In this embodiment,
Inquiry packet 4500 and notification packet 5000 are LAN1010
In this example, these packets are sent on SAN108.
The present invention can also be applied to the case of being transmitted with 0
Needless to say. In addition, the notification packet 5000
Backup instead of backup target SAN port address 5020
The name of the storage that stores the file to be
However, the present invention is applicable even if it does so. (Second Embodiment) In the first embodiment, the user
When you make a backup request for a
Computer managing the target file and the target file.
Although the full path name of the file was specified, the second embodiment
Storage that stores files to be upgraded
Name, full path name of target file, and target file
The user enters the type of file system that is running
Regarding the case, points different from the first embodiment will be described.
FIG. 19 shows a case where the user
User input command to enter when instructing backup
Shows Command A9520. "Backup" is a backup command
Name. "Diskabc" is a backup target
The name of the disk 1090 that stores the file to be stored. "/ T
mp / test.txt '' is the backup target file.
This is the full path name of the backup target file 1550. "science fiction
a '' is the file that manages the backup target file 1550.
Indicates the system type. Thus, in this embodiment, the battery
Backup file in response to the backup command.
The full path name of the file and the name of the storage that stores it,
Specify the file system type that manages the file.
Data. FIG. 11 shows a user input buffer.
Backup command parameters and backup
26 shows an input table A5500 managed by a process 2520.
The input table A5500 is the backup target storage name 502
0 and backup target full path file name 4010, backup
File system type that manages the files to be upgraded
It has 5520 information. The backup process 2520
File backup processing based on the information of input
The table A5500 is the input table 253 in the first embodiment.
Used instead of 0. In the second embodiment, the backup
Computer 1030 is connected to the host computer 1020.
Do not ask about file system type, etc.
File system on the host computer 1020
Knowledge process 2030, inquiry packet 4500, notification packet
G5000 is unnecessary. Fig. 12 shows backup processing A8000
The flow of is shown. First in step 8020 the user backs
Host computer to upcomputer 1030
To be backed up on disk 1090 managed by
Instructs to back up file 1550. Concrete
Specifically, a user input command A9520 is input. input
Table A5500 shows the backup target storage name 5020
And set "diskabc" which is the name of disk 1090
Input table A5500 backup target full path
The file name 4010 contains the full
Set "/tmp/test.txt" as the file name of the path
To the file system type 5520 of the input table A5500.
Sets "sfa" which means file system A1040
You. Next, in step 8060, the backup process
2520 is the file system type 552 of the input table A5500.
Look at the value "sfa" of 0 and select file system A1040,
In addition, the input target A5500 backup target storage
Look at the value "diskabc" of the name 5020 and select the disk 1090
You. The backup process 2520 will then
Selected in the access information storage area 2040 of the file system A1040
Is stored in the metadata storage area A1520 on the
File access information A1530
Backup computer 1030 has file system A1
Read and write files on disk 1090 correctly using 040
To be able to In step 8100, the backup
Process 2520 backs up file system A1040
When a read request for the file 1550 to be uploaded is issued,
File system A1040 is backed up on disk 1090.
Backup target file 1550 and backup process
Pass to 2520. Finally, in step 8120, the backup
Backup process 2520 against the file system D1070.
Backup target file 1550 to backup disk 1100
File system D1070.
A backup disk based on the file access information B2540
The backup target file 1550 is stored in the network 1100. Less than
As described above, in the second embodiment, the backup
The computer 1030 manages data managed by the host computer 1020.
Files to be backed up stored on disk 1090
1550 backup files for each computer 10
Backup to 30 managed backup disks 1100
can do. In this embodiment, the backup disk
The example of backing up to 1100 is shown, but backup
Backup by performing the same process on the
It goes without saying that it can be done. (Third embodiment) The third embodiment is the object of backup.
Storage name that stores the file to be
File when the user enters the full pathname of the file.
Thus, points different from the first embodiment will be described. FIG.
User backs up to backup computer 1030.
User input command B954 to input when instructing
Indicates 0. "Backup" is the backup command name
You. "Diskabc" is the file to be backed up
Is the name of the disk 1090 in which is stored. "/Tmp/test.tx
"t" is the backup that is the backup target file
This is the full path name of the target file 1550. Thus, the book
In the embodiment, the backup command is
The full path name of the target file and the string that stores it.
Specify the name of the storage as a parameter. FIG.
Used in place of input table 2530 in the first embodiment
An input table B6000 to be executed is shown. Input table B6000
Backup target storage name 5020 and backup target
It has information of the path file name 4010. Backup pro
Seth 2520 uses this information to back up files.
Perform processing. The input table B6000 is used in the first embodiment.
It is used instead of the input table 2530. Third implementation
In the example, the backup computer 1030 is the host
Query the file system type etc.
The host computer 1020.
File system notification process 2030, inquiry packet
4500 and notification packet 5000 are unnecessary. FIG. 14 shows the present embodiment
The flow of the backup process B8500 corresponding to the example is shown. Ma
In step 8520, the user
The host computer 1020 manages the
Backup file 1550 on disk 1090
Give instructions to back up. Specifically, the user
Enter the input command B9540. And input table B60
Disk as backup target storage name 5020 at 00
Set “diskabc”, which is the name of 1090, and enter the
A5500 backup target full path to file name 4010
Is the file with the full path of the backup target file 1550
Set "/tmp/test.txt" as the name. Next,
On the backup computer 1030
Select one file system. And step 8560
In the access information storage area of the selected file system
2040 is the directory indicated by the backup target storage name 5020.
From disk 1090, disk 1090 was selected in step 8540
If the file system is assumed to be managed,
Reads the area where file access information is stored
You. Actually disk 1090 is file system A1040
Uses other file systems because it is managed
Data read from the area considered to be management information
Doing so will result in random data. And step 8580
The management data expected in the data read in step 8560
Data is determined. This judgment is read
Back specified by the user in step 8520
Information of the upgrade target file 1550 is stored correctly
Whether to do. If correct, step 8620
Proceed to and jump to 8660 if incorrect. Steps
On the 8620, the backup process 2520 has a file system
Read file 1550 to be backed up for program A1040
Issue a read request, and file system A1040
Read the backup target file 1550 on
Handover process 2520. Finally go to step 8640
By the way, backup process 2520 is a file system
Backup target file 1550 to D1070
Up disk 1100
Based on the file access information B2540, the system D1070
Backup target files 15 on the backup disk 1100
Stores 50. As described above, in the third embodiment as well,
Backup computer 1030 is the host computer
Backups stored on disk 1090 managed by 1020
Backup target file 1550 in file units
Backup disk 11 managed by computer 1030
00 can be backed up. In this embodiment, the battery
Backup disk 1100 as an example
However, the same process must be performed on the backup tape 1110.
Needless to say, the backup can be performed by using a backup computer. (Fourth Embodiment)
In the initial state of this embodiment, the
File system only has file system D1070
Are different from the third embodiment. Fourth implementation
In the initial state of the example, the backup computer A7000
Is disk A6 that stores backup target file 1550
Since there is no file system A for managing 500,
Access target file 1550 as a file
Can not be. FIG. 15 shows the host computer 1020.
1 shows a disk A6500 for storing data for use in a computer. Disk A
The 6500 is a port for exchanging data with the SAN1080.
Port C1500 and the SAN port C1500 has a SAN port address.
Resource C1510 is assigned. SAN port address C151
Packets (data) on SAN1080 with 0 as the destination
Transferred to SAN port C1500. On disk A6500,
The file system A1040 that manages this disk A6500
Stored in a fixed area called file system storage area 6510
Have been. Also, on disk A6500, the file
File that is management information such as the directory and directory structure
Metadata storage area A that stores access information A1530
1520 and the file that stores the data that is the substance of the file.
There is a file storage area A1540. File storage area A1540
Stores a backup target file 1550.
Files on disk 1090 use file system A1040
Created by the host computer 1020
Therefore, file system B1050, file system C106
0, file system D1070 cannot access
I do. In this embodiment, the management of the host computer 1020 is performed.
File 1550 to be backed up
A7000 reads it out as a file and
The following describes the steps to be performed. Figure 16 shows the backup
1 shows the configuration of a computer A7000. Backup compilation
A7000 is the port for exchanging data with LAN1010.
LAN port B2500, LAN port B2500 is LAN port
It has address B2510. Assign LAN port address B2510
The packet on LAN1010 that has the destination is sent to LAN port B2500.
Will be transferred. Also, backup computer A7000
Is a SAN port as a port to exchange data with the SAN1080
B2560, and SAN port B2560 has SAN port address B2
570 is assigned. SAN port address B2570
The packet on SAN1080 with the destination is SAN port B2
Transferred to 560. On backup computer A7000
Now, several processes 2020 will be performed according to user instructions.
Backup process to backup data 25
20 are working. Backup process 2520 is user
Input table B600 that stores the parameters entered by the user
Manage 0. Backup computer A7000
The file system D1070 is available. Backup co
Computer A7000 manages and stores backup data.
Backup disk 1100 and backup
Group 1110 is accessed using file system D1070
can do. Access on file system D1070
Storage information management area 2040 on the backup disk 1100
File access information B2540, which is file management information
File management information on the backup tape 1110
File access information C2550 has been read. Ba
The backup computer A7000 uses this file access
On backup disk 1100 based on source information B2540
Files can be accessed, as well as
Backup tape 1110 based on file access information C2550
You can access the files located above.
FIG. 17 shows the flow of the backup process C9000. First
In Tep 9020 users can backup computer
Host computer 1020 manages A7000
Backup file 1550 on disk A6500
Give instructions to back up. Specifically, the user
Enter the input command B9540. And input table B60
Disk as backup target storage name 5020 at 00
Set “diskabc”, which is the name of A6500, and enter
To the backup target full path file name 4010
Is the file with the full path of the backup target file 1550
Set "/tmp/test.txt" as the name. Next,
In step 9040, the backup process 2520
Indicated by the backup target storage 5020 of the cable B6000
Stored in file system storage area 6510 of disk A6500
File system A1040 to disk A6500
Read as a file system to access. So
Then, in step 9060, the backup process 2520
Of the file system A1040 read in step 9040
The metadata of disk A6500 is stored in the access information storage area 2040.
File access information stored in data storage area A1520.
Read A1530 and backup computer A70
00 correctly using file system A1040 on disk A65
Read and write files on 00. Steps
On the 9100, the backup process 2520
Backup target of input table B6000 for program A1040
The backup target file indicated by the full path file name 4010
When a read request for file 1550 is issued, the file system
A1040 is 15 files to be backed up on disk A6500
Read 50 and pass to backup process 2520. last
In step 9120, the backup process 2520
The file to be backed up is
File 1550 to backup disk 1100
File system D1070 requests file access information.
Backup to disk 1100 based on
The file 1550 to be backed up is stored. As described above,
In the fourth embodiment, the backup computer A7000 is
Disk A6500 managed by host computer 1020
Copy the stored backup target file 1550
Management of the backup computer A7000
Backup to backup disk 1100
it can. In this embodiment, the backup disk 1100
Backup tape 1110
Can be backed up by performing the same process
Needless to say

【発明の効果】本発明によれば、コンピューターが直接
管理していない記憶装置上のデータをファイルレベルで
アクセスすることができる。
According to the present invention, data on a storage device not directly managed by a computer can be accessed at a file level.

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

【図1】本発明を適用するコンピューターシステムを示
す図。
FIG. 1 is a diagram showing a computer system to which the present invention is applied.

【図2】ホストコンピューターが管理するディスクを示
す図。
FIG. 2 is a diagram showing a disk managed by a host computer.

【図3】ホストコンピューターを示す図。FIG. 3 illustrates a host computer.

【図4】バックアップコンピューターを示す図。FIG. 4 is a diagram showing a backup computer.

【図5】バックアップディスクを示す図。FIG. 5 is a diagram showing a backup disk.

【図6】バックアップテープを示す図。FIG. 6 is a diagram showing a backup tape.

【図7】ユーザーの入力情報を保持する入力テーブルを
示す図。
FIG. 7 is a diagram showing an input table for holding user input information.

【図8】ファイルシステムを問い合わせる問い合わせパ
ケットを示す図。
FIG. 8 is a diagram showing an inquiry packet for inquiring about a file system.

【図9】ファイルシステムを通知する通知パケットを示
す図。
FIG. 9 is a diagram showing a notification packet for notifying a file system.

【図10】バックアップ処理の流れを示す図。FIG. 10 is a diagram showing a flow of a backup process.

【図11】第2の実施例に対応する、入力テーブルAを
示す図。
FIG. 11 is a diagram showing an input table A corresponding to the second embodiment.

【図12】第2の実施例に対応する、バックアップ処理
Aを示す図。
FIG. 12 shows a backup process corresponding to the second embodiment.
FIG.

【図13】第3の実施例に対応する、入力テーブルBを
示す図。
FIG. 13 is a diagram showing an input table B corresponding to the third embodiment.

【図14】第3の実施例に対応する、バックアップ処理
Bを示す図。
FIG. 14 shows a backup process corresponding to the third embodiment.
FIG.

【図15】第4の実施例に対応する、ディスクAを示す
図。
FIG. 15 is a view showing a disk A corresponding to the fourth embodiment.

【図16】第4の実施例に対応する、バックアップコン
ピューターAを示す図。
FIG. 16 is a diagram showing a backup computer A corresponding to the fourth embodiment.

【図17】第4の実施例に対応する、バックアップ処理
Cを示す図。
FIG. 17 shows a backup process corresponding to the fourth embodiment.
FIG.

【図18】ユーザーが入力するコマンドを示す図。FIG. 18 is a diagram showing a command input by a user.

【図19】第2の実施例に対応する、ユーザーが入力す
るコマンドを示す図。
FIG. 19 is a diagram illustrating a command input by the user according to the second embodiment.

【図20】第3、4の実施例に対応する、ユーザーが入
力するコマンドを示す図。
FIG. 20 is a diagram illustrating commands input by the user according to the third and fourth embodiments.

【符号の説明】[Explanation of symbols]

1000…コンピューターシステム、1010…LAN、1020…ホ
ストコンピューター、1030…バックアップコンピュータ
ー、1040…ファイルシステムA、1050…ファイルシステ
ムB、1060…ファイルシステムC、1070…ファイルシステ
ムD、1080…SAN、1090…ディスク、1100…バックアップ
ディスク、1110…バックアップテープ。
1000 computer system, 1010 LAN, 1020 host computer, 1030 backup computer, 1040 file system A, 1050 file system B, 1060 file system C, 1070 file system D, 1080 SAN, 1090 disk , 1100 ... backup disk, 1110 ... backup tape.

フロントページの続き (72)発明者 小菅 稔 神奈川県小田原市国府津2880番地 株式会 社日立製作所ストレージシステム事業部内 Fターム(参考) 5B045 DD10 DD16 EE06 EE11 JJ43 5B065 BA01 CE01 5B082 HA00 Continued on the front page (72) Inventor Minoru Kosuge 2880 Kozu, Odawara-shi, Kanagawa F-term in Hitachi, Ltd. Storage Systems Division 5B045 DD10 DD16 EE06 EE11 JJ43 5B065 BA01 CE01 5B082 HA00

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】第1のコンピューターと、前記第1のコン
ピューターによってアクセスされるファイルを格納する
記憶装置と、第2のコンピューターと、前記第1のコン
ピューターと前記記憶装置と前記第2のコンピューター
とを結ぶネットワークから構成されるコンピューターシ
ステムであって、前記第2のコンピューターが前記第1
のコンピューターに対し、前記記憶装置に格納されてい
るファイルの読み書きを可能とする情報を問い合わせる
ことを特徴とするコンピューターシステム。
1. A first computer, a storage device for storing files accessed by the first computer, a second computer, the first computer, the storage device, and the second computer. A computer system comprising a network connecting the first computer and the second computer.
A computer system according to claim 1, wherein said computer inquires of said computer about information enabling reading and writing of a file stored in said storage device.
JP11173664A 1999-06-21 1999-06-21 Computer system Pending JP2001005702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11173664A JP2001005702A (en) 1999-06-21 1999-06-21 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11173664A JP2001005702A (en) 1999-06-21 1999-06-21 Computer system

Publications (1)

Publication Number Publication Date
JP2001005702A true JP2001005702A (en) 2001-01-12

Family

ID=15964821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11173664A Pending JP2001005702A (en) 1999-06-21 1999-06-21 Computer system

Country Status (1)

Country Link
JP (1) JP2001005702A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006268534A (en) * 2005-03-24 2006-10-05 Hitachi Ltd Control technique for storage system
JP2007193839A (en) * 2007-04-02 2007-08-02 Hitachi Ltd Storage system, and method and system for data transmission and reception in storage system
US7904646B2 (en) 2001-03-02 2011-03-08 Hitachi, Ltd. Storage subsystem that connects fibre channel and supports online backup

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7904646B2 (en) 2001-03-02 2011-03-08 Hitachi, Ltd. Storage subsystem that connects fibre channel and supports online backup
US8234449B2 (en) 2001-03-02 2012-07-31 Hitachi, Ltd. Storage subsystem that connects fibre channel and supports online backup
US8806119B2 (en) 2001-03-02 2014-08-12 Hitachi, Ltd. Storage subsystem that connects fibre channel and supports online backup
JP2006268534A (en) * 2005-03-24 2006-10-05 Hitachi Ltd Control technique for storage system
JP4574408B2 (en) * 2005-03-24 2010-11-04 株式会社日立製作所 Storage system control technology
JP2007193839A (en) * 2007-04-02 2007-08-02 Hitachi Ltd Storage system, and method and system for data transmission and reception in storage system

Similar Documents

Publication Publication Date Title
US9940043B2 (en) Systems and methods for performing storage operations in a computer network
JP4632574B2 (en) Storage device, file data backup method, and file data copy method
US7167951B2 (en) Intelligent controller accessed through addressable virtual space
US7409521B2 (en) Method of managing storage capacity, server and recording medium therefor
JP5066415B2 (en) Method and apparatus for file system virtualization
US6606651B1 (en) Apparatus and method for providing direct local access to file level data in client disk images within storage area networks
JP4278452B2 (en) Computer system
US20070050506A1 (en) High performance storage access environment
JP4285058B2 (en) Network management program, management computer and management method
US6430645B1 (en) Fibre channel and SCSI address mapping for multiple initiator support
US7818390B2 (en) Method for transferring data between terminal apparatuses in a transparent computation system
US10057348B2 (en) Storage fabric address based data block retrieval
US20050235005A1 (en) Computer system configuring file system on virtual storage device, virtual storage management apparatus, method and signal-bearing medium thereof
US7516133B2 (en) Method and apparatus for file replication with a common format
JP2000076152A (en) Distributed file system, file sharing method in the system and storage medium for programming and recording the method
JP4512386B2 (en) Backup system and method
US7831623B2 (en) Method, system, and article of manufacture for storing device information
JP2001005702A (en) Computer system
US8874726B1 (en) Automated load balancing
JP2866376B2 (en) Disk array device
WO2001097016A2 (en) Providing client accessible network-based storage
JP2003288239A (en) Management method for partitioning use of storage, its server, and client system
JPH02178743A (en) File update processor
JPH08202602A (en) File backup method
JP2001014204A (en) Shared file system