IP Library Granted Patent US 11,314,581
Granted Patent B2
US 11,314,581 · App. 16/880,154 · Granted Apr 26, 2022

Control method of disk failure, electronic device and computer readable storage medium

Inventors: Chenglin Li (Chengdu, CN); Mingyi Luo (Chengdu, CN); Hongyuan Zeng (Sichuan, CN); Ruiyang Zhang (Chengdu, CN)
Assignee: EMC IP Holding Company LLC
G06F11/0793G06F11/076G06F11/0727G11B17/022
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,314,581
App. No.
16/880,154
Granted
Apr 26, 2022
Kind
B2
Abstract

Techniques for disk failure control involve determining the number of failed disks in a Redundant Array of Independent Disks (RAID). The techniques further involve comparing the number of failed disks with a predetermined threshold; and in accordance with a determination that the number of failed disks exceeds the predetermined threshold, setting at least one non-failing disk in the RAID into a protection mode to prevent the at least one non-failing disk from being disconnected. Such techniques facilitate prevention of the user data loss in the RAID.

Claims (75)

1. A method for disk failure control, comprising:

determining the number of failed disks in a Redundant Array of Independent Disks (RAID);

comparing the number of failed disks with a predetermined threshold; and

in accordance with a determination that the number of failed disks exceeds the predetermined threshold, setting at least one non-failing disk in the RAID into a protection mode to prevent the at least one non-failing disk from being disconnected;

wherein all disks in the RAID are mechanically unlocked from a disk frame during RAID operation to enable disconnection prior to setting the at least one non-failing disk in the RAID into the protection mode; and

wherein the at least one non-failing disk in the RAID is mechanically locked to the disk frame after setting the at least one non-failing disk in the RAID into the protection mode.

2. The method according to claim 1 , wherein determining the number of failed disks in the RAID comprises:

detecting respective states of a plurality of disks comprised in the RAID; and

determining the number of failed disks in the RAID based on the detected respective states of the plurality of disks.

3. The method according to claim 2 , wherein determining the number of failed disks in the RAID based on the detected respective states of the plurality of disks comprises:

determining a first number of disks in a disconnected state and a second number of disks in an unhealthy state based on the respective states of the plurality of disks; and

determining the number of failed disks in the RAID by summing the first number and the second number.

4. The method according to claim 1 , wherein setting the at least one non-failing disk into the protection mode comprises:

controlling a mechanical locking mechanism to lock the at least one non-failing disk in its mounting position, to prevent the at least one non-failing disk from being disconnected.

5. The method according to claim 1 , wherein setting the at least one non-failing disk into the protection mode comprises:

providing an indication mark associated with the at least one non-failing disk to remind a user of avoiding disconnection of the at least one non-failing disk.

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

in accordance with a determination that at least one of the failed disks has been rebuilt with a new disk, updating the number of failed disks in the RAID after the rebuilding;

in accordance with a determination that the updated number fails to exceed the predetermined threshold, causing the at least one non-failing disk to exit from the protection mode; and

in accordance with a determination that the updated number exceeds the predetermined threshold, setting the new disk into the protection mode to prevent the new disk from being disconnected.

7. The method according to claim 6 , wherein causing the at least one non-failing disk to exit from the protection mode comprises:

in accordance with a determination that the at least one non-failing disk is locked by a mechanical locking mechanism in its mounting position in the protection mode, controlling the mechanical locking mechanism to unlock the at least one non-failing disk; and

in accordance with a determination that an indication mark associated with the at least one non-failing disk is provided in the protection mode, ceasing the provision of the indication mark.

8. An electronic device, comprising:

at least one processing unit; and

at least one memory coupled to the at least one processing unit and storing instructions executable by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform acts comprising:

determining the number of failed disks in a Redundant Array of Independent Disks (RAID);

comparing the number of failed disks with a predetermined threshold; and

in accordance with a determination that the number of failed disks exceeds the predetermined threshold, setting at least one non-failing disk in the RAID into a protection mode to prevent the at least one non-failing disk from being disconnected;

wherein all disks in the RAID are mechanically unlocked from a disk frame during RAID operation to enable disconnection prior to setting the at least one non-failing disk in the RAID into the protection mode; and

wherein the at least one non-failing disk in the RAID is mechanically locked to the disk frame after setting the at least one non-failing disk in the RAID into the protection mode.

9. The electronic device according to claim 8 , wherein determining the number of failed disks in the RAID comprises:

detecting respective states of a plurality of disks comprised in the RAID; and

determining the number of failed disks in the RAID based on the detected respective states of the plurality of disks.

10. The electronic device according to claim 9 , wherein determining the number of failed disks in the RAID based on the detected respective states of the plurality of disks comprises:

determining a first number of disks in a disconnected state and a second number of disks in an unhealthy state based on the respective states of the plurality of disks; and

determining the number of failed disks in the RAID by summing the first number and the second number.

11. The electronic device according to claim 8 , wherein setting the at least one non-failing disk into the protection mode comprises:

controlling a mechanical locking mechanism to lock the at least one non-failing disk in its mounting position, to prevent the at least one non-failing disk from being disconnected.

