CN1952867A - RAID system and method of network based on dynamic mode - Google Patents

RAID system and method of network based on dynamic mode Download PDF

Info

Publication number
CN1952867A
CN1952867A CN 200610090502 CN200610090502A CN1952867A CN 1952867 A CN1952867 A CN 1952867A CN 200610090502 CN200610090502 CN 200610090502 CN 200610090502 A CN200610090502 A CN 200610090502A CN 1952867 A CN1952867 A CN 1952867A
Authority
CN
China
Prior art keywords
virtual memory
network
memory facilities
facilities
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200610090502
Other languages
Chinese (zh)
Other versions
CN100541413C (en
Inventor
卜庆忠
许鲁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CNB2006100905023A priority Critical patent/CN100541413C/en
Publication of CN1952867A publication Critical patent/CN1952867A/en
Application granted granted Critical
Publication of CN100541413C publication Critical patent/CN100541413C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

This invention discloses a network RAID system and its method based on dynamic mode, wherein, the system comprises the following parts: virtual memory device, at least one virtual memory device interface, virtual memory management bench, physical memory device, block mapping list, block mapping buffer list, network virtual memory device and device mapping list. The method comprises the following steps: a, establishing virtual memory device; b, establishing virtual memory device interface; c, reading virtual memory device; d, modifying block mapping buffer list; e, modifying block mapping list; f, modifying mapping list; g deleting virtual memory device interface; h, deleting virtual memory device.

Description

A kind of network RAID system and method based on dynamic mode
Technical field
The present invention relates to network information technology field, particularly a kind of net-raid (Redundant Array of Inexpensive Disk is called for short RAID) system and method based on dynamic mode.
Background technology
In network store system, disk array (RAID) is the network storage equipment that is generally adopted at present.Disk array becomes the formation node of various complex network storage systems with its management advantage such as simple.Common RAID is made of one or more local disk, and one or more application server links to each other with disk array by the high speed internet network, and the logical device performance of being derived by disk array is the local device of application server.
As shown in Figure 1, the management mode in traditional network storage equipment or the employing band perhaps adopts the management mode outside the band, and two kinds of patterns respectively have relative merits.Employing band external schema synoptic diagram shown in Fig. 1 (b), wherein 1 represents the virtual memory facilities interface, 2 expression piece mapping cache table, 3 expression memory management modules, 4-1,4-2 represent physical storage device, adopt band external schema no single failure point on the I/O path of system, the structure of system and performance extensibility are strong, but system relate to aspect the online storage administration relevant with the I/O path function a little less than.And in contrast, employing band internal schema synoptic diagram shown in Fig. 1 (a), the structure of system and performance extensibility are relatively poor, and memory management module 3 is the single failure points on the system I/O path, but simultaneity factor is in that to relate to aspect the online storage administration relevant with the I/O path function stronger.
In view of the deficiencies in the prior art, people just wish to have a kind of in-band management pattern and outband management pattern with the network storage equipment to combine, and can realize the network RAID system and method for the dynamic translation between band internal schema and the band external schema.
Summary of the invention
The objective of the invention is to overcome the deficiency that prior art exists, solve present network store system, particularly adopt in the band and network store system structure that the outband management pattern combines in low, poor performance of resource utilization and the low problem of availability, a kind of network RAID system and method based on dynamic mode is provided.
To achieve these goals, the present invention takes following technical scheme.
A kind of network RAID system based on dynamic mode comprises:
Virtual memory facilities is the unit that network RAID system externally provides the data space service, and its size is in piece (block);
At least one virtual memory facilities interface is the interface that network RAID system provides the virtual memory facilities of storage space data access;
The virtual memory management platform is to accept the functional module that network RAID system management is carried out in keeper's instruction, and it also can carry out functions such as data request processing simultaneously;
Physical storage device is connected with described virtual memory management platform, is the unit that the physical store system externally provides the physical resource of storage data, and its size is in piece;
It is characterized in that, also comprise:
The piece mapping table is in the described virtual memory management platform, is the table of comparisons that writes down mapping relations between described virtual memory facilities and the described physical storage device in the network RAID system;
Piece mapping cache table is the table of comparisons that virtual memory facilities is used for determining mapping relations between the storage space that self provided and the physical storage device, is a buffer memory of described mapping table;
The network virtual memory device is in the described virtual memory management platform, and being network RAID internal system derives by network, and is used for data cached virtual memory space, and is identical with physical storage device on external interface and access module;
Device map is in the described virtual memory management platform, is used for determining the table of comparisons of corresponding relation between network virtual memory device and the physical storage device;
In technique scheme, further, the list item of described mapping cache table is included in the relevant block mapping table;
In technique scheme, further, in each virtual memory facilities, comprise a described network virtual memory device at least.
In technique scheme, further, in each virtual memory facilities, comprise two or more described network virtual memory devices.
In technique scheme, further, described device map and the identical network virtual storing device information of corresponding piece mapping table record.
A kind of network RAID method based on dynamic mode comprises the steps:
1) creates virtual memory facilities: create at least one physical storage device for the new virtual memory facilities of creating, create at least one network virtual memory device, create a piece mapping table, create a device map;
2) create the virtual memory facilities interface: create a piece mapping cache table;
3) read-write virtual memory facilities;
4) modified block mapping cache table;
5) modified block mapping table: response management instruction or according to the list item of operating strategy modified block mapping table;
6) revise device map: the change situation according to the piece mapping table is correspondingly revised device map;
7) deletion virtual memory facilities interface: stop all visits, deleted block mapping cache table to this interface;
8) deletion virtual memory facilities: stop all read and write accesss to the virtual memory facilities that will delete, deletion belongs to the piece mapping table of this virtual memory facilities successively, delete its network virtual memory device, sweep equipment mapping table, the physical storage device that deletion is used for this virtual memory facilities;
In technique scheme, further, the read-write virtual memory facilities described in the described step 3) comprises in the band and the outer two kinds of patterns of band; The read-write requests of virtual memory facilities is had band internal schema and band external schema, and the virtual memory facilities interface is received read-write requests, inquires about corresponding piece mapping cache table, retrieves and ask corresponding lower floor memory device piece number; For band internal schema situation, the read-write requests that the virtual memory facilities interface is received is through being forwarded to after the address translation on the network virtual memory device on the virtual memory management platform, the network virtual memory device is retrieved the corresponding apparatus mapping table then, and, will read and write the former road of result data at last and return sending out read-write requests after the address translation to corresponding physical storage device; For band external schema situation, the read-write requests that the virtual memory facilities interface is received will be read and write the former road of result data at last and return through being forwarded to after the address translation on the corresponding physical storage device;
In technique scheme, further, in the described step 4), described modified block mapping cache table comprises dual mode: upgraded the list item in certain piece mapping cache table of being safeguarded by it by virtual memory management platform initiation notice virtual memory facilities interface, or initiate by the virtual memory facilities interface, send corresponding piece mapping table query requests to the virtual memory management platform, upgrade the corresponding list item of corresponding piece mapping cache table after the successful inquiring.Promptly initiate the passive mode of notice virtual memory facilities interface and the active mode of inquiring about to the virtual memory management platform by the initiation of virtual memory facilities interface by the virtual memory management platform.
In technique scheme, further, the scope of modified block mapping table is limited to described in the described step 5): corresponding virtual memory facilities piece number pairing network virtual memory device and physical storage device and the two pairing number.
In technique scheme, further, in the described step 6), described modification device map is consistent with the modified block mapping table.
Compared with prior art, superiority of the present invention is:
But the invention provides a kind of flexible configuration of dynamic mode and the network RAID system and method for management, the in-band management pattern and the outband management pattern that realize the network storage equipment combine, realize the dynamic translation between band internal schema and the band external schema, improved the performance extensibility of system, realize online renewal mapping relations, solve the not high problem of utilization factor of storage resources effectively, and can adapt to multiple demands of applications, for example backup, disaster tolerance etc.
Description of drawings
Fig. 1 (a) is interior network memory system architecture of the band in the prior art and work synoptic diagram;
Fig. 1 (b) is band outer network memory system architecture and the work synoptic diagram in the prior art;
Fig. 2 is network RAID system of the present invention and work synoptic diagram.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail:
As shown in Figure 2, network RAID of the present invention system comprises:
Virtual memory facilities: be the unit that network RAID system externally provides the data space service, its size is in piece, virtual memory facilities also represents simultaneously to provide in the network RAID system general name of a plurality of functional modules of a data storage space service, also can be described as network RAID equipment in the present invention.
The virtual memory facilities interface: 1 expression among Fig. 2 is the interface that network RAID system provides the virtual memory facilities of storage space data access;
Physical storage device: 4-1 among Fig. 2 ... shown in the 4-m, be the unit that the physical store system externally provides the physical resource of storage data, its size is in piece; M is the physical storage device number, such as m=2.
Piece mapping table: shown in the 3-1, be the table of comparisons of noting down mapping relations between virtual memory facilities and the physical storage device in the network RAID system among Fig. 2;
Piece mapping cache table: among the figure shown in 2, be the table of comparisons that virtual memory facilities is used for determining mapping relations between the storage space that self provided and the physical storage device, it is a buffer memory of piece mapping table;
The network virtual memory device: among Fig. 2 shown in the 3-2, be that network RAID internal system derives by network, and be used for data cached virtual memory space, identical with physical storage device on external interface and access module;
Device map: shown in the 3-3, be the table of comparisons that is used for determining corresponding relation between network virtual memory device and the physical storage device among Fig. 2;
The virtual memory management platform: shown in 3, be to accept the functional module that network RAID system management is carried out in keeper's instruction among Fig. 2, it also can carry out functions such as data request processing simultaneously.
Establishment/deletion/the functions such as modification of the external virtual support memory device of network RAID system of the present invention, network RAID system are externally supported a plurality of virtual memory facilitieses.As shown in Figure 2, each virtual memory facilities support externally provides at least one virtual memory facilities interface 1.The reading and writing data request that each virtual memory facilities interface receives all is transmitted to lower floor's memory device behind the record reference address according to piece mapping table 2, lower floor's memory device comprises that network virtual memory device (representing with 3-2 among the figure) and physical storage device (use 4-1 among the figure,, 4-m represents); (read-write requests of (representing with 3-2 among the figure) is transmitted to corresponding physical storage device behind query facility mapping table reference address, this physical storage device is included in the physical storage device that 4-1 to 4-m represents to be forwarded to the network virtual memory device.
Implementing the present invention need finish and can instruct the virtual memory management platform of establishment/deletion/modification virtual memory facilities according to the keeper, furthermore, the establishment of piece mapping table can be finished in this turnkey console inside, the establishment of network virtual memory device, the establishment of device map; In addition, this turnkey console is supported the inquiry of piece mapping table, supports the modification of piece mapping table, piece mapping cache table and device map.According to description of the invention, those skilled in the art can finish and can instruct the virtual memory management platform of establishment/deletion/modification virtual memory facilities according to the keeper.
Implement the module that the present invention need finish the virtual memory facilities interface function, this module is safeguarded and corresponding mapping of virtual memory facilities interface cache table, promptly support the establishment/deletion/modification of piece mapping cache table, these virtual memory facilities interfaces are independently of one another, and dereliction is from relation.According to description of the invention, those skilled in the art are the modules that can finish this virtual memory facilities interface function.
Implement the physical store system that wants required for the present invention and all adopt existing products in markets.
The associative operation that below is based on the network RAID systems approach of dynamic mode is described:
1) create virtual memory facilities: method of the present invention (is called VD for ease of narration at the establishment virtual memory facilities 1) time need finish several concrete functions: in the physical store system, create one or more physical storage devices and (use PD 1-nRepresent this set); Create for VD 1A network virtual memory device that uses (is used NVD 1Represented), its size can be greater than PD 1-nThe summation of middle all devices size; Create for VD 1A piece mapping table that uses has wherein write down VD 1Part piece number and NVD 1Part piece number between corresponding relation, and VD 1Part piece number and PD 1-nIn corresponding relation between the part piece number of some equipment, VD 1Two parts piece summation equal its whole pieces number; Create one for VD 1The device map of using is writing down NVD in this table 1Part piece number and PD 1-nIn mapping relations between the part piece number of some equipment, the NVD that is occurred in this table 1Piece number and above-mentioned mapping table in the NVD that occurs 1Piece number identical, this table can be sky;
2) create the virtual memory facilities interface: this action need is created a buffer memory of above-mentioned mapping table, and promptly a piece shines upon cache table, and this table can comprise whole list items of above-mentioned mapping table;
3) deletion virtual memory facilities interface: this operation stops all visits to this interface, deleted block mapping cache table;
4) deletion virtual memory facilities: stop all read and write accesss to the virtual memory facilities that will delete, deletion belongs to the piece mapping table of this virtual memory facilities successively, deletes its network virtual memory device (above-mentioned NVD 1), sweep equipment mapping table, physical storage device (the above-mentioned PD that deletion is used for this virtual memory facilities 1-n);
5) read-write virtual memory facilities: method of the present invention has two kinds of patterns when the read-write requests of handling virtual memory facilities, promptly be with internal schema and band external schema.When the virtual memory facilities interface is received read-write requests, inquire about corresponding piece mapping cache table, retrieve and ask corresponding lower floor memory device piece number, so-called band internal schema is meant, if the lower floor's memory device that retrieves is positioned on the virtual memory management platform, and the band external schema is meant that the lower floor's memory device that is retrieved is positioned at the situation outside the virtual memory management platform.Band internal schema situation, the read-write requests that the virtual memory facilities interface is received is through being forwarded to after the address translation on the network virtual memory device on the virtual memory management platform, the corresponding apparatus of network virtual memory device retrieval subsequently mapping table, and, will read and write the former road of result data at last and return sending out read-write requests after the address translation to corresponding physical storage device; Band external schema situation, the read-write requests that the virtual memory facilities interface is received will be read and write the former road of result data at last and return through being forwarded to after the address translation on the corresponding physical storage device;
6) modified block shines upon cache table: upgraded the list item in certain piece mapping cache table of being safeguarded by it by virtual memory management platform initiation (passive mode) notice virtual memory facilities interface, or by virtual memory facilities interface initiation (active mode), send corresponding piece mapping table query requests to the virtual memory management platform, upgrade the corresponding list item of corresponding piece mapping cache table after the successful inquiring;
7) modified block mapping table: response management instruction or according to the list item of operating strategy modified block mapping table, the scope of revising content is limited to, corresponding virtual memory facilities piece number pairing network virtual memory device and physical storage device and piece number under the two;
8) revise device map: when the modified block mapping table,, need correspondingly to revise device map so if the change of network virtual memory device takes place.
It should be noted last that, more than describe only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to example, those of ordinary skill in the art is to be understood that, technical scheme of the present invention is made amendment or is equal to replacement, and not breaking away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (10)

