CN101625586A - Method, equipment and computer for managing energy conservation of storage device - Google Patents

Method, equipment and computer for managing energy conservation of storage device Download PDF

Info

Publication number
CN101625586A
CN101625586A CN200810116344A CN200810116344A CN101625586A CN 101625586 A CN101625586 A CN 101625586A CN 200810116344 A CN200810116344 A CN 200810116344A CN 200810116344 A CN200810116344 A CN 200810116344A CN 101625586 A CN101625586 A CN 101625586A
Authority
CN
China
Prior art keywords
disk
data
memory device
redundant
low power
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
CN200810116344A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN200810116344A priority Critical patent/CN101625586A/en
Publication of CN101625586A publication Critical patent/CN101625586A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a method for managing a redundant disk array, the redundant disk array and a computer. The invention provides a method for energy conservation of the redundant disk array, which comprises the steps of: mapping a storage device to a first disk in the redundant disk array; judging whether the redundant disk array belongs to a reading state; and ensuring the first disk is in a low power consumption state if the redundant disk array belongs to the reading state. A computer system comprises computing equipment, control equipment and the storage device formed by the redundant disk array; the redundant disk array comprises at least two hard disks; and the computer system also comprises at least one storage device used for being mapped to at least one hard disk in the redundant system. Through the application of the technology provided by the invention, the redundant disk array still has redundant check data, namely after one or more disks break down, all the disks can be recovered. At the same time, the reading/writing performance can still reach the original RAID5 performance and more power is saved, so that the total power consumption of the system is effectively reduced.

Description

