Patent ID: 9594650
Date: 2017-03-14
CPC Classifications: G06F

Claim:
1. A method for performing failover processing between a production host and a backup host, a storage system is connected to the production host and the backup host, the method comprising: in response to a failure of the production host: obtaining metadata of data blocks that have already been cached from an elastic space located in a fast disk of the storage system; expanding a storage capacity of the elastic space; in response to a maximum storage capacity of the elastic space being less than a storage capacity of the data blocks to which the metadata corresponds, expanding the elastic space to its maximum capacity; in response to the maximum storage capacity of the elastic space being more than the storage capacity of the data blocks to which the metadata corresponds, expanding the elastic space until the storage capacity of the elastic space at least is capable of storing the data blocks to which the metadata corresponds; obtaining data blocks to which the metadata corresponds according to the metadata and the storage capacity of the expanded elastic space, and storing the same in the expanded elastic space; and in response to the backup host requesting the data blocks to which the metadata corresponds and the data blocks to which the metadata corresponds have already been stored in the expanded elastic space, obtaining the data blocks to which the metadata corresponds from the expanded elastic space and transmitting the same to the backup host.