File handle banking to provide non-disruptive migration of files
First Claim
1. In a data processing system including at least one client and at least one file server providing client access to regular data files in a directory tree in data storage by providing said at least one client with file handles that said at least one client includes in file access requests for access to the regular data files, a method of providing said at least one client with access to the regular data files concurrent with migration of the directory tree from a source file system to a target file system, the regular data files having respective old file handles in the source file system, and the regular data files having respective new file handles in the target file system, said method comprising:
- upon migrating the directory tree from the source file system to the target file system, retaining directories of the directory tree in the source file system, and substituting handle translation entries for the regular data files in the source file system, the handle translation entries providing the respective new file handles for the regular data files, so that file access to the source file system using the old file handles provides access to the handle translation entries providing the respective new file handles for the regular data files; and
responding to a request from said at least one client for access to one of the regular data files by using the old file handle for said one of the regular data files for access to the source file system to access the handle translation entry for said one of the regular data files to obtain the new file handle for said one of the regular data files and using the new file handle for said one of the regular data files for accessing said one of the regular data files in the target file system.
9 Assignments
0 Petitions
Accused Products
Abstract
When a directory tree is migrated from a source file system to a target file system, the directories of the directory tree are retained in the source file system, and handle translation entries are substituted for the regular data files of the directory tree in the source file system. The handle translation entries provide new file handles for the regular data files when the source file system is accessed with old file handles of the regular data files. For example, each handle translation entry includes the old file handle, a file system identifier, and the new file handle. The old file handle provides verification of the file handle being used for accessing the handle translation entry, and the file system identifier identifies the target file system in which the new file handle is valid.
-
Citations
20 Claims
-
1. In a data processing system including at least one client and at least one file server providing client access to regular data files in a directory tree in data storage by providing said at least one client with file handles that said at least one client includes in file access requests for access to the regular data files, a method of providing said at least one client with access to the regular data files concurrent with migration of the directory tree from a source file system to a target file system, the regular data files having respective old file handles in the source file system, and the regular data files having respective new file handles in the target file system, said method comprising:
-
upon migrating the directory tree from the source file system to the target file system, retaining directories of the directory tree in the source file system, and substituting handle translation entries for the regular data files in the source file system, the handle translation entries providing the respective new file handles for the regular data files, so that file access to the source file system using the old file handles provides access to the handle translation entries providing the respective new file handles for the regular data files; and responding to a request from said at least one client for access to one of the regular data files by using the old file handle for said one of the regular data files for access to the source file system to access the handle translation entry for said one of the regular data files to obtain the new file handle for said one of the regular data files and using the new file handle for said one of the regular data files for accessing said one of the regular data files in the target file system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. In a data processing system including at least one client, a source file server, and a target file server, the source file server providing client access to regular data files in a directory tree in data storage of the source file server by providing said at least one client with file handles that said at least one client includes in file access requests for access to the regular data files, a method of providing said at least one client with access to the regular data files concurrent with migration of the directory tree from the source file server to the target file server, the regular data files having respective old file handles in the source file server, and the regular data files having respective new file handles in the target file server, the target file server providing client access to the regular data files in the directory tree in data storage of the target file server in response to client requests for access to the regular data files in the target file server when the client requests for access to the regular data files in the target file server include the new file handles, said method comprising:
-
upon migrating the directory tree from the source file server to the target file server, retaining directories of the directory tree in the source file server, and substituting handle translation entries for the regular data files in the source file server, the handle translation entries providing the respective new file handles for the regular data files, so that file access to the source file server using the old file handles provides access to the handle translation entries providing the respective new file handles for the regular data files; and responding to a request from said at least one client for access to one of the regular data files by using the old file handle for said one of the regular data files for access to the source file server to access the handle translation entry for said one of the regular data files to obtain the new file handle for said one of the regular data files and using the new file handle for said one of the regular data files for accessing said one of the regular data files in the target file server. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A file server comprising:
-
data storage for storing a directory tree in a source file system, the directory tree having a root directory and regular data files; and at least one data processor coupled to the data storage and programmed for providing at least one client with access to the regular data files in the directory tree by providing said at least one client with file handles that said at least one client includes in file access requests for access to the regular data files, wherein said at least one data processor is further programmed for providing said at least one client with access to the regular data files concurrent with migration of the directory tree from the source file system to a target file system, the regular data files having respective old file handles in the source file system, and the regular data files having respective new file handles in the target file system, wherein said at least one data processor is programmed to migrate the directory tree from the source file system to the target file system while retaining directories of the directory tree in the source file system and substituting handle translation entries for the regular data files in the source file system, the handle translation entries providing the respective new file handles for the regular data files so that file access to the source file system using the old file handles provides access to the handle translation entries providing the respective new file handles for the regular data files; and wherein said at least one data processor is programmed to respond to a request from said at least one client for access to one of the regular data files by using the old file handle for said one of the regular data files for access to the source file system to access the handle translation entry for said one of the regular data files to obtain the new file handle for said one of the regular data files so that the new file handle for said one of the regular data files is used for accessing said one of the regular data files in the target file system. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification