Techniques manage a Redundant Array of Independent Disks (RAID). In such a technique, in response to receiving information indicative of an end-of-life (EOF) of a first storage device of the RAID, a storage extent associated with the first storage device is determined, the storage extent being distributed over a plurality of storage devices of the RAID and including a first group of slices in the first storage device, the storage extent including a plurality of data blocks stored thereon. A portion of a data block of the plurality of data blocks is read from a first slice of the first group of slices, the first slice comprising the portion of the data block. The portion of the data block is written into a spare slice.