Patent ID: 11003374

Abstract:
Embodiments of the present disclosure relate to methods, devices and computer program products for managing a redundant array of independent disks (RAID). The method comprises: in response to a number of a plurality of disks occupied by the RAID exceeding a first threshold, determining a first number of disk pairs to be disassociated among the plurality of disks, the first number of disk pairs at least comprising a first disk and a second disk associated with each other, and a first extent in the first disk and a second extent in the second disk being included in a same RAID extent of the RAID. The method further comprises determining a third disk for migrating at least one of the first extent and the second extent among the plurality of disks. Besides, the method further comprises migrating the at least one extent to the third disk to disassociate the first disk and the second disk so that a second number of disk pairs associated with each other among the plurality of disks is below a second threshold.