Storage device, storage system, and method for controlling storage device
First Claim
1. A storage device comprising:
- an error process information table storage that stores a table, the table including data related to error types that occur in the storage device, dynamic information indicating a process setting that can be changed based on a state of the storage device when an error is detected, and static information indicating a process setting that is determined in advance for each of the error types, the dynamic information and the static information being associated with each other for each error type, the dynamic information including at least one of a number of retries that are performed when the error is detected and a number of failovers that indicates an upper limit of a number of times that a failover process of migrating data to another storage device is performed when the error is detected;
an update information management unit that adds, when the static information is changed, information indicating a change in the static information to the static information stored in the error process information table storage;
a determining unit that determines an error type that occurs in the storage device;
an acquiring unit that acquires, from the error process information table storage, the dynamic information that is associated with the error type determined by the determining unit;
an information converter that determines whether or not information indicating a change exists in the static information associated with the error type determined by the determining unit, and changes the dynamic information acquired by the acquiring unit when the information converter determines that information indicating a change exists in the static information so that the changed dynamic information indicates that the static information has been changed, the information converter reversibly changing the dynamic information by multiplying at least one of the number of retries and the number of failovers by −
1 so that the changed dynamic information has a negative value;
a transmitter that transmits the dynamic information acquired by the acquiring unit to a control device that controls the storage device when the information converter determines that information indicating a change does not exist in the static information, and transmits the dynamic information changed by the information converter to the control device when the information converter determines that information indicating a change exists in the static information; and
an information transmitter that receives, from the control device, a request to transmit the static information and transmits, to the control device, a content of the static information that corresponds to the request.
1 Assignment
0 Petitions
Accused Products
Abstract
A storage device disclosed in the present application includes a device-error-codes table, first-information indicating a process-setting that can be changed by a device-state, and second-information indicating a process-setting that is a previously determined by a device-error-type, are associated with each other; a management-unit that adds information indicating a change in the second-information to the second-information stored in the table; a determining-unit that determines the device-error-type; an acquiring unit that acquires, from the table, the first-information; an information-converter that determines whether or not information indicating a change in the second-information, and changes the first-information by the acquiring unit; a transmitter that transmits the first-information by the acquiring unit or changed by the information-converter to a storage-device-controller; and an information-transmitter that receives, from the controller, a request to transmit the second-information and transmits, to the controller, the second-information that corresponds to the request.
-
Citations
3 Claims
-
1. A storage device comprising:
-
an error process information table storage that stores a table, the table including data related to error types that occur in the storage device, dynamic information indicating a process setting that can be changed based on a state of the storage device when an error is detected, and static information indicating a process setting that is determined in advance for each of the error types, the dynamic information and the static information being associated with each other for each error type, the dynamic information including at least one of a number of retries that are performed when the error is detected and a number of failovers that indicates an upper limit of a number of times that a failover process of migrating data to another storage device is performed when the error is detected; an update information management unit that adds, when the static information is changed, information indicating a change in the static information to the static information stored in the error process information table storage; a determining unit that determines an error type that occurs in the storage device; an acquiring unit that acquires, from the error process information table storage, the dynamic information that is associated with the error type determined by the determining unit; an information converter that determines whether or not information indicating a change exists in the static information associated with the error type determined by the determining unit, and changes the dynamic information acquired by the acquiring unit when the information converter determines that information indicating a change exists in the static information so that the changed dynamic information indicates that the static information has been changed, the information converter reversibly changing the dynamic information by multiplying at least one of the number of retries and the number of failovers by −
1 so that the changed dynamic information has a negative value;a transmitter that transmits the dynamic information acquired by the acquiring unit to a control device that controls the storage device when the information converter determines that information indicating a change does not exist in the static information, and transmits the dynamic information changed by the information converter to the control device when the information converter determines that information indicating a change exists in the static information; and an information transmitter that receives, from the control device, a request to transmit the static information and transmits, to the control device, a content of the static information that corresponds to the request.
-
-
2. A storage system comprising:
-
a storage device that stores information; and a control device that controls the storage device, wherein the storage device includes; an error process information table storage that stores a table, the table including data related to error types that occur in the storage device, dynamic information indicating a process setting that can be changed based on a state of the storage device when an error is detected, and static information indicating a process setting that is determined in advance for each of the error types, the dynamic information and the static information being associated with each other for each error type, the dynamic information including at least one of a number of retries that are performed when the error is detected and a number of failovers that indicates an upper limit of a number of times that a failover process of migrating data to another storage device is performed when the error is detected; a update information management unit that adds, when the static information is changed, information indicating a change in the static information to the static information stored in the error process information table storage; a determining unit that detects an error occurring in the storage device and determines an error type of the detected error; an acquiring unit that acquires, from the error process information table storage, the dynamic information that is associated with the error type determined by the determining unit; an information converter that determines whether or not information indicating a change exists in the static information associated with the error type determined by the determining unit, and changes the dynamic information acquired by the acquiring unit when the information converter determines that information indicating a change exists in the static information so that the changed dynamic information indicates that the static information has been changed, the information converter reversibly changing the dynamic information by multiplying at least one of the number of retries and the number of failovers by −
1 so that the changed dynamic information has a negative value;a transmitter that transmits the dynamic information acquired by the acquiring unit to the control device that controls the storage device when the information converter determines that information indicating a change does not exist in the static information, and transmits the dynamic information changed by the information converter to the control device when the information converter determines that the information indicating a change exists in the static information; and an information transmitter that receives, from the control device, a request to transmit the static information and transmits, to the control device, a content of the static information that corresponds to the request, wherein the control device includes a message table storage that stores the static information; an information requesting unit that transmits, to the information transmitter, the request to transmit the static information when the dynamic information that is received from the transmitter indicates that the static information has been changed; an updating unit that receives the static information from the information transmitter and updates the static information in the message table storage to correspond to the received static information; and a controller that controls the storage device so that the storage device performs a process on basis of the dynamic information received from the transmitter and performs a process on basis of the static information that is associated with the dynamic information stored in the message table storage.
-
-
3. A method for controlling a storage device that includes an error process information table storage that stores a table, the table including data related to error types that occur in the storage device, dynamic information indicating a process setting that can be changed based on a state of the storage device when an error is detected, and static information indicating a process setting that is determined in advance for each of the error types, the dynamic information and the static information being associated with each other for each error type, the method comprising:
-
adding, when the static information is changed, information indicating a change in the static information to the static information that is stored in the error process information table storage; detecting an error occurring in the storage device and determining an error type of the detected error; acquiring, from the error process information table storage, the dynamic information associated with the determined error type, the dynamic information including at least one of a number of retries that are performed when the error is detected and a number of failovers that indicates an upper limit of a number of times that a failover process of migrating data to another storage device is performed when the error is detected; determining whether or not information that indicates a change exists in the static information associated with the determined error type; transmitting, when the information that indicates the change does not exist in the static information, the acquired first information to a control device that controls the storage device; changing, when the information that indicates the change exists in the static information, the acquired dynamic information by multiplying at least one of the number of retries and the number of failovers by −
1 so that the changed dynamic information has a negative value and so that the changed dynamic information indicates that the static information has been changed, and transmitting the changed dynamic information to the control device; andreceiving, from the control device, a request to transmit the static information and transmitting, to the control device, a content of the static information that corresponds to the request.
-
Specification