Patent ID: 11899633
Assignee: EMC IP HOLDING COMPANY LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A storage system comprising:
a plurality PSDs (physical storage devices);
one or more processors; and
one or more memories comprising code stored thereon, that when executed by at least one of the one or more processors, performs a method including:
selecting an eligible set of two or more of the plurality of PSDs that are eligible for scrubbing, wherein said selecting the eligible set includes selecting each PSD of the eligible set based on a similarity between characteristics of said each PSD and characteristics of PSDs previously determined to be eligible for scrubbing;
responsive to said selecting, storing in a memory, the eligible set of the two or more PSDs eligible for scrubbing;
receiving a health score set of health scores for the two or more PSDs in the eligible set, wherein the health score set identifies, for each PSD in the eligible set, a corresponding health score in the health score set;
receiving, in accordance with the health score set, a relative eligibility for each PSD of the eligible set relative to other PSDs of the eligible set;

receiving a table defining PSD health categories with associated health score ranges and associated scrub frequency categories, wherein each PSD health category is associated with a corresponding one of the associated health score ranges and is associated with a corresponding one of the associated scrub frequency categories;
for each PSD of the eligible set, mapping said each PSD to one of the PSD health categories and one of the scrub frequency categories associated with said one PSD health category, wherein said mapping is performed in accordance with the health score set and in accordance with the table, wherein a first of the PSD health categories is associated with a first of the scrub frequency categories and a second of the PSD health categories is associated with a second of the scrub frequency categories, wherein the first PSD health category denotes a healthier PSD state than the second PSD health category, and wherein the second scrub frequency denotes a higher scrub frequency than the first scrub frequency, wherein a first PSD of the eligible set has a first health score of the health score set which is mapped by said mapping to the first PSD health category, wherein a second PSD of the eligible set has a second health score of the health score set which is mapped by said mapping to the second PSD health category, and wherein the first PSD is healthier than the second PSD as indicated by the first health score of the first PSD being greater than the second health score of the second PSD;
scheduling, in accordance with a schedule, scrubbing of the eligible set of PSDs, including, for each PSD of the eligible set, scheduling a scrubbing of said each PSD based on the relative eligibility of said each PSD and based on a particular one of the scrub frequency categories mapped to said each PSD by said mapping, wherein the schedule indicates to scrub the second PSD, which is less healthy than the first PSD, more frequently than said first PSD; and
scrubbing the eligible set of PSDs according to the schedule, wherein said scrubbing scrubs the second PSD, which is less healthy than the first PSD, more frequently than said first PSD, and wherein said scrubbing includes detecting a media error and corrupted data, and reconstructing the corrupted data into a corresponding proper form.