A kind of method of managing energy conservation of storage device, equipment and computing machine
Technical field
The present invention relates to the computer system stores device management techniques, be meant a kind of method, equipment and computing machine of managing energy conservation of storage device especially.
Background technology
Computer system, server system wherein particularly, in order to realize Fast Azimuth data and the purpose of preserving data check information, generally all disposed redundant array of inexpensive disk (RAID, Redundant Array ofIndependent Disks), senior RAID configuration can be organized a plurality of physical disks, form virtual jumbo logic magnetic disc, under the situation that the physical disk of limited quantity damages, the data message that recovers to damage by the data check information that is kept on other physical disks, thereby effective service data safety.In the prior art, when the RAID5 array in the senior RAID configuration can accomplish that two disks damage simultaneously, restore data that can be complete; The RAID6 array can accomplish then that 3 physical disks damage simultaneously and obliterated data not.
In realizing process of the present invention, the inventor finds the following at least problem of prior art:
With RAID5 (4 hard disks) is example, wherein (in fact checking data is that branch is on each disk to disk check disk that is other disks, for simple expression is done in easy understanding here), actual capacity is the capacity of 3 hard disks, however power consumption but is the electric weight of 4 dishes.A work power consumption (generally being 20W) is arranged during disk work, if machine room 100 station servers, the RAID configuration of every station server is the configuration that meets the RAID standard, uses prior art, can cause whole computer system power consumption too much, increase handling cost.
Summary of the invention
In order to solve foregoing problems, the invention provides a kind of method, equipment and computing machine of managing energy conservation of storage device:
An aspect of the embodiment of the invention, we provide a kind of redundant array of inexpensive disk method for saving energy, it is characterized in that, comprising:
Shine upon first disk of a memory device in the redundant array of inexpensive disk;
Judge whether described redundant array of inexpensive disk belongs to reading state;
If make described first disk enter low power consumpting state.
Preferably, make after described first disk enters low power consumpting state, also comprising:
When reading of data, only read other data in magnetic disk outside described first disk;
According to described other data in magnetic disk, utilize preset algorithm reduction raw data.
Preferably, make after described first disk enters low power consumpting state, also comprise described:
When writing data, data are write direct in the described memory device.
Preferably, write direct data in the described memory device before, also comprise judge whether the store status of described memory device surpasses certain threshold value, if, then:
Wake described first disk up;
The data of described memory device are copied to described first disk;
Empty described memory device;
Make described first disk enter low power consumpting state.
Preferably, data are write direct in the described memory device before the step, also comprise judge whether the low power consumpting state of described first disk surpasses certain threshold value, if, then:
Wake described first disk up;
The data of described memory device are copied to described first disk;
Empty described memory device;
Make described first disk enter low power consumpting state.
Preferably,, comprising: dormant state, off-position etc. the low power consumpting state that enters in the redundant array of inexpensive disk described
Preferably, described memory device is the low-power consumption memory device, comprises flash memory, solid state hard disc.
Preferably, described preset algorithm is specially the canonical algorithm of redundancy magnetic disk permutation, as XOR algorithm, parity checking.
An aspect of the embodiment of the invention, we provide a kind of computer system, comprise computing equipment, opertaing device, the memory device that redundant array of inexpensive disk constitutes, described redundant array of inexpensive disk comprises at least two hard disks, it is characterized in that:
Described computer system also comprises:
At least one memory device is with at least one hard disk that is mapped in the described redundant system.
Preferably, described memory device is the low-power consumption memory device, comprises flash memory, solid state hard disc.
Description of drawings
Fig. 1 is the synoptic diagram of redundant array of inexpensive disk RAID5 in the prior art;
Fig. 2 is that preferred embodiment of the present invention physical vlan disk constitutes synoptic diagram;
Synoptic diagram when Fig. 3 reads in data for the preferred embodiment of the present invention;
Synoptic diagram when Fig. 4 writes data for the preferred embodiment of the present invention;
Fig. 5 is the preferred embodiment of the present invention is recovered data backup from flash memory a synoptic diagram;
Fig. 6 is a preferred embodiment of the present invention synoptic diagram;
Fig. 7 is process flow diagram of the preferred embodiment of the present invention.
Embodiment
For making purpose of the present invention, technical characterictic and implementation result clearer, below in conjunction with the accompanying drawings and the specific embodiments the preferred embodiments of the present invention are described in detail.
In the present invention, preferred embodiment is to adopt the check disk mapping in FLASH flash memory and the redundancy magnetic disk to form a virtual physical hard disk, replaces original check disk, reaches energy-conservation effect.
With reference to figure 1, redundant array of inexpensive disk is RAID5, and RAID 5 is storage solutions that a kind of memory property, data security and carrying cost are taken into account.The RAID 5 that forms with four hard disks is an example, in described RAID5 array, four hard disks is arranged, in the storing process of data, when guaranteeing that any hard disk breaks down, can pass through other three all data of disk recovery, thereby reach the security of server data.Its data storage method is as shown in Figure 2: the method that RAID5 takes is among the figure, and P0 is D0, the parity information of D1 and D2, and other is by that analogy.As can be seen from Figure, RAID 5 does not back up the data of storage, but data and corresponding parity information are stored on each disk of forming RAID5, and parity information is stored in respectively on the different disks with corresponding data.After the data in magnetic disk of RAID5 is damaged, utilize remaining data and corresponding parity information to go to recover impaired data.
RAID 5 can provide the data security guarantee for system, but degree of protection than Mirror low and disk space utilization factor than Mirror height.RAID 5 has the 0 akin data reading speed with RAID, just many parity informations, and the speed that writes data is slower slightly than single disk is carried out write operation.Owing to the corresponding parity information of a plurality of data, the disk space utilization factor of RAID 5 is than RAID 1 height simultaneously, and carrying cost is relatively low.。
As can be seen, if each hard disk all is used for storing data separately, and be not used for checking data, the business datum memory capacity of described four hard disks is: 800G.
But, in the prior art, in order to make the security of business datum higher, all having living space in described four hard disks is used for storing the check information of business datum on other hard disk, like this, the actual described traffic data capacity that can store of described four hard disks is: 600G.Just there is the power consumption of a hard disk to increase because of the needs of backup.
By foregoing description as can be known, now in the technology because at the checking data that all stores business datum on described business datum and described other hard disk on each hard disk, so, make in the system that includes described four hard disks in actual motion, power for each described four hard disk with regard to needs.As seen, there are the following problems for the prior art among the figure one:
Give four hard disk power supplies of the capacity of 800G, but the memory capacity of the actual described business datum of storage that obtains of user has only: 600G.
In an embodiment of the present invention, a kind of storage means and layout of new redundant array of inexpensive disk are provided, with reference to shown in Figure 3, continuation is example with RAID5, in redundant array of inexpensive disk 101-107, add the memory device 201 of a low-power consumption, the power consumption of this memory device has very big minimizing than the traditional magnetic hard disk, in the specific implementation, can select flash disk or solid state hard disc etc.Any hard disk dish with in above-mentioned flash disk 201 and the RAID5 array in the present embodiment, illustrates with hard disk 107, becomes a virtual physical hard disk 301, and the effect of physical vlan hard disk 301 is the same with hard disk 107.By the RAID control card, reach the effect of virtual hard disk 107.That is to say that system can be used as 107 with virtual hard disk 301 and carry out the work of reading and writing data.Generally speaking, can be with 107 dormancy of verification hard disk or outage, and the master data function of reading is satisfied in the connection that keeps flash disk 201.Because in the ordinary course of things, the data of server exchange are not very huge, add the continuous development of technology, and the capacity of flash disk is increasing, and flash disk 201 can guarantee the effect of the metadata cache in a period of time section substantially.
With reference to shown in Figure 4, when system's reading of data, because 107 dormancy or outages, system only can go up read data from other three hard disk 101-105, but because method and prior art are as broad as long, the speed of reading of data is still with identical originally.Simultaneously, because the characteristic of RAID5 redundant array of inexpensive disk, the data that read from the disk 101-105 can draw all partial datas by three groups of data XOR algorithms of hard disk 101 to 105, thereby as can be seen, dormancy hard disk 109 when reading of data, the assurance of integrality and speed.
With reference to shown in Figure 5, when writing data, write data simultaneously to three hard disk 101-105 and physical vlan hard disk 301 in system, in the inside of physical vlan hard disk 301, because 107 dormancy or outages, write data on flash disk 201 only just in fact.This moment, flash disk 201 was equivalent to the buffer memory of a hard disk 107, in hard disk 107 outages and dormancy, system need be write 107 metadata cache in flash disk 201, as long as the data in buffer amount can be data cached by flash disk 201 always in flash memory 201 data capacity scopes own.Data sum on data on the flash disk 201 and the hard disk of dormancy 107 has constituted the data of whole physical vlan hard disk.
Reference as shown in Figure 6, when data capacity on the flash disk 201 surpasses certain threshold values, reach 80% of flash capacity as data in buffer, when perhaps having passed through one default period, as 24 hours, perhaps specific period, as 12 o'clock midnights, wake dormancy or outage hard disk 107 up, the data on the flash memory 201 are copied in the hard disk 107, the data sync of maintenance 107 is in other hard disks.Delete the data cached of flash disk 201 the insides, continue then hard disk 107 is returned to dormancy or off-position.Whole virtual hard disk returns to buffer status shown in Figure 3 again.
As shown in Figure 7, behind certain the piece hard disk failure among the 101-105, start this dormancy or outage hard disk 107, carry out the operation of read-write operation or restore data.The heat of start-up system is equipped with hard disk then, and the hard disk of fault is changed, and behind the recovery system, again hard disk 107 is entered dormancy or off-position, enters into the described buffer status of Fig. 3.。
Adopt this programme advantage afterwards to be:
Still have redundant checking data, promptly behind one or several disk failures, can full recovery.Read while write performance and still can reach original RAID5 performance, and compare power saving more originally, thereby effectively reduce the total power consumption of system.
Should be noted that above embodiment is only unrestricted in order to technical scheme of the present invention to be described, all parameter values can be according to the actual conditions adjustment, and in this rights protection scope.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 spiritual scope of technical solution of the present invention, and it all should be encompassed in the middle of the claim scope of the present invention.

