CN102479121A - Method for realizing and testing redundant array of independent disks (RAID) - Google Patents

Method for realizing and testing redundant array of independent disks (RAID) Download PDF

Info

Publication number
CN102479121A
CN102479121A CN2010105552429A CN201010555242A CN102479121A CN 102479121 A CN102479121 A CN 102479121A CN 2010105552429 A CN2010105552429 A CN 2010105552429A CN 201010555242 A CN201010555242 A CN 201010555242A CN 102479121 A CN102479121 A CN 102479121A
Authority
CN
China
Prior art keywords
raid
disk
hard disk
logical disk
bios
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
CN2010105552429A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2010105552429A priority Critical patent/CN102479121A/en
Publication of CN102479121A publication Critical patent/CN102479121A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for realizing and testing a redundant array of independent disks (RAID). In the method, an RAID Option ROM (Read Only Memory) is independently operated in an environment provided by a DOS (Disk Operating System), and the RAID Option ROM is not required to be contained in BIOS (Basic Input Output System) Firmware, so that the time for setting up the BIOS Firmware can be reduced, and the RAID Option ROM is prevented from being interfered by other parts of a BIOS during the process of operating the RAID Option ROM. Furthermore, in the DOS environment, after a logic disk of the RAID is successfully set up, the functions of the logic disk of the RAID can be immediately verified through setting the logic disk of the RAID as a startup disk of an operating system.

Description

