CN108804128A - A kind of hard disk firmware online upgrading method of storage system - Google Patents

A kind of hard disk firmware online upgrading method of storage system Download PDF

Info

Publication number
CN108804128A
CN108804128A CN201810540676.8A CN201810540676A CN108804128A CN 108804128 A CN108804128 A CN 108804128A CN 201810540676 A CN201810540676 A CN 201810540676A CN 108804128 A CN108804128 A CN 108804128A
Authority
CN
China
Prior art keywords
hard disk
storage system
disk
upgrade
online upgrading
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
CN201810540676.8A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810540676.8A priority Critical patent/CN108804128A/en
Publication of CN108804128A publication Critical patent/CN108804128A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of hard disk firmware online upgrading methods of storage system, include the following steps:Obtain RAID array quantity information in storage system;Obtain hard disk quantity information in each RAID array;Obtain each disk state information;Each hard disk is upgraded according to disk state information, and opens the hard disk upgrade of next state after one all hard disk upgrade of state of completion.The hard disk firmware online upgrading method of storage system disclosed by the invention can avoid the influence to storing I O process and business to greatest extent by setting firmware upgrade sequence.

Description

A kind of hard disk firmware online upgrading method of storage system
Technical field
The present invention relates to technical field of memory more particularly to a kind of hard disk firmware online upgrading methods of storage system.
Background technology
Often have tens in storage system or even at white thousands of pieces of hard disks.The use state of these hard disks generally has following several Kind:
(1) unused states:I.e. hard disk is in unused state, and disk is without operations such as initialization, formattings.
(2) candidate states:Disk is in candidate state, has been provided with as the condition of RAID member disks.
(3) spare states:Disk is in hot standby state, i.e., as the HotSpare disk of RAID array.
(4) member states:Disk is in RAID array, one of the member disk as RAID array.
The manufacturer of storage hard disk updates the firmware of hard disk sometimes, to change the known bug of hard disk or improve hard disk Performance.We are also required to upgrade the hard disk firmware in storage in this way, with optimizing memory system performance, improve storage system Stability.On the one hand, when upgrading to some hard disk, which cannot respond to I/O Request, and the time of upgrading is general Also it has tens seconds to a few minutes etc..On the other hand, the hard disk in storage is usually the sequence upgrading of string type, can not be concurrent It carries out.
In the prior art, hard disk upgrade two kinds of batch upgrade on wired lower batch upgrade and line now.
Under line when batch upgrade, needs to shut down existing storage system, hard disk is extracted, be inserted into the standard put up On Linux system platform, the firmware upgrade script and upgrade package that operation manufacturer provides, sequence complete upgrading.
On line when batch upgrade, storage system shutdown is not needed, sequentially according to hard disk label, hard disk completes firmware liter one by one Grade.
Batch upgrading method under line needs to shut down storage system, storage service will be caused to interrupt, disadvantage is very bright It is aobvious.
Batch upgrading method on existing line does not differentiate between hard disk status, directly by hard disk according to slot sequence into Row upgrading, may produce bigger effect the I O process of storage.Such as 1,2,3,4,5 dialer be in the same RAID array In, until 5 dialers have upgraded, which can just continue with IO, and 5 pieces of disk upgradings are completed probably to need for ten a few minutess The time of clock is certain to lead to IO time-out even other serious I O errors, causes storage service to interrupt, to directly affect visitor The reliability of family related service.
Invention content
Technical problems based on background technology, the present invention propose a kind of hard disk firmware online upgrading of storage system Method can avoid the influence to storing I O process and business to greatest extent by setting firmware upgrade sequence.
A kind of hard disk firmware online upgrading method of storage system proposed by the present invention, includes the following steps:
Obtain RAID array quantity information in storage system;
Obtain hard disk quantity information in each RAID array;
Obtain each disk state information;
Each hard disk is upgraded according to disk state information, and after one all hard disk upgrade of state of completion under unlatching The hard disk upgrade of one state.
Preferably, when same state hard disk upgrade, according to polling mode, upgrade the hard disk in different RAID arrays successively, And each polling cycle, each RAID array upgrade a hard disk.
Preferably, identical upgrading interval time T1 is arranged in hard disk in each polling cycle.
Preferably, identical upgrading interval time T1+T2 is arranged in different polling cycle hard disks.
Preferably, identical upgrading interval time T2 is arranged in different conditions hard disk.
Preferably, T1 is 30 seconds, and T2 is 270 seconds.
A kind of hard disk firmware online upgrading method of the storage system provided in the present invention, it is suitable by setting firmware upgrade Sequence can avoid the influence to storing I O process and business to greatest extent.
Description of the drawings
Fig. 1 is in a kind of embodiment storage system of the hard disk firmware online upgrading method of storage system proposed by the present invention Hard disk forms and status diagram;
Fig. 2 is that hard disk firmware upgrades precedence diagram in Fig. 1.
Specific implementation mode
As shown in Figs. 1-2, Fig. 1 is a kind of implementation of the hard disk firmware online upgrading method of storage system proposed by the present invention Hard disk composition and status diagram in example storage system;Fig. 2 is that hard disk firmware upgrades precedence diagram in Fig. 1.
The present invention is described in detail below with reference to the accompanying drawings and embodiments.
In the present embodiment, with storage system totally 17 pieces of hard disks, i.e. 17 pieces of drive, and there are 3 RAID arrays in storing, It is illustrated.
A kind of hard disk firmware online upgrading method of storage system, includes the following steps:
S1:It is RAID Array0, RAID Array1, RAID to obtain RAID array quantity information in storage system Array2;Obtain hard disk quantity information drive1-17 in each RAID array;Obtain status information have unused, candidate, Spare states;
S2:Upgrade the firmware of the 1st piece of disk Drive0 in RAID Array0;After the completion of upgrading, by the time interval of T1, Upgrade the firmware of the 1st piece of disk Drive5 in RAID Array1 again;After the completion of upgrading, by the time interval of T1, then upgrade RAID The firmware of the 1st piece of disk Drive8 in Array3;
S3:After the completion of above-mentioned upgrading, then it is spaced the time of T1+T2, continuation upgrades RAID according to the method described above successively The 2nd piece of disk in Array0~RAID Array2, and within the interval time of T1+T2, can upgrade successively unused, The disk of candidate, spare state can upgrade several pieces and just upgrade several pieces.Do not upgraded in next intervals T1+T2 into Row upgrading;Wherein, T1 is 30 seconds, and T2 is 270 seconds;
S4:When Drive10, which upgrades, to be completed, disk all promoted completions in RAID Array1 and RAID Array2 ?.Drive3, Drive4 in only surplus RAID Array0 and unused, candidate, spare state for not yet upgrading Disk.At this moment, upgrading Drive3 if also non-member disks do not upgrade, upgrades non-member within the period after the completion Disk is spaced the T2 times, then upgrades Drive4 again, to complete the upgrading of all member states disks.The remaining time then into The firmware upgrade for the non-member disks that row not yet upgrades.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, Any one skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.

