Optimized selection and accessing of stored files to avoid mount and position thrashing
First Claim
1. A method for transferring files stored on multiple separate storage volumes using information from a list in such a way as to minimize mounting and positioning of the storage volumes, the method comprising:
- receiving a request specifying selection criteria for selecting a first file to be included in a copy set, wherein the request includes a file order;
identifying a first matching file meeting the selection criteria;
locating the first matching file on one of the storage volumes, wherein locating the first matching file on one of the storage volumes comprises searching entries in a storage reference list, first for a storage pool identifier, then for a bfid, then for a storage volume identifier, and then for a position within the storage volume that has the first matching file;
identifying any other matching files on the storage volume that has the first matching file;
determining a copying order of the first matching file and the any other matching files on the storage volume that has the first matching file, wherein the file order in the request is ignored when determining the copying order, and wherein the copying order is determined by, volume, then position, and then bfid; and
copying the first matching file and the any other matching files identified on the storage volume that has the first matching file, from the storage volume that has the first matching file to a copy set according to the determined copying order, wherein no matching files are duplicated in the copy set; and
wherein the copying operation further comprises determining if the first matching file cannot be accessed due to a media defect, and if the first matching file cannot be accessed due to a media defect, then the copying operation does not include copying the first matching file to the copy set, and the method further comprises determining if the first matching file resides on a secondary volume, and if the first matching file resides on a secondary volume, then the method further comprises adding the secondary volume to a deferred processing list.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for generating file copies with minimal mounting and positioning of storage volumes involves receiving a request to generate file copies specifying file selection criteria, identifying matching files meeting the selection criteria, locating the matching files on their storage volumes, and copying the files to a copy set. Determination of file copying order is optimized by placing greater emphasis on relative storage locations of matching files than on the order in which their copies are requested. Once a storage volume is mounted, all files stored on that volume are matched against the pending requests including future requests and if found to be the subject of a request, are copied from the mounted volume in optimal position-sensitive order. Copying from secondary storage is deferred until all copying from primary storage is complete.
-
Citations
18 Claims
-
1. A method for transferring files stored on multiple separate storage volumes using information from a list in such a way as to minimize mounting and positioning of the storage volumes, the method comprising:
-
receiving a request specifying selection criteria for selecting a first file to be included in a copy set, wherein the request includes a file order;
identifying a first matching file meeting the selection criteria;
locating the first matching file on one of the storage volumes, wherein locating the first matching file on one of the storage volumes comprises searching entries in a storage reference list, first for a storage pool identifier, then for a bfid, then for a storage volume identifier, and then for a position within the storage volume that has the first matching file;
identifying any other matching files on the storage volume that has the first matching file;
determining a copying order of the first matching file and the any other matching files on the storage volume that has the first matching file, wherein the file order in the request is ignored when determining the copying order, and wherein the copying order is determined by, volume, then position, and then bfid; and
copying the first matching file and the any other matching files identified on the storage volume that has the first matching file, from the storage volume that has the first matching file to a copy set according to the determined copying order, wherein no matching files are duplicated in the copy set; and
wherein the copying operation further comprises determining if the first matching file cannot be accessed due to a media defect, and if the first matching file cannot be accessed due to a media defect, then the copying operation does not include copying the first matching file to the copy set, and the method further comprises determining if the first matching file resides on a secondary volume, and if the first matching file resides on a secondary volume, then the method further comprises adding the secondary volume to a deferred processing list. - View Dependent Claims (2, 11, 12, 13)
-
-
3. A method for transferring files stored on multiple separate storage volumes using information from a list in such a way as to minimize mounting and positioning of the storage volumes, the method comprising:
-
receiving a request specifying selection criteria for selecting a first file to be included in a copy set, wherein the request includes a file order;
identifying a first matching file meeting the selection criteria;
locating the first matching file on one of the storage volumes, wherein locating the first matching file on one of the storage volumes comprises searching entries in a storage reference list, first for a storage pool identifier, then for a bfid, then for a storage volume identifier, and then for a position within the storage volume that has the first matching file;
identifying any other matching files on the storage volume that has the first matching file;
determining a copying order of the first matching file and the any other matching files on the storage volume that has the first matching file, wherein the file order in the request is ignored when determining the copying order, and wherein the copying order is determined by, volume, the position, and then bfid; and
copying the first matching file and the any other matching files identified on the storage volume that has the first matching file, from the storage volume to a copy set according to the determined copying order, wherein no matching files are duplicated in the copy set; and
wherein the storage volumes comprise removable and non removable sequential access volumes and random access volumes; and
wherein the storage volume that has the first matching file is a sequential access volume, and wherein the copying operation comprises copying the first matching file and the any other matching files to the copy set in an order in which they are stored on the sequential access storage volume; and
wherein the first matching file stored on the storage volume is a primary copy of the first matching file; and
wherein a secondary copy of the first matching file is stored on a sequential access volume;
and further comprising deferring copying from the sequential access volume having the secondary copy of the first matching file until all copying from the storage volume that has the primary copy of the first matching file has been completed. - View Dependent Claims (4, 14)
-
-
5. An apparatus comprising:
-
a computer having data storage volumes connected thereto; and
one or more computer programs, performed by the computer, for generating a copy set in such a way as to minimize mounting and positioning of the storage volumes, the generating comprising;
receiving a request specifying selection criteria for selecting a first file to be included in a copy set, wherein the request includes a file order;
identifying a first matching file meeting the selection criteria;
locating the first matching file on one of the storage volumes, wherein locating the first matching file on one of the storage volumes comprises searching entries in a storage reference list, first for a storage pool identifier, then for a bfid, then for a storage volume identifier, and then for a position within the storage volume that has the first matching file;
identifying any other matching files on the storage volume that has the first matching file;
determining a copying order of the first matching file and the any other matching files on the storage volume that has the first matching file, wherein the file order in the request is ignored when determining the copying order, and wherein the copying order is determined by, volume, then position, and then bfid; and
copying the first matching file and the any other matching files identified on the storage volume that has the first matching file, from the storage volume that has the first matching file to a copy set according to the determined copying order, wherein no matching files are duplicated in the copy set; and
wherein the copying operation further comprises determining if the first matching file cannot be accessed due to a media defect, and if the first matching file cannot be accessed due to a media defect, then the copying operation does not include copying the first matching file to the copy set, and the generating further comprises determining if the first matching file resides on a secondary volume, and if the first matching file resides on a secondary volume, then the generating further comprises adding the secondary volume to a deferred processing list. - View Dependent Claims (6, 15)
-
-
7. An apparatus comprising:
-
a computer having data storage volumes connected thereto; and
one or more computer programs, performed by the computer, for generating a copy set in such a way as to minimize mounting and positioning of the storage volumes, the generating comprising;
receiving a request specifying selection criteria for selecting a first file to be included in a copy set, wherein the request includes a file order;
identifying a first matching file meeting the selection criteria;
locating the first matching file on one of the storage volumes, wherein locating the first matching file on one of the storage volumes comprises searching entries in a storage reference list, first for a storage pool identifier, then for a bfid, then for a storage volume identifier, and then for a position within the storage volume that has the first matching file;
identifying any other matching files on the storage volume that has the first matching file;
determining a copying order of the first matching file and the any other matching files on the storage volume that has the first matching file, wherein the file order in the request is ignored when determining the copying order, and wherein the copying order is determined by, volume, then position, and then bfid; and
copying the first matching file and the any other matching files identified on the storage volume that has the first matching file, from the storage volume to a copy set according to the determined copying order, wherein no matching files are duplicated in the copy set; and
wherein the storage volumes comprise removable and non removable sequential access volumes and random access volumes; and
wherein the storage volume that has the first matching file is a sequential access volume, and wherein the copying operation comprises copying the first matching file and the any other matching files to the copy set in an order in which they are stored on the sequential access storage volume; and
wherein the first matching file stored on the storage volume is a primary copy of the first matching file; and
wherein a secondary copy of the first matching file is stored on a sequential access volume;
and further comprising deferring copying from the sequential access volume having the secondary copy of the first matching file until all copying from the storage volume that has the primary copy of the first matching file has been completed. - View Dependent Claims (16)
-
-
8. An article of manufacture comprising a computer program carrier readable by a computer and embodying one or more instructions executable by the computer for generating a copy set in such a way as to minimize mounting and positioning of storage volumes, the generating comprising:
-
receiving a request specifying selection criteria for selecting a first file to be included in a copy set, wherein the request includes a file order;
identifying a first matching file meeting the selection criteria;
locating the first matching file on one of the storage volumes, wherein locating the first matching file on one of the storage volumes comprises searching entries in a storage reference list, first for a storage pool identifier, then for a bfid, then for a storage volume identifier, and then for a position within the storage volume that has the first matching file;
identifying any other matching files on the storage volume that has the first matching file;
determining a copying order of the first matching file and the any other matching files on the storage volume that has the first matching file, wherein the file order in the request is ignored when determining the copying order, and wherein the copying order is determined by, volume, then position, and then bfid; and
copying the first matching file and the any other matching files identified on the storage volume that has the first matching file, from the storage volume to a copy set according to the determined copying order, wherein no matching files are duplicated in the copy set; and
wherein the copying operation further comprises determining if the first matching file cannot be accessed due to a media defect, and if the first matching file cannot be accessed due to a media defect, then the copying operation does not include copying the first matching file to the copy set, and the generating further comprises determining if the first matching file resides on a secondary volume, and if the first matching file resides on a secondary volume, then the generating further comprises adding the secondary volume to a deferred processing list. - View Dependent Claims (9, 17)
-
-
10. An article of manufacture comprising a computer program carrier readable by a computer and embodying one or more instructions executable by the computer for generating a copy set in such a way as to minimize mounting and positioning of storage volumes, the generating comprising:
-
receiving a request specifying selection criteria for selecting a first file to be included in a copy set, wherein the request includes a file order;
identifying a first matching file meeting the selection criteria;
locating the first matching file on one of the storage volumes, wherein locating the first matching file on one of the storage volumes comprises searching entries in a storage reference list, first for a storage pool identifier, then for a bfid, then for a storage volume identifier, and then for a position within the storage volume that has the first matching file;
identifying any other matching files on the storage volume that has the first matching file;
determining a copying order of the first matching file and the any other matching files on the storage volume that has the first matching file, wherein the file order in the request is ignored when determining the copying order, and wherein the copying order is determined by, volume, then position, and then bfid; and
copying the first matching file and the any other matching files identified on the storage volume that has the first matching file, from the storage volume to a copy set according to the determined copying order, wherein no matching files are duplicated in the copy set; and
wherein the storage volumes comprise removable and non removable sequential access volumes and random access volumes; and
wherein the storage volume that has the first matching file is a sequential access volume, and wherein the copying operation comprises copying the first matching file and the any other matching files to the copy set in an order in which they are stored on the sequential access storage volume; and
wherein the first matching file stored on the storage volume is a primary copy of the first matching file; and
wherein a secondary copy of the first matching file is stored on a sequential access volume;
and further comprising deferring copying from the sequential access volume having the secondary copy of the first matching file until all copying from the storage volume that has the primary copy of the first matching file has been completed. - View Dependent Claims (18)
-
Specification