CN100428130C - Data automatic classification access method expanding virtual hand disk - Google Patents

Data automatic classification access method expanding virtual hand disk Download PDF

Info

Publication number
CN100428130C
CN100428130C CNB2005101376817A CN200510137681A CN100428130C CN 100428130 C CN100428130 C CN 100428130C CN B2005101376817 A CNB2005101376817 A CN B2005101376817A CN 200510137681 A CN200510137681 A CN 200510137681A CN 100428130 C CN100428130 C CN 100428130C
Authority
CN
China
Prior art keywords
user
magnetic disc
data
independent magnetic
request
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.)
Expired - Fee Related
Application number
CNB2005101376817A
Other languages
Chinese (zh)
Other versions
CN1991733A (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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2005101376817A priority Critical patent/CN100428130C/en
Publication of CN1991733A publication Critical patent/CN1991733A/en
Application granted granted Critical
Publication of CN100428130C publication Critical patent/CN100428130C/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)

Abstract

The invention relates to a data classifying automatically method of expanding virtual hard disk, it includes: the original hard disk and the expended virtual hard disk are combined to start new temporary independent disk multi array equipment; based on the parameters of shifting quantity and a speed limit set by user, the data in original independent disk multi array equipment is shift to the temporary independent disk multi array equipment; user processes the I/O requirement during the shifting data course; configuring the data classifying structure; after the data shifting, adjusting the original independent disk multi array equipment data structure to a new independent disk multi array equipment structure; releasing the temporary independent disk multi array equipment to accomplish the data automatic classify access of expanding virtual hard disk. The invention provides conflict process for expanding course, the operation can not be interrupted, configuring the data classifying structure and strengthening the slitless index effect.

Description