12. The electronic device according to claim 8 , wherein setting the at least one non-failing disk into the protection mode comprises:

providing an indication mark associated with the at least one non-failing disk to remind a user of avoiding disconnection of the at least one non-failing disk.

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

in accordance with a determination that at least one of the failed disks has been rebuilt with a new disk, updating the number of failed disks in the RAID after the rebuilding;

in accordance with a determination that the updated number fails to exceed the predetermined threshold, causing the at least one non-failing disk to exit from the protection mode; and

in accordance with a determination that the updated number exceeds the predetermined threshold, setting the new disk into the protection mode to prevent the new disk from being disconnected.

14. The electronic device according to claim 13 , wherein causing the at least one non-failing disk to exit from the protection mode comprises:

in accordance with a determination that the at least one non-failing disk is locked by a mechanical locking mechanism in its mounting position in the protection mode, controlling the mechanical locking mechanism to unlock the at least one non-failing disk; and

in accordance with a determination that an indication mark associated with the at least one non-failing disk is provided in the protection mode, ceasing the provision of the indication mark.

15. A computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, causing the processor to perform acts comprising:

determining the number of failed disks in a Redundant Array of Independent Disks (RAID);

comparing the number of failed disks with a predetermined threshold; and

in accordance with a determination that the number of failed disks exceeds the predetermined threshold, setting at least one non-failing disk in the RAID into a protection mode to prevent the at least one non-failing disk from being disconnected;

wherein all disks in the RAID are mechanically unlocked from a disk frame during RAID operation to enable disconnection prior to setting the at least one non-failing disk in the RAID into the protection mode; and

wherein the at least one non-failing disk in the RAID is mechanically locked to the disk frame after setting the at least one non-failing disk in the RAID into the protection mode.

16. The computer-readable storage medium according to claim 15 , wherein determining the number of failed disks in the RAID comprises:

detecting respective states of a plurality of disks comprised in the RAID; and

determining the number of failed disks in the RAID based on the detected respective states of the plurality of disks.

17. The computer-readable storage medium according to claim 16 , wherein determining the number of failed disks in the RAID based on the detected respective states of the plurality of disks comprises:

determining a first number of disks in a disconnected state and a second number of disks in an unhealthy state based on the respective states of the plurality of disks; and

determining the number of failed disks in the RAID by summing the first number and the second number.

18. The computer-readable storage medium according to claim 15 , wherein setting the at least one non-failing disk into the protection mode comprises:

controlling a mechanical locking mechanism to lock the at least one non-failing disk in its mounting position, to prevent the at least one non-failing disk from being disconnected.

19. The computer-readable storage medium according to claim 15 , wherein setting the at least one non-failing disk into the protection mode comprises:

providing an indication mark associated with the at least one non-failing disk to remind a user of avoiding disconnection of the at least one non-failing disk.

20. The computer-readable storage medium according to claim 15 , wherein the acts further comprise:

in accordance with a determination that at least one of the failed disks has been rebuilt with a new disk, updating the number of failed disks in the RAID after the rebuilding;

in accordance with a determination that the updated number fails to exceed the predetermined threshold, causing the at least one non-failing disk to exit from the protection mode; and

in accordance with a determination that the updated number exceeds the predetermined threshold, setting the new disk into the protection mode to prevent the new disk from being disconnected.

21. The computer-readable storage medium according to claim 20 , wherein causing the at least one non-failing disk to exit from the protection mode comprises:

in accordance with a determination that the at least one non-failing disk is locked by a mechanical locking mechanism in its mounting position in the protection mode, controlling the mechanical locking mechanism to unlock the at least one non-failing disk; and

in accordance with a determination that an indication mark associated with the at least one non-failing disk is provided in the protection mode, ceasing the provision of the indication mark.

22. The method according to claim 1 , wherein all disks in the RAID are mechanically unlocked from a disk frame during RAID operation to enable disconnection prior to setting the at least one non-failing disk in the RAID into the protection mode; and

wherein the all disks in the RAID are mechanically locked to the disk frame after setting the at least one non-failing disk in the RAID into the protection mode.

23. The electronic device according to claim 8 , wherein all disks in the RAID are mechanically unlocked from a disk frame during RAID operation to enable disconnection prior to setting the at least one non-failing disk in the RAID into the protection mode; and

wherein the all disks in the RAID are mechanically locked to the disk frame after setting the at least one non-failing disk in the RAID into the protection mode.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053574/0221) Recorded Jun 10, 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
Reel/Frame 060333/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053578/0183) Recorded Jun 10, 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
Reel/Frame 060332/0864 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053573/0535) Recorded Jun 10, 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
Reel/Frame 060333/0106 →
RELEASE OF SECURITY INTEREST AT REEL 053531 FRAME 0108 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0371 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053578/0183 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053573/0535 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053574/0221 →
SECURITY AGREEMENT Recorded Aug 18, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 053531/0108 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 16, 2020
From: LI, CHENGLIN; LUO, MINGYI; ZENG, HONGYUAN; ZHANG, RUIYANG
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 052949/0553 →
Priority Claims (1)
CN 201911002079.0 · Oct 21, 2019 · national
Continuity (1)
Related Publication 20210117267A1 · Apr 22, 2021