IP Library Granted Patent US 10,990,415
Granted Patent B2
US 10,990,415 · App. 16/362,184 · Granted Apr 27, 2021

Disk management method and apparatus in ARM device and ARM device

Inventor: Lei He (Hangzhou, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F9/44505G06F3/06G06F3/0604G06F3/0659G06F3/0683G06F8/41G06F9/4401G06F9/4408G06F9/4411
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,990,415
App. No.
16/362,184
Granted
Apr 27, 2021
Kind
B2
Abstract

A disk management method and apparatus in an advanced reduced instruction set computing (RISC) Machine (ARM) device and an ARM device, where the method includes receiving, by the ARM device, configuration information, where the configuration information includes a mapping data between a startup sequence of each of a plurality of disks and a respective slot number, creating a device tree block (DTB) file including the configuration information, and starting each of the disks in a sequence based on the DTB file. Hence, problems of inflexible configuration and poor versatility in disk management method in an ARM device are resolved.

Claims (50)

1. A disk management method in an advanced reduced instruction set computing (RISC) Machine (ARM) device, comprising:

receiving, by the ARM device, configuration information, wherein the ARM device comprises a plurality of disks, wherein each of the disks has a respective slot number, and wherein the configuration information comprises a mapping data between a startup sequence of each of the disks and the respective slot number;

creating, by the ARM device, a device tree block (DTB) file comprising the configuration information, wherein creating the DTB file comprises:

recording, by the ARM device, the configuration information into a preconfigured device tree source (DTS) file; and

transferring, by the ARM device, the preconfigured DTS file into the DTB file; and

starting, by the ARM device, each of the disks in a sequence based on the DTB file.

2. The method of claim 1 , wherein the ARM device further comprises one or more serial attached Small Computer System Interface (SCSI) (SAS) controllers, wherein each of the disks is controlled by one SAS controller, wherein each SAS controller has a unique identifier, and wherein the configuration information further comprises the mapping data among SAS controller identifier, the startup sequence of each of the disks, and the respective slot number.

3. The method of claim 1 , wherein starting each of the disks in the sequence comprises:

booting, by the ARM device, an operating system based on the DTB file, wherein the operating system is configured to load a serial attached Small Computer System Interface (SCSI) (SAS) drive after the disks being started, and wherein the SAS drive scans the disks based on the mapping data; and

starting, by the ARM device, the disks respectively in the sequence.

4. The method of claim 1 , further comprising:

determining, by the ARM device after performing a power-on operation, a state of hardware of the ARM device; and

configuring, by the ARM device, startup sequence of the disks based on the determination of the state of hardware of the ARM device.

5. The method of claim 1 , wherein transferring the preconfigured DTS file into the DTB file comprises transferring, by the ARM device, the preconfigured DTS file into the DTB file using a device tree compiler (DTC).

6. The method of claim 1 , wherein the DTS file is a user recognizable text file.

7. An advanced reduced instruction set computing (RISC) Machine (ARM) device, comprising:

a plurality of disks, wherein each of the disks has a respective slot number;

a memory configured to store a computer executable instruction; and

a processor coupled to the memory and the disks, wherein the computer executable instruction in the memory causes the processor to be configured to:

receive configuration information comprising a mapping data between a startup sequence of each of the disks and the respective slot number;

create a device tree block (DTB) file comprising the configuration information, wherein the computer executable instruction further causes the processor to be configured to:

record the configuration information into a preconfigured device tree source (DTS) file; and

transfer the preconfigured DTS file into the DTB file; and

start each of the disks in a sequence based on the DTB file.

8. The ARM device of claim 7 , further comprising one or more serial attached Small Computer System Interface (SCSI) (SAS) controllers, wherein each of the disks is controlled by one SAS controller, wherein each SAS controller has a unique identifier, and wherein the configuration information further comprises the mapping data among SAS controller identifier, the startup sequence of each of the disks, and the respective slot number.

9. The ARM device of claim 7 , wherein the computer executable instruction further causes the processor to be configured to:

boot an operating system based on the DTB file, wherein the operating system is configured to load a serial attached Small Computer System Interface (SCSI) (SAS) drive after the disks being started, and wherein the SAS drive scans the disks based on the mapping data; and

start the disks respectively in the sequence.

10. The ARM device of claim 7 , wherein the computer executable instruction further causes the processor to be configured to:

determine, after performing a power-on operation, a state of hardware of the ARM device; and

configure startup sequence of the disks based on the determination of the state of hardware of the ARM device.

11. The ARM device of claim 7 , wherein the computer executable instruction further causes the processor to be configured to convert the preconfigured DTS file to the DTB file using a device tree compiler (DTC).

12. The ARM device of claim 7 , wherein the DTS file is a user recognizable text file.

13. A non-transitory computer-readable storage medium comprising instructions which, when executed by an advanced reduced instruction set computing (RISC) Machine (ARM) device, cause the ARM device to:

receive configuration information, wherein the ARM device comprises a plurality of disks, wherein each of the disks has a respective slot number, and wherein the configuration information comprises a mapping data between a startup sequence of each of the disks and the respective slot number;

create a device tree block (DTB) file comprising the configuration information, wherein the instructions further cause the ARM device to be configured to:

record the configuration information into a preconfigured device tree source (DTS) file; and

transfer the preconfigured DTS file into the DTB file; and

start each of the disks in a sequence based on the DTB file.

14. The non-transitory computer-readable storage medium of claim 13 , wherein the ARM device further comprises one or more serial attached Small Computer System Interface (SCSI) (SAS) controllers, wherein each of the disk is controlled by one SAS controller, wherein each SAS controller has a unique identifier, and wherein the configuration information further comprises the mapping data among SAS controller identifier, the startup sequence of each of the disks, and the respective slot number.

15. The non-transitory computer-readable storage medium of claim 13 , wherein the instructions further cause the ARM device to be configured to:

boot an operating system based on the DTB file, wherein the operating system is configured to load a serial attached Small Computer System Interface (SCSI) (SAS) drive after the disks being started, and wherein the SAS drive scans the disks based on the mapping data; and

start the disks respectively in the sequence.

16. The non-transitory computer-readable storage medium of claim 13 , wherein the instructions further cause the ARM device to be configured to:

determine, after performing a power-on operation, a state of hardware of the ARM device; and

configure startup sequence of the disks based on the determination of the state of hardware of the ARM device.

17. The non-transitory computer-readable storage medium of claim 13 , wherein the instructions further cause the ARM device to be configured to convert the preconfigured DTS file to the DTB file using a device tree compiler (DTC).

18. The non-transitory computer-readable storage medium of claim 13 , wherein the instructions further cause the ARM device to operate a LINUX operating system.

19. The non-transitory computer-readable storage medium of claim 13 , wherein the instructions further cause the ARM device to operate a WINDOWS operating system.

20. The non-transitory computer-readable storage medium of claim 13 , wherein the DTS file is a user recognizable text file.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 9, 2019
From: HE, LEI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 049135/0221 →
Priority Claims (1)
CN 201610970781.6 · Oct 27, 2016 · national
Continuity (2)
Continuation PCTCN2017092814 · Jul 13, 2017
Related Publication 20190220291A1 · Jul 18, 2019
Cited By (1)
US 12,423,114