Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for writing data

A data and data storage technology, applied in the field of electronic information, can solve the problems of increasing hard disk damage, reducing data security, extending the time window of RAID5 data recovery, etc., to achieve the effect of reducing operating pressure and increasing security.

Active Publication Date: 2018-11-09
LENOVO (BEIJING) LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In practical applications, when RAID5 is in the time window of data recovery, the front-end equipment frequently performs read and write access to the data in RAID5, which greatly increases the damage probability of mechanical components such as the motor and magnetic head of the hard disk, and random read and write The time consumed is much longer than that of sequential read and write, which further prolongs the time when RAID5 is in the data recovery time window, and greatly increases the probability of hard disk damage. If a hard disk is damaged when RAID5 is in the data recovery time window, the The data is completely damaged, thereby reducing the security of the data

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for writing data
  • A method and device for writing data
  • A method and device for writing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] In an embodiment of the present invention, a method for writing data is provided, such as figure 1 shown, including:

[0029] It should be noted that the embodiments of the present invention may be implemented by devices with functions of data transmission, processing, and storage, for example, devices such as management servers and mobile workstations in a system with a RAID architecture.

[0030] 101. Detect whether there is a damaged hard disk in a ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a data write-in method and device, and relates to the field of electronic information technology. The read-write process of data in a disk array can be avoided when the disk array recovers the data, so that the operating pressure on hard disks is reduced when the disk array recovers the data, and the safety of the data is improved. The data write-in method includes the steps of detecting whether a damaged hard disk exists in a first storage area or not, wherein the first storage area is borne by at least two hard disks; if the damaged hard disk exists in the first storage area, storing the received data in a second storage area and setting an address mapping table according to the data stored in the second storage area, wherein the second storage area is a partition independent of the first storage area; when the damaged hard disk is replaced, importing the data in the second storage area into the first storage area according to the address mapping table.

Description

technical field [0001] The invention relates to the technical field of electronic information, in particular to a method and device for writing data. Background technique [0002] RAID (Redundant Arrays of Inexpensive Disks, the first storage area) technology is widely used in various scenarios such as databases, information centers, and large computers. RAID consists of many disks combined into a large-capacity disk group. When any one of the hard disks fails, the data can still be read out. When the data is reconstructed, the data will be calculated and re-inserted into the new hard disk, thereby improving the data quality. security. For example: [0003] In RAID5, when a hard disk is damaged, it will be degraded. In order to restore data, it is necessary to use a hot spare disk (that is, a spare hard disk) to replace the damaged hard disk. At this time, all stripes will be recalculated in order to obtain the data on the damaged hard disk, and write to the newly added h...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06
Inventor 吕磊
Owner LENOVO (BEIJING) LTD