CN107203375A - The method for setting disk array - Google Patents

The method for setting disk array Download PDF

Info

Publication number
CN107203375A
CN107203375A CN201610911928.4A CN201610911928A CN107203375A CN 107203375 A CN107203375 A CN 107203375A CN 201610911928 A CN201610911928 A CN 201610911928A CN 107203375 A CN107203375 A CN 107203375A
Authority
CN
China
Prior art keywords
firmware
disk array
setting
storage device
extensible
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
CN201610911928.4A
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.)
MSI Computer Shenzhen Co Ltd
Original Assignee
MSI Computer Shenzhen 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
Priority claimed from US15/203,807 external-priority patent/US20170269942A1/en
Application filed by MSI Computer Shenzhen Co Ltd filed Critical MSI Computer Shenzhen Co Ltd
Publication of CN107203375A publication Critical patent/CN107203375A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Abstract

A kind of method for setting disk array.Driving start firmware so that start firmware performs boot program.In the traditional mode of start firmware, pass through the extensible firmware interface driver of firmware driving of starting shooting.Fast storage technology humanized program is driven by extensible firmware interface driver, remapped with performing disk array.Turn back on to enter disk array pattern to set disc array system.After the setting of disc array system is completed, operating system is loaded into.

Description

The method for setting disk array
Technical field
Framework, and more particularly to a kind of method for setting disk array are stored the present invention relates to one kind.
Background technology
User is when choosing the outfit of computer system, in addition to central processing unit, choosing in terms of storage device It is also often a big emphasis to choose.By taking conventional hard (HardDisk Drive, HDD) as an example, although have larger storage empty Between and more cheap price, but have the shortcomings that shallow and easily show, such as access speed is relatively slow, easily because collision causes magnetic Disk read head is damaged, or magnetic track is the problem of damage.And solid state hard disc (Solid State Disk, SSD) is although without more than Problem, but there is the problem of unit capacity cost is higher, and the problem of have service life.
Generation in response to disk array (Redundant Array of Independent Disks, RAID) technology and general And, basic input output system (Basic Input Output System, the BIOS) majority in computer system all supports disk The function of array, enhancing disk tolerance function, increase treatment efficiency, enhancing Data Integration degree etc. are reached by using the function Effect.Therefore, the deficiency that computer system storage is equipped with can be made up.
However, current existing disk array technology, only can be used in general Serial Advanced Technology annex (Serial Advanced Technology Attachment, SATA) on storage device.For secondary generation motherboard specification (Next Generation Form Factor, NGFF) for hard disk, user is it must be appreciated that corresponding set is made in ground according to hardware condition It is fixed, and it is familiar with entire protocol, the target of planning disk array can be really realized, but due to there is many numerous and diverse operation steps Rapid and limitation, the disk array function of SATA hard disc numerous and diverse many again was operated compared to the past, cause easily because of inadvertent or Misoperation causes system data to lose or damage.
The content of the invention
The present invention provide it is a kind of set disk array method, can homing guidance to last disk array planning, and then Improper operation is avoided to cause data degradation or damage.
The method of the setting disk array of the present invention, including:Driving start firmware so that start firmware performs start journey Sequence;In the traditional mode (legacy mode) of start firmware, by starting shooting, the extensible firmware interface of firmware driving drives journey Sequence;Fast storage technology (Rapid Storage Technology, RST) is driven by extensible firmware interface driver Driver, is remapped with performing disk array;Turn back on to enter disk array pattern to set disc array system;With And after the setting of disc array system is completed, it is loaded into operating system.
In one embodiment of this invention, after turning back on entrance disk array pattern, in addition to:Extensible In firmware interface pattern, when the quantity for the storage device for confirming to be connected on motherboard is more than or equal to 1, by extensible solid Part interface drive program sets disc array system.
In one embodiment of this invention, said storage unit is time generation motherboard specification hard disk.
In one embodiment of this invention, after driving start firmware, in addition to:Under traditional mode, into firmware Set menu;Whether the fast operating function of detection firmware setting menu is enabled;And it is fast when being detected in traditional mode When fast operating function is enabled, pass through the extensible firmware interface driver of firmware driving of starting shooting.
In one embodiment of this invention, during boot program is performed, by starting shooting, firmware is confirmed on motherboard Whether the quantity of the storage device connected is more than or equal to 1;When it is determined that the quantity of storage device is more than or equal to 1, solid Fast operating function is provided in part setting menu;And when it is determined that the quantity of storage device is equal to 0, in firmware setting menu Hide fast operating function.
In one embodiment of this invention, above-mentioned start firmware is basic input output system (Basic Input/ Output System, BIOS).
Method based on above-mentioned, of the invention setting disk array provides more friendly operating experience, reduces because excessively Numerous and diverse manipulation causes to slip up and the loss that causes, and by the modification of operating procedure, can the increase of support system project, and then Lift the use wish of user.
For the features described above and advantage of the present invention can be become apparent, special embodiment below, and it is detailed to coordinate accompanying drawing to make Carefully it is described as follows.
Brief description of the drawings
Fig. 1 is the block diagram of the electronic installation according to one embodiment of the invention.
Fig. 2 is the method flow diagram of the setting disk array according to one embodiment of the invention.
Fig. 3 is the method flow diagram of the setting disk array according to another embodiment of the present invention.
Description of reference numerals:
100:Electronic installation
110:Processor
120:Firmware storage element
121:Start firmware
122:Extensible firmware interface driver
130_1~130_N:Storage device
S205~S225:Set each step of method of disk array
S305~S335:Set each step of method of disk array
Embodiment
In general disk array planning process, often because hardware environment and to be equipped with condition different, along with setting Determine complex steps, cause during using the function of disk array, it is impossible to allowed and used by the guiding explanation of unified outline Person understands, and usually needs the situation with regard to single case to handle one by one, adds and much uses upper difficulty, is also easily caused drop The low wish used.Therefore, the present invention proposes a kind of method for setting disk array, can homing guidance to last disk array Planning, and then avoid improper operation from causing data degradation or damage.In order that the content of this case becomes apparent, below especially exemplified by implementation The example that example can actually be implemented according to this as this case.
Fig. 1 is the block diagram of the electronic installation according to one embodiment of the invention.Fig. 1 is refer to, electronic installation 100 includes place Manage device 110, firmware storage element 120 and multiple storage devices 130_1~130_N.It is single that processor 110 is coupled to firmware storage 120 and storage device 130_1~130_N of member.
Processor 110 is, for example, CPU (Central Processing Unit, CPU), programmable micro- place Manage device (Microprocessor), embedded Control chip, digital signal processor (Digital Signal Processor, DSP), ASIC (Application Specific Integrated Circuits, ASIC) or other classes Like device.
Firmware storage element 120 is, for example, read-only storage (Read Only Memory, ROM) or flash memory (flash memory).Start firmware 121 and extensible firmware interface driver are stored in firmware storage element 120 122.Firmware 121 of starting shooting is used in start process perform hardware initialization and test system hardware component, and loading is opened Dynamic loader (boot loader) or operating system.Firmware 121 of starting shooting is, for example, basic input output system (Basic Input/Output System, BIOS), extensible firmware interface (Extensible Firmware Interface, EFI) BIOS or extensible firmware interface (Unified Extensible Firmware Interface, the UEFI) BIOS of joint.
Storage device 130_1~130_N is, for example, time generation motherboard specification (NextGeneration Form Factor, NGFF) hard disk, i.e. M.2 hard disk.M.2 hard disk provides two kinds of interfaces, respectively sequence advanced technology attachment at present (Serial Advanced Technology Attachment, SATA) interface and quick perimeter component interconnection (Peripheral Component Interconnect express, PCIe) interface.
Fig. 2 is the method flow diagram of the setting disk array according to one embodiment of the invention.Referring to Fig. 1 and Fig. 2, In step S205, driving start firmware 121.Specifically, when the electric power of electronic installation 100 opens (power on), processing Device 110 reads start firmware 121 from firmware storage element 120 and then performs boot program.
Then, in step S210, in the traditional mode (legacymode) of start firmware 121, firmware of starting shooting is passed through The extensible firmware interface driver 122 of 121 drivings.Here, extensible firmware interface driver 122 is, for example, UEFI drivings Program.In general, traditional mode is most to set compatible option with old edition.For example, in the case where UEFI is the framework of substrate, passing System pattern is that UEFI supports module (Compatibility Support Module, CSM) to simulate tradition by compatibility BIOS, can be started with the operating system that profit does not support UEFI starts.
Afterwards, in step S215, fast storage technology is driven by extensible firmware interface driver 122 (Rapid Storage Technology, RST) driver, is remapped (remapping) with performing disk array.Due to RST drivers belong to UEFI driver, therefore first drive extensible firmware interface driver 122 (to be, for example, UEFI Driver), and then RST drivers are performed by extensible firmware interface driver 122.
Then, in step S220, turn back on to enter disk array pattern to set disc array system.In addition, Remap, and turned back on to enter after disk array pattern performing disk array, also be may further confirm that on motherboard Whether the quantity of the storage device connected is more than or equal to 2.When the quantity for the storage device for confirming to be connected on motherboard is big When 2, disc array system is set by extensible firmware interface driver 122.For example, turning back on it Afterwards, it is led directly to the administration interface of disk array.The volume of disk array is set up by the administration interface of disk array (volume), set the grade (level) of disk array, select disk, the amount of capacity for setting each volume etc..
Finally, in step S225, after the setting of disc array system is completed, turn back on to be loaded into operation system System.In addition, can preset one group specifies hot key.In start process, when detect the group specify hot key be enabled when, pass In system pattern, subsequently moved by start firmware 121 directly drives extensible firmware interface driver 122 directly to perform other Make.For example, BIOS directly drive UEFI drivers, use under non-UEFI environment use RST drivers, and then cause by The operating system for being limited to not support UEFI environment is able to set disk array to M.2 hard disk.
In addition, in other embodiments, fast operating function can be set in firmware setting menu, to pass through fast operating The enable of function is directed to the planning of last disk array automatically.
Fig. 3 is the method flow diagram of the setting disk array according to another embodiment of the present invention.Referring to Fig. 1 and figure 3, after electric power unlatching, the driving of processor 110 starts shooting firmware 121 to perform boot program.Performing the process of boot program In, as shown in step S305, start firmware 121 determines whether to enter firmware setting menu.If performing the mistake of boot program Cheng Zhong, start firmware 121 judges not enter firmware setting menu, as shown in step S335, after boot program performs completion, It is directly loaded into operating system.If during boot program is performed, start firmware 121 judges that entering firmware sets menu, such as Shown in step S310, menu is set into firmware.For example, when firmware 121 of starting shooting detects a default hot key and is enabled, entering Firmware sets menu.
After firmware setting menu is entered, in step S315, start firmware 121 judges whether enable fast operating work( Energy.In the present embodiment, the firmware setting menu of start firmware 121 provides a fast operating function.Utilize fast operating function The planning of last disk array can be simply directed to.That is, under traditional mode, by starting shooting, firmware 121 is set into firmware Determine menu, and detect whether the fast operating function of firmware setting menu is enabled.
When being not detected by fast operating function and being enabled, as shown in step S335, after boot program is performed and completed, It is directly loaded into operating system.When detecting fast operating function in traditional mode and being enabled, as shown in step S320, pass through The driving of firmware 121 of starting shooting may extend away firmware interface driver 123.
Afterwards, in step S325, RST drivers are driven by extensible firmware interface driver 122, to hold Row disk array is remapped.Also, in step S330, turn back on to enter disk array pattern to set disk array system System.
In addition, during boot program is performed, may further confirm that and connected on motherboard by firmware 121 of starting shooting Storage device quantity whether be more than or equal to 1.Here, following composition can be further configured to, i.e. true in processor 110 When the quantity for determining storage device is more than or equal to 1, fast operating function is provided in firmware setting menu;It is true in processor 110 When the quantity for determining storage device is equal to 0, fast operating function is hidden in firmware setting menu.Because the number of storage device When amount is equal to 0, and disk array can not be set.Therefore, it can be further configured to hide the quick behaviour in firmware setting menu Make function.
In addition, when processor 110 determines that the quantity of storage device is equal to 1, the function of setting disk array is still provided, But processor 110 will not be automatically led to the administration interface of disk array, but after the instruction of user's input is received, Enter the administration interface of disk array according to instruction.
In other embodiments, when processor 110 determines that the quantity of storage device is equal to 0, it can not also hide firmware and set Determine the fast operating function in menu, and when fast operating function is enabled, send a prompting message to notify user's mesh Disk array has been set since the lazy weight of preceding storage device.
Beneath is BIOS with firmware 121 of starting shooting, and may extend away firmware interface driver 122 is UEFI drivers, storage Device 130_1~130_N is illustrates exemplified by M.2 hard disk.In start process, BIOS will carry out hard disk in advance automatically Confirmation.M.2 hard disk provides SATA interface and PCIe interface at present.Therefore, judged by SATA interface and PCIE interfaces The quantity of M.2 hard disk set at present, hard disk kenel species and M.2 the corresponding disk array of hard disk is remapped which is Group, and then differentiate whether electronic installation 100 supports disk array, decide whether that homing guidance to the disk of disk array is advised Draw function.
In summary, electronic installation directly can be automatically directed in the traditional mode of start process by start firmware Disk array pattern.Also, the method for above-mentioned setting disk array provides friendly operating experience, i.e. enter firmware setting After menu, the fast operating function provided in menu is set via firmware, start firmware can complete all settings, and automatically Into disk array pattern, use and the administration interface of personalized disk array is presented to user, person to be used completes magnetic After disk planning, that is, complete the setting of whole disk array.Accordingly, the number of times turned back on can be reduced, and is reduced because excessively numerous and diverse Manipulation cause to slip up and the loss that causes, and by the modification of operating procedure, can the increase of support system project, and then lifted The use wish of user.
Although the present invention is disclosed as above with embodiment, so it is not limited to the present invention, any art Technical staff, without departing from the spirit and scope of the present invention, when can make a little variation and retouching, therefore the protection model of the present invention Enclose to work as and be defined depending on the appended claims person of defining.

Claims (7)

1. a kind of method for setting disk array, including:
The start firmware of driving one so that the start firmware performs a boot program;
In a traditional mode of the start firmware, pass through the extensible firmware interface driver of start firmware driving one;
One fast storage technology humanized program is driven by the extensible firmware interface driver, to perform a disk array Remap;
Turn back on to enter a disk array pattern to set a disc array system;And
After the setting of the disc array system is completed, an operating system is loaded into.
2. the method for disk array is set as claimed in claim 1, wherein turning back on the entrance disk array pattern The step of after, in addition to:
When the quantity for the storage device for confirming to be connected on a motherboard is more than or equal to 1, pass through the extensible firmware interface Driver sets the disc array system.
3. setting the method for disk array as claimed in claim 2, wherein the storage device is once generation motherboard specification Hard disk.
4. the method for disk array is set as claimed in claim 1, wherein after the step of driving the start firmware, also wrapping Include:
Under the traditional mode, menu is set into a firmware;
Detect whether a fast operating function of firmware setting menu is enabled;And
When detecting the fast operating function in the traditional mode and being enabled, drive this extensible solid by the start firmware Part interface drive program.
5. the method for disk array is set as claimed in claim 4, in addition to:
During the boot program is performed, the number for the storage device for confirming to be connected on a motherboard by the start firmware Whether amount is more than or equal to 1;
When it is determined that the quantity of the storage device is more than or equal to 1, the fast operating function is provided in firmware setting menu; And
When it is determined that the quantity of the storage device is equal to 0, the fast operating function is hidden in firmware setting menu.
6. setting the method for disk array as claimed in claim 5, wherein the storage device is once generation motherboard specification Hard disk.
7. setting the method for disk array as claimed in claim 1, wherein the start firmware is basic input output system.
CN201610911928.4A 2016-03-17 2016-10-19 The method for setting disk array Pending CN107203375A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201662309960P 2016-03-17 2016-03-17
US62/309,960 2016-03-17
US15/203,807 2016-07-07
US15/203,807 US20170269942A1 (en) 2016-03-17 2016-07-07 Method for setting redundant array of independent disks

Publications (1)

Publication Number Publication Date
CN107203375A true CN107203375A (en) 2017-09-26

Family

ID=59904452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610911928.4A Pending CN107203375A (en) 2016-03-17 2016-10-19 The method for setting disk array

Country Status (2)

Country Link
CN (1) CN107203375A (en)
TW (1) TW201734800A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045991A (en) * 2019-03-08 2019-07-23 平安科技(深圳)有限公司 RAID configuration method, device, computer equipment and the storage medium of server

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI731515B (en) * 2019-12-17 2021-06-21 宏碁股份有限公司 Computer system and boot controlling method for storage apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932745A (en) * 2005-09-15 2007-03-21 英业达股份有限公司 Magnetic disc array setting system and method
US20070294703A1 (en) * 2006-06-19 2007-12-20 Ozan Talu System and Method for Migration of Information From a Legacy to a Replacement Information Handling System
US20080065875A1 (en) * 2006-09-08 2008-03-13 Thompson Mark J Bios bootable raid support
US20090037722A1 (en) * 2007-08-01 2009-02-05 Chong Benedict T Integration Model for Instant-On Environment
US20100169633A1 (en) * 2008-12-31 2010-07-01 Vincent Zimmer System and method to secure boot both uefi and legacy option rom's with common policy engine
US20140359263A1 (en) * 2013-06-04 2014-12-04 Hewlett-Packard Development Company, L.P. Boot from logical volume spanning plurality of pci devices
CN104881105A (en) * 2015-04-17 2015-09-02 英业达科技有限公司 Electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932745A (en) * 2005-09-15 2007-03-21 英业达股份有限公司 Magnetic disc array setting system and method
US20070294703A1 (en) * 2006-06-19 2007-12-20 Ozan Talu System and Method for Migration of Information From a Legacy to a Replacement Information Handling System
US20080065875A1 (en) * 2006-09-08 2008-03-13 Thompson Mark J Bios bootable raid support
US20090037722A1 (en) * 2007-08-01 2009-02-05 Chong Benedict T Integration Model for Instant-On Environment
US20100169633A1 (en) * 2008-12-31 2010-07-01 Vincent Zimmer System and method to secure boot both uefi and legacy option rom's with common policy engine
US20140359263A1 (en) * 2013-06-04 2014-12-04 Hewlett-Packard Development Company, L.P. Boot from logical volume spanning plurality of pci devices
CN104881105A (en) * 2015-04-17 2015-09-02 英业达科技有限公司 Electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045991A (en) * 2019-03-08 2019-07-23 平安科技(深圳)有限公司 RAID configuration method, device, computer equipment and the storage medium of server
CN110045991B (en) * 2019-03-08 2022-05-20 平安科技(深圳)有限公司 RAID configuration method and device of server, computer equipment and storage medium

Also Published As

Publication number Publication date
TW201734800A (en) 2017-10-01

Similar Documents

Publication Publication Date Title
US7136951B2 (en) Multifunction semiconductor storage device and a method for booting-up computer host
CN108008914B (en) The method, apparatus and ARM equipment of disk management in a kind of ARM equipment
CN101625645B (en) Solid state disk, BIOS device, and method and equipment for booting operating system
US20150154033A1 (en) Computer system and boot method thereof
CN101650660A (en) Booting a computer system from central storage
CN101645127A (en) Method for establishing trusted booting system based on EFI
CN102479121A (en) Method for realizing and testing redundant array of independent disks (RAID)
CN101014936B (en) Method and system for automatic installation of functional unit driver on a host
CN105760191A (en) Embedded system equipment programming mass production method
US20160306757A1 (en) Bridge configuration in computing devices
US8484447B2 (en) Selecting a compatible processor to control a peripheral component interconnect express (PCI-E) slot unit within a predetermined interval via a setting menu
CN107203375A (en) The method for setting disk array
CN103810430B (en) The method and electronic equipment of a kind of control electronics
TW201117008A (en) Electronic equipment and boot method, storage medium thereof
CN104182374B (en) The method of USB device and its automatic identification Microsft Windows operating system version
US8291206B2 (en) Method for booting computer system
JP2009543251A (en) Portable device with user interface
CN1317616C (en) Multi-key bootstrap system and method for multi operating system
CN104615387B (en) Mobile unit and its design method based on XPE systems
US6813648B1 (en) Method and apparatus for post boot-up domain validation
US7346765B2 (en) Systems and methods for facilitating computer system recovery
EP3223133A1 (en) Method for setting redundant array of independent disks
CN114510751A (en) Hardware replacement prevention device and method based on processor security kernel
CN101114230A (en) Method for reading and electing read only memory program code on self-storing mechanism
CN101901153B (en) Electronic installation and starting-up method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170926

WD01 Invention patent application deemed withdrawn after publication