Claims (7)

1. a kind of hard disk firmware online upgrading method of storage system, which is characterized in that include the following steps:
Obtain RAID array quantity information in storage system;
Obtain hard disk quantity information in each RAID array;
Obtain each disk state information;
Each hard disk is upgraded according to disk state information, and is opened after one all hard disk upgrade of state of completion next The hard disk upgrade of state.
2. the hard disk firmware online upgrading method of storage system according to claim 1, which is characterized in that same state is hard When disk upgrades, according to polling mode, upgrade the hard disk in different RAID arrays, and each polling cycle successively, it is RAID gusts each Row one hard disk of upgrading.
3. the hard disk firmware online upgrading method of storage system according to claim 2, which is characterized in that each poll week Identical upgrading interval time T1 is arranged in hard disk in phase.
4. the hard disk firmware online upgrading method of storage system according to claim 3, which is characterized in that different poll weeks Identical upgrading interval time T1+T2 is arranged in phase hard disk.
5. the hard disk firmware online upgrading method of storage system according to claim 1, which is characterized in that different conditions are hard Identical upgrading interval time T2 is arranged in disk.
6. the hard disk firmware online upgrading method of storage system according to claim 4, which is characterized in that T1 is 30 seconds, T2 is 270 seconds.
7. the hard disk firmware online upgrading method of storage system according to claim 5, which is characterized in that T2 is 270 seconds.
CN201810540676.8A 2018-05-30 2018-05-30 A kind of hard disk firmware online upgrading method of storage system Pending CN108804128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810540676.8A CN108804128A (en) 2018-05-30 2018-05-30 A kind of hard disk firmware online upgrading method of storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810540676.8A CN108804128A (en) 2018-05-30 2018-05-30 A kind of hard disk firmware online upgrading method of storage system

Publications (1)

Publication Number Publication Date
CN108804128A true CN108804128A (en) 2018-11-13

Family

ID=64089451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810540676.8A Pending CN108804128A (en) 2018-05-30 2018-05-30 A kind of hard disk firmware online upgrading method of storage system

Country Status (1)

