IP Library › Granted Patent US 11,474,919
Granted Patent B2
US 11,474,919 · App. 16/591,890 · Granted Oct 18, 2022

Method for managing multiple disks, electronic device and computer program product

Inventors: Jian Gao (Beijing, CN); Hongpo Gao (Beijing, CN); Lei Sun (Beijing, CN)
Assignee: EMC IP Holding Company LLC
G06F11/2094G06F3/0619G06F3/0659G06F3/0689G06F11/1088G06F11/1092G06F2201/82
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,474,919
App. No.
16/591,890
Filed
Oct 3, 2019
Granted
Oct 18, 2022
Kind
B2
Art Unit
2113
USPC
714/6.22
Abstract

Techniques involve: detecting whether a first set of disks include an inaccessible disk, respective disk sections in the first set of disks forming a first set of stripes; in response to detecting the first set of disks including the inaccessible disk, determining faulty stripes in the first set of stripes, the faulty stripes including a first number of inaccessible disk sections; and in response to the first number exceeding a second number of free sections of the first set of disks, moving data in at least one stripe in the first set of stripes to free sections of the second set of disks to release sections of the at least one stripe, respective disk sections in the second set of disks forming a second set of stripes, each stripe in the first set of stripes and the second set of stripes having the same number of sections.

Claims (56)

1. A method for managing disks, comprising:

detecting whether a first set of disks of a storage system include an inaccessible disk, respective sections of a plurality of disks in the first set of disks forming a first set of stripes;

in response to detecting that the first set of disks include the inaccessible disk, determining faulty stripes in the first set of stripes, the faulty stripes comprising a first number of sections of the inaccessible disk; and

in response to the first number exceeding a second number of free sections of the first set of disks, moving data in at least one stripe in the first set of stripes to free sections of a second set of disks of the storage system to release sections of the at least one stripe, respective sections of a plurality of disks in the second set of disks forming a second set of stripes, each stripe in the first set of stripes and the second set of stripes having a same number of sections.

2. The method according to claim 1 , wherein moving the data in the at least one stripe to the free sections of the second set of disks comprises:

rebuilding the data in the faulty stripes; and

storing the rebuilt data to the free sections of the second set of disks.

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

determining a third number of free sections of the first set of disks after moving the data; and

in response to the first number not exceeding the third number, rebuilding the data in the faulty stripes in the free sections of the first set of disks.

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

reserving a first set of free sections in the first set of disks and reserving a second set of free sections in the second set of disks, the reserved free sections being dedicated to data rebuilding.

5. The method according to claim 4 , wherein a total number of sections in the first set of free sections and the second set of free sections is less than a total number of sections of two disks in the first set of disks and the second set of disks.

6. The method according to claim 4 or 5 , further comprising:

determining, based on the number of disks of the first set of disks, the number of the first set of free sections to be reserved in the first set of disks;

determining, based on the number of disks of the second set of disks, the number of the second set of free sections to be reserved in the second set of disks.

7. The method according to claim 1 , wherein determining the faulty stripes in the first set of stripes comprises:

determining a set of stripes associated with the inaccessible disk; and

determining stripes stored with user data in the set of stripes as the faulty stripes.

8. The method according to claim 1 , wherein moving data in at least one stripe in the first set of stripes to free sections of a second set of disks of the storage system includes:

identifying a faulty stripe in the first set of stripes;

rebuilding data corresponding to the faulty stripe;

storing the data corresponding to the faulty stripe in the free sections of the second set of disks; and

demapping the faulty stripe.

9. The method according to claim 8 , further comprising:

identifying a set of disks corresponding to the faulty stripe; and

mapping a new stripe in the first set of disks, wherein a section of the set of disks forms at least part of the new stripe.

10. The method according to claim 9 , further comprising:

identifying a second faulty stripe in the first set of stripes;

rebuilding the second faulty stripe; and

storing a set of data related to the second faulty stripe in the new stripe.