RAID is realized and method of testing
Technical field
The present invention relates to a kind of RAID (redundant array of independent disks, realization RAID) and method of testing.
Background technology
(redundant array of independent disks RAID) is a kind of redundant array that is made up of the polylith hard disk to RAID.The polylith hard disk of RAID combination under operating system as one independently large storage facilities use; Utilize the RAID technology to mainly contain following three kinds in the benefit of storage system: the first, can provide hard disk to cross over function through organizing together a plurality of hard disks as a logical volume; The second, be written in parallel to/read the speed that a plurality of hard disks can improve access hard disk through being divided into data a plurality of data blocks (Block); The 3rd, through mirror image or verification operation fault-tolerant ability is provided.
At present, RAID realization function that a lot of computer motherboards are integrated.Usually, plate carries RAID and realizes that function is realization under the cooperation of motherboard hardware and the drive software RAID Option ROM of RAID controller.RAID Option ROM generally is included among the BIOS Firmware, in the POST of BIOS process, is loaded operation, accomplishes configuration and the establishment of RAID.The weak point of this RAID implementation method is: the test of RAID function inevitably involves compiling and the burning of BIOS, and is loaded down with trivial details time-consuming.In addition, the operation of RAID Option ROM possibly receive the interference of other part of BIOS, is unfavorable for the alignment error reason if go wrong in the operational process.
Summary of the invention
In view of above content; The present invention proposes a kind of RAID (redundant array of independent disks; RAID) realization and method of testing can not rely on the POST process of BIOS, independent operating RAID Option ROM program; Accomplish the establishment of RAID, and verify the function of RAID Logical Disk immediately.
The present invention provides realization and the method for testing of a kind of RAID RAID.This method may further comprise the steps: (A) configuration computer hardware device, comprise configuration CD-ROM drive, hard disk drive, hard disk and USB flash disk, and said CD-ROM drive is equipped with operating system OS CD, and said USB flash disk stores RAID Option ROM program; (B) start computing machine and carry out input-output system BIOS setting, comprise that it is the DOS boot disk that USB flash disk is set, the pattern that hard disk drive is set is a RAID mode, and forbids in the power-on self-test POST of BIOS process, creating RAID; (C) after BIOS is provided with completion, computing machine is started to the DOS system from USB flash disk; (D) RAID Option ROM program is loaded into the internal memory of computing machine from USB flash disk; (E) call RAID Option ROM program, get into the RAID configuration interface and carry out the RAID configuration, comprise the hard disk of selecting the RAID rank and setting up the RAID Logical Disk; (F) withdraw from and get into the OS Starting mode behind the RAID configuration interface and select the interface, be provided with at this configuration interface that to set up the RAID Logical Disk that obtains be the OS boot disk; Reaching (G), whether inspection RAID Logical Disk is equipped with OS; If in the RAID Logical Disk OS is not installed, then starts OS and OS is installed, if the RAID Logical Disk is equipped with OS to the RAID Logical Disk from said CD-ROM drive; Then start OS, with the function of instant checking RAID Logical Disk from the RAID Logical Disk.
Compared to prior art; The driver RAID Option ROM of the realization of RAID provided by the present invention and method of testing independent operating RAID controller under the environment that the DOS system provides; Need RAID Option ROM not covered among the BIOS Firmware; Can reduce the Time Created of BIOS Firmware, and avoid RAID Option ROM in operational process, to receive the interference of other part of BIOS.In addition, under the DOS environment, after the RAID Logical Disk is set up successfully, can be the os starting dish through the RAID Logical Disk is set, verify the function of RAID Logical Disk immediately.
Description of drawings
Fig. 1 is the running environment figure of RAID realization of the present invention and method of testing preferred embodiment.
Fig. 2 is the process flow diagram of RAID realization of the present invention and method of testing preferred embodiment.
The main element symbol description
Computing machine 100
Processor 10
South Bridge chip 20
Hard disk controller 21
The USB controller 22
CD-ROM drive 30
Hard disk 40、50
USB flash disk 60
RAID Option ROM program 61
Embodiment
Consulting shown in Figure 1ly, is that (redundant array of independent disks RAID) realizes and the running environment figure of method of testing preferred embodiment RAID of the present invention.This RAID implementation method is applied to computing machine 100.This computing machine 100 comprises processor 10 and is installed on the South Bridge chip 20 of mainboard.Hard disk controller 21 and USB are installed on this South Bridge chip 20, and (universal serial bus, USB) controller 22.Wherein, hard disk controller 21 connects CD-ROM drive 30 and one or more hard disk, like the hard disk among Fig. 1 40 and 50.USB controller 22 connects USB flash disk 60.This USB flash disk 60 stores and is used to the RAID Option ROM program 61 that drives hard disk controller 21 and the RAID configuration interface is provided.
In the present embodiment, said hard disk controller 21 is that (said hard disk 40 and 50 is the SATA hard disk to Serial Advanced Technology Attachment for serial advanced technology attachment, SATA) controller.This computing machine 100 also comprises internal memory, this internal memory can for random access memory (random access memory, RAM).In other embodiments, said hard disk controller 21 also can (integrated drive electronics, IDE) controller, said hard disk 40 and 50 also can be the IDE hard disk for ide.Said CD-ROM drive 30 is used for read operation system (operating system, OS) CD.
Consulting shown in Figure 2ly, is that RAID of the present invention realizes and the process flow diagram of method of testing preferred embodiment.Step S203 in this method relates to that program reads, the concrete executive agent of run action is the processor 10 of computing machine 100 to the step S217.For example, read bios code, operation BIOS, and the loading of RAID Option ROM program 61 and OS and operation etc.
Step S201, the hardware device of configuration computer 100, the for example hard disk controller shown in Fig. 1 21, USB controller 22, CD-ROM drive 30, hard disk 40 and 50, and USB flash disk 60.
Step S203 gives computing machine 100 electrifying startup computing machines 100, carries out BIOS and is provided with; Comprise that USB flash disk 60 is set is the DOS boot disk; The pattern that hard disk controller 21 is set is a RAID mode, and forbids that (Power on Self Test POST) creates RAID in the process for power-on self-test at BIOS.
Step S205, after BIOS was provided with completion, computing machine 100 was started to the DOS system from USB flash disk 60.
Step S207, computing machine 100 is loaded into RAID Option ROM program 61 internal memory of computing machine 100 from USB flash disk 60.
Step S209, computing machine 100 call RAID Option ROM program 61, get into the RAID configuration interface and carry out the RAID configuration, comprise the hard disk of selecting the RAID rank and setting up the RAID Logical Disk.The RAID technology is divided into several kinds of different grade, respectively different speed can be provided, security and cost performance.The user can select suitable RAID rank according to actual conditions, satisfies the requirement of user to storage system availability, performance and capacity.RAID rank commonly used has following several kinds: RAID 0, and RAID 1, RAID 0+1, and RAID 3, RAID 5 etc.Different RAID ranks are also different to the requirement of the hard disk quantity of establishment RAID Logical Disk.For example, in the present embodiment, can select the RAID rank is RAID 0 or RAID 1, selects hard disk 40 and 50 as the hard disk of setting up the RAID Logical Disk.
Step S211, computing machine 100 get into OS Starting mode selection interface after withdrawing from the RAID configuration interface, and setting up the RAID Logical Disk that obtains in this selection layout setting is the OS boot disk.For example, the hard disk quantity parameter value that the user can revise in the BIOS data area is 0, and to set up the RAID Logical Disk obtain be first hard disk of computing machine 100 to be provided with, and is the OS boot disk thereby the RAID Logical Disk is set.
Step S213, whether computing machine 100 inspection RAID Logical Disk are equipped with OS.If in the RAID Logical Disk OS is not installed, then flow process gets into step S215, and computing machine 100 starts OS and OS is installed to the RAID Logical Disk from CD-ROM drive 30.Afterwards, flow process finishes.If the RAID Logical Disk is equipped with OS, then flow process gets into step S217, and computing machine 100 starts OS from the RAID Logical Disk, with the function of instant checking RAID Logical Disk.
What should explain at last is; Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to preferred embodiment; Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and the scope of technical scheme of the present invention.

