Data synchronization among file storages using stub files
First Claim
1. A method for switching file servers from an old file server to a new file server, the old file server managing a file system which includes a plurality of directories and files, the method comprising:
- creating a stub file of a root directory of the file system in the new file server;
switching a direction of requests, targeting to the plurality of directories and files of the file system, from the old file server to the new file server, after creating the stub file of the root directory in the new file server and before creating all of the other stub files of the plurality of directories and files in the file system;
receiving a request at the new file server;
checking whether the new file server has any stub files for a target of the request; and
if the new file server has one or more stub files for the target of the request,recalling data corresponding to the one or more stub files for the target of the request from the old file server according to stub information indicating location of data to replace the one or more stub files with the recalled data.
1 Assignment
0 Petitions
Accused Products
Abstract
A method switches file server from old file server to new file server which are coupled via a backend network and provides data synchronization. The old file server and new file server are coupled with one or more host computers via a frontend network to direct input/output (I/O) requests from the one or more host computers. The method comprises creating stub files in the new file server, the stub files including stub information indicating location of data in the old file server; switching I/O requests directed to old file server to I/O requests directed to the new file server; checking whether the new file server has any stub files; and, if the new file server has one or more stub files, recalling data corresponding to the one or more stub files from the old file server according to the stub information to replace the one or more stub files.
-
Citations
14 Claims
-
1. A method for switching file servers from an old file server to a new file server, the old file server managing a file system which includes a plurality of directories and files, the method comprising:
-
creating a stub file of a root directory of the file system in the new file server; switching a direction of requests, targeting to the plurality of directories and files of the file system, from the old file server to the new file server, after creating the stub file of the root directory in the new file server and before creating all of the other stub files of the plurality of directories and files in the file system; receiving a request at the new file server; checking whether the new file server has any stub files for a target of the request; and if the new file server has one or more stub files for the target of the request, recalling data corresponding to the one or more stub files for the target of the request from the old file server according to stub information indicating location of data to replace the one or more stub files with the recalled data. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A new file server in an information system which further includes an old file server coupled with the new file server, the old file server managing a file system which includes a plurality of directories and files, the new file server comprising:
-
a memory; and a processor configured to; create a stub file of a root directory of the file system in the new file server,; start to receive a request targeting to the plurality of directories and files of the file system, after creating the stub file of the root directory in the new file server and before creating all of the other stub files of the plurality of directories and files in the file system; and upon receiving a request targeting to the plurality of directories and files of the file system by the new file server, check whether the new file server has any stub files for a target of the request and, if the new file server has one or more stub files for the target of the request, recall data corresponding to the one or more stub files for the target of the request from the old file server according to stub information indicating location of data to replace the one or more stub files with the recalled data. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. An information system comprising:
-
an old file server managing a file system which includes a plurality of directories and files; a new file server; and a backend network coupling the old file server and the new file server; wherein the new file server is configured to create a stub file of a root directory of the file system in the new file server; start to receive a request targeting to the plurality of directories and files of the file system, after creating the stub file of the root directory in the new file server and before creating all of the other stub files of the plurality of directories and files in the file system; and upon receiving a request targeting to the plurality of directories and files of the file system, check whether the new file server has any stub files for a target of the request and, if the new file server has one or more stub files for the target of the request, recall data corresponding to the one or more stub files for the target of the request from the old file server according to stub information indicating location of data to replace the one or more stub files with the recalled data.
-
Specification