1, a kind of network RAID system based on dynamic mode comprises:
Virtual memory facilities;
At least one virtual memory facilities interface is the interface that network RAID system provides the virtual memory facilities of storage space data access;
The virtual memory management platform is to accept the functional module that network RAID system management is carried out in keeper's instruction;
Physical storage device is connected with described virtual memory management platform, is the unit that the physical store system externally provides the physical resource of storage data;
It is characterized in that, also comprise:
The piece mapping table is in the described virtual memory management platform, is the table of comparisons that writes down mapping relations between described virtual memory facilities and the described physical storage device in the network RAID system;
Piece mapping cache table is the table of comparisons that virtual memory facilities is used for determining mapping relations between the storage space that self provided and the physical storage device, is a buffer memory of described mapping table;
The network virtual memory device is in the described virtual memory management platform, and being network RAID internal system derives by network, and is used for data cached virtual memory space, and is identical with physical storage device on external interface and access module;
Device map is in the described virtual memory management platform, is used for determining the table of comparisons of corresponding relation between network virtual memory device and the physical storage device.
According to the described network RAID system of claim 1, it is characterized in that 2, the list item of described mapping cache table is included in the relevant block mapping table based on dynamic mode.
3, according to the described network RAID system of claim 1, it is characterized in that, in each virtual memory facilities, comprise a described network virtual memory device at least based on dynamic mode.
4, according to the described network RAID system of claim 1, it is characterized in that, in each virtual memory facilities, comprise two or more described network virtual memory devices based on dynamic mode.
5, according to the described network RAID system of claim 1, it is characterized in that described device map and the identical network virtual storing device information of corresponding piece mapping table record based on dynamic mode.
6, a kind of network RAID method based on dynamic mode comprises the steps:
1) creates virtual memory facilities: create at least one physical storage device for the new virtual memory facilities of creating, create at least one network virtual memory device, create a piece mapping table, create a device map;
2) create the virtual memory facilities interface: create a piece mapping cache table;
3) read-write virtual memory facilities;
4) modified block mapping cache table;
5) modified block mapping table: response management instruction or according to the list item of operating strategy modified block mapping table;
6) revise device map: the change situation according to the piece mapping table is correspondingly revised device map;
7) deletion virtual memory facilities interface: stop all visits, deleted block mapping cache table to this interface;
8) deletion virtual memory facilities: stop all read and write accesss to the virtual memory facilities that will delete, deletion belongs to the piece mapping table of this virtual memory facilities successively, delete its network virtual memory device, sweep equipment mapping table, the physical storage device that deletion is used for this virtual memory facilities.
According to the described network RAID method of claim 6, it is characterized in that 7, the read-write virtual memory facilities described in the described step 3) comprises in the band and the outer two kinds of patterns of band based on dynamic mode; The read-write requests of virtual memory facilities is had band internal schema and band external schema, and the virtual memory facilities interface is received read-write requests, inquires about corresponding piece mapping cache table, retrieves and ask corresponding lower floor memory device piece number; For band internal schema situation, the read-write requests that the virtual memory facilities interface is received is through being forwarded to after the address translation on the network virtual memory device on the virtual memory management platform, the network virtual memory device is retrieved the corresponding apparatus mapping table then, and, will read and write the former road of result data at last and return sending out read-write requests after the address translation to corresponding physical storage device; For band external schema situation, the read-write requests that the virtual memory facilities interface is received will be read and write the former road of result data at last and return through being forwarded to after the address translation on the corresponding physical storage device.
8, according to the described network RAID method of claim 6 based on dynamic mode, it is characterized in that, in the described step 4), described modified block mapping cache table comprises dual mode: upgraded the list item in certain piece mapping cache table of being safeguarded by it by virtual memory management platform initiation notice virtual memory facilities interface, or initiate by the virtual memory facilities interface, send corresponding piece mapping table query requests to the virtual memory management platform, upgrade the corresponding list item of corresponding piece mapping cache table after the successful inquiring.
9, according to the described network RAID method of claim 6 based on dynamic mode, it is characterized in that the scope of modified block mapping table is limited to described in the described step 5): corresponding virtual memory facilities piece number pairing network virtual memory device and physical storage device and the two pairing number.
10, according to the described network RAID method of claim 6, it is characterized in that in the described step 6), described modification device map is consistent with the modified block mapping table based on dynamic mode.
CNB2006100905023A 2005-10-21 2006-06-27 A kind of network RAID system and method based on dynamic mode Expired - Fee Related CN100541413C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100905023A CN100541413C (en) 2005-10-21 2006-06-27 A kind of network RAID system and method based on dynamic mode

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200510109458 2005-10-21
CN200510109458.1 2005-10-21
CNB2006100905023A CN100541413C (en) 2005-10-21 2006-06-27 A kind of network RAID system and method based on dynamic mode

