Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and apparatus for controlling hard disk access

A technology for hard disks and array controllers, applied in the storage field, can solve problems such as the failure of the array controller to reset, the storage array cannot operate normally, and reduce the probability of the hard disk being successfully connected to the storage array, so as to achieve the effect of improving the accuracy.

Active Publication Date: 2019-03-29
HUAWEI TECH CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the hard disk access mechanism described above, only the physical characteristics of the hard disk are used as the condition for judging whether the target hard disk can be connected to the storage array, so that after some hard disks are connected to the storage array, the software characteristics of the hard disk may not meet the requirements of the storage array. The demand for the software features of the hard disk causes the storage array to fail to operate normally, reducing the probability of the hard disk being successfully connected to the storage array
For example, the above target hard disk is a solid state drive (solid state drives, SSD) that supports the Non-Volatile Memory Express (NVMe) version 1.3, but the array controller supports NVMe version 1.2 , at this time, if the physical characteristics of the target hard disk match the physical characteristics of the hard disk supported by the array controller, the array controller allows the target hard disk to access the storage array. However, due to the differences in the reset commands defined in the above two versions of the NVMe specification, The target hard disk cannot recognize the reset command sent by the array controller, which eventually causes the reset of the array controller to fail

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for controlling hard disk access
  • Method and apparatus for controlling hard disk access
  • Method and apparatus for controlling hard disk access

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The technical solution in this application will be described below with reference to the accompanying drawings.

[0041] For ease of understanding, first combine figure 1 The architecture of the storage array applicable to the embodiments of the present application is introduced. figure 1 The shown storage array 100 includes an array controller 110 and a plurality of hard disks 120 .

[0042] Multiple hard disks 120 are used to provide storage resources for data.

[0043] The array controller 110 is connected to at least part of the hard disks in the plurality of hard disks, and is used to manage the hard disks connected to the array controller in the storage array.

[0044] For reasons such as capacity expansion or hard disk replacement, you need to connect a new target hard disk to the storage array. For the access process of the traditional target hard disk, please refer to figure 2 . figure 2 The illustrated method includes steps 210 to 240 .

[0045] 210. T...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and apparatus for controlling the access of a hard disk. The method is executed by an array controller of a storage array. The method comprises the following steps: after detecting that a hard disk is connected to the storage array, obtaining an address of a reserved area of a preset hard disk; obtaining parameters of the hard disk from a reserved area of the hard disk indicated by the address; matching the obtained parameters with preset information to obtain a matching result; according to the matching result, determining whether the hard disk is accessed or not, which is favorable for improving the accuracy of accessing the storage array by the hard disk.

Description

technical field [0001] The present application relates to the field of storage, and more particularly, to a method and device for controlling hard disk access. Background technique [0002] A storage array is a large-capacity hard disk group composed of multiple hard disks to provide data storage space for users. Usually, in order to expand the storage capacity of the storage array, or to replace a hard disk that fails to work normally in the storage array, it is necessary to connect a new hard disk to the storage array. [0003] At present, in the process of hard disk access, the target hard disk to be connected is first connected to the array controller of the storage array. The array controller obtains the physical characteristics of the hard disk such as the sector size and media type of the target hard disk, and then the array controller determines the target hard disk. Whether the hard disk meets the requirements of the storage array for the physical characteristics o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/16
CPCG06F8/71G06F13/1668G06F13/1694
Inventor 蒋朝曲杨明硕刘国霞曹红强
Owner HUAWEI TECH CO LTD