IP Library Granted Patent US 10,949,314
Granted Patent B2
US 10,949,314 · App. 16/288,928 · Granted Mar 16, 2021

Method and apparatus for failure recovery of storage device

Inventors: Shaoqin Gong (Beijing, CN); Lifeng Yang (Beijing, CN); Jian Gao (Beijing, CN); Haiying Tang (Beijing, CN); Xiaobo Zhang (Beijing, CN)
Assignee: EMC IP Holding Company LLC
G06F11/2094G06F2201/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 10,949,314
App. No.
16/288,928
Filed
Feb 28, 2019
Granted
Mar 16, 2021
Kind
B2
Art Unit
2114
USPC
714/6.3
Abstract

Techniques perform failure recovery of a storage device. The techniques involve: determining, based on failure data indicating at least one failed disk, whether the at least one failed disk comprises a system disk associated with an extent pool of the storage device, the extent pool being built based on system disks and user disks; in response to determining that the at least one failed disk comprises a system disk, rebuilding the user data of the system disk to one or more further disks associated with the extent pool; and in response to the system disk being replaced with an updated system disk, restoring the rebuilt user data from the one or more further disks to the updated system disk, an association of the system disk with the extent pool being maintained until the system disk is replaced by the updated system disk.

Claims (80)

1. A method for failure recovery of a storage device, comprising:

determining, based on failure data indicating at least one failed disk, whether the at least one failed disk comprises a system disk associated with an extent pool of the storage device, the extent pool being built based on system disks and user disks;

in response to determining that the at least one failed disk comprises the system disk, rebuilding user data of the system disk to one or more further disks associated with the extent pool; and

in response to the system disk being replaced with an updated system disk, restoring the rebuilt user data from the one or more further disks to the updated system disk, an association of the system disk with the extent pool being maintained until the system disk is replaced by the updated system disk;

wherein determining whether the at least one failed disk comprises the system disk associated with the extent pool comprises:

determining whether a slot number of a failed disk of the at least one failed disk is a predetermined slot number;

in response to determining that the slot number is the predetermined slot number, determining that the at least one failed disk comprises the system disk.

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

copying partial user data of a further disk associated with the extent pool to the updated system disk, such that each disk associated with the extent pool has a free storage space.

3. The method according to claim 1 , wherein the failure data at least comprises at least one of the following:

a slot number of the at least one failed disk,

a number of the at least one failed disk, and

a failure duration of the at least one failed disk.

4. The method according to claim 1 , wherein rebuilding the data of the system disk to the one or more further disks associated with the extent pool comprises:

comparing a failure duration of the system disk with a predetermined duration;

in response to the failure duration exceeding the predetermined duration, rebuilding all data of the system disk to the further disk; and

in response to the failure duration not exceeding the predetermined duration, rebuilding changed data of the failed system disk to the system disk.

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

in response to determining that a number of system disks comprised in the at least one failed disk exceeds a threshold number, stopping read/write I/O of all disks until the system disks is replaced by the updated system disk; and

restarting the storage device.

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

in response to determining that the at least one failed disk further comprises a user disk, rebuilding data of the user disk using an unused disk associated with the extent pool.

7. An apparatus for failure recovery of a storage device, comprising:

a storage unit configured to store one or more programs;

a processor coupled to the storage unit and configured to perform the one or more programs to cause the apparatus to perform acts comprising:

determining, based on failure data indicating at least one failed disk, whether the at least one failed disk comprises a system disk associated with an extent pool of the storage device, the extent pool being built based on system disks and user disks;

in response to determining that the at least one failed disk comprises the system disk, rebuilding user data of the system disk to one or more further disks associated with the extent pool; and

in response to the system disk being replaced with an updated system disk, restoring the rebuilt user data from the one or more further disks to the updated system disk, an association of the system disk with the extent pool being maintained until the system disk is replaced by the updated system disk;

wherein determining whether the at least one failed disk comprises the system disk associated with the extent pool comprises:

determining whether slot number of a failed disk of the at least one failed disk is a predetermined slot number;

in response to determining that the slot number is the predetermined slot number, determining that the at least one failed disk comprises the system disk.

8. The apparatus according to claim 7 , the acts further comprising:

copying partial user data of a further disk associated with the extent pool to the updated system disk, such that each disk associated with the extent pool has a free storage space.

9. The apparatus according to claim 7 , wherein the failure data at least comprises at least one of the following:

a slot number of the at least one failed disk,

a number of the at least one failed disk, and

a failure duration of the at least one failed disk.

10. The apparatus according to claim 7 , wherein rebuilding the data of the system disk to the one or more further disks associated with the extent pool comprises:

comparing a failure duration of the system disk with a predetermined duration;

in response to the failure duration exceeding the predetermined duration, rebuilding all data of the system disk to the further disk; and