Claims (9)

1. the method for a managing redundant disk array is characterized in that, comprising:
Shine upon first disk of a memory device in the redundant array of inexpensive disk;
Judge whether described redundant array of inexpensive disk belongs to reading state;
If make described first disk enter low power consumpting state.
2. method according to claim 1 is characterized in that, makes after described first disk enters low power consumpting state, also comprises:
When reading of data, only read other data in magnetic disk outside described first disk;
According to described other data in magnetic disk, utilize preset algorithm reduction raw data.
3. method according to claim 1 is characterized in that, makes after described first disk enters low power consumpting state described, also comprises:
When writing data, data are write direct in the described memory device.
4. method according to claim 3 is characterized in that, write direct data in the described memory device before, also comprise judge whether the store status of described memory device surpasses certain threshold value, if, then:
Wake described first disk up;
The data of described memory device are copied to described first disk;
Empty described memory device;
Make described first disk enter low power consumpting state.
5. method according to claim 3 is characterized in that, data are write direct in the described memory device before the step, also comprise judge whether the low power consumpting state of described first disk surpasses certain threshold value, if, then:
Wake described first disk up;
The data of described memory device are copied to described first disk;
Empty described memory device;
Make described first disk enter low power consumpting state.
6, method according to claim 1 is characterized in that,, comprising: dormant state, off-position etc. the low power consumpting state that enters in the redundant array of inexpensive disk described
7. method according to claim 1 is characterized in that:
Described memory device is the low-power consumption memory device, comprises flash memory, solid state hard disc.
8. method according to claim 2 is characterized in that: described preset algorithm is specially the canonical algorithm of redundancy magnetic disk permutation, as XOR algorithm, parity checking.
9. a computer system comprises computing equipment, opertaing device, and the memory device that redundant array of inexpensive disk constitutes, described redundant array of inexpensive disk comprises at least two hard disks, it is characterized in that:
Described computer system also comprises:
At least one memory device is with at least one hard disk that is mapped in the described redundant system.
10. computing machine according to claim 9 is characterized in that
Described memory device is the low-power consumption memory device, comprises flash memory, solid state hard disc.
CN200810116344A 2008-07-09 2008-07-09 Method, equipment and computer for managing energy conservation of storage device Pending CN101625586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810116344A CN101625586A (en) 2008-07-09 2008-07-09 Method, equipment and computer for managing energy conservation of storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810116344A CN101625586A (en) 2008-07-09 2008-07-09 Method, equipment and computer for managing energy conservation of storage device