Claims (4)

1. a RAID RAID realizes and method of testing, it is characterized in that this method may further comprise the steps:
The configuration computer hardware device comprises configuration CD-ROM drive, hard disk controller, hard disk and USB flash disk, and said CD-ROM drive is used for read operation system CD, and said USB flash disk stores RAID Option ROM program;
Start computing machine and carry out input-output system BIOS setting, comprise that it is the DOS boot disk that USB flash disk is set, the pattern that hard disk controller is set is a RAID mode, and forbids in the power-on self-test process of BIOS, creating RAID;
After BIOS is provided with completion, computing machine is started to the DOS system from USB flash disk;
RAID Option ROM program is loaded into the internal memory of computing machine from USB flash disk;
Call RAID Option ROM program, get into the RAID configuration interface and carry out the RAID configuration, comprise the hard disk of selecting the RAID rank and setting up the RAID Logical Disk;
Entering os starting mode is selected the interface after withdrawing from the RAID configuration interface, and setting up the RAID Logical Disk that obtains in this selection layout setting is the os starting dish; And
Whether inspection RAID Logical Disk is equipped with operating system; If in the RAID Logical Disk operating system is not installed; Then from said CD-ROM drive start the operating system and installing operating system to the RAID Logical Disk; If the RAID Logical Disk is equipped with operating system, then start the operating system, with the function of instant checking RAID Logical Disk from the RAID Logical Disk.
2. RAID as claimed in claim 1 realizes and method of testing; It is characterized in that; Said to set up the RAID Logical Disk that obtains in this selection layout setting be that the step of os starting dish comprises: through revising hard disk quantity parameter value in the BIOS data area is 0 to be provided with that to set up the RAID Logical Disk that obtains be first hard disk of computing machine, is the os starting dish thereby the RAID Logical Disk is set.
3. RAID as claimed in claim 1 realizes and method of testing that it is characterized in that said hard disk controller is the SATA controller, said hard disk is the SATA hard disk.
4. RAID as claimed in claim 3 realizes and method of testing, it is characterized in that, the said SATA hard disk of said computer configuration is as the hard disk of setting up the RAID Logical Disk.
CN2010105552429A 2010-11-23 2010-11-23 Method for realizing and testing redundant array of independent disks (RAID) Pending CN102479121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105552429A CN102479121A (en) 2010-11-23 2010-11-23 Method for realizing and testing redundant array of independent disks (RAID)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105552429A CN102479121A (en) 2010-11-23 2010-11-23 Method for realizing and testing redundant array of independent disks (RAID)

Publications (1)

Publication Number Publication Date
CN102479121A true CN102479121A (en) 2012-05-30

Family

ID=46091773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105552429A Pending CN102479121A (en) 2010-11-23 2010-11-23 Method for realizing and testing redundant array of independent disks (RAID)

Country Status (1)

