CN110515771A - A kind of object storage device setting method, system, equipment and computer media - Google Patents
A kind of object storage device setting method, system, equipment and computer media Download PDFInfo
- Publication number
- CN110515771A CN110515771A CN201910784506.9A CN201910784506A CN110515771A CN 110515771 A CN110515771 A CN 110515771A CN 201910784506 A CN201910784506 A CN 201910784506A CN 110515771 A CN110515771 A CN 110515771A
- Authority
- CN
- China
- Prior art keywords
- storage device
- object storage
- equipment
- read
- faulty equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
- G06F3/0632—Configuration or reconfiguration of storage systems by initialisation or re-initialisation of storage systems
Abstract
This application discloses a kind of object storage device setting method, system, equipment and computer medias, after object storage device cluster reboot, identify that the faulty equipment in object storage device cluster, faulty equipment are the object storage device for meeting preset failure requirement;Data reconstruction is carried out to faulty equipment;After receiving read-write requests, it is written and read in the non-faulting equipment in object storage device cluster;After faulty equipment completes data reconstruction, faulty equipment is written and read.A kind of object storage device setting method, system, equipment and computer readable storage medium provided by the present application, after object storage device cluster reboot, directly non-faulting equipment is written and read, and after faulty equipment completes data reconstruction, faulty equipment is written and read again, it avoids and needs to wait for the case where faulty equipment completes data reconstruction because being written and read in faulty equipment, improve the data-handling efficiency of object storage device.
Description
Technical field
This application involves technical field of memory, more specifically to a kind of object storage device setting method, system,
Equipment and computer media.
Background technique
Currently, the demand with user to storage performance is continuously improved, and the performance and type of storage system are also constantly rich
Richness, for example, and can be realized cross-platform sharing data, and guarantee to deposit in order to enable storage equipment has certain intelligence
The reliability of the data of storage, a kind of existing method is by object storage device (OSD, Object-based Storage
Device) carry out storing data.
However, after OSD breaks down and restarts, the data for needing completion OSD not to be written during failure, this
When, when there is new read-write requests to reach the OSD, the only equal OSD can just execute new read-write operation after having write data troactively,
Getting stuck for new read-write requests is caused, so that the data-handling efficiency of OSD reduces.
In conclusion the data-handling efficiency for how improving OSD is a problem to be solved by those skilled in the art.
Summary of the invention
The purpose of the application is to provide a kind of object storage device setting method, can solve how to mention to a certain extent
The technical issues of data-handling efficiency of high OSD.Present invention also provides a kind of object storage device setting system, equipment and meters
Calculation machine readable storage medium storing program for executing.
To achieve the goals above, the application provides the following technical solutions:
A kind of object storage device setting method, comprising:
After object storage device cluster reboot, the faulty equipment in the object storage device cluster is identified, it is described
Faulty equipment is the object storage device for meeting preset failure requirement;
Data reconstruction is carried out to the faulty equipment;
After receiving read-write requests, behaviour is written and read in the non-faulting equipment in the object storage device cluster
Make;
After the faulty equipment completes data reconstruction, the faulty equipment is written and read.
Preferably, the faulty equipment identified in the object storage device cluster, comprising:
For each object storage device in the object storage device cluster, the object storage device is read each
A read-write operation number put in order in group, judges whether the difference between the read-write operation number meets preset failure difference and want
It asks, if so, using the object storage device as the faulty equipment.
Preferably, whether the difference judged between the read-write operation number meets preset failure difference requirement, packet
It includes:
Judge whether the maximum difference between the read-write operation number meets preset failure difference requirement.
Preferably, before the progress data reconstruction to the faulty equipment, further includes:
The mark of the non-faulting equipment in the object storage device cluster is added in preset table;
It is written and read in the non-faulting equipment in the object storage device cluster, comprising:
According to the preset table, the non-faulting equipment is written and read.
Preferably, it is described the faulty equipment is written and read after, further includes:
The mark of the faulty equipment is added in the preset table.
Preferably, the mark by the non-faulting equipment in the object storage device cluster is added to preset table
In lattice, comprising:
In the PG peering stage, the mark of the non-faulting equipment is added in the preset table.
Preferably, the mark by the faulty equipment is added in the preset table, comprising:
The PG peering operation is re-started, and the mark of the faulty equipment is added to the preset table
In.
A kind of object storage device setting system, comprising:
First identification module, for identifying the object storage device cluster after object storage device cluster reboot
In faulty equipment, the faulty equipment is the object storage device for meeting preset failure requirement;
First reconstructed module, for carrying out data reconstruction to the faulty equipment;
First module for reading and writing, for non-faulting after receiving read-write requests, in the object storage device cluster
It is written and read in equipment;
Second module for reading and writing, for being written and read to the faulty equipment after the faulty equipment completes data reconstruction
Operation.
A kind of object storage device setting equipment, comprising:
Memory, for storing computer program;
Processor realizes as above any object storage device setting side when for executing the computer program
Method.
A kind of computer readable storage medium is stored with computer program in the computer readable storage medium, described
As above any object storage device setting method is realized when computer program is executed by processor.
A kind of object storage device setting method provided by the present application identifies after object storage device cluster reboot
Faulty equipment in object storage device cluster, faulty equipment are the object storage device for meeting preset failure requirement;To failure
Equipment carries out data reconstruction;After receiving read-write requests, read in the non-faulting equipment in object storage device cluster
Write operation;After faulty equipment completes data reconstruction, faulty equipment is written and read.A kind of object provided by the present application is deposited
Storing up equipment setting method is not directly to read all object storage devices after object storage device cluster reboot
Write operation, but first identify faulty equipment, data reconstruction is carried out to faulty equipment, behaviour directly is written and read to non-faulting equipment
Make, and after faulty equipment completes data reconstruction, then faulty equipment is written and read, is set so as to avoid object storage
After standby clustering fault is restarted, the feelings that faulty equipment completes data reconstruction are needed to wait for because being written and read in faulty equipment
Condition improves the data-handling efficiency of object storage device.System, equipment is arranged in a kind of object storage device provided by the present application
And computer readable storage medium also solves the problems, such as relevant art.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of object storage device setting method provided by the embodiments of the present application;
Fig. 2 is the structural schematic diagram that system is arranged in a kind of object storage device provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram that equipment is arranged in a kind of object storage device provided by the embodiments of the present application;
Fig. 4 is another structural schematic diagram that equipment is arranged in a kind of object storage device provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of object storage device setting method provided by the embodiments of the present application.
A kind of object storage device setting method provided by the embodiments of the present application, may comprise steps of:
Step S101: after object storage device cluster reboot, identifying the faulty equipment in object storage device cluster,
Faulty equipment is the object storage device for meeting preset failure requirement.
In practical application, after object storage device cluster breaks down and restarts, due to first will be to pair to break down
As storage equipment progress data reconstruction, namely the data lost in the object storage device of the first completion failure of need, there is new reading at this time
If write request reaches, new read-write requests can be shelved, so fault object storage equipment will affect object storage device cluster
Data efficiency, therefore can first identify the faulty equipment in object storage device cluster, namely first identify that object storage is set
Meet the object storage device of preset failure requirement in standby cluster.It should be pointed out that preset failure requirement can be according to concrete application
Scene determine, such as preset failure require can according to empirical cumulative failure requirements etc.;In addition, object storage device cluster
The quantity of middle object storage device can be determined according to practical application scene, for example object storage device cluster application is in distribution
System, at this point, the quantity of object storage device can be determined according to distributed system requirement.
Step S102: data reconstruction is carried out to faulty equipment.
It, can be to faulty equipment after identifying the faulty equipment in object storage device cluster in practical application
Data reconstruction is carried out, to restore the data lost in faulty equipment as early as possible.
Step S103: it after receiving read-write requests, is read in the non-faulting equipment in object storage device cluster
Write operation.
In practical application, during carrying out data reconstruction to faulty equipment, after receiving read-write requests, Ke Yixian
It is written and read in the non-faulting equipment in object storage device cluster, the non-faulting equipment in object storage device cluster
Namely other object storage devices in addition to faulty equipment.
Step S104: after faulty equipment completes data reconstruction, faulty equipment is written and read.
In practical application, after receiving read-write requests, it can first cache or backup read-write requests, waiting faulty equipment are complete
It is written and read at data reconstruction and then to faulty equipment, to reduce the event of data loss of faulty equipment, reduces subsequent
Faulty equipment continues the probability as faulty equipment.
In concrete application scene, data reconstruction institute is completed when faulty equipment can be estimated according to the fault condition of faulty equipment
When taking long, it can be estimated according to the fault condition of faulty equipment needed for faulty equipment completes data reconstruction and estimate duration, when
After receiving read-write requests, duration at the time of judging to receive read-write requests and between faulty equipment is at the time of start data reconstruction is
It is no be greater than estimate duration, if so, be directly written and read to faulty equipment, if it is not, faulty equipment completion is then waited to estimate
The data reconstruction of duration, then faulty equipment is written and read.
A kind of object storage device setting method provided by the present application identifies after object storage device cluster reboot
Faulty equipment in object storage device cluster, faulty equipment are the object storage device for meeting preset failure requirement;To failure
Equipment carries out data reconstruction;After receiving read-write requests, read in the non-faulting equipment in object storage device cluster
Write operation;After faulty equipment completes data reconstruction, faulty equipment is written and read.A kind of object provided by the present application is deposited
Storing up equipment setting method is not directly to read all object storage devices after object storage device cluster reboot
Write operation, but first identify faulty equipment, data reconstruction is carried out to faulty equipment, behaviour directly is written and read to non-faulting equipment
Make, and after faulty equipment completes data reconstruction, then faulty equipment is written and read, is set so as to avoid object storage
After standby clustering fault is restarted, the feelings that faulty equipment completes data reconstruction are needed to wait for because being written and read in faulty equipment
Condition improves the data-handling efficiency of object storage device.
A kind of object storage device setting method provided by the embodiments of the present application, because in the prior art, an object is deposited
Storage equipment, which correspond to several group namely object storage device put in order, to put in order a group progress reading and writing data by multiple, and object
If storage equipment does not break down, object storage device should be consistent in each read-write operation number put in order in group, institute
Can judge object storage device according to difference of the object storage device between each read-write operation number put in order in group
Whether failure, then identify the process of the faulty equipment in object storage device cluster, be specifically as follows: object storage is set
Each object storage device in standby cluster, reading object store equipment in each read-write operation number put in order in group, judgement
Whether the difference between read-write operation number meets preset failure difference requirement, if so, using object storage device as failure
Equipment.
Difference in practical application, in order to improve the operational efficiency of object storage device, between judging read-write operation number
When whether meeting the requirement of preset failure difference, it is default can directly to judge whether the maximum difference between read-write operation number meets
Failure difference requirement.For example preset failure difference requires to be the as faulty equipment greater than 100, then, if one is right
It is 101 as storing equipment in each maximum difference for putting in order the read-write operation number between group, this object storage device is just event
Hinder equipment, and an object storage device is 99 in each maximum difference for putting in order the read-write operation number between group, then this is right
As storage equipment is non-faulting equipment.
A kind of object storage device setting method provided by the embodiments of the present application, to non-faulting equipment
Reason can also be by the mark of the non-faulting equipment in object storage device cluster before carrying out data reconstruction to faulty equipment
It is added in preset table;It, can be with correspondingly, when being written and read in the non-faulting equipment in object storage device cluster
According to preset table, non-faulting equipment is written and read.Also can by preset table it is unified to non-faulting equipment into
Row management, and can quickly recognize non-faulting equipment by the mark of non-faulting equipment in preset table and non-faulting is set
It is standby to be written and read.
In practical application, after completing data reconstruction due to faulty equipment, non-faulting equipment will be become, it at this time can be just
Often the equipment is written and read, so after being written and read to faulty equipment, it can also be by the mark of faulty equipment
Knowledge is added in preset table.
In concrete application scene, after restart due to object storage device cluster, will do it PG (Placement Group,
Put in order group) peering operation, acting member can be chosen at this time, therefore, non-faulting can be set by the PGpeering stage
It is standby to carry out into table handling, therefore the mark of the non-faulting equipment in object storage device cluster is added to the mistake in preset table
Journey is specifically as follows: in the PG peering stage, the mark of non-faulting equipment being added in preset table.Correspondingly, again will
When the mark of faulty equipment is added in preset table, PG peering operation can be re-started, and by the mark of faulty equipment
Knowledge is added in preset table.
Referring to Fig. 2, Fig. 2 is the structural representation that system is arranged in a kind of object storage device provided by the embodiments of the present application
Figure.
System is arranged in a kind of object storage device provided by the embodiments of the present application, may include:
First identification module 101, for identifying in object storage device cluster after object storage device cluster reboot
Faulty equipment, faulty equipment is the object storage device for meeting preset failure requirement;
First reconstructed module 102, for carrying out data reconstruction to faulty equipment;
First module for reading and writing 103, for after receiving read-write requests, the non-faulting in object storage device cluster to be set
It is written and read in standby;
Second module for reading and writing 104, for being written and read to faulty equipment after faulty equipment completes data reconstruction.
System is arranged in a kind of object storage device provided by the embodiments of the present application, and the first identification module may include:
First judging submodule, for for each object storage device in object storage device cluster, reading object
Equipment is stored in each read-write operation number put in order in group, judges whether the difference between read-write operation number meets preset event
Hinder difference requirement, if so, using object storage device as faulty equipment.
System is arranged in a kind of object storage device provided by the embodiments of the present application, and the first judging submodule may include:
First judging unit, whether the maximum difference for judging between read-write operation number, which meets preset failure difference, is wanted
It asks.
System is arranged in a kind of object storage device provided by the embodiments of the present application, can also include:
First adding module sets object storage before carrying out data reconstruction to faulty equipment for the first reconstructed module
The mark of non-faulting equipment in standby cluster is added in preset table;
Correspondingly, the first module for reading and writing may include:
First read-write cell, for being written and read to non-faulting equipment according to preset table.
System is arranged in a kind of object storage device provided by the embodiments of the present application, can also include:
Second adding module, after being written and read for the second module for reading and writing to faulty equipment, by faulty equipment
Mark is added in preset table.
System is arranged in a kind of object storage device provided by the embodiments of the present application, and the first adding module may include:
First adding unit, in the PG peering stage, the mark of non-faulting equipment to be added in preset table.
System is arranged in a kind of object storage device provided by the embodiments of the present application, and the second adding module may include:
Second adding unit for re-starting PG peering operation, and the mark of faulty equipment is added to default
In table.
Present invention also provides a kind of object storage device setting equipment and computer readable storage mediums, all have this
Apply for a kind of correspondence effect that object storage device setting method has that embodiment provides.Referring to Fig. 3, Fig. 3 is the application
A kind of structural schematic diagram for object storage device setting equipment that embodiment provides.
Equipment, including memory 201 and processor 202 is arranged in a kind of object storage device provided by the embodiments of the present application,
Computer program is stored in memory 201, processor 202 realizes following steps when executing computer program:
After object storage device cluster reboot, the faulty equipment in object storage device cluster, faulty equipment are identified
For the object storage device for meeting preset failure requirement;
Data reconstruction is carried out to faulty equipment;
After receiving read-write requests, it is written and read in the non-faulting equipment in object storage device cluster;
After faulty equipment completes data reconstruction, faulty equipment is written and read.
Equipment, including memory 201 and processor 202 is arranged in a kind of object storage device provided by the embodiments of the present application,
Computer program is stored in memory 201, processor 202 realizes following steps when executing computer program: object is deposited
Store up each object storage device in device clusters, reading object stores equipment in each read-write operation number put in order in group,
Judge whether the difference between read-write operation number meets the requirement of preset failure difference, if so, using object storage device as
Faulty equipment.
Equipment, including memory 201 and processor 202 is arranged in a kind of object storage device provided by the embodiments of the present application,
Computer program is stored in memory 201, processor 202 realizes following steps when executing computer program: judgement read-write behaviour
Make whether the maximum difference between number meets preset failure difference requirement.
Equipment, including memory 201 and processor 202 is arranged in a kind of object storage device provided by the embodiments of the present application,
Computer program is stored in memory 201, processor 202 realizes following steps when executing computer program: to faulty equipment
Before carrying out data reconstruction, the mark of the non-faulting equipment in object storage device cluster is added in preset table;Accordingly
, according to preset table, non-faulting equipment is written and read.
Equipment, including memory 201 and processor 202 is arranged in a kind of object storage device provided by the embodiments of the present application,
Computer program is stored in memory 201, processor 202 realizes following steps when executing computer program: to faulty equipment
After being written and read, the mark of faulty equipment is added in preset table.
Equipment, including memory 201 and processor 202 is arranged in a kind of object storage device provided by the embodiments of the present application,
Computer program is stored in memory 201, processor 202 realizes following steps when executing computer program: in PG
The mark of non-faulting equipment is added in preset table by the peering stage.
Equipment, including memory 201 and processor 202 is arranged in a kind of object storage device provided by the embodiments of the present application,
Computer program is stored in memory 201, processor 202 realizes following steps when executing computer program: re-starting PG
Peering operation, and the mark of faulty equipment is added in preset table.
Referring to Fig. 4, it is provided by the embodiments of the present application another kind object storage device setting equipment in can also include: with
The input port 203 that processor 202 connects is used for transmission the extraneous order inputted to processor 202;It is connect with processor 202
Display unit 204, the processing result for video-stream processor 202 is to the external world;The communication module 205 being connect with processor 202,
For realizing object storage device setting equipment and extraneous communication.Display unit 204 can make for display panel, laser scanning
Display etc.;Communication mode used by communication module 205 includes but is not limited to mobile high definition chained technology (HML), general
Universal serial bus (USB), high-definition media interface (HDMI), be wirelessly connected: adopting wireless fidelity technology (WiFi), Bluetooth Communication Technology,
The low-power consumption bluetooth communication technology, the communication technology based on IEEE802.11s.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Calculation machine program, realizes following steps when computer program is executed by processor:
After object storage device cluster reboot, the faulty equipment in object storage device cluster, faulty equipment are identified
For the object storage device for meeting preset failure requirement;
Data reconstruction is carried out to faulty equipment;
After receiving read-write requests, it is written and read in the non-faulting equipment in object storage device cluster;
After faulty equipment completes data reconstruction, faulty equipment is written and read.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Calculation machine program, realizes following steps when computer program is executed by processor: right for each of object storage device cluster
As storing equipment, reading object stores equipment in each read-write operation number put in order in group, judges between read-write operation number
Whether difference meets preset failure difference requirement, if so, using object storage device as faulty equipment.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Calculation machine program, realizes following steps when computer program is executed by processor: judging that the maximum difference between read-write operation number is
It is no to meet preset failure difference requirement.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Calculation machine program, realizes following steps when computer program is executed by processor:, will be right before carrying out data reconstruction to faulty equipment
As the mark of the non-faulting equipment in memory device set group is added in preset table;Correspondingly, according to preset table, to non-event
Barrier equipment is written and read.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Calculation machine program, realizes following steps when computer program is executed by processor: after being written and read to faulty equipment, by event
The mark of barrier equipment is added in preset table.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Calculation machine program, realizes following steps when computer program is executed by processor: in the PG peering stage, by non-faulting equipment
Mark is added in preset table.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Calculation machine program, realizes following steps when computer program is executed by processor: re-starting PGpeering operation, and by failure
The mark of equipment is added in preset table.
Computer readable storage medium involved in the application includes random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
Any other form of storage medium well known to interior.
A kind of object storage device provided by the embodiments of the present application is arranged in system, equipment and computer readable storage medium
The explanation of relevant portion refers to the detailed of corresponding part in a kind of object storage device setting method provided by the embodiments of the present application
Describe in detail bright, details are not described herein.In addition, in above-mentioned technical proposal provided by the embodiments of the present application with correspond to technology in the prior art
The consistent part of scheme realization principle is simultaneously unspecified, in order to avoid excessively repeat.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The foregoing description of the disclosed embodiments makes those skilled in the art can be realized or use the application.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can
Without departing from the spirit or scope of the application, to realize in other embodiments.Therefore, the application will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest
Range.
Claims (10)
1. a kind of object storage device setting method characterized by comprising
After object storage device cluster reboot, the faulty equipment in the object storage device cluster, the failure are identified
Equipment is the object storage device for meeting preset failure requirement;
Data reconstruction is carried out to the faulty equipment;
After receiving read-write requests, it is written and read in the non-faulting equipment in the object storage device cluster;
After the faulty equipment completes data reconstruction, the faulty equipment is written and read.
2. the method according to claim 1, wherein the event identified in the object storage device cluster
Hinder equipment, comprising:
For each object storage device in the object storage device cluster, reads the object storage device and return each
The read-write operation number in group is set, judges whether the difference between the read-write operation number meets preset failure difference requirement,
If so, using the object storage device as the faulty equipment.
3. according to the method described in claim 2, it is characterized in that, the difference judged between the read-write operation number whether
Meet preset failure difference requirement, comprising:
Judge whether the maximum difference between the read-write operation number meets preset failure difference requirement.
4. the method according to claim 1, wherein it is described to the faulty equipment carry out data reconstruction before,
Further include:
The mark of the non-faulting equipment in the object storage device cluster is added in preset table;
It is written and read in the non-faulting equipment in the object storage device cluster, comprising:
According to the preset table, the non-faulting equipment is written and read.
5. according to the method described in claim 4, it is characterized in that, it is described the faulty equipment is written and read after,
Further include:
The mark of the faulty equipment is added in the preset table.
6. according to the method described in claim 5, it is characterized in that, described will be described non-in the object storage device cluster
The mark of faulty equipment is added in preset table, comprising:
In the PG peering stage, the mark of the non-faulting equipment is added in the preset table.
7. according to the method described in claim 6, it is characterized in that, the mark by the faulty equipment be added to it is described pre-
If in table, comprising:
The PG peering operation is re-started, and the mark of the faulty equipment is added in the preset table.
8. system is arranged in a kind of object storage device characterized by comprising
First identification module, for identifying in the object storage device cluster after object storage device cluster reboot
Faulty equipment, the faulty equipment are the object storage device for meeting preset failure requirement;
First reconstructed module, for carrying out data reconstruction to the faulty equipment;
First module for reading and writing, for non-faulting equipment after receiving read-write requests, in the object storage device cluster
In be written and read;
Second module for reading and writing, for being written and read to the faulty equipment after the faulty equipment completes data reconstruction.
9. equipment is arranged in a kind of object storage device characterized by comprising
Memory, for storing computer program;
Processor realizes object storage device as described in any one of claim 1 to 7 when for executing the computer program
Setting method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program, the computer program realize that object storage device as described in any one of claim 1 to 7 is set when being executed by processor
Set method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910784506.9A CN110515771A (en) | 2019-08-23 | 2019-08-23 | A kind of object storage device setting method, system, equipment and computer media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910784506.9A CN110515771A (en) | 2019-08-23 | 2019-08-23 | A kind of object storage device setting method, system, equipment and computer media |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110515771A true CN110515771A (en) | 2019-11-29 |
Family
ID=68627361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910784506.9A Pending CN110515771A (en) | 2019-08-23 | 2019-08-23 | A kind of object storage device setting method, system, equipment and computer media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110515771A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113126925A (en) * | 2021-04-21 | 2021-07-16 | 山东英信计算机技术有限公司 | Member list determining method, device and equipment and readable storage medium |
CN113687798A (en) * | 2021-10-26 | 2021-11-23 | 苏州浪潮智能科技有限公司 | Method, device and equipment for controlling data reconstruction and readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8132044B1 (en) * | 2010-02-05 | 2012-03-06 | Symantec Corporation | Concurrent and incremental repair of a failed component in an object based storage system for high availability |
US20180217906A1 (en) * | 2014-10-03 | 2018-08-02 | Agency For Science, Technology And Research | Method For Optimizing Reconstruction Of Data For A Hybrid Object Storage Device |
CN109144788A (en) * | 2018-09-10 | 2019-01-04 | 网宿科技股份有限公司 | A kind of method, apparatus and system for rebuilding OSD |
CN109558437A (en) * | 2018-11-16 | 2019-04-02 | 新华三技术有限公司成都分公司 | Main OSD method of adjustment and device |
CN109656896A (en) * | 2018-11-28 | 2019-04-19 | 平安科技(深圳)有限公司 | Fault repairing method, device and distributed memory system and storage medium |
-
2019
- 2019-08-23 CN CN201910784506.9A patent/CN110515771A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8132044B1 (en) * | 2010-02-05 | 2012-03-06 | Symantec Corporation | Concurrent and incremental repair of a failed component in an object based storage system for high availability |
US20180217906A1 (en) * | 2014-10-03 | 2018-08-02 | Agency For Science, Technology And Research | Method For Optimizing Reconstruction Of Data For A Hybrid Object Storage Device |
CN109144788A (en) * | 2018-09-10 | 2019-01-04 | 网宿科技股份有限公司 | A kind of method, apparatus and system for rebuilding OSD |
CN109558437A (en) * | 2018-11-16 | 2019-04-02 | 新华三技术有限公司成都分公司 | Main OSD method of adjustment and device |
CN109656896A (en) * | 2018-11-28 | 2019-04-19 | 平安科技(深圳)有限公司 | Fault repairing method, device and distributed memory system and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113126925A (en) * | 2021-04-21 | 2021-07-16 | 山东英信计算机技术有限公司 | Member list determining method, device and equipment and readable storage medium |
CN113126925B (en) * | 2021-04-21 | 2022-08-02 | 山东英信计算机技术有限公司 | Member list determining method, device and equipment and readable storage medium |
CN113687798A (en) * | 2021-10-26 | 2021-11-23 | 苏州浪潮智能科技有限公司 | Method, device and equipment for controlling data reconstruction and readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8009501B2 (en) | Storage apparatus and power saving method thereof | |
US8195971B2 (en) | Solid state disk and method of managing power supply thereof and terminal including the same | |
CN104516471A (en) | Method and device for managing power supply of storage system | |
US8255715B2 (en) | Storage system and power control method thereof with mode selection defined by timeout period and power supply | |
CN103597444A (en) | Managing data placement on flash-based storage by use | |
CN103064792A (en) | Method and device for writing data | |
CN102981966B (en) | A kind of date storage method of equilibrium assignment Flash storage block | |
CN102937882A (en) | Efficient access to storage devices with usage bitmaps | |
CN110515771A (en) | A kind of object storage device setting method, system, equipment and computer media | |
CN105137227A (en) | Testing device and method for power-down protection of intelligent card | |
CN103136038A (en) | Embedded system and thread and buffer management method thereof | |
CN104714757A (en) | Refresh Apparatus and Electronic Device | |
CN101957729B (en) | Logical block transformation method and method and device compatible with reading and writing of user based on same | |
CN103677893B (en) | Method for reducing size of image file of starting up and arithmetic device | |
CN105446848B (en) | The test method and device of the data processing performance of electronic equipment | |
CN106126277A (en) | Multi-microprocessor and the upgrade method of external memory system | |
US10146623B2 (en) | Indicating rebuild state of storage devices | |
CN102981975B (en) | The management method of flash data and system | |
CN109375871A (en) | A kind of log processing method, system and electronic equipment and storage medium | |
CN109901664A (en) | Method, apparatus, system, equipment and the readable storage medium storing program for executing of clock signal are provided | |
CN104460938B (en) | System-wide power conservation method and system using memory cache | |
CN116185311B (en) | Upgrading migration method, degrading migration method and device for redundant array of independent disk | |
CN103164168A (en) | System and method for adjusting redundant array of independent disk card connected with serial attached small computer system interface (SAS) expander | |
CN103176753A (en) | Storage device and data management method of storage device | |
CN105404591B (en) | Processor system and its memory control methods |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191129 |