11. An electronic device, comprising:

a processor; and

a memory coupled to the processor, the memory having instructions stored therein which, when executed by the processor, cause the electronic device to perform acts of:

detecting whether a first set of disks of a storage system include an inaccessible disk, respective sections of a plurality of disks in the first set of disks forming a first set of stripes;

in response to detecting that the first set of disks include the inaccessible disk, determining faulty stripes in the first set of stripes, the faulty stripes comprising a first number of sections of the inaccessible disk; and

in response to the first number exceeding a second number of free sections of the first set of disks, moving data in at least one stripe in the first set of stripes to free sections of a second set of disks of the storage system to release sections of the at least one stripe, respective sections of a plurality of disks in the second set of disks forming a second set of stripes, each stripe in the first set of stripes and the second set of stripes having a same number of sections.

12. The electronic device according to claim 11 , wherein moving the data in the at least one stripe to the free sections of the second set of disks comprises:

rebuilding the data in the faulty stripes; and

storing the rebuilt data to the free sections of the second set of disks.

13. The electronic device according to claim 11 , wherein the acts further comprise:

determining a third number of free sections of the first set of disks after moving the data; and

in response to the first number not exceeding the third number, rebuilding the data in the faulty stripes in the free sections of the first set of disks.

14. The electronic device according to claim 11 , wherein the acts further comprise:

reserving a first set of free sections in the first set of disks and reserving a second set of free sections in the second set of disks, the reserved free sections being dedicated to data rebuilding.

15. The electronic device according to claim 14 , wherein a total number of sections in the first set of free sections and the second set of free sections is less than a total number of sections of two disks in the first set of disks and the second set of disks.

16. The electronic device according to claim 14 or 15 , wherein the acts further comprise:

determining, based on the number of disks of the first set of disks, the number of the first set of free sections to be reserved in the first set of disks;

determining, based on the number of disks of the second set of disks, the number of the second set of free sections to be reserved in the second set of disks.

17. The electronic device according to claim 11 , wherein determining the faulty stripes in the first set of stripes comprises:

determining a set of stripes associated with the inaccessible disk; and

determining stripes stored with user data in the set of stripes as the faulty stripes.

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

detecting whether a first set of disks of a storage system include an inaccessible disk, respective sections of a plurality of disks in the first set of disks forming a first set of stripes;

in response to detecting that the first set of disks include the inaccessible disk, determining faulty stripes in the first set of stripes, the faulty stripes comprising a first number of sections of the inaccessible disk; and

in response to the first number exceeding a second number of free sections of the first set of disks, moving data in at least one stripe in the first set of stripes to free sections of a second set of disks of the storage system to release sections of the at least one stripe, respective sections of a plurality of disks in the second set of disks forming a second set of stripes, each stripe in the first set of stripes and the second set of stripes having a same number of sections.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (051302/0528) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO WYSE TECHNOLOGY L.L.C.); SECUREWORKS CORP.
Reel/Frame 060438/0593 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053311/0169) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC
Reel/Frame 060438/0742 →
RELEASE OF SECURITY INTEREST AT REEL 051449 FRAME 0728 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.; SECUREWORKS CORP.; EMC CORPORATION
Reel/Frame 058002/0010 →
SECURITY INTEREST Recorded Jun 5, 2020
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 053311/0169 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
SECURITY AGREEMENT Recorded Dec 31, 2019
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.; SECUREWORKS CORP.; EMC CORPORATION
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 051449/0728 →
PATENT SECURITY AGREEMENT (NOTES) Recorded Dec 16, 2019
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.; SECUREWORKS CORP.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 051302/0528 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 20, 2019
From: GAO, JIAN; GAO, HONGPO; SUN, LEI
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 051060/0116 →
Priority Claims (1)
CN 201811289047.9 · Oct 31, 2018 · national
Continuity (1)
Related Publication 20200133810A1 · Apr 30, 2020