Data storage method and equipment

A data storage and data technology, applied in the field of data storage methods and equipment, can solve the problems of small usable capacity and shorten the service life of hard disks, and achieve the effect of increasing service life and reducing the number of writes

Active Publication Date: 2010-06-02
HUAWEI TECH CO LTD
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] During the research and practice of the prior art, the inventors of the present invention found that in the existing implementation, although reserved blocks are introduced on the basis of wear leveling, the more reserved blocks are reserved, the more The longer the service life, the smaller the available capacity of the hard disk. If the hard disk is frequently written for a long time, the service life of the hard disk will be reduced.

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
  • Data storage method and equipment
  • Data storage method and equipment
  • Data storage method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Below we will describe the embodiments of the present invention in detail with reference to the accompanying drawings.

[0026] see figure 1 , is a flowchart of a data storage method provided in this embodiment of the present invention. This embodiment may be applied to solid-state hard disks (SSDs) or other hard disks. In this embodiment, SSDs are used as an example, and the method includes:

[0027] Step 101: Receive a write request;

[0028] Step 102: Determine the stripe unit (SU, Stripe Unit) in the pre-generated virtual logical unit number (LUN, LogicalUnit Numbe) layout diagram of the write request;

[0029] Step 103: If it is determined that the SU has written data, and the number of writes of a hard disk unit (DU, Disk Unit) of a given size belonging to the SU exceeds the preset number of writes, re-write the data from the DU resource pool. SU allocates at least one new DU;

[0030] Step 104: Write the data in the write request and the original data on the S...

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 invention relates to data storage method and equipment. The method comprises the following steps of: receiving a write request; determining an itemization unit SU of the write request in the layout of a virtual logical unit number LUN which is generated in advance; if judging that the SU already writes data and the write times of a hard disk unit DU which belongs to the SU and has a given size exceed the preset write times, redistributing at least one new DU for the SU from a DU resource pool; and writing the data in the write request and the original data on the SU into at least one new DU which is distributed for the SU. By abrading and balancing the DUs of all hard disks in a storage system, the embodiment of the invention enhances the service life of a solid-state hard disk greatly.

Description

technical field [0001] The present invention relates to a computer communication network, in particular to a data storage method and device. Background technique [0002] At present, in order to store massive data and need to improve the service life of hard disks (such as solid-state drives, SSD, SolidState Disk), wear leveling technology is generally used. The core of the wear leveling algorithm is to write new data every time the hard disk is written. In order to achieve the balance of the entire SSD storage medium, that is, the internal balance of the hard disk, try to ensure that the number of writes of all blocks in the entire hard disk is basically the same to improve the service life of the hard disk. In order to further improve the life of the hard disk, the method of reserving blocks is introduced on the basis of wear leveling. The reserved reserved blocks are usually not used. When a block can no longer be used, a block is selected from the reserved blocks for rep...

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 Applications(China)
IPC IPC(8): G06F3/06
Inventor 张巍
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products