Selection of migration methods including partial read restore in distributed storage management
First Claim
1. A method of operating a file server in a data network for access to file data that is migrated between primary storage and secondary storage, the file server responding to a client request for read access to a specified file by checking whether file data of the specified file has been migrated from the primary storage to the secondary storage, and upon finding that file data of the specified file has been migrated from the primary storage to the secondary storage, selecting a particular one of a number of offline file read access methods that are selectable by the file server under various conditions, the offline file read access methods including a partial read migration method for migrating only a portion of the data of an offline file from the secondary storage to the primary storage for retention in the primary storage after client read access, and a pass-through method in which the file server obtains file data from the secondary storage and passes on to a client the file data obtained from the secondary storage without retention in the primary storage of the file data obtained from the secondary storage;
- which further includes the file server responding to a request to truncate a partially migrated offline file to a new offset that is less than an extent of the partially migrated offline file, the file server responding to the request to truncate the partially migrated offline file by checking whether data of the partially migrated offline file up to the new offset is presently resident in the primary storage of the file server, and upon finding that data of the partially migrated offline file up to the new offset is presently resident in the primary storage of the file server, truncating the partially migrated offline file to the new offset by setting the extent of the partially migrated offline file to the new offset, and setting the partially migrated offline file to online status.
9 Assignments
0 Petitions
Accused Products
Abstract
A hierarchical storage system is constructed from file servers and a policy engine server by building upon a file migration service. Offline attributes are added to file system inodes in a primary file server, file system parameters are added in the primary server, an offline read access method field is added to a connection database, and the primary file server is programmed to use these attributes and parameters for selecting a particular method (such as a partial read migration or a pass through read method) for read access to an offline file. In this fashion, the primary file server is provided with flexibility for selecting a particular one of a number of migration methods depending on various conditions, in order to improve the trade-off between the cost of storage and delay in file access.
-
Citations
6 Claims
-
1. A method of operating a file server in a data network for access to file data that is migrated between primary storage and secondary storage, the file server responding to a client request for read access to a specified file by checking whether file data of the specified file has been migrated from the primary storage to the secondary storage, and upon finding that file data of the specified file has been migrated from the primary storage to the secondary storage, selecting a particular one of a number of offline file read access methods that are selectable by the file server under various conditions, the offline file read access methods including a partial read migration method for migrating only a portion of the data of an offline file from the secondary storage to the primary storage for retention in the primary storage after client read access, and a pass-through method in which the file server obtains file data from the secondary storage and passes on to a client the file data obtained from the secondary storage without retention in the primary storage of the file data obtained from the secondary storage;
which further includes the file server responding to a request to truncate a partially migrated offline file to a new offset that is less than an extent of the partially migrated offline file, the file server responding to the request to truncate the partially migrated offline file by checking whether data of the partially migrated offline file up to the new offset is presently resident in the primary storage of the file server, and upon finding that data of the partially migrated offline file up to the new offset is presently resident in the primary storage of the file server, truncating the partially migrated offline file to the new offset by setting the extent of the partially migrated offline file to the new offset, and setting the partially migrated offline file to online status. - View Dependent Claims (2, 3, 4, 5, 6)
Specification