The method of expanding virtual hand disk
Technical field
The present invention relates to a kind of interconnection and transmission processing of request of storage device, particularly relate to a kind of method of expanding virtual hand disk.
Background technology
Independent magnetic disc poly array (RAID) technology allows a series of hard disk groupings, the essential data redundancy to be embodied as data protection, and for improving the data band distribution that readwrite performance forms.Common RAID array comprises at present, and Linear, RAID0 are to RAID6, and RAID10, RAID50 etc.
The increase of hard-disk capacity and the enhancing of performance all are the key issues of present independent magnetic disc poly array system, and add new hard disk in system, are the approach preferably that increases power system capacity and enhanced system performance.On the one hand, expanding virtual hand disk increases power system capacity, though can not increase the data redudancy of system; On the other hand, can obtain the more data parallel processing behind the expanding virtual hand disk, thereby increase the convenience of data retrieval and access.
The extended function of independent magnetic disc poly array allows the user under the situation of shutdown system not, adds new hard disk, carries out the expansion of RAID capacity, please refer to shown in Figure 1.New hard disk is replaced low capacity sector in the former Logical Disk, original storage block that adequately protected, and all operations all need not the shutdown, do not influence the data access of user to system.
Yet the expanding virtual hand disk function that realizes the independent magnetic disc poly array is a very stubborn problem.The classic method that increases the capacity of independent magnetic disc poly array is the data in the multiple array of first backup disk, rebuilds new jumbo logical blocks and restore data again.The technology that realizes the expanding virtual hand disk of independent magnetic disc poly array adopts hardware RAID card to realize the extended function of independent magnetic disc poly array mostly at present, as Mylex array card or the like.But these instruments are mostly restricted to the hard disk number that adds, and perhaps system must be interrupted in the process of expanding virtual hand disk.These characteristics have all been brought very big inconvenience to the user, application with the Karaoke expanding virtual hand disk, whether guard system is not play in online mode, the necessary former hard disk of initialization of the process of expanding virtual hand disk, store the reformation of block again, and system must handle lot of data migration and complicated user's request, not only inconvenience concerning the user, also must separate retrieval for data retrieval (song search) at the expansion sector, can't reach the demand of data automatic classification access, remove nonsystematic and supported to expand the built-in function of sector integration, so, this hard disk with slit expands, and often causes the inconvenience of user's data retrieval, can't reach the requirement of gapless expanding virtual hand disk.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method of expanding virtual hand disk, the virtual hard disk that expands loads with the extended mode of gapless, provide a conflict to handle for the expansion process, do not cause operating process to be interrupted, except that being configured according to built-in unified data qualification structure, the function of expanding data classification also is provided, strengthens the recall precision of gapless.
To achieve these goals, the invention provides a kind of method of expanding virtual hand disk, its characteristics are that this method comprises the following steps:
Former hard disk and expanding virtual hand disk are merged the new interim independent magnetic disc poly array equipment of opening;
The migration amount and the speed limit parameter that are provided with according to the user, with the data migtation on the former independent magnetic disc poly array equipment to this interim independent magnetic disc poly array equipment;
Ask to conflict processing at user I/O to hard disk in the migration data process;
Carry out data configuration according to built-in unified data qualification structure;
After the pending data migration finished, adjusting this former independent magnetic disc poly array device data structure was a new independent magnetic disc poly array device structure; And
Should discharge by interim independent magnetic disc poly array equipment, finish expanding virtual hand disk.
The method of above-mentioned expanding virtual hand disk, its characteristics are that this conflict is handled and also comprised the following step:
Intercept and capture user's request;
When this former independent magnetic disc poly array equipment is being expanded, the termination address of calculating request according to the start address and the length gauge of this user request;
If the termination address of this user's request, is issued to this user's request in this interim independent magnetic disc poly array equipment in the start address of migration units less than just; And
When the termination address of this user request greater than just in the start address of migration units, if the start address of judging this user request is during greater than the termination address of current migration units, user's request is issued in this former independent magnetic disc poly array equipment, otherwise, ask to add the user in the waiting list, after waiting system is finished the migration units migration, user's request is issued in the new independent magnetic disc poly array equipment handles again.
The method of above-mentioned expanding virtual hand disk, its characteristics are that this migration amount parameter expands the hard disk operation interface by one and sets.
The method of above-mentioned expanding virtual hand disk, its characteristics are that this speed limit parameter expands the hard disk operation interface by one and sets.
Effect of the present invention, be that the virtual hard disk that expands loads with the extended mode of gapless, provide a conflict to handle for the expansion process, do not cause operating process to be interrupted, except that being configured according to built-in unified data qualification structure, the function of expanding data classification also is provided, strengthens the recall precision of gapless.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 carries out the synoptic diagram of RAID capacity extensions for existing hard disk;
Fig. 2 is the synoptic diagram of expanding virtual hand disk of the present invention;
Fig. 3 is the method flow diagram of expanding virtual hand disk of the present invention;
Fig. 4 is a conflict processing flow chart of the present invention; And
Fig. 5 is an expansion hard disk operation of the present invention interface synoptic diagram.
20-expands the hard disk operation interface, the 22-handling procedure that conflicts
Step 301-merges the new interim independent magnetic disc poly array equipment of opening with former hard disk and expanding virtual hand disk
Parameters such as a migration amount that step 302-is provided with according to the user and a speed limit, with the data migtation on the former independent magnetic disc poly array equipment to this interim independent magnetic disc poly array equipment
Step 303-asks to conflict processing at user I/O to hard disk in the migration data process
Step 304-is configured according to built-in unified data qualification structure
After the migration of step 305-pending data finished, adjusting this former independent magnetic disc poly array device data structure was a new independent magnetic disc poly array device structure
Step 306-should discharge by interim independent magnetic disc poly array equipment, finishes the data automatic classification access of expanding virtual hand disk
Step 401-intercepts and captures user's request
Step 402-detects former independent magnetic disc poly array equipment whether in expansion
Step 403-is issued to user's request in the former independent magnetic disc poly array equipment and handles
The termination address that step 404-calculates request according to the start address and the length gauge of user's request
Whether the termination address that step 405-judges user request is less than just in the start address of migration units
Step 406-is issued to user's request in the new independent magnetic disc poly array equipment
Whether the start address that step 407-judges user request is greater than the termination address of current migration units
Step 408-asks that the user add in the waiting list, after waiting system is finished the migration units migration, user's request is issued in the new independent magnetic disc poly array equipment handles again
501-moves setting, the 502-speed setting
The 503-expansion of classifying, the 504-menu of classifying
The 505-directory window, the 506-extended mode
Embodiment
Fig. 2 is the synoptic diagram of expanding virtual hand disk of the present invention, mainly be to expand hard disk operation interface 20 by one, provide the user to import one and expand order, expand at virtual hard disk, the present invention more proposes a conflict handling procedure 22, with in the process of expanding virtual hand disk, handle at user's request.
Fig. 3 is the method flow diagram of expanding virtual hand disk of the present invention, and step 301 merges the new interim independent magnetic disc poly array equipment of opening with former hard disk and expanding virtual hand disk; Step 302, parameters such as migration amount that is provided with according to the user and speed limit then, with the data migtation on the former independent magnetic disc poly array equipment to new independent magnetic disc poly array equipment; Step 303 asks to conflict processing at user I/O to hard disk in the migration data process; Step 304 is configured according to built-in unified data qualification structure, thereby realizes the function of the data automatic classification access of expanding virtual hand disk; Step 305, after the pending data migration finished, adjusting former independent magnetic disc poly array device data structure was new independent magnetic disc poly array device structure; Step 306 should discharge by interim independent magnetic disc poly array equipment at last, finishes expanding virtual hand disk, so, the virtual hard disk that is expanded is concerning the user, and what difference does not feel system has at all, reaches the requirement of real gapless expanding virtual hand disk.
Handling independent magnetic disc poly array user in the expanding virtual hand disk process please refer to shown in Figure 4 to the I/O request of the expanding virtual hand disk equipment treatment principle of handling of conflicting, step 401, when user of intercepting and capturing asks, step 402, at first detect former independent magnetic disc poly array equipment whether in expansion, if equipment is expansion not, step 403 is issued to user's request in the former independent magnetic disc poly array equipment so and handles; Step 404, if equipment is expanded, the termination address of calculating request at first according to the start address and the length gauge of user request, step 405, judge that then termination address that the user asks is whether less than just in the start address of migration units, if the termination address of user request is less than just in the start address of migration units, show that data have been moved in the new independent magnetic disc poly array equipment, step 406, user's request should be issued in the new independent magnetic disc poly array equipment, step 407, otherwise whether the start address of judging user request is greater than the termination address of current migration units, if greater than, show data not migration as yet so, user's request is issued in the former independent magnetic disc poly array equipment (getting back to step 403), if be not more than then represent that the data that the user asks move, this moment, we asked to add the user in the waiting list, after waiting system is finished the migration units migration, step 408 is issued to user's request in the new independent magnetic disc poly array equipment and handles.
Fig. 5 is an expansion hard disk operation of the present invention interface synoptic diagram, applicating example explanation with the Karaoke expanding virtual hand disk, in general, the song track of Karaoke will expand song track after a while, no matter in the former machine how many hard disks are arranged, as long as utilization independent magnetic disc poly array equipment, will face the practical problems that expands hard disk, operation interface of the present invention as shown in Figure 5, the setting and the watchdog routine of method operation of the present invention are provided, wherein, it is in order to a migration amount of data to be migrated to be set that migration sets 501, speed setting 502 is in order to the speed parameter of data to be migrated to be set, and 503 settings that provide the classification of institute's expanding data to expand are provided in classification, if select to expand setting, classification menu 504 below then arranging in pairs or groups defines or the system default value of employing is upgraded, even with this setting meeting presenting in directory window 505, the user can pass through extended mode 506 (similar horse race lamp) in operating process, to show the operation situation of expanding data progress.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of claim of the present invention.

Claims (4)

1, a kind of method of expanding virtual hand disk is characterized in that, this method comprises the following steps:
Former hard disk and expanding virtual hand disk are merged the new interim independent magnetic disc poly array equipment of opening;
The migration amount and the speed limit parameter that are provided with according to the user, with the data migtation on the former independent magnetic disc poly array equipment to this interim independent magnetic disc poly array equipment;
Ask to conflict processing at user I/O to hard disk in the migration data process;
Carry out data configuration according to built-in unified data qualification structure;
After the pending data migration finished, adjusting this former independent magnetic disc poly array device data structure was a new independent magnetic disc poly array device structure; And
Should discharge by interim independent magnetic disc poly array equipment, finish expanding virtual hand disk.
2, the method for expanding virtual hand disk according to claim 1 is characterized in that, this conflict is handled and also comprised the following step:
Intercept and capture user's request;
When this former independent magnetic disc poly array equipment is being expanded, the termination address of calculating request according to the start address and the length gauge of this user request;
If the termination address of this user's request, is issued to this user's request in this interim independent magnetic disc poly array equipment in the start address of migration units less than just; And
When the termination address of this user request greater than just in the start address of migration units, if the start address of judging this user request is during greater than the termination address of current migration units, user's request is issued in this former independent magnetic disc poly array equipment, otherwise, ask to add the user in the waiting list, after waiting system is finished the migration units migration, user's request is issued in the new independent magnetic disc poly array equipment handles again.
3, the method for expanding virtual hand disk according to claim 1 is characterized in that, this migration amount parameter expands the hard disk operation interface by one and sets.
4, the method for expanding virtual hand disk according to claim 1 is characterized in that, this speed limit parameter expands the hard disk operation interface by one and sets.
CNB2005101376817A 2005-12-31 2005-12-31 Data automatic classification access method expanding virtual hand disk Expired - Fee Related CN100428130C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101376817A CN100428130C (en) 2005-12-31 2005-12-31 Data automatic classification access method expanding virtual hand disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101376817A CN100428130C (en) 2005-12-31 2005-12-31 Data automatic classification access method expanding virtual hand disk

