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

Server and method of access volume thereof

A server and access volume technology, applied in the storage field, can solve the problems of increased delay and occupation of memory resources of the storage controller, etc., and achieve the effect of reducing delay and occupation of memory resources

Active Publication Date: 2011-09-07
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen from the above that when the storage controller queries the storage controller corresponding to the block that the server needs to access is another storage controller, it needs to forward the server's read data request or write data request to the corresponding storage controller, resulting in the server's read data request Or the time delay for the write data request to reach the block that needs to be accessed increases; in addition, the storage controller also needs to temporarily store the server's read data request or write data request, and then forward it, occupying the memory resources of the storage controller

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
  • Server and method of access volume thereof
  • Server and method of access volume thereof
  • Server and method of access volume thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] see figure 1 , figure 1 It is a flowchart of a method for a server to access a volume provided in an embodiment of the present invention. Such as figure 1 As shown, the method may include:

[0025] 101: Determine the block to be accessed from the first list according to the access offset to the volume to be accessed;

[0026] For example, when the server receives an external input instruction or runs a certain program, it accesses a certain volume. In this embodiment and subsequent embodiments, the server's access to a certain volume may include: the server reads data from a certain volume, or the server writes data into a certain volume for storage.

[0027] Wherein, the above-mentioned first list may store information of at least two blocks of the same size into which the volume is divided. In this embodiment of the present invention, the block information may be a sequence number of the block, or an identifier of the block, and the like. The format of the first...

Embodiment 2

[0052] see figure 2 , figure 2 It is a flowchart of another method for a server to access a volume provided in an embodiment of the present invention. Such as figure 2 As shown, the method may include:

[0053] 201: The server obtains the information of at least two blocks of the same size divided into the volume from the MDS, and the information of the storage controller corresponding to each block;

[0054] For example, the server obtains the information of at least two blocks of the same size divided into the volume from the MDS, and the information of the storage controller corresponding to each block can be specifically as follows:

[0055] The server receives the information sent by the MDS that the volume is divided into at least two blocks of the same size, and the information of the storage controller corresponding to each block.

[0056] For example, the server obtains the information of at least two blocks of the same size divided into the volume from the MDS...

Embodiment 3

[0071] see image 3 , image 3 It is a schematic structural diagram of a server provided in an embodiment of the present invention. Such as image 3 As shown, the server can include:

[0072] The first determining module 301 is configured to determine the block that needs to be accessed from the first list according to the access offset of the volume that needs to be accessed;

[0073] Wherein, the first list may be used to store information of at least two blocks of the same size into which the volume is divided. The format of the first list may be similar to the above-mentioned Table 1, which will not be repeated here in this embodiment of the present invention.

[0074] The second determining module 302 is configured to determine the storage controller corresponding to the block from the second list according to the block determined by the first determining module 301;

[0075] Wherein, the second list may be used to store the information of the storage controller corr...

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 relates to the field of storage, and discloses a server and a method of an access volume thereof. The method comprises the following steps of: determining a block required to be accessed from a first list according to the access offset of a volume required to be accessed, wherein the first list is used for storing two blocks of information, which are divided from the volume and have the same size; determining a storage controller corresponding to the block required to be accessed from a second list according to the determined block, wherein the second list is used for storing the information of the storage controller corresponding to each block divided from the volume; and sending a data reading request or a data writing request to the storage controller corresponding to the block required to be accessed for processing. The embodiment of the invention can reduce the delay time for the data reading request or the data writing request of a server to reachthe block required to be accessed so as to reduce the occupation of the internal memory resource of the storage controller by the data reading request and the data writing request of the server.

Description

technical field [0001] The invention relates to the technical field of storage, in particular to a server and a method for accessing volumes thereof. Background technique [0002] In a multiple storage controller storage architecture, a volume is a logical medium used to store data. Each volume is marked with a different identification (ID), which is used to distinguish the different volumes. Wherein, each volume can be divided into multiple blocks of the same size, and a block is the smallest unit for storing data. Multiple blocks of the same size divided into one volume can be distributed to multiple storage controllers in the storage architecture, so that one block corresponds to one storage controller. Each storage controller can be connected to the server through a switch. When the server needs to write data to a certain volume, each storage controller can write the data of the server into multiple blocks divided into the volume in parallel; when the server When data...

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): G06F12/06
CPCG06F3/0635G06F3/0644G06F3/067G06F3/0607
Inventor 罗姣林张国彬刘卯银
Owner HUAWEI TECH CO LTD
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