Method, system, and program for accessing data from storage systems
First Claim
1. A method for accessing a plurality of data sets from one of a first, second, third and fourth storage devices, including a copy of the data set, comprising:
- maintaining a flag for each of the first and second storage devices indicating whether a previous access attempt of the data set from the first and second storage devices failed;
maintaining a data level for each of the plurality of data sets in each of the first and second storage devices indicating a number of times the data set has been updated, wherein there is a separate data level for each copy of one data set in the first and second storage devices and wherein the data levels for the first and second storage devices having copies of one data set are capable of being equal;
receiving a request to one data set;
accessing the data set from one of the third and fourth storage devices if the data set is in one of the third and fourth storage devices;
selecting the first or second storage device having a higher data level for the requested data set if the data levels are not equal and if the data set is not in one of the third and fourth storage devices;
selecting the first or second storage device having the flag indicating that no previous access attempt failed if the flag for the other of the first or second storage device indicates that one previous access attempt of the data set from the first or second storage device failed and if the data levels are equal and if the data set is not in one of the third and fourth storage devices;
accessing the data set from the selected first or second storage device;
copying the data set from the first storage device to the third storage device when accessing the data set from the first storage device; and
copying the data set from the second storage device to the fourth storage device when accessing the data set from the first storage device.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a system, method, and program for accessing a data set, e.g., volume, file, from one of two storage devices. Each storage device includes a copy of the data set. A flag is maintained for each storage device indicating whether a previous access attempt of the data set from the storage device failed. The storage device having the flag indicating that no previous access attempt failed is selected if the flag for the other storage device indicates that one previous access attempt of the data set from the storage device failed. The data set is accessed from the selected storage device.
38 Citations
24 Claims
-
1. A method for accessing a plurality of data sets from one of a first, second, third and fourth storage devices, including a copy of the data set, comprising:
-
maintaining a flag for each of the first and second storage devices indicating whether a previous access attempt of the data set from the first and second storage devices failed;
maintaining a data level for each of the plurality of data sets in each of the first and second storage devices indicating a number of times the data set has been updated, wherein there is a separate data level for each copy of one data set in the first and second storage devices and wherein the data levels for the first and second storage devices having copies of one data set are capable of being equal;
receiving a request to one data set;
accessing the data set from one of the third and fourth storage devices if the data set is in one of the third and fourth storage devices;
selecting the first or second storage device having a higher data level for the requested data set if the data levels are not equal and if the data set is not in one of the third and fourth storage devices;
selecting the first or second storage device having the flag indicating that no previous access attempt failed if the flag for the other of the first or second storage device indicates that one previous access attempt of the data set from the first or second storage device failed and if the data levels are equal and if the data set is not in one of the third and fourth storage devices;
accessing the data set from the selected first or second storage device;
copying the data set from the first storage device to the third storage device when accessing the data set from the first storage device; and
copying the data set from the second storage device to the fourth storage device when accessing the data set from the first storage device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for accessing a data set from one of a first, second, third, and fourth storage devices, including a copy of the data set, comprising:
-
means for maintaining a flag for each of the first and second storage devices indicating whether a previous access attempt of the data set from the first and second storage devices failed;
means for maintaining a data level for each of the plurality of data sets in each of the first and second storage devices indicating a number of times the data set has been updated, wherein there is a separate data level for each copy of one data set in the first and second storage devices and wherein the data levels for the first and second storage devices having copies of one data set are capable of being equal;
means for receiving a request to one data set;
means for accessing the data set from one of the third and fourth storage devices if the data set is in one of the third and fourth storage devices;
means for selecting the first or second storage device having a higher data level if the data levels are not equal and if the data set is not in one of the third and fourth storage devices;
means for selecting the first or second storage device having the flag indicating that no previous access attempt failed if the flag for the other of the first or second storage device indicates that one previous access attempt of the data set from the first or second storage device failed and if the data levels are equal and if the data set is not in one of the third and fourth storage devices;
means for accessing the data set from the selected first or second storage devices;
means for copying the data set from the first storage device to the third storage device when accessing the data set from the first storage device; and
means for copying the data set from the second storage device to the fourth storage device when accessing the data set from the first storage device. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An article of manufacture for use in programming at least one processing unit to access a data set from one of a first, second, third, and fourth storage devices, including a copy of the data set, the article of manufacture comprising computer readable storage media including at least one computer program embedded therein that causes the at least one processing unit to perform:
-
maintaining a flag for each of the first and second storage devices indicating whether a previous access attempt of the data set from the first and second storage devices failed;
maintaining a data level for each of the plurality of data sets in each of the first and second storage devices indicating a number of times the data set has been updated, wherein there is a separate data level for each copy of one data set in different the first and second storage devices and wherein the data levels for the first and second storage devices having copies of one data set are capable of being equal;
receiving a request to one data set;
accessing the data set from one of the third and fourth storage devices if the data set is in one of the third and fourth storage devices;
selecting the first or second storage device having a higher data level if the data levels are not equal and if the data set is not in one of the third and fourth storage devices;
selecting the first or second storage device having the flag indicating that no previous access attempt failed if the flag for the other of the first or second storage device indicates that one previous access attempt of the data set from the first or second storage device failed and if the data levels are equal and if the data set is not in one of the third and fourth storage devices; and
accessing the data set from the selected first or second storage device;
copying the data set from the first storage device to the third storage device when accessing the data set from the first storage device; and
copying the data set from the second storage device to the fourth storage device when accessing the data set from the first storage device. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification