CN101996052A - Configuration system and method of redundant array of inexpensive disk (RAID) - Google Patents

Configuration system and method of redundant array of inexpensive disk (RAID) Download PDF

Info

Publication number
CN101996052A
CN101996052A CN2009101633833A CN200910163383A CN101996052A CN 101996052 A CN101996052 A CN 101996052A CN 2009101633833 A CN2009101633833 A CN 2009101633833A CN 200910163383 A CN200910163383 A CN 200910163383A CN 101996052 A CN101996052 A CN 101996052A
Authority
CN
China
Prior art keywords
hard disk
read
format
memory controller
computer equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2009101633833A
Other languages
Chinese (zh)
Inventor
彭辉
陈志丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CN2009101633833A priority Critical patent/CN101996052A/en
Publication of CN101996052A publication Critical patent/CN101996052A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a configuration system and method of a redundant array of inexpensive disk (RAID) under an EFI (Extend Firmware Interface) platform. The method comprises: integrating the drivers of various types of storage controllers in advance, converting the drivers into a unified particular format to be stored into a database; after computer equipment starts to enter the EFI system, sensing a hard disk spliced on the port of the computer equipment, and reading the corresponding read-write format identification information of the hard disk; converting the read read-write format identification information into the particular format same with the database so as to find the type of the storage controller matched with the read-write format of the hard disk; and extracting the driver of the storage controller of the type so as to load into the EFI system of the computer equipment, and realizing the technical efficacy configured by the RAID executed by the hard disk via automatically identifying various types of storage controllers.

Description

Disk array configuration-system and method
Technical field
The present invention relates to a kind of disk array configuring technical, particularly relate to a kind of disk array collocation method and system under the EFI platform.
Background technology
Network server is overlap joint different data storage system of all kinds often, wherein, and disk array (Redundant Array of Independent Disks; RAID) system is a kind of data storage system of the most normal use at present.
Yet in the prior art, because the RAID control chip that the memory controller (Storage Controller) of different model is corresponding different, and when carrying out the RAID setting, the memory controller of different model is all inequality to the read-write form of hard disk, so will cause the incompatible problem of read-write form between the different model memory controller, for instance, if several hard disks early utilized the memory controller of LSI model to carry out the RAID configuration before this, if above-mentioned several hard disks are connected on the memory controller of other non-LSI models, the memory controller of this non-LSI model just can't pick out these several previous RAID configurations of carrying out of hard disk, and then can't carry out the read operation of data to these several hard disks, show that perhaps these several hard disks are in abnomal condition, this situation can make the Test Engineer produce the misunderstanding that hard disk has damaged, cause the very big inconvenience of test job, and wasting manpower and material resources more.
EFI (can expand the firmware interface) is the interface between firmware (Firmware) and the operating system, the driving that the EFI framework uses is based on EFI Byte Code, EFI Byte Code is similar to the intermediate code of JAVA a bit, and can't help the direct executable operations of CPU, but need the EFI layer to translate, EFI directly provides the interface of hardware operation to operating system, and the All Jobs system is seen, it all is the routine interface that EFI leaves EFI Byte Code for, and again because EFI Byte Code is direct and the API contact of Windows, thereby no matter be which kind of operating system, as long as there is EFIByte Code to support, only need enter the renewal that the EFI system interface can be finished driver, and need not carry out driver upgrade at each operating system, only need to upgrade in the EFI interface, the operating system on all upper stratas all can directly be called new EFI interface.
Therefore, how to dispose the defective that exists in the operation to improve existing disk array, be the present invention's technical task to be solved in conjunction with the advantage of utilizing the EFI system to be had.
Summary of the invention
For solving the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of disk array configuration-system and method under EFI (Extend Firmware Interface) platform, can reach the technology effect of the memory controller of the variant model of automatic identification at the performed disk array of hard disk (RAID) configuration.
For reaching above-mentioned and other relevant purpose, the invention provides a kind of disk array configuration-system under the EFI platform, be applicable in the computer equipment, this system comprises: collection module, collect the driver of integrating each model memory controller (Storage Controller), and be stored in the database after being converted into specific format; Detecting module when the computer equipment startup enters the EFI system, is detected the hard disk on the connectivity port that is plugged to this computer equipment, and is read this hard disk and read and write format identification (FID) information accordingly; Modular converter is read and write format identification (FID) information accordingly at the hard disk that this detecting module read and is carried out format conversion processing, thereby is converted into the specific format identical with this database; Enquiry module is read and write format identification (FID) information accordingly according to the hard disk behind format transformation that this modular converter is exported, certainly the model of the memory controller that the read-write form of inquiry and this hard disk matches in this database; And processing module, according to the model of the memory controller that this enquiry module inquired, transfer the corresponding driver of this model memory controller certainly in this database and be loaded in the EFI system of this computer equipment.Wherein, this specific format is the C language format, and this hard disk that is plugged on the connectivity port of computer equipment also has storage chip, stores this hard disk and reads and writes format information accordingly.This system also comprises temporary module, is the model that stores the memory controller that this enquiry module read-write format information that inquired and each hard disk matches with forms mode.
The present invention also provides a kind of disk array (Redundant Array of Independent Disks under EFI (Extend Firmware Interface) platform; RAID) collocation method comprises: collect the driver of integrating each model memory controller (Storage Controller), and be stored in the database after being converted into specific format; Start computer equipment and enter the EFI system; Detect the hard disk on the connectivity port that is plugged to this computer equipment, and read this hard disk and read and write format identification (FID) information accordingly; The form that the hard disk that conversion is read is read and write format identification (FID) information accordingly is the specific format identical with this database; Analyze this hard disk behind format transformation and read and write format identification (FID) information accordingly, the model of the memory controller that matches with the read-write form of inquiry in this database certainly and this hard disk; And transfer the corresponding driver of this model memory controller and be loaded in the EFI system of this computer equipment.Wherein, this specific format is the C language format, and this hard disk that is plugged on the connectivity port of computer equipment also has storage chip, stores this hard disk and reads and writes format information accordingly.This method also comprises the step that stores the model of the memory controller that this read-write format information that inquired and each hard disk matches with forms mode.
Than prior art, disk array configuration-system and method under the EFI platform of the present invention, be that driver with the memory controller of different model is incorporated in the database with consolidation form, and be plugged in the hard disk on the port of this computer equipment by detecting and read this hard disk and read and write format identification (FID) information accordingly, the driver of the memory controller that is complementary with the read-write form that inquires in database with this hard disk also is mounted in the EFI system of computer equipment, thereby reaches the technology effect of the memory controller of discerning each different model automatically disk array (RAID) configuration performed to hard disk.
Description of drawings
Fig. 1 is in order to show the basic framework synoptic diagram of the disk array configuration-system under the EFI platform of the present invention;
Fig. 2 is in order to show the process flow diagram of the disk array collocation method under the EFI platform of the present invention when carrying out.
The simple declaration of element numbers:
10 computer equipments
20 EFI
100 disk array configuration-systems
101 databases
110 collection modules
120 detecting modules
130 modular converters
140 enquiry modules
150 temporary modules
160 processing modules
S201~S213 step
Embodiment
Below by particular specific embodiment explanation embodiments of the present invention, those skilled in the art can understand other advantages of the present invention and effect easily by the content that this instructions disclosed.The present invention also can be implemented or be used by other different instantiations, and the every details in this instructions also can be based on different viewpoints and application, carries out various modifications and change under the spirit of the present invention not deviating from.
See also Fig. 1, it is the basic framework synoptic diagram of the disk array configuration-system 100 under the EFI platform of the present invention.
As shown in the figure, disk array configuration-system 100 of the present invention is applicable in the computer equipment 10, is made of collection module 110, detecting module 120, modular converter 130, enquiry module 140, temporary module 150 and processing module 160.
This collection module 110 is used for collecting the driver of integrating each model memory controller (StorageController), and is stored in the database 101 after being converted into a unified format.Particularly, the EFI initialization module is integrated in the read-only memory usually to drive execution environment.The Pre-EFI initialize routine obtains carrying out in system boot at first, and it is responsible for the initial work of initial CPU, north bridge, south bridge, internal memory and hard disk, and then is written into the EFI driver.After the EFI driver was written into operation, system just has control, and all were plugged in the ability of the peripheral hardware on the computer equipment 10.The present invention sets up a database 101 in the driving execution environment of EFI, in this database 101, store the driver of some industries memory controller (Storage Controller) commonly used, and convert the uniform format of described driver to C language media format that the EFI system can discern to store, therefore when loading the memory controller of other different models in the computer equipment 10, also can reach and to discern the purpose (please be detailed later) that before the performed disk array of this hard disk had been disposed automatically.
This detecting module 120 is used for after computer equipment 10 startups enter the EFI system, detect the hard disk (not giving diagram) on the connectivity port that is plugged to this computer equipment 10, and read this hard disk and read and write format identification (FID) information accordingly, particularly, the hard disk that is plugged on the connectivity port of computer equipment 10 has a storage chip, be used to store the RAID configuration that previous memory controller is done at this hard disk, just read and write format information, detecting module 120 of the present invention is to read relevant information in the storage chip by this hard disk certainly, reads and writes format information accordingly to obtain this hard disk.
This modular converter 130 is used for reading and writing format identification (FID) information accordingly at the hard disk that this detecting module 120 is read and carries out format conversion processing, that is to say, being information translation that detecting module 120 is read is the C language format identical with this database 101.
This enquiry module 140 is used for reading and writing format identification (FID) information accordingly according to the hard disk behind format transformation that this modular converter 130 is exported, certainly the model of the memory controller that the read-write form of inquiry and this hard disk matches in this database 101.
Should temporary module 150 be used for the Query Result of this enquiry module 140 is temporary in a temporal data storehouse (not giving diagram), in the present embodiment, this temporary module 150 is the models that store hard disk information that this detecting module 120 detected and this enquiry module 140 memory controller that matches with this disk read-write format information respectively that inquired in form (table) mode.
This processing module 160 is used for the model of the memory controller that inquired according to this enquiry module 140, in this database 101, transfer the corresponding driver of this model memory controller and be loaded in the EFI system of this computer equipment, thereby make this computer equipment 10 be discerned the read-write form of this hard disk, and control this hard disk and carry out relevant read-write operation.In addition, the present invention also can utilize this temporary module 150 that the pairing memory controller model of hard disk that this enquiry module 140 is inquired is temporary in the temporal data storehouse, thereby when all hard disks all detect finish after, make again in the driver and the disposable EFI system that it is mounted to computer equipment 10 of the memory controller model that each hard disk coincide that this processing module 160 transfers and detect in this temporal data storehouse.
Continue to consult Fig. 2, it is the process flow diagram of disk array collocation method of the present invention when carrying out, as shown in the figure, at first carry out step S201, integrate the driver of each model memory controller, and be converted to unified C language format and be stored in the database 101, then carry out step S203.
In step S203, start computer equipment 10 and enter the EFI system, then carry out step S205.
In step S205, detect the hard disk on each connectivity port that is plugged in this computer equipment 10, and read this hard disk and read and write format identification (FID) information accordingly, particularly, the hard disk that is plugged on the connectivity port of computer equipment 10 has a storage chip, be used to store the RAID configuration that previous memory controller is done at this hard disk, just read and write format information, detecting module 120 of the present invention is to read relevant information in the storage chip by this hard disk certainly, read and write format information accordingly to obtain this hard disk, then carry out step S207.
In step S207, the hard disk that is read at step S205 is read and write format identification (FID) information accordingly and is carried out format conversion processing, that is to say, the information translation that read for the C language format identical with this database 101, is then carried out step S209.
In step S209, analyze this hard disk behind format transformation and read and write format identification (FID) information accordingly, the model of the memory controller that matches with the read-write form of inquiry in this database 101 certainly and this hard disk, and with this information storage to temporal data storehouse 101, then carry out step S211.
In step S211, judge whether to finish all hard disk detectings, if, then carry out step S213, if not, then return step S205, to continue the RAID configuration of other hard disks of detecting.
In step S213, according to the storage data in the temporal data storehouse, the driver that accesses the corresponding memory controller of each hard disk upgrades the EFI system, to activate all configurations.
In sum, disk array configuration-system and method under the EFI platform of the present invention is by the driver of the memory controller of different model is gathered a database with consolidation form, thereby make the Test Engineer only need under the EFI platform, to start this and gathered the database of the driver of all memory controllers, can find out the driver of the memory controller that the read-write form with this hard disk is complementary in this database voluntarily installs, and do not need this hard disk is formatd memory controller disk array (RAID) configuration performed to hard disk that can discern variant model automatically, thereby make the Test Engineer convenient in control and management to the hard disk storage operation.
Above-mentioned described only be the preferred embodiment of disk array configuration-system of the present invention and method, non-in order to limit the scope of essence technology contents of the present invention.Its essence technology contents of disk array configuration-system of the present invention and method is broadly to be defined in the scope of claims, any technology entity or method that other people are finished, if it is defined identical with the scope of claims, or be the change of equivalence, all will be regarded as being covered by among the scope of claims.

Claims (8)

1. the disk array configuration-system under the EFI platform is characterized in that, comprising:
Collection module is collected the driver of integrating each model memory controller, and is stored in the database after being converted into specific format;
Detecting module when the computer equipment startup enters the EFI system, is detected the hard disk on the connectivity port that is plugged to this computer equipment, and is read this hard disk and read and write format identification (FID) information accordingly;
Modular converter is read and write format identification (FID) information accordingly at the hard disk that this detecting module read and is carried out format conversion processing, thereby is converted into the specific format identical with this database;
Enquiry module is read and write format identification (FID) information accordingly according to the hard disk behind format transformation that this modular converter is exported, certainly the model of the memory controller that the read-write form of inquiry and this hard disk matches in this database; And
Processing module according to the model of the memory controller that this enquiry module inquired, is transferred the corresponding driver of this model memory controller certainly and is loaded in the EFI system of this computer equipment in this database.
2. disk array configuration-system according to claim 1 is characterized in that: this specific format is the C language format.
3. disk array configuration-system according to claim 1 is characterized in that: this hard disk that is plugged on the connectivity port of computer equipment also has storage chip, stores this hard disk and reads and writes format information accordingly.
4. disk array configuration-system according to claim 1 is characterized in that: also comprising temporary module, is the model that stores the memory controller that this enquiry module read-write format information that inquired and each hard disk matches with forms mode.
5. the disk array collocation method under the EFI platform is characterized in that, comprising:
Collect the driver of integrating each model memory controller, and be stored in the database after being converted into specific format;
Start computer equipment and enter the EFI system;
Detect the hard disk on the connectivity port that is plugged to this computer equipment, and read this hard disk and read and write format identification (FID) information accordingly;
The form that the hard disk that conversion is read is read and write format identification (FID) information accordingly is the specific format identical with this database;
Analyze this hard disk behind format transformation and read and write format identification (FID) information accordingly, the model of the memory controller that matches with the read-write form of inquiry in this database certainly and this hard disk; And
Transfer the corresponding driver of this model memory controller and be loaded in the EFI system of this computer equipment.
6. disk array collocation method according to claim 5 is characterized in that: this specific format is the C language format.
7. disk array collocation method according to claim 5 is characterized in that: this hard disk that is plugged on the connectivity port of computer equipment also has storage chip, stores this hard disk and reads and writes format information accordingly.
8. disk array collocation method according to claim 5 is characterized in that: also comprise the model that stores the memory controller that this read-write format information that inquired and each hard disk matches with forms mode.
CN2009101633833A 2009-08-17 2009-08-17 Configuration system and method of redundant array of inexpensive disk (RAID) Pending CN101996052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101633833A CN101996052A (en) 2009-08-17 2009-08-17 Configuration system and method of redundant array of inexpensive disk (RAID)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101633833A CN101996052A (en) 2009-08-17 2009-08-17 Configuration system and method of redundant array of inexpensive disk (RAID)

Publications (1)

Publication Number Publication Date
CN101996052A true CN101996052A (en) 2011-03-30

Family

ID=43786249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101633833A Pending CN101996052A (en) 2009-08-17 2009-08-17 Configuration system and method of redundant array of inexpensive disk (RAID)

Country Status (1)

Country Link
CN (1) CN101996052A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746833A (en) * 2013-12-25 2014-04-23 新浪网技术(中国)有限公司 PXE-based RAID automatic configuration method and system
CN105208006A (en) * 2015-08-25 2015-12-30 浪潮(北京)电子信息产业有限公司 Server virtualization platform host Raid batch configuration system and method
CN106550026A (en) * 2016-11-01 2017-03-29 武汉斗鱼网络科技有限公司 A kind of network communication device and method
CN109582238A (en) * 2018-12-03 2019-04-05 郑州云海信息技术有限公司 A kind of hard disk binding, matching process, system and electronic equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746833A (en) * 2013-12-25 2014-04-23 新浪网技术(中国)有限公司 PXE-based RAID automatic configuration method and system
CN103746833B (en) * 2013-12-25 2017-02-01 新浪网技术(中国)有限公司 PXE-based RAID automatic configuration method and system
CN105208006A (en) * 2015-08-25 2015-12-30 浪潮(北京)电子信息产业有限公司 Server virtualization platform host Raid batch configuration system and method
CN105208006B (en) * 2015-08-25 2018-11-27 浪潮(北京)电子信息产业有限公司 The batch configuration system and method for server virtualization platform host Raid
CN106550026A (en) * 2016-11-01 2017-03-29 武汉斗鱼网络科技有限公司 A kind of network communication device and method
CN109582238A (en) * 2018-12-03 2019-04-05 郑州云海信息技术有限公司 A kind of hard disk binding, matching process, system and electronic equipment and storage medium
CN109582238B (en) * 2018-12-03 2022-02-18 郑州云海信息技术有限公司 Hard disk binding and matching method and system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN1822004B (en) System and method for using a file system to automatically backup a file as a generational file
US10387239B2 (en) Detecting memory failures in the runtime environment
US8370835B2 (en) Method for dynamically generating a configuration for a virtual machine with a virtual hard disk in an external storage device
CN101354715B (en) For system, the method and computer program product of operating data processing system
US7849302B2 (en) Direct boot arrangement using a NAND flash memory
CN103412769A (en) External card parameter configuration method, equipment and system
CN101110039B (en) Terminal unit self-installing and self-starting system and method thereof
US20070061818A1 (en) Detection of devices during operating system setup
CN103150231A (en) Computer booting method and computer system
CN102171668A (en) A storage device for mounting to a host
US20100174833A1 (en) Method and Apparatus for Identifying a Device Handle in a Computer System
US8180930B2 (en) Information processing device, and device initialization method in the information processing device
TWI421686B (en) Data access method and system, storage medium controller and storage system
CN104969181B (en) Repair system, method and the storage equipment that driver variable for damage records
CN101894028B (en) Realization method and device for Linux kernel mirror image data supporting various CPUs
CN101620542B (en) Compatible updating method of ultrasonic imaging equipment software data
CN103514015A (en) Method and device for booting operation system from storage medium
CN105824678A (en) Method and device for installing operating system
CN101996052A (en) Configuration system and method of redundant array of inexpensive disk (RAID)
CN105224309A (en) A kind of method and apparatus transferring function
CN103927126A (en) RAID (redundant array of independent disks) equipment configuration method, RAID equipment assembly method and RAID equipment disk insertion processing method
CN114706533A (en) Multi-file multi-stage starting and loading method and device based on GPT partition table
CN114816491A (en) System upgrading method and device for multi-system mobile terminal and terminal
CN104182352A (en) Device and method for accessing to physical memory address spaces larger than 4GB
CN108334453B (en) File debugging method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110330