Country Link
CN (1) CN108804128A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021093222A1 (en) * 2019-11-11 2021-05-20 深圳忆联信息***有限公司 Ssd firmware upgrading method and apparatus compatible with raid and non-raid

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503781A (en) * 2014-12-10 2015-04-08 华为技术有限公司 Firmware upgrading method for hard disk and storage system
CN105045529A (en) * 2015-06-25 2015-11-11 浪潮(北京)电子信息产业有限公司 Operation and maintenance management system and method for computer disk array cards
CN105893100A (en) * 2016-05-12 2016-08-24 浪潮电子信息产业股份有限公司 Method for automatically refreshing hard disk firmware under linux system
CN105930187A (en) * 2016-04-21 2016-09-07 浪潮电子信息产业股份有限公司 Method for refreshing FW of Mega SAS RAID cards in batch
CN106445591A (en) * 2016-09-19 2017-02-22 郑州云海信息技术有限公司 Automatic and batched RAID card FW refreshing method of servers
CN106681775A (en) * 2017-01-03 2017-05-17 郑州云海信息技术有限公司 Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system
CN107885520A (en) * 2017-11-29 2018-04-06 郑州云海信息技术有限公司 A kind of RAID card firmware batch refreshing apparatus and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503781A (en) * 2014-12-10 2015-04-08 华为技术有限公司 Firmware upgrading method for hard disk and storage system
CN105045529A (en) * 2015-06-25 2015-11-11 浪潮(北京)电子信息产业有限公司 Operation and maintenance management system and method for computer disk array cards
CN105930187A (en) * 2016-04-21 2016-09-07 浪潮电子信息产业股份有限公司 Method for refreshing FW of Mega SAS RAID cards in batch
CN105893100A (en) * 2016-05-12 2016-08-24 浪潮电子信息产业股份有限公司 Method for automatically refreshing hard disk firmware under linux system
CN106445591A (en) * 2016-09-19 2017-02-22 郑州云海信息技术有限公司 Automatic and batched RAID card FW refreshing method of servers
CN106681775A (en) * 2017-01-03 2017-05-17 郑州云海信息技术有限公司 Method for achieving online batch upgrading of hard disk firmware through RAID card under Linux system
CN107885520A (en) * 2017-11-29 2018-04-06 郑州云海信息技术有限公司 A kind of RAID card firmware batch refreshing apparatus and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021093222A1 (en) * 2019-11-11 2021-05-20 深圳忆联信息***有限公司 Ssd firmware upgrading method and apparatus compatible with raid and non-raid
US11989418B2 (en) 2019-11-11 2024-05-21 Shenzhen Unionmemory Information System Limited Method and apparatus for upgrading SSD firmware compatible with raid SSD and non-raid

Similar Documents

Publication Publication Date Title
US6438688B1 (en) Method and computer for locally and remotely updating a basic input output system (BIOS) utilizing one update file
US8423991B2 (en) Embedded network device and firmware upgrading method
US8086841B2 (en) BIOS switching system and a method thereof
US7765439B2 (en) Traceability management apparatus, storage medium storing program, and tracing method
CN107391195A (en) A kind of method that SSD FW upgradings are carried out under linux
CN105094927A (en) Equipment firmware updating method and device
CN101739266A (en) Firmware updating method
CN105760165B (en) A kind of method that self backup load of MCU refreshes
CN101895671A (en) Set top box Loader module updating method and set top box thereof
KR100927446B1 (en) Transaction unit firmware upgrade method of mobile communication terminal and firmware upgrade system using same
US20100049961A1 (en) Update method for basic input/output system and update system thereof
CN103577201A (en) Embedded dual system updating method and system
CN102799497A (en) Data recovery system and method for non-volatile random access memory (NVRAM)
CN104461402B (en) A kind of method for adjusting disk order under Linux system between multi-controller
CN105573797A (en) Reversible off-line upgrade method and device for embedded system
CN108804128A (en) A kind of hard disk firmware online upgrading method of storage system
CN102479124B (en) Test method
CN109947445A (en) A kind of firmware upgrade method and system
US8086834B2 (en) System and method for populating a dedicated system service repository for an information handling system
CN109086081B (en) Method, system and medium for instantly prompting in-place change of SATA (Serial advanced technology attachment) and NVMe (network video recorder) equipment
CN102707964A (en) Method and device for configuring compatible program version parameters
US20060026415A1 (en) Method of updating a portion BIOS
CN107066361A (en) The method and apparatus that a kind of utilization BMC disables corrupted internal memory
CN104657232A (en) BIOS automatic recovery system and BIOS automatic recovery method
CN103530142A (en) Android system upgrading method and system based on storage device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181113

RJ01 Rejection of invention patent application after publication