in response to the failure duration not exceeding the predetermined duration, rebuilding changed data of the failed system disk to the system disk.

11. The apparatus according to claim 7 , the acts further comprising:

in response to determining that a number of system disks comprised in the at least one failed disk exceeds a threshold number, stopping read/write I/O of all disks until the system disk is replaced by the updated system disk; and

restarting the storage device.

12. The apparatus according to claim 7 , wherein the acts further comprise:

in response to determining that the at least one failed disk further comprises a user disk, rebuilding data of the user disk using an unused disk associated with the extent pool.

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

determining, based on failure data indicating at least one failed disk, whether the at least one failed disk comprises a system disk associated with an extent pool of the storage device, the extent pool being built based on system disks and user disks;

in response to determining that the at least one failed disk comprises the system disk, rebuilding user data of the system disk to one or more further disks associated with the extent pool; and

in response to the system disk being replaced with an updated system disk, restoring the rebuilt user data from the one or more further disks to the updated system disk, an association of the system disk with the extent pool being maintained until the system disk is replaced by the updated system disk;

wherein determining whether the at least one failed disk comprises the system disk associated with the extent pool comprises:

determining whether a slot number of a failed disk of the at least one failed disk is a predetermined slot number;

in response to determining that the slot number is the predetermined slot number, determining that the at least one failed disk comprises the system disk.

14. The computer program product of claim 13 wherein the each disk resides within a storage array; and

wherein the method further comprises:

ascertaining that a number of failed system disks exceeds a predefined threshold number, and

in response to ascertaining that the number of failed system disks exceeds the predefined threshold number, transitioning the storage array from a servicing mode in which the storage array provides data storage service to a repair mode in which the storage array does not provide data storage service.

15. The computer program product of claim 13 , further comprising:

copying partial user data of a further disk associated with the extent pool to the updated system disk, such that each disk associated with the extent pool has a free storage space.

16. The computer program product of claim 13 , wherein the failure data at least comprises at least one of the following:

a slot number of the at least one failed disk,

a number of the at least one failed disk, and

a failure duration of the at least one failed disk.

17. The computer program product of claim 13 , wherein rebuilding the data of the system disk to the one or more further disks associated with the extent pool comprises:

comparing a failure duration of the system disk with a predetermined duration;

in response to the failure duration exceeding the predetermined duration, rebuilding all data of the system disk to the further disk; and

in response to the failure duration not exceeding the predetermined duration, rebuilding changed data of the failed system disk to the system disk.

18. The computer program product of claim 13 , further comprising:

in response to determining that a number of system disks comprised in the at least one failed disk exceeds a threshold number, stopping read/write I/O of all disks until the system disks is replaced by the updated system disk; and

restarting the storage device.

19. The computer program product of claim 13 , further comprising:

in response to determining that the at least one failed disk further comprises a user disk, rebuilding data of the user disk using an unused disk associated with the extent pool.

20. A method for failure recovery of a storage device, comprising:

determining, based on failure data indicating at least one failed disk, whether the at least one failed disk comprises a system disk associated with an extent pool of the storage device, the extent pool being built based on system disks and user disks;

in response to determining that the at least one failed disk comprises the system disk, rebuilding user data of the system disk to one or more further disks associated with the extent pool; and

in response to the system disk being replaced with an updated system disk, restoring the rebuilt user data from the one or more further disks to the updated system disk, an association of the system disk with the extent pool being maintained until the system disk is replaced by the updated system disk;

wherein rebuilding the data of the system disk to the one or more further disks associated with the extent pool comprises:

comparing a failure duration of the system disk with a predetermined duration;

in response to the failure duration exceeding the predetermined duration, rebuilding all data of the system disk to the further disk; and

in response to the failure duration not exceeding the predetermined duration, rebuilding changed data of the failed system disk to the system disk.

Assignments (8)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (050724/0466) 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; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO WYSE TECHNOLOGY L.L.C.)
Reel/Frame 060753/0486 →
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 AT REEL 050405 FRAME 0534 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
Reel/Frame 058001/0001 →
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 →
PATENT SECURITY AGREEMENT (NOTES) Recorded Oct 15, 2019
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 050724/0466 →
SECURITY AGREEMENT Recorded Sep 17, 2019
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 050405/0534 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 8, 2019
From: GONG, SHAOQIN; YANG, LIFENG; GAO, JIAN; TANG, HAIYING; ZHANG, XIAOBO
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 048817/0325 →
SECURITY AGREEMENT Recorded Mar 21, 2019
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 049452/0223 →
Priority Claims (1)
CN 201810361640.3 · Apr 20, 2018 · national
Continuity (1)
Related Publication 20190324875A1 · Oct 24, 2019
Cited By (1)
US 12,340,089