IP Library Granted Patent US 11,226,881
Granted Patent B2
US 11,226,881 · App. 16/994,918 · Granted Jan 18, 2022

Responding to a fault of a disk which stores metadata and user data in different disk slices

Inventors: Lei Sun (Beijing, CN); Jianbin Kang (Beijing, CN); Geng Han (Beijing, CN); Xinlei Xu (Beijing, CN); Jian Gao (Beijing, CN)
Assignee: EMC IP Holding Company LLC
G06F11/2094G06F11/3034G06F11/3495G06F2201/88
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,226,881
App. No.
16/994,918
Granted
Jan 18, 2022
Kind
B2
Abstract

Techniques for managing a storage disk involve monitoring a duration of a fault of a faulted storage disk, wherein the faulted storage disk includes a first disk slice configured to store metadata and a second disk slice configured to store user data. The techniques further involve, in response to the duration reaching a first threshold value, replacing the first disk slice with a first available disk slice in a first non-faulted storage disk. The techniques further involve, in response to the duration reaching a second threshold value greater than the first threshold value, replacing the second disk slice with a second available disk slice in a second non-faulted storage disk. Accordingly, fault monitoring windows with different lengths are applied to disk slices for different logical tiers in the faulted storage disk. In this way, the reliability of data of a metadata tier can be effectively improved.

Claims (78)

1. A method for managing a storage disk, comprising:

monitoring a duration of a fault of a faulted storage disk, wherein the faulted storage disk comprises a first disk slice configured to store metadata and a second disk slice configured to store user data;

in response to the duration reaching a first threshold value, replacing the first disk slice with a first available disk slice in a first non-faulted storage disk; and

in response to the duration reaching a second threshold value greater than the first threshold value, replacing the second disk slice with a second available disk slice in a second non-faulted storage disk;

wherein replacing the first disk slice with the first available disk slice comprises:

determining the first non-faulted storage disk from a storage resource pool comprising a plurality of storage disks, wherein each storage disk in the plurality of storage disks is divided into a plurality of disk slices;

allocating a free disk slice as the first available disk slice from the first non-faulted storage disk;

determining metadata stored in the first disk slice; and

writing the determined metadata into the first available disk slice.

2. The method according to claim 1 , wherein determining metadata stored in the first disk slice comprises:

determining a metadata storage unit comprising the first disk slice, wherein the metadata storage unit further comprises at least one disk slice in a storage disk different from the faulted storage disk; and

determining the metadata stored in the first disk slice based on data stored in the at least one disk slice.

3. The method according to claim 1 , wherein monitoring the duration comprises:

in response to the occurrence of the fault, initiating a first timer with a period of validity of the first threshold value and a second timer with a period of validity of the second threshold value to monitor the duration.

4. The method according to claim 1 , further comprising:

determining a user data storage unit comprising the second disk slice, wherein the user data storage unit further comprises at least one disk slice in a storage disk different from the faulted storage disk; and

updating the user data stored in the second disk slice based on the update of the at least disk slice during the fault.

5. The method according to claim 1 , wherein replacing the second disk slice with the second available disk slice comprises:

determining the second non-faulted storage disk from a storage resource pool comprising a plurality of storage disks, wherein each storage disk in the plurality of storage disks is divided into a plurality of disk slices;

allocating a free disk slice as the second available disk slice from the second non-faulted storage disk;

determining user data stored in the second disk slice; and

writing the determined user data into the second available disk slice.

6. The method according to claim 1 , further comprising:

storing user data in another disk slice in the first non-faulted storage disk that is different from the first available disk slice.

7. The method according to claim 1 , further comprising:

after monitoring the duration has been initiated and prior to the duration reaching the first threshold value, receiving a metadata update corresponding to information in the first disk slice.

8. The method according to claim 7 , wherein writing the determined metadata into the first available disk slice includes:

storing, as the determined metadata, updated metadata which is based on the metadata update.

9. An electronic device, comprising:

a processor; and

a memory coupled to the processor, wherein the memory has an instruction stored therein, the instruction, when executed by the processor, causes the device to execute actions, and the actions comprise:

monitoring a duration of a fault of a faulted storage disk, wherein the faulted storage disk comprises a first disk slice configured to store metadata and a second disk slice configured to store user data;

in response to the duration reaching a first threshold value, replacing the first disk slice with a first available disk slice in a first non-faulted storage disk; and

in response to the duration reaching a second threshold value greater than the first threshold value, replacing the second disk slice with a second available disk slice in a second non-faulted storage disk;