Publications (2)

Publication Number Publication Date
CN1952867A true CN1952867A (en) 2007-04-25
CN100541413C CN100541413C (en) 2009-09-16

Family

ID=38059231

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100905023A Expired - Fee Related CN100541413C (en) 2005-10-21 2006-06-27 A kind of network RAID system and method based on dynamic mode

Country Status (1)

Country Link
CN (1) CN100541413C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023809B (en) * 2009-09-21 2012-10-17 成都市华为赛门铁克科技有限公司 Storage system, method for reading data from storage system and method for writing data to storage system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7039720B2 (en) * 2001-01-25 2006-05-02 Marconi Intellectual Property (Ringfence) , Inc. Dense virtual router packet switching
CN1506839A (en) * 2002-12-06 2004-06-23 中国科学院计算技术研究所 High-availability network memory system based on configureable virtual disc array
US7613945B2 (en) * 2003-08-14 2009-11-03 Compellent Technologies Virtual disk drive system and method
CN100440888C (en) * 2004-01-17 2008-12-03 中国科学院计算技术研究所 Management system and method for large service system based on network storage and resource virtual process

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023809B (en) * 2009-09-21 2012-10-17 成都市华为赛门铁克科技有限公司 Storage system, method for reading data from storage system and method for writing data to storage system

