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

Method and device for processing data request by storage system

A storage system and data processing technology, applied in the storage field, can solve the problems of metadata security to be improved, and achieve the effect of avoiding metadata loss and improving security

Active Publication Date: 2022-07-08
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a storage system processing data request method, device, and storage system to solve the problem that the storage system using thin provisioning needs to maintain a large amount of metadata, so the metadata security needs to be improved

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 processing data request by storage system
  • Method and device for processing data request by storage system
  • Method and device for processing data request by storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] The first embodiment of a method for processing a data request by a storage system provided by the present invention will be described below. Refer to figure 1 , the first embodiment includes:

[0052] Step S101: In response to the write request sent by the client, according to an automatic thin provisioning policy, a logical space and a physical space are allocated for the data to be written.

[0053] This embodiment is applied to a storage system, where the storage system includes a client, a storage server, a first metadata node, and a second metadata node, wherein the client is used to send data requests, including but not limited to write requests, and the storage server uses For storing data, the first metadata node and the second metadata node are used to store metadata, and there is no essential difference between the two. Under normal operation, the metadata on the first metadata node and the second metadata node is consistent. The thin provisioning strategy ...

Embodiment 2

[0064] Based on the above description, the implementation process of Embodiment 2 will be introduced below. Refer to figure 2 , the second embodiment includes:

[0065] Step S201: Receive a data request sent by a client.

[0066] Step S202: Determine whether the data request is a write request, and if so, generate a metadata change instruction, and if not, generate a metadata query instruction.

[0067] Step S203 : in the caching mode, the owner node performs a modification operation according to the metadata modification instruction, and synchronizes the modification result to the backup node, and the backup node queries the corresponding metadata according to the metadata query instruction.

[0068] The so-called caching mode means that the owner node handles the modification and insertion operations of the metadata node, and the metadata query and modification results are backed up by the backup node in the form of transaction, and the backup node forwards the metadata ch...

Embodiment approach

[0081] As an optional implementation manner, the device includes:

[0082] State parameter obtaining module 305: used to obtain the running state parameter of the first metadata node;

[0083] Fault judgment module 306: used for judging whether the first metadata node is faulty according to the running state parameter.

[0084] As an optional implementation manner, the device further includes:

[0085] Request receiving module 307: for receiving the data request sent by the client;

[0086]Request judgment module 308: for judging whether the data request is a write request;

[0087] Metadata search module 309: used to search for corresponding metadata from the second metadata node according to the data request when both the first metadata node and the second metadata node are running normally if the request is not a write request , so as to determine the physical space where the data corresponding to the data request is located according to the metadata.

[0088] As an opt...

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 for processing a data request by a storage system. The storage system includes two metadata nodes. After a client sends a write request, a logical space and a physical space are allocated for the data to be written according to an automatic thinning configuration policy. And generate a metadata change instruction. When both metadata nodes are running normally, one metadata node performs an update operation according to the metadata change instruction, and synchronizes the update result to another metadata node. After a metadata node fails , another metadata node will perform the update operation according to the metadata instruction, and back up the update result to the preset storage space. It can be seen that the method uses two metadata nodes to cooperate with each other to process metadata change instructions and perform backup, thereby avoiding metadata loss and significantly improving the security of the storage system. In addition, the present invention also provides an apparatus for processing a data request by a storage system and a storage system, the functions of which correspond to the functions of the above method.

Description

technical field [0001] The present invention relates to the field of storage, in particular to a method, a device and a storage system for a storage system to process data requests. Background technique [0002] The implementation principle of thin provisioning is to provide storage space for users on demand from a thin storage pool. Compared with traditional non-thin provisioning, there is no need to allocate unused disk capacity in advance, so the storage utilization rate is higher. A large amount of metadata needs to be maintained. If metadata is lost, user data will be lost. Therefore, it is extremely important to ensure the security of user data metadata. SUMMARY OF THE INVENTION [0003] The purpose of the present invention is to provide a method, device, and storage system for a storage system to process data requests, so as to solve the problem that a storage system applying automatic thin provisioning needs to maintain a large amount of metadata, so the metadata s...

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
CPCG06F3/062G06F3/0631G06F3/067G06F21/6218
Inventor 赵书龙
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD