CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to Chinese Patent Application No. CN201811271611.4, on file at the China National Intellectual Property Administration (CNIPA), having a filing date of Oct. 29, 2018, and having “METHOD, APPARATUS, AND COMPUTER PROGRAM PRODUCT FOR MANAGING STORAGE SYSTEM” as a title, the contents and teachings of which are herein incorporated by reference in their entirety.

FIELD

Various implementations of the present disclosure generally relate to storage management, and more specifically, to a method, apparatus and computer program product for managing various storage devices in a resource pool of a storage system.

BACKGROUND

With the development of data storage techniques, various data storage devices now provide users with increasingly large data storage capacity, and their data access speed has been improved greatly. With the increase of data storage capacity, users also impose greater demands on data reliability and response time of storage systems. So far a variety of data storage systems based on Redundant Arrays of Independent Disks (RAID) have been developed to improve reliability of data. When one or more disks in a storage system fail(s), data in failed disk(s) can be recovered from other normal disk.

Mapped Redundant Array of Independent Disks (mapped RAID) has been developed so far. In the mapped RAID, a disk is a logical concept and may include multiple extents. Multiple extents comprised in one logical disk may be distributed over different physical storage devices in a resource pool. Regarding multiple extents in one stripe of the mapped RAID, they are supposed to be distributed over different physical storage devices, so that when a physical storage device where one extent among the multiple extents resides fails, a rebuild operation may be performed so as to recover data from a physical storage device where other extent resides.

It will be understood that due to the difference in service time and service condition between various storage devices in the resource pool, these storage devices might have different wear degrees. At this point, it is a tough technical issue regarding how to control the wear degree of each storage device in the resource pool and further avoid data loss in the storage system.

SUMMARY

Therefore, it is desirable to develop and implement a technical solution for managing a storage system more effectively. It is desired that the technical solution can be compatible with existing storage systems and manage the storage system more effectively by reconstructing various configurations of existing storage systems.

According to a first aspect of the present disclosure, there is provided a method for managing a storage system. In the method, a target storage device is selected from multiple storage devices associated with the storage system in response to respective wear degrees of the multiple storage devices being higher than a first predetermined threshold. Regarding multiple extents in the multiple storage devices, respective access loads of the multiple extents are determined. A source extent is selected from multiple extents residing on storage devices other than the target storage device, on the basis of the respective access loads of the multiple extents. Data in the source extent are moved to the target storage device.

According to a second aspect of the present disclosure, there is provided an apparatus for managing a storage system, including: at least one processor; a volatile memory; and a memory coupled to the at least one processor, the memory having instructions stored thereon, the instructions, when executed by the at least one processor, causing the apparatus to perform acts. The acts include: selecting a target storage device from multiple storage devices associated with the storage system in response to respective wear degrees of the multiple storage devices being higher than a first predetermined threshold; regarding multiple extents in the multiple storage devices, determining respective access loads of the multiple extents; selecting a source extent from multiple extents residing on storage devices other than the target storage device, on the basis of the respective access loads of the multiple extents; and moving data in the source extent to the target storage device.

According to a third aspect of the present disclosure, there is provided a computer program product. The computer program product is tangibly stored on a non-transient computer readable medium and includes machine executable instructions which are used to implement a method according to the first aspect of the present disclosure.