Also Published As

Publication number Publication date
CN100541413C (en) 2009-09-16

Similar Documents

Publication Publication Date Title
US6757790B2 (en) Distributed, scalable data storage facility with cache memory
US4603380A (en) DASD cache block staging
US6529976B1 (en) Heterogeneous computer system, heterogeneous input output system and data back-up method for the systems
US7275050B2 (en) Storage system, a method of file data backup and method of copying of file data
US6912669B2 (en) Method and apparatus for maintaining cache coherency in a storage system
US6275897B1 (en) Remote cache utilization for mirrored mass storage subsystem
US7111192B2 (en) Method for operating storage system including a main site and a backup
CN103067433B (en) A kind of data migration method of distributed memory system, equipment and system
US20080307161A1 (en) Method For Accessing Target Disk, System For Expanding Disk Capacity and Disk Array
US8032610B2 (en) Scalable high-speed cache system in a storage network
US20080235328A1 (en) Network System, Server, Data Processing Method and Program
CN102158540A (en) System and method for realizing distributed database
CN106066890B (en) Distributed high-performance database all-in-one machine system
CN102314506B (en) Based on the distributed buffering district management method of dynamic index
CN107329704A (en) One kind caching mirror method and controller
CN102420814A (en) Data access method and device, and server
US20090024768A1 (en) Connection management program, connection management method and information processing apparatus
US7593998B2 (en) File cache-controllable computer system
CN100527744C (en) Intelligent network disc storage system and its realizing method
US7555500B2 (en) Optimized end transaction processing
US20070083708A1 (en) Controller of redundant arrays of independent disks and operation method thereof
JP2003044421A (en) Virtual storage system and switching node used for the same system
CN100541413C (en) A kind of network RAID system and method based on dynamic mode
JP4464656B2 (en) Content storage system and method
US5802557A (en) System and method for caching information in a digital data storage subsystem

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090916