Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for maintaining data consistency of thin provisioning database

A technology of thin configuration and storage pool, which is applied in the input/output process of data processing, electrical digital data processing, instruments, etc., and can solve problems such as lost data and lost metadata

Active Publication Date: 2016-06-29
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Thin provisioning storage pools use metadata to record the logical space of the logical volume and its physical space location. In order to improve performance, general metadata is stored and processed in memory during runtime, and is written to the storage medium after a certain amount of updates has been accumulated, resulting in system crashes. Some metadata may be lost when powering on, and some data may be lost

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
  • Method and device for maintaining data consistency of thin provisioning database
  • Method and device for maintaining data consistency of thin provisioning database
  • Method and device for maintaining data consistency of thin provisioning database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] 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 creative efforts fall within the protection scope of the present invention.

[0049] The embodiment of the invention discloses a method and device for maintaining data consistency in a thin configuration storage pool, so as to avoid loss of metadata and data due to system power failure.

[0050] see figure 1 According to an embodiment of the present invention, a method for maintaining data consistency in a thin provisioning storage pool includes:

[0051] S101. Receive a data space modification instruction;

[0052] Specifically, the thin ...

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 discloses a method and a device for maintaining the data consistency of a thin provisioning database. The method comprises the following steps: receiving a data space revision instruction; according to the revision instruction, revising logical volume space mapping information in a mapping tree, and revising a metadata version number in a super block; and storing the metadata version number in the super block, the revised logical volume space mapping information and the type information of the revision instruction into a log space. Obviously, in the embodiment of the invention, when the logical volume space mapping information in the mapping tree is revised according to the revision instruction, the metadata version number in the super block, the revised logical volume space mapping information and the type information of the revision instruction are simultaneously backed up to the log space, data is recovered through backed up log data in case the system powers down, the problem of metadata and data loss due to system power failure can be solved, a log storage data size in the storage pool is extremely small, and influence on system performance is low.

Description

technical field [0001] The invention relates to the field of computer data protection and storage, and more specifically, to a method and device for maintaining data consistency in a thin provisioning storage pool. Background technique [0002] Currently, computers store data in various ways, such as local disk storage, storage area network SAN (StorageAreaNetwork), network attached storage NAS (NetworkAttachedStorage), direct attached storage (DirectAttachedStorage), etc. In a computer system or storage system, one or more disks are virtualized It is converted into a storage pool, and then divided into logical volumes for use by clients or upper-level file systems. Logical volumes are generally allocated physical space when they are created, and only the application writes data, and the space storing application data is really useful. Free physical space is allocated but has no valid data, and cannot be used for other logical volumes. In order to improve storage space util...

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
IPC IPC(8): G06F3/06
CPCG06F3/0622G06F3/0644G06F3/0673
Inventor 施培任马春王永刚
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products