Country Link
CN (1) CN102479121A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049352A (en) * 2012-12-20 2013-04-17 创新科软件技术(深圳)有限公司 Method for recovering operating system of RAID (Redundant Array of Independent Disk)
CN103279408A (en) * 2013-06-20 2013-09-04 曙光信息产业(北京)有限公司 RAID (redundant array of inexpensive disk) performance testing method
CN103699457A (en) * 2013-09-26 2014-04-02 深圳市泽云科技有限公司 Method and device for restoring disk arrays based on stripping
CN104898987A (en) * 2015-05-27 2015-09-09 浪潮电子信息产业股份有限公司 Method for automatically verifying hard disk configuration of server
CN104965673A (en) * 2015-05-29 2015-10-07 浪潮电子信息产业股份有限公司 Method and apparatus for using MKSH to realize full hard RAID
CN104965672A (en) * 2015-05-27 2015-10-07 浪潮电子信息产业股份有限公司 Method for automatically, rapidly and conveniently configuring RAID
CN103914330B (en) * 2012-12-31 2017-02-15 中国长城计算机深圳股份有限公司 Raid card configuring method and computer under loongson platform
CN107132997A (en) * 2017-04-27 2017-09-05 郑州云海信息技术有限公司 Method based on OpenPower architectures RAID disk arrays
CN112558862A (en) * 2020-11-19 2021-03-26 山东云海国创云计算装备产业创新中心有限公司 Onboard RAID control method, device, system, BMC and medium
CN113946273A (en) * 2021-12-20 2022-01-18 深圳市吉方工控有限公司 OptionROM starting method, system, equipment and storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049352A (en) * 2012-12-20 2013-04-17 创新科软件技术(深圳)有限公司 Method for recovering operating system of RAID (Redundant Array of Independent Disk)
CN103914330B (en) * 2012-12-31 2017-02-15 中国长城计算机深圳股份有限公司 Raid card configuring method and computer under loongson platform
CN103279408A (en) * 2013-06-20 2013-09-04 曙光信息产业(北京)有限公司 RAID (redundant array of inexpensive disk) performance testing method
CN103279408B (en) * 2013-06-20 2015-08-19 曙光信息产业(北京)有限公司 The method of testing of raid-array RAID performance
CN103699457A (en) * 2013-09-26 2014-04-02 深圳市泽云科技有限公司 Method and device for restoring disk arrays based on stripping
CN104898987A (en) * 2015-05-27 2015-09-09 浪潮电子信息产业股份有限公司 Method for automatically verifying hard disk configuration of server
CN104965672A (en) * 2015-05-27 2015-10-07 浪潮电子信息产业股份有限公司 Method for automatically, rapidly and conveniently configuring RAID
CN104965673A (en) * 2015-05-29 2015-10-07 浪潮电子信息产业股份有限公司 Method and apparatus for using MKSH to realize full hard RAID
CN107132997A (en) * 2017-04-27 2017-09-05 郑州云海信息技术有限公司 Method based on OpenPower architectures RAID disk arrays
CN112558862A (en) * 2020-11-19 2021-03-26 山东云海国创云计算装备产业创新中心有限公司 Onboard RAID control method, device, system, BMC and medium
CN113946273A (en) * 2021-12-20 2022-01-18 深圳市吉方工控有限公司 OptionROM starting method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102479121A (en) Method for realizing and testing redundant array of independent disks (RAID)
CN106990958B (en) Expansion assembly, electronic equipment and starting method
US9778844B2 (en) Installation of operating system on host computer using virtual storage of BMC
CN105094927B (en) A kind of device firmware upgrade method and apparatus
US9239725B2 (en) System and method for installing an OS via a network card supporting PXE
JP2006260568A (en) Multi-core processor having active and inactive execution cores
US20100241815A1 (en) Hybrid Storage Device
CN105814541A (en) Computer device and memory starting method for computer device
CN104123153A (en) Apparatus and method for firmware upgrade using USB
CN105760191A (en) Embedded system equipment programming mass production method
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
US20100049961A1 (en) Update method for basic input/output system and update system thereof
US20090013167A1 (en) Computer device, method for booting the same, and booting module for the same
CN101299189A (en) DOS method of one of self-startup and multiple operating systems
US8291206B2 (en) Method for booting computer system
US9250942B2 (en) Hardware emulation using on-the-fly virtualization
CN102799479A (en) Mainboard with multifunctional basic input output system (BIOS) and test method thereof
CN113377586A (en) Automatic server detection method and device and storage medium
US7694175B2 (en) Methods and systems for conducting processor health-checks
CN105630523A (en) Computer BIOS data recovery system and method
CN110825421A (en) Firmware upgrading method and system and readable storage medium
CN103902301A (en) Method and device and processor reading BIOS
US7607040B2 (en) Methods and systems for conducting processor health-checks
CN108052337A (en) A kind of firmware upgrade method and device of eMMC production tools
CN103677875A (en) Method for starting electronic equipment, method for controlling permission and electronic equipment

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: 20120530