Publications (2)

Publication Number Publication Date
CN1991733A CN1991733A (en) 2007-07-04
CN100428130C true CN100428130C (en) 2008-10-22

Family

ID=38214014

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101376817A Expired - Fee Related CN100428130C (en) 2005-12-31 2005-12-31 Data automatic classification access method expanding virtual hand disk

Country Status (1)

Country Link
CN (1) CN100428130C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823636B (en) * 2012-11-19 2017-04-05 苏州捷泰科信息技术有限公司 IO scheduling method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015646A1 (en) * 2003-06-24 2005-01-20 Koichi Okada Data migration method for disk apparatus
CN1614573A (en) * 2004-12-01 2005-05-11 威盛电子股份有限公司 Method and apparatus for hard disk array data transfer
US20050120170A1 (en) * 2003-12-02 2005-06-02 Nvidia Corporation Universal raid class driver
CN1624670A (en) * 2003-12-03 2005-06-08 华为技术有限公司 Method of local data migration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015646A1 (en) * 2003-06-24 2005-01-20 Koichi Okada Data migration method for disk apparatus
US20050120170A1 (en) * 2003-12-02 2005-06-02 Nvidia Corporation Universal raid class driver
CN1624670A (en) * 2003-12-03 2005-06-08 华为技术有限公司 Method of local data migration
CN1614573A (en) * 2004-12-01 2005-05-11 威盛电子股份有限公司 Method and apparatus for hard disk array data transfer

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种新的RAID结构快速扩展方法. 王刚,刘晓光,刘璟,董雅丽.计算机工程与应用,第04期. 2002
一种新的RAID结构快速扩展方法. 王刚,刘晓光,刘璟,董雅丽.计算机工程与应用,第04期. 2002 *

Also Published As

Publication number Publication date
CN1991733A (en) 2007-07-04

Similar Documents

Publication Publication Date Title
US9690487B2 (en) Storage apparatus and method for controlling storage apparatus
US7653781B2 (en) Automatic RAID disk performance profiling for creating optimal RAID sets
CN103064639B (en) Date storage method and device
CN109542342B (en) Metadata management and data reconstruction method, equipment and storage medium
US8234464B2 (en) Hybrid storage data migration by selective data removal
CN110308875A (en) Data read-write method, device, equipment and computer readable storage medium
CN103999058A (en) Tape drive system server
CN104731896A (en) Data processing method and system
CN108733326B (en) Disk processing method and device
WO2014043448A1 (en) Block level management with service level agreement
CN103699457A (en) Method and device for restoring disk arrays based on stripping
US8037332B2 (en) Quad-state power-saving virtual storage controller
CN114442937B (en) File caching method and device, computer equipment and storage medium
US7840755B2 (en) Methods and systems for automatically identifying a modification to a storage array
JP6680069B2 (en) Storage control device, storage system, and storage device control program
CN101997919B (en) Storage resource management method and device
JP5742931B2 (en) Storage device, control device, and control method
US11513702B2 (en) Placement of metadata on data storage drives in a first storage enclosure of a data storage system
CN100428130C (en) Data automatic classification access method expanding virtual hand disk
CN103975309B (en) Data reconstruction method, Data Recapture Unit, memory and storage system
CN105279095B (en) Create the method and device of JBOD file system
US20060112301A1 (en) Method and computer program product to improve I/O performance and control I/O latency in a redundant array
Iwata et al. A simulation result of replicating data with another layout for reducing media exchange of cold storage
CN105354294A (en) Nested file management system and method
US10049053B1 (en) Classifying performance of an external storage resource pool associated with a performance tier in a federated tiered storage system for overload avoidance and auto-tiering

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081022

Termination date: 20111231