Publications (1)

Publication Number Publication Date
CN101625586A true CN101625586A (en) 2010-01-13

Family

ID=41521455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810116344A Pending CN101625586A (en) 2008-07-09 2008-07-09 Method, equipment and computer for managing energy conservation of storage device

Country Status (1)

Country Link
CN (1) CN101625586A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840315A (en) * 2010-06-17 2010-09-22 华中科技大学 Data organization method of disk array
CN101976174A (en) * 2010-08-19 2011-02-16 北京同有飞骥科技有限公司 Method for constructing energy-saving disk array of vertical configuration distribution check
CN101976177A (en) * 2010-08-19 2011-02-16 北京同有飞骥科技有限公司 Method for constructing vertical grouped disk array capable of being subject to parallel centralized check
CN101782865B (en) * 2010-02-05 2012-07-18 浪潮(北京)电子信息产业有限公司 Device for realizing disk array and method therefor
CN102681791A (en) * 2012-04-13 2012-09-19 华中科技大学 Energy saving storage method of cluster storage system
CN103069380A (en) * 2012-04-27 2013-04-24 华为技术有限公司 Memory control device, data archiving memory system and data access method
CN103559145A (en) * 2013-10-22 2014-02-05 华为技术有限公司 Data reading and writing method and electronic equipment
CN105208632A (en) * 2014-06-12 2015-12-30 中国移动通信集团公司 Energy-saving method and apparatus for boards
CN105260146A (en) * 2015-11-24 2016-01-20 浪潮(北京)电子信息产业有限公司 Setting method and device capable of saving energy for disk
CN110532133A (en) * 2019-07-16 2019-12-03 中国科学院国家天文台 A kind of extendible date storage method of low-power consumption large capacity
CN118277154A (en) * 2024-02-28 2024-07-02 超聚变数字技术有限公司 Hard disk fault recovery method and computing device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782865B (en) * 2010-02-05 2012-07-18 浪潮(北京)电子信息产业有限公司 Device for realizing disk array and method therefor
CN101840315A (en) * 2010-06-17 2010-09-22 华中科技大学 Data organization method of disk array
CN101976174A (en) * 2010-08-19 2011-02-16 北京同有飞骥科技有限公司 Method for constructing energy-saving disk array of vertical configuration distribution check
CN101976177A (en) * 2010-08-19 2011-02-16 北京同有飞骥科技有限公司 Method for constructing vertical grouped disk array capable of being subject to parallel centralized check
CN102681791B (en) * 2012-04-13 2015-04-15 华中科技大学 Energy saving storage method of cluster storage system
CN102681791A (en) * 2012-04-13 2012-09-19 华中科技大学 Energy saving storage method of cluster storage system
CN103069380A (en) * 2012-04-27 2013-04-24 华为技术有限公司 Memory control device, data archiving memory system and data access method
CN103069380B (en) * 2012-04-27 2014-11-05 华为技术有限公司 Memory control device, data archiving memory system and data access method
CN103559145A (en) * 2013-10-22 2014-02-05 华为技术有限公司 Data reading and writing method and electronic equipment
CN103559145B (en) * 2013-10-22 2016-08-17 华为技术有限公司 A kind of digital independent, wiring method and electronic equipment
CN105208632A (en) * 2014-06-12 2015-12-30 中国移动通信集团公司 Energy-saving method and apparatus for boards
CN105208632B (en) * 2014-06-12 2019-10-15 中国移动通信集团公司 Energy-saving method and device for a board card
CN105260146A (en) * 2015-11-24 2016-01-20 浪潮(北京)电子信息产业有限公司 Setting method and device capable of saving energy for disk
CN110532133A (en) * 2019-07-16 2019-12-03 中国科学院国家天文台 A kind of extendible date storage method of low-power consumption large capacity
CN110532133B (en) * 2019-07-16 2021-12-31 中国科学院国家天文台 Low-power-consumption high-capacity extensible data storage method
CN118277154A (en) * 2024-02-28 2024-07-02 超聚变数字技术有限公司 Hard disk fault recovery method and computing device

