Storage system, control method of storage system, server apparatus, and control method of server apparatus
First Claim
1. A storage system including a first storage apparatus and a second storage apparatus, in which the first storage apparatus is disposed in a client site, and the second storage is disposed in a data center, and in which the storage system archives a file including both of meta data and substantial data from the first storage apparatus to the second storage apparatus through a network, deletes the substantial data from the first storage apparatus, copies the substantial data from the second storage apparatus to the first storage apparatus in case of receiving an I/O for the file, restores the file in the first storage apparatus, and executes the I/O to the restored file,wherein the first storage apparatus identifies the file with a path, and further identifies the file with an inode number,the second storage apparatus identifies the file with a URL,the first storage apparatus manages a correspondence relationship between the path and the inode number and a correspondence relationship between the inode number and the URL,the second storage apparatus manages a correspondence relationship between the path and the URL,if the path which manages the file is changed, the storage system specifies the URL corresponding to the changed path on the basis of the correspondence relationship between the path and the inode number and the correspondence relationship between the inode number and the URL, and correlates the changed path with the URL which is specified on the basis of the correspondence relationship between the path and the inode number and the correspondence relationship between the inode number and the URL, in the correspondence relationship between the path and the URL to resultantly update the correspondence relationship between the path and the URL, andif the inode number which manages the file is changed, the storage system specifies the URL corresponding to the changed inode number on the basis of the correspondence relationship between the path and the inode number and the correspondence relationship between the path and the URL, and correlates the changed inode number with the URL which is specified on the basis of the correspondence relationship between the path and the inode number and the correspondence relationship between the path and the URL, in the correspondence relationship between the inode number and the URL to thereby update the correspondence relationship between the inode number and the URL.
1 Assignment
0 Petitions
Accused Products
Abstract
A file on file storage is archived as an object on object storage. In this case, a correspondence between UUID which is an identifier of the object and a path or an inode number which is an identifier of the file is recorded. This is referred to as correlation between the file and the object. However, because of changing of the path due to the renaming of the file, or changing of the inode number due to overwriting of the file, the correlation is likely to be lost. The invention provides a technique that restores the lost correlation and causes the correlation between the file and the object to be maintained.
10 Citations
13 Claims
-
1. A storage system including a first storage apparatus and a second storage apparatus, in which the first storage apparatus is disposed in a client site, and the second storage is disposed in a data center, and in which the storage system archives a file including both of meta data and substantial data from the first storage apparatus to the second storage apparatus through a network, deletes the substantial data from the first storage apparatus, copies the substantial data from the second storage apparatus to the first storage apparatus in case of receiving an I/O for the file, restores the file in the first storage apparatus, and executes the I/O to the restored file,
wherein the first storage apparatus identifies the file with a path, and further identifies the file with an inode number, the second storage apparatus identifies the file with a URL, the first storage apparatus manages a correspondence relationship between the path and the inode number and a correspondence relationship between the inode number and the URL, the second storage apparatus manages a correspondence relationship between the path and the URL, if the path which manages the file is changed, the storage system specifies the URL corresponding to the changed path on the basis of the correspondence relationship between the path and the inode number and the correspondence relationship between the inode number and the URL, and correlates the changed path with the URL which is specified on the basis of the correspondence relationship between the path and the inode number and the correspondence relationship between the inode number and the URL, in the correspondence relationship between the path and the URL to resultantly update the correspondence relationship between the path and the URL, and if the inode number which manages the file is changed, the storage system specifies the URL corresponding to the changed inode number on the basis of the correspondence relationship between the path and the inode number and the correspondence relationship between the path and the URL, and correlates the changed inode number with the URL which is specified on the basis of the correspondence relationship between the path and the inode number and the correspondence relationship between the path and the URL, in the correspondence relationship between the inode number and the URL to thereby update the correspondence relationship between the inode number and the URL.
-
5. A server apparatus that is connected to a first storage apparatus and a second storage apparatus, wherein the first storage apparatus identifies a file with a first identifier, further identifies the file with a second identifier and archives the file in the second storage apparatus, and the second storage apparatus identifies the file with a third identifier, and manages a first correspondence relationship between the first identifier and the third identifier,
the server apparatus manages a third correspondence relationship between the first identifier and the second identifier and a second correspondence relationship between the second identifier and the third identifier, if the first identifier which manages the file is changed, the server apparatus specifies the third identifier corresponding to the changed first identifier on the basis of the third correspondence relationship and the second correspondence relationship, transmits the specified third identifier and the changed first identifier to the second storage apparatus, and instructs to update the first correspondence relationship, and if the second identifier which manages the file is changed, the server apparatus correlates the third identifier with the changed second identifier in the second correspondence relationship and thereby updates the second correspondence relationship, the third identifier corresponding to the changed second identifier and being specified on the basis of the third correspondence relationship and the first correspondence relationship, wherein the first identifier is a path, and the second identifier is an inode number, and the third identifier is UUID or URL.
-
9. A control method of a storage system which includes a first storage apparatus and a second storage apparatus, and archives a file from the first storage apparatus to the second storage apparatus, the method comprising:
-
by the first storage apparatus, identifying the file with a first identifier, and further identifying the file with a second identifier; by the second storage apparatus, identifying the file with a third identifier; managing a first correspondence relationship between the first identifier and the third identifier, a second correspondence relationship between the second identifier and the third identifier, and a third correspondence relationship between the first identifier and the second identifier; if the first identifier which manages the file is changed, specifying the third identifier corresponding to the changed first identifier on the basis of the third correspondence relationship and the second correspondence relationship, and correlating the changed first identifier with the third identifier which is specified on the basis of the third correspondence relationship and the second correspondence relationship, in the first correspondence relationship, thereby updating the first correspondence relationship; and if the second identifier which manages the file is changed, specifying the third identifier corresponding to the changed second identifier on the basis of the third correspondence relationship and the first correspondence relationship, and correlating the changed second identifier with the third identifier which is specified on the basis of the third correspondence relationship and the first correspondence relationship, in the second correspondence relationship, thereby updating the second correspondence relationship, wherein the first identifier is a path, and the second identifier is an inode number, and the third identifier is UUID or URL. - View Dependent Claims (10, 11, 12, 13)
-
Specification