The invention provides a disk
reconstruction method and device, equipment and a storage medium, relates to the technical field of disk management, is applied to a controller, and comprises the following steps: when a target member disk in a
disk array breaks down, classifying each strip in the target member disk based on a reconstruction
bitmap, obtaining a first strip containing the data and a second strip not containing the data; performing reconstruction operation on the data of the stripe in the new disk based on the reconstruction
bitmap and the first stripe; after the reconstruction operation is completed,
metadata, corresponding to the second stripe, in the reconstruction
bitmap is copied to an initialization bitmap corresponding to the new disk, in the
copying process, the to-be-initialized stripe in the new disk is determined by checking the reconstruction bitmap and the initialization bitmap, then initialization is conducted, and the reconstructed disk is obtained. Therefore, according to the method and the device, the data are reconstructed firstly, then the
metadata are copied, and stripe initialization is performed in combination with the
metadata of the reconstructed bitmap or the initialized bitmap, so that the occupation of the reconstructed bitmap can be reduced, and the efficiency is improved.