Similar Documents

Publication Publication Date Title
CN101625586A (en) Method, equipment and computer for managing energy conservation of storage device
CN101976175B (en) Method for constructing disk array by horizontal grouping parallel concentrated verification
US8214586B2 (en) Apparatus and method for mirroring data between nonvolatile memory and a hard disk drive
US7516346B2 (en) System and method for dynamically changing the power mode of storage disks based on redundancy and system load
CN101976174B (en) Method for constructing energy-saving disk array of vertical configuration distribution check
CN103049220B (en) Storage controlling method, memory control device and solid-state memory system
CN101976178B (en) Method for constructing vertically-arranged and centrally-inspected energy-saving disk arrays
CN105630705B (en) Data storage device and the reading/writing method for using block substitution table
CN101976177B (en) Method for constructing vertical grouped disk array capable of being subject to parallel centralized check
CN102799533B (en) Method and apparatus for shielding damaged sector of disk
CN103793182A (en) Scalable storage protection
CN103049222A (en) RAID5 (redundant array of independent disk 5) write IO optimization processing method
CN101976176B (en) Method for constructing disk array of horizontal grouping parallel distribution check
CN104035830A (en) Method and device for recovering data
CN104778018A (en) Broad-strip disk array based on asymmetric hybrid type disk image and storage method of broad-strip disk array
CN108182154A (en) A kind of reading/writing method and solid state disk of the journal file based on solid state disk
CN102023819A (en) Method for constructing double-disk fault tolerance horizontal grouping and parallel access disk array
CN102023820A (en) Method for constructing double-disk fault-tolerant vertical packet parallel access disk array
CN103092765B (en) Solid-state memory system, device and method for writing data
WO2017107162A1 (en) Heterogeneous hybrid internal storage component, system, and storage method
CN103019882B (en) The RAID4 system of solid state hard disc
CN108255423A (en) A kind of method and solid state disk for reducing RAID solid state disk power consumptions
CN105930097A (en) Distributed verification redundant array of independent disks capable of eliminating local parallel read-modify-write operation
CN104615381A (en) Redundancy array of independent disks of video monitoring system
CN102135862B (en) Disk storage system and data access method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100113