wherein replacing the first disk slice with the first available disk slice comprises:

determining the first non-faulted storage disk from a storage resource pool comprising a plurality of storage disks, wherein each storage disk in the plurality of storage disks is divided into a plurality of disk slices;

allocating a free disk slice as the first available disk slice from the first non-faulted storage disk;

determining metadata stored in the first disk slice; and

writing the determined metadata into the first available disk slice.

10. The device according to claim 9 , wherein determining metadata stored in the first disk slice comprises:

determining a metadata storage unit comprising the first disk slice, wherein the metadata storage unit further comprises at least one disk slice in a storage disk different from the faulted storage disk; and

determining the metadata stored in the first disk slice based on data stored in the at least one disk slice.

11. The device according to claim 9 , wherein monitoring the duration comprises:

in response to the occurrence of the fault, initiating a first timer with a period of validity of the first threshold value and a second timer with a period of validity of the second threshold value to monitor the duration.

12. The device according to claim 9 , further comprising:

determining a user data storage unit comprising the second disk slice, wherein the user data storage unit further comprises at least one disk slice in a storage disk different from the faulted storage disk; and

updating the user data stored in the second disk slice based on the update of the at least disk slice during the fault.

13. The device according to claim 9 , wherein replacing the second disk slice with the second available disk slice comprises:

determining the second non-faulted storage disk from a storage resource pool comprising a plurality of storage disks, wherein each storage disk in the plurality of storage disks is divided into a plurality of disk slices;

allocating a free disk slice as the second available disk slice from the second non-faulted storage disk;

determining user data stored in the second disk slice; and

writing the determined user data into the second available disk slice.

14. The device according to claim 9 , wherein the actions further comprise:

storing user data in another disk slice in the first non-faulted storage disk that is different from the first available disk slice.

15. A computer program product having a non-transitory computer readable medium which stores a set of instructions to manage a storage disk; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:

monitoring a duration of a fault of a faulted storage disk, wherein the faulted storage disk comprises a first disk slice configured to store metadata and a second disk slice configured to store user data;

in response to the duration reaching a first threshold value, replacing the first disk slice with a first available disk slice in a first non-faulted storage disk; and

in response to the duration reaching a second threshold value greater than the first threshold value, replacing the second disk slice with a second available disk slice in a second non-faulted storage disk;

wherein replacing the first disk slice with the first available disk slice comprises:

determining the first non-faulted storage disk from a storage resource pool comprising a plurality of storage disks, wherein each storage disk in the plurality of storage disks is divided into a plurality of disk slices;

allocating a free disk slice as the first available disk slice from the first non-faulted storage disk;

determining metadata stored in the first disk slice; and

writing the determined metadata into the first available disk slice.

16. The computer program product according to claim 15 , wherein determining metadata stored in the first disk slice comprises:

determining a metadata storage unit comprising the first disk slice, wherein the metadata storage unit further comprises at least one disk slice in a storage disk different from the faulted storage disk; and

determining the metadata stored in the first disk slice based on data stored in the at least one disk slice.

17. The computer program product according to claim 15 , wherein monitoring the duration comprises:

in response to the occurrence of the fault, initiating a first timer with a period of validity of the first threshold value and a second timer with a period of validity of the second threshold value to monitor the duration.

18. The computer program product according to claim 15 , wherein the method further comprises:

determining a user data storage unit comprising the second disk slice, wherein the user data storage unit further comprises at least one disk slice in a storage disk different from the faulted storage disk; and

updating the user data stored in the second disk slice based on the update of the at least disk slice during the fault.

19. The computer program product according to claim 15 , wherein replacing the second disk slice with the second available disk slice comprises:

determining the second non-faulted storage disk from a storage resource pool comprising a plurality of storage disks, wherein each storage disk in the plurality of storage disks is divided into a plurality of disk slices;

allocating a free disk slice as the second available disk slice from the second non-faulted storage disk;

determining user data stored in the second disk slice; and

writing the determined user data into the second available disk slice.

20. The computer program product according to claim 15 , wherein the method further comprises:

storing user data in another disk slice in the first non-faulted storage disk that is different from the first available disk slice.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0523) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0664 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0434) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0740 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0609) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 062021/0570 →
RELEASE OF SECURITY INTEREST AT REEL 054591 FRAME 0471 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0463 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 054475/0609 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0434 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0523 →
SECURITY AGREEMENT Recorded Nov 13, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 054591/0471 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: SUN, LEI; KANG, JIANBIN; HAN, GENG; XU, XINLEI; GAO, JIAN
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 053735/0926 →