CN106371950A - Method and device for achieving RAID level conversion - Google Patents
Method and device for achieving RAID level conversion Download PDFInfo
- Publication number
- CN106371950A CN106371950A CN201510428541.9A CN201510428541A CN106371950A CN 106371950 A CN106371950 A CN 106371950A CN 201510428541 A CN201510428541 A CN 201510428541A CN 106371950 A CN106371950 A CN 106371950A
- Authority
- CN
- China
- Prior art keywords
- raid level
- disk
- address
- service data
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明公开了一种实现RAID级别转换的方法及装置,包括:接收到独立冗余磁盘阵列(RAID)级别转换指令时,根据预先记录的当前RAID级别磁盘的占用信息和系统剩余可用空间信息判断系统剩余可用空间是否满足RAID级别转换的要求;满足RAID级别转换的要求时,在系统剩余可用空间建立新RAID级别磁盘,建立当前RAID级别磁盘的占用地址和新RAID级别磁盘的地址的映射关联关系,完成RAID级别转换。本发明方法无需进行数据转移即可实现RAID级别转换,避免了由于数据转移造成业务中断的问题;建立新RAID级别磁盘实现快速,降低了级别转换的耗时。
The invention discloses a method and device for realizing RAID level conversion, comprising: when receiving an independent redundant disk array (RAID) level conversion command, judging according to the pre-recorded occupation information of the current RAID level disk and the remaining available space information of the system Whether the remaining available space of the system meets the requirements of RAID level conversion; when the requirements of RAID level conversion are met, a new RAID level disk is established in the remaining available space of the system, and the mapping relationship between the occupied address of the current RAID level disk and the address of the new RAID level disk is established to complete the RAID level conversion. The method of the invention can realize RAID level conversion without data transfer, avoiding the problem of service interruption caused by data transfer; establishing a new RAID level disk is fast and reduces the time consumption of level conversion.
Description
技术领域technical field
本发明涉及磁盘阵列技术,尤指一种实现独立冗余磁盘阵列(RAID)级别转换的方法及装置。The invention relates to disk array technology, in particular to a method and device for realizing independent redundant disk array (RAID) level conversion.
背景技术Background technique
独立冗余磁盘阵列(RAID,Redundant Array of Independent Disk)是一种把多块独立的硬盘(物理硬盘)按不同的方式组合形成一个硬盘组(逻辑硬盘),达到提供比单个硬盘更高的存储性能,提供数据备份能力的技术。组成磁盘阵列的不同方式形成相应的RAID级别。不同的RAID级别在数据可靠性及读写性能上具备相应的性能。Redundant Array of Independent Disks (RAID, Redundant Array of Independent Disk) is a combination of multiple independent hard disks (physical hard disks) in different ways to form a hard disk group (logical hard disk), to provide higher storage than a single hard disk. Performance, technology that provides data backup capabilities. Different ways to form a disk array form a corresponding RAID level. Different RAID levels have corresponding performance in terms of data reliability and read/write performance.
目前,RAID一般被分为RAID0、RAID1、RAID3、RAID5、RAID6、RAID10等级别。为了满足存储系统可用性、和/或性能、和/或容量的需求,选择各级别的RAID的转换。例如、为了节省空间,将级别为RAID1的RAID转换为级别为RAID5的RAID。为了提高可靠性,把级别为RAID5的RAID转换为级别为RAID6的RAID。申请号为CN200910174224.3的专利公开了“一种RAID级别变换的方法和装置”,具体公开了:在进行变级操作时,事先进行数据搬移,把变级前的RAID格式的数据按变级后的RAID格式的数据进行数据重新计算,只有在完成整个数据搬移后才完成RAID的变级操作,即完成RAID的级别转换;该方法用户只有在完成级别变换后才能进行新的业务操作,变级过程中,无法进行新的业务操作,可能会造成业务中断,影响整体业务性能。专利号为US2004133743的专利公开了“陈列装置及其逻辑设备扩展的方法(Raid apparatus and logical device expansion methodthereof)”,具体公开了利用条带来处理RAID的变级,利用条带来处理变级需要耗费大量时间,用户需要等待变级完成才能进行业务,可能导致业务中断。Currently, RAID is generally divided into RAID0, RAID1, RAID3, RAID5, RAID6, RAID10 and other levels. In order to meet the availability, and/or performance, and/or capacity requirements of the storage system, the conversion of each level of RAID is selected. For example, to save space, convert a RAID level of RAID1 to a RAID level of RAID5. To improve reliability, convert the RAID level of RAID5 to the RAID level of RAID6. The patent with the application number CN200910174224.3 discloses "a method and device for RAID level conversion", which specifically discloses: when performing the level change operation, the data is moved in advance, and the data in the RAID format before the level change is converted into The data in the RAID format is recalculated, and the RAID level change operation is completed only after the entire data migration is completed, that is, the RAID level conversion is completed; in this method, the user can perform new business operations only after the level change is completed. During the upgrading process, new business operations cannot be performed, which may cause business interruption and affect the overall business performance. The patent No. US2004133743 discloses "Raid apparatus and logical device expansion methodthereof", which specifically discloses the use of strips to handle RAID level changes, and the use of strips to handle level changes. It takes a lot of time, and the user needs to wait for the upgrade to complete before proceeding with business, which may cause business interruption.
发明内容Contents of the invention
为了解决上述技术问题,本发明提供一种实现RAID级别转换的方法及装置,能够在不中断业务的前提下,快速实现级别转换。In order to solve the above technical problems, the present invention provides a method and device for implementing RAID level conversion, which can quickly implement level conversion without interrupting services.
为了达到本发明目的,本发明提供了一种实现RAID级别转换的方法,接收到独立冗余磁盘阵列RAID级别转换指令时,包括:In order to achieve the purpose of the present invention, the present invention provides a kind of method that realizes RAID level conversion, when receiving redundant array of independent disks RAID level conversion instruction, comprising:
根据预先记录的当前RAID级别磁盘的占用信息和系统剩余可用空间信息判断系统剩余可用空间是否满足RAID级别转换的要求;Judging whether the remaining available space of the system meets the requirements of RAID level conversion according to the pre-recorded occupation information of the current RAID level disk and the information of the remaining available space of the system;
满足RAID级别转换的要求时,在系统剩余可用空间建立新RAID级别磁盘,并建立当前RAID级别磁盘的占用地址和新RAID级别磁盘的地址的映射关联关系,完成RAID级别转换。When the requirements for RAID level conversion are met, a new RAID level disk is created in the remaining available space of the system, and the mapping relationship between the occupied address of the current RAID level disk and the address of the new RAID level disk is established to complete the RAID level conversion.
进一步地,系统剩余可用空间不满足RAID级别转换的要求时,该方法还包括:确定级别转换失败并反馈级别转换失败的信息给用户。Further, when the remaining available space of the system does not meet the requirements for RAID level conversion, the method further includes: determining that the level conversion fails and feeding back information about the level conversion failure to the user.
进一步地,该方法还包括:在系统空闲时,Further, the method also includes: when the system is idle,
按照新RAID级别的数据格式转换所述当前RAID级别磁盘上数据;Convert the data on the current RAID level disk according to the data format of the new RAID level;
根据所述映射关联关系将完成数据格式转换的所述当前RAID级别磁盘上数据转移到所述新RAID级别磁盘的地址对应的磁盘空间上。According to the mapping association, the data on the current RAID level disk that has completed the data format conversion is transferred to the disk space corresponding to the address of the new RAID level disk.
进一步地,该方法还包括:Further, the method also includes:
记录所述新RAID级别磁盘占用的地址信息、和系统内各磁盘已占用空间的地址信息。The address information occupied by the disks of the new RAID level and the address information of the occupied space of each disk in the system are recorded.
进一步地,未完成所述当前RAID级别磁盘上数据的转移时,该方法还包括:Further, when the transfer of the data on the current RAID level disk is not completed, the method also includes:
读取业务数据时,查询所述当前RAID级别磁盘上是否包含所述业务数据,如果包含所述业务数据,则读取业务数据;如果不包含所述业务数据,则根据所述映射关联关系,从新RAID级别磁盘上读取所述业务数据;When reading business data, query whether the current RAID level disk contains the business data, if it contains the business data, then read the business data; if it does not contain the business data, then according to the mapping relationship, Read the business data from the new RAID level disk;
写入业务数据时,根据写入的业务数据的起始地址和长度,判断所述新RAID级别磁盘是否包含足够的空间用于业务数据的写入,足够业务数据写入的空间时,写入业务数据,并更新所述新RAID级别磁盘占用的地址信息和所述地址映射关联关系;不包含足够业务数据写入的空间时,反馈业务数据写入失败。When writing business data, according to the start address and length of the written business data, it is judged whether the new RAID level disk contains enough space for writing business data, and when there is enough space for writing business data, write Business data, and update the address information occupied by the new RAID level disk and the address mapping relationship; when there is not enough space for writing business data, feedback business data writing failure.
进一步地,所述映射关联关系具体包括:Further, the mapping association specifically includes:
系统内各磁盘中所述当前RAID级别和所述新RAID级别的空间的起始地址的关联关系。The association relationship between the current RAID level and the starting address of the space of the new RAID level in each disk in the system.
另一方面,本申请还提供一种实现RAID级别转换的装置,包括:判断单元,级别转换单元;其中,On the other hand, the present application also provides a device for implementing RAID level conversion, including: a judging unit and a level conversion unit; wherein,
判断单元,用于接收到RAID级别转换指令时,根据预先记录的当前RAID级别磁盘的占用信息和系统剩余可用空间信息判断系统剩余可用空间是否满足RAID级别转换的要求;The judging unit is configured to judge whether the remaining available space of the system meets the requirements of the RAID level conversion according to the pre-recorded occupancy information of the current RAID level disk and the information of the remaining available space of the system when receiving the RAID level conversion instruction;
级别转换单元,用于判断单元判断出满足RAID级别转换的要求时,在系统剩余可用空间建立新RAID级别磁盘,并建立当前RAID级别磁盘的占用地址和新RAID级别磁盘的地址的映射关联关系,完成RAID级别转换。The level conversion unit is used to judge that when the judging unit meets the requirements of the RAID level conversion, a new RAID level disk is established in the remaining available space of the system, and the mapping relationship between the occupied address of the current RAID level disk and the address of the new RAID level disk is established, Complete RAID level conversion.
进一步地,该装置还包括反馈单元,用于所述判断单元判断出系统剩余可用空间不满足RAID级别转换的要求时,确定级别转换失败并反馈级别转换失败的信息给用户。Further, the device further includes a feedback unit, used for determining that the level conversion fails and feeding back information about the level conversion failure to the user when the judging unit determines that the remaining available space of the system does not meet the requirements for RAID level conversion.
进一步地,该装置还包括数据转换转移单元,用于在系统空闲时,Further, the device also includes a data conversion and transfer unit, which is used to, when the system is idle,
按照新RAID级别的数据格式转换所述当前RAID级别磁盘上数据;Convert the data on the current RAID level disk according to the data format of the new RAID level;
根据所述映射关联关系将完成数据格式转换的所述当前RAID级别磁盘上数据转移到所述新RAID级别磁盘的地址对应的磁盘空间上。According to the mapping association, the data on the current RAID level disk that has completed the data format conversion is transferred to the disk space corresponding to the address of the new RAID level disk.
进一步地,该装置还包括记录单元,用于记录当前RAID级别磁盘的占用信息、系统剩余可用空间信息、所述新RAID级别磁盘占用的地址信息、和系统内各磁盘已占用空间的地址信息。Further, the device further includes a recording unit, configured to record occupation information of disks of the current RAID level, information of remaining available space in the system, address information occupied by disks of the new RAID level, and address information of occupied spaces of disks in the system.
进一步地,该装置还包括读取和写入单元,用于在未完成所述当前RAID级别磁盘上数据的转移时,Further, the device also includes a read and write unit, configured to, when the transfer of data on the current RAID level disk is not completed,
读取业务数据时,查询所述当前RAID级别磁盘上是否包含所述业务数据,如果包含所述业务数据,则读取业务数据;如果不包含所述业务数据,则根据级别转换单元建立的所述映射关联关系,从新RAID级别磁盘上读取所述业务数据;When reading business data, query whether the current RAID level disk contains the business data, if the business data is included, the business data is read; if the business data is not included, then according to the level conversion unit established The above-mentioned mapping association relationship is read from the new RAID level disk to read the business data;
写入业务数据时,根据写入的业务数据的起始地址和长度,判断所述新RAID级别磁盘是否包含足够的空间用于业务数据的写入,足够业务数据写入的空间时,写入业务数据,并更新记录单元的所述新RAID级别磁盘占用的地址信息和级别转换单元建立的所述地址映射关联关系;不包含足够业务数据写入的空间时,反馈业务数据写入失败。When writing business data, according to the start address and length of the written business data, it is judged whether the new RAID level disk contains enough space for writing business data, and when there is enough space for writing business data, write Business data, and update the address information occupied by the new RAID level disk of the recording unit and the address mapping relationship established by the level conversion unit; when there is not enough space for business data writing, the feedback business data write failure.
进一步地,所述映射关联关系具体包括:Further, the mapping association specifically includes:
系统内各磁盘中所述当前RAID级别和所述新RAID级别的空间的起始地址的关联关系。The association relationship between the current RAID level and the starting address of the space of the new RAID level in each disk in the system.
与现有技术相比,本申请技术方案包括:接收到独立冗余磁盘阵列(RAID)级别转换指令时,根据预先记录的当前RAID级别磁盘的占用信息和系统剩余可用空间信息判断系统剩余可用空间是否满足RAID级别转换的要求;满足RAID级别转换的要求时,在系统剩余可用空间建立新RAID级别磁盘,建立当前RAID级别磁盘的占用地址和新RAID级别磁盘的地址的映射关联关系,完成RAID级别转换。本发明方法无需进行数据转移即可实现RAID级别转换,避免了由于数据转移造成业务中断的问题;建立新RAID级别磁盘实现快速,降低了级别转换的耗时。Compared with the prior art, the technical solution of the present application includes: when receiving a Redundant Array of Independent Disks (RAID) level conversion command, judging the remaining available space of the system according to the pre-recorded occupancy information of the current RAID level disk and the information of the remaining available space of the system Whether it meets the requirements of RAID level conversion; when the requirements of RAID level conversion are met, a new RAID level disk is created in the remaining available space of the system, and the mapping relationship between the occupied address of the current RAID level disk and the address of the new RAID level disk is established to complete the RAID level convert. The method of the invention can realize RAID level conversion without data transfer, avoiding the problem of service interruption caused by data transfer; establishing a new RAID level disk is fast and reduces the time consumption of level conversion.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1为本发明实现RAID级别转换的方法的流程图;Fig. 1 is the flow chart of the method that the present invention realizes RAID level conversion;
图2为本发明实现RAID级别转换的装置的结构程图;Fig. 2 is the structural diagram of the device that realizes RAID level conversion of the present invention;
图3为本发明第一实施例的方法的流程图;Fig. 3 is the flowchart of the method of the first embodiment of the present invention;
图4为本发明第二实施例的方法的流程图;Fig. 4 is the flowchart of the method of the second embodiment of the present invention;
图5为本发明第三实施例的方法的流程图;Fig. 5 is the flowchart of the method of the third embodiment of the present invention;
图6为本发明第4实施例当前RAID级别磁盘的组成示意图;6 is a schematic diagram of the composition of the current RAID level disk in the fourth embodiment of the present invention;
图7为本发明第4实施例新RAID级别磁盘的组成示意图;7 is a schematic diagram of the composition of a new RAID level disk in the fourth embodiment of the present invention;
图8为本发明第四实施例的方法流程图。FIG. 8 is a flowchart of a method according to a fourth embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.
图1为本发明实现RAID级别转换的方法的流程图,如图1所示,接收到独立冗余磁盘阵列RAID级别转换指令时,包括:Fig. 1 is the flow chart of the method that the present invention realizes RAID level conversion, as shown in Figure 1, when receiving redundant array of independent disks RAID level conversion instruction, comprises:
步骤100、根据预先记录的当前RAID级别磁盘的占用信息和系统剩余可用空间信息判断系统剩余可用空间是否满足RAID级别转换的要求;Step 100, judging whether the remaining available space of the system meets the requirements of RAID level conversion according to the pre-recorded occupation information of the current RAID level disk and the information of the remaining available space of the system;
需要说明的是,判断系统剩余可用空间是否满足RAID级别转换的要求属于本领域技术人员的公知常识;一般的,系统剩余可用空间大于或等于当前RAID级别磁盘占用的大小时为满足RAID级别转换的要求,在此不再赘述。It should be noted that it is common knowledge of those skilled in the art to judge whether the remaining available space of the system satisfies the requirements for RAID level conversion; generally, when the remaining available space of the system is greater than or equal to the size occupied by the current RAID level disk, it meets the requirements of RAID level conversion. requirements and will not be repeated here.
步骤101、满足RAID级别转换的要求时,在系统剩余可用空间建立新RAID级别磁盘,并建立当前RAID级别磁盘的占用地址和新RAID级别磁盘的地址的映射关联关系,完成RAID级别转换。Step 101, when meeting the requirements of RAID level conversion, create a new RAID level disk in the remaining available space of the system, and establish a mapping relationship between the occupied address of the current RAID level disk and the address of the new RAID level disk, and complete the RAID level conversion.
系统剩余可用空间不满足RAID级别转换的要求时,本发明方法还包括:确定级别转换失败并反馈级别转换失败的信息给用户。When the remaining available space of the system does not meet the requirements of the RAID level conversion, the method of the present invention further includes: determining that the level conversion fails and feeding back information about the level conversion failure to the user.
本发明方法还包括:在系统空闲时,The method of the present invention also includes: when the system is idle,
按照新RAID级别的数据格式转换当前RAID级别磁盘上数据;Convert the data on the disk of the current RAID level according to the data format of the new RAID level;
根据映射关联关系将完成数据格式转换的当前RAID级别磁盘上数据转移到新RAID级别磁盘的地址对应的磁盘空间上。According to the mapping relationship, the data on the current RAID level disk that has completed the data format conversion is transferred to the disk space corresponding to the address of the new RAID level disk.
本发明方法还包括:The inventive method also includes:
记录新RAID级别磁盘占用的地址信息、和系统内各磁盘已占用空间的地址信息。Record the address information occupied by the new RAID level disk and the address information of the occupied space of each disk in the system.
未完成当前RAID级别磁盘上数据的转移时,本发明方法还包括:When the transfer of data on the current RAID level disk is not completed, the method of the present invention also includes:
读取业务数据时,查询当前RAID级别磁盘上是否包含业务数据,如果包含业务数据,则读取业务数据;如果不包含业务数据,则根据映射关联关系,从新RAID级别磁盘上读取业务数据;When reading business data, query whether the current RAID level disk contains business data, if it contains business data, read the business data; if it does not contain business data, read the business data from the new RAID level disk according to the mapping relationship;
写入业务数据时,根据写入的业务数据的起始地址和长度,判断新RAID级别磁盘是否包含足够的空间用于业务数据的写入,足够业务数据写入的空间时,写入业务数据,并更新新RAID级别磁盘占用的地址信息和地址映射关联关系;不包含足够业务数据写入的空间时,反馈业务数据写入失败。When writing business data, judge whether the new RAID level disk contains enough space for writing business data according to the start address and length of the written business data. When there is enough space for writing business data, write business data , and update the address information and address mapping relationship occupied by the new RAID level disk; if there is not enough space for writing business data, it will report that the writing of business data failed.
需要说明的是,新RAID级别磁盘是否包含足够的空间用于业务数据的写入为本领域技术人员的惯用技术手段;一般的,比如用4个容量为1T的盘创建一个容量为600G的RAID5(其中,1个校验盘,其他3个作为数据盘),那么RAID5的容量为600G,每个磁盘上的已用空间为200G,每个磁盘上的剩余空间为800G。如果要变级为RAID6级别(其中,2个校验盘,其他为数据盘),每个磁盘需要占用300G,而原来的剩余空间为800G,因此可以进行RAID级别转换的操作。It should be noted that whether the new RAID level disk contains enough space for writing business data is a common technical means for those skilled in the art; generally, for example, use 4 disks with a capacity of 1T to create a RAID5 with a capacity of 600G (Among them, 1 check disk, and the other 3 are used as data disks), then the capacity of RAID5 is 600G, the used space on each disk is 200G, and the remaining space on each disk is 800G. If you want to change the level to RAID6 (including 2 check disks and the others are data disks), each disk needs to occupy 300G, while the original remaining space is 800G, so the operation of RAID level conversion can be performed.
映射关联关系具体包括:The mapping relationship specifically includes:
系统内各磁盘中当前RAID级别和新RAID级别的空间的起始地址的关联关系。The relationship between the current RAID level and the starting address of the space of the new RAID level in each disk in the system.
本发明方法无需进行数据转移即可实现RAID级别转换,避免了由于数据转移造成业务中断的问题;建立新RAID级别磁盘实现快速,降低了级别转换的耗时。The method of the invention can realize RAID level conversion without data transfer, avoiding the problem of service interruption caused by data transfer; establishing a new RAID level disk is fast and reduces the time consumption of level conversion.
图2为本发明实现RAID级别转换的装置的结构程图,如图2所示,包括:判断单元,级别转换单元;其中,Fig. 2 is the structural flow chart of the device that realizes RAID level conversion of the present invention, as shown in Fig. 2, comprises: judging unit, level conversion unit; Wherein,
判断单元,用于接收到RAID级别转换指令时,根据预先记录的当前RAID级别磁盘的占用信息和系统剩余可用空间信息判断系统剩余可用空间是否满足RAID级别转换的要求;The judging unit is configured to judge whether the remaining available space of the system meets the requirements of the RAID level conversion according to the pre-recorded occupancy information of the current RAID level disk and the information of the remaining available space of the system when receiving the RAID level conversion instruction;
级别转换单元,用于判断单元判断出满足RAID级别转换的要求时,在系统剩余可用空间建立新RAID级别磁盘,并建立当前RAID级别磁盘的占用地址和新RAID级别磁盘的地址的映射关联关系,完成RAID级别转换。The level conversion unit is used to judge that when the judging unit meets the requirements of the RAID level conversion, a new RAID level disk is established in the remaining available space of the system, and the mapping relationship between the occupied address of the current RAID level disk and the address of the new RAID level disk is established, Complete RAID level conversion.
映射关联关系具体包括:The mapping relationship specifically includes:
系统内各磁盘中当前RAID级别和新RAID级别的空间的起始地址的关联关系。The relationship between the current RAID level and the starting address of the space of the new RAID level in each disk in the system.
本发明装置还包括反馈单元,用于判断单元判断出系统剩余可用空间不满足RAID级别转换的要求时,确定级别转换失败并反馈级别转换失败的信息给用户。The device of the present invention further includes a feedback unit, which is used for determining that the level conversion fails and feeding back information about the level conversion failure to the user when the judging unit judges that the remaining available space of the system does not meet the requirements for RAID level conversion.
本发明装置还包括数据转换转移单元,用于在系统空闲时,The device of the present invention also includes a data conversion and transfer unit for when the system is idle,
按照新RAID级别的数据格式转换当前RAID级别磁盘上数据;Convert the data on the disk of the current RAID level according to the data format of the new RAID level;
根据映射关联关系将完成数据格式转换的当前RAID级别磁盘上数据转移到新RAID级别磁盘的地址对应的磁盘空间上。According to the mapping relationship, the data on the current RAID level disk that has completed the data format conversion is transferred to the disk space corresponding to the address of the new RAID level disk.
本发明装置还包括记录单元,用于记录当前RAID级别磁盘的占用信息、系统剩余可用空间信息、新RAID级别磁盘占用的地址信息、和系统内各磁盘已占用空间的地址信息。The device of the present invention also includes a recording unit for recording the occupation information of the current RAID level disk, the remaining available space information of the system, the address information occupied by the new RAID level disk, and the address information of the occupied space of each disk in the system.
本发明装置还包括读取和写入单元,用于在未完成当前RAID级别磁盘上数据的转移时,The device of the present invention also includes a read and write unit, which is used for when the transfer of data on the current RAID level disk is not completed,
读取业务数据时,查询当前RAID级别磁盘上是否包含业务数据,如果包含业务数据,则读取业务数据;如果不包含业务数据,则根据级别转换单元建立的映射关联关系,从新RAID级别磁盘上读取业务数据;When reading business data, query whether the current RAID level disk contains business data. If it contains business data, read the business data; read business data;
写入业务数据时,根据写入的业务数据的起始地址和长度,判断新RAID级别磁盘是否包含足够的空间用于业务数据的写入,足够业务数据写入的空间时,写入业务数据,并更新记录单元的新RAID级别磁盘占用的地址信息和级别转换单元建立的地址映射关联关系;不包含足够业务数据写入的空间时,反馈业务数据写入失败。When writing business data, judge whether the new RAID level disk contains enough space for writing business data according to the start address and length of the written business data. When there is enough space for writing business data, write business data , and update the address information occupied by the new RAID level disk of the recording unit and the address mapping relationship established by the level conversion unit; when there is not enough space for writing business data, feedback business data writing failure.
以下通过具体实施例对本发明方法进行清楚详细的说明,实施例仅用于陈述本发明,并不用于限定本发明保护范围。The method of the present invention will be clearly and detailedly described through specific examples below, and the examples are only used to illustrate the present invention, and are not intended to limit the protection scope of the present invention.
实施例1Example 1
图3为本发明第一实施例的方法的流程图,如图3所示,包括:Fig. 3 is a flow chart of the method of the first embodiment of the present invention, as shown in Fig. 3, comprising:
步骤300、接收到独立冗余磁盘阵列RAID级别转换指令时,读取预先记录的系统剩余可用空间信息。Step 300, when receiving a redundant array of independent disks RAID level conversion command, read the pre-recorded information about the remaining available space of the system.
步骤301、根据当前RAID级别磁盘的占用信息和系统剩余可用空间信息判断系统剩余可用空间是否满足RAID级别转换的要求;Step 301, judging whether the remaining available space of the system meets the requirements of RAID level conversion according to the occupancy information of the current RAID level disk and the information of the remaining available space of the system;
这里,当前RAID级别磁盘的占用信息和系统剩余可用空间信息可以通过相应的列表进行记录,以一个RAID最大可支持数据盘个数为16个,最多校验盘2个为例,通过以下字段Here, the occupancy information of the current RAID level disk and the remaining free space information of the system can be recorded through the corresponding list. Taking the maximum number of data disks that a RAID can support is 16, and the maximum number of verification disks is 2 as an example, through the following fields
字段“已用空间“表示在当前RAID级别磁盘占用的空间;The field "used space" indicates the space occupied by the disk at the current RAID level;
字段“可用空间”表示在当前系统剩余可用空间,即系统剩余的可用于建立新RAID级别的磁盘空间;The field "available space" indicates the remaining available space in the current system, that is, the remaining disk space in the system that can be used to create a new RAID level;
字段“当前RAID开始”表示旧RAID级别上磁盘空间的开始地址;The field "current RAID start" indicates the start address of the disk space on the old RAID level;
字段“当前RAID结束”表示旧RAID级别上磁盘空间的结束地址;The field "current RAID end" indicates the end address of the disk space on the old RAID level;
字段“新RAID开始”表示新RAID级别上磁盘空间的开始地址;The field "new RAID start" indicates the start address of the disk space on the new RAID level;
字段“新RAID结束”表示新RAID级别上磁盘空间的结束地址;The field "new RAID end" indicates the end address of the disk space on the new RAID level;
字段“D0开始”表示磁盘D0上已使用磁盘空间的起始地址;The field "D0 start" indicates the starting address of the used disk space on disk D0;
字段“D0结束”表示磁盘D0上已使用磁盘空间的结束地址;The field "D0 end" indicates the end address of the used disk space on disk D0;
字段“D1开始”表示磁盘D1上已使用磁盘空间的起始地址;The field "D1 Start" indicates the starting address of the used disk space on disk D1;
字段“D1结束”表示磁盘D1上已使用磁盘空间的结束地址;The field "D1 end" indicates the end address of the used disk space on disk D1;
字段“D2开始”表示磁盘D2上已使用磁盘空间的起始地址;The field "D2 Start" indicates the starting address of the used disk space on disk D2;
字段“D2结束”表示磁盘D2上已使用磁盘空间的结束地址;The field "D2 end" indicates the end address of the used disk space on disk D2;
字段“D3开始”表示磁盘D3上已使用磁盘空间的起始地址;The field "D3 start" indicates the starting address of the used disk space on disk D3;
字段“D3结束”表示磁盘D3上已使用磁盘空间的结束地址;The field "D3 end" indicates the end address of the used disk space on disk D3;
字段“D4开始”表示磁盘D4上已使用磁盘空间的起始地址;The field "D4 start" indicates the starting address of the used disk space on disk D4;
字段“D4结束”表示磁盘D4上已使用磁盘空间的结束地址;The field "D4 end" indicates the end address of the used disk space on disk D4;
字段“D5开始”表示磁盘D5上已使用磁盘空间的起始地址;The field "D5 start" indicates the starting address of the used disk space on disk D5;
字段“D5结束”表示磁盘D5上已使用磁盘空间的结束地址;The field "D5 end" indicates the end address of the used disk space on disk D5;
字段“D6开始”表示磁盘D6上已使用磁盘空间的起始地址;The field "D6 start" indicates the starting address of the used disk space on disk D6;
字段“D6结束”表示磁盘D6上已使用磁盘空间的结束地址;The field "D6 end" indicates the end address of the used disk space on disk D6;
字段“D7开始”表示磁盘D7上已使用磁盘空间的起始地址;The field "D7 start" indicates the starting address of the used disk space on disk D7;
字段“D7结束”表示磁盘D7上已使用磁盘空间的结束地址;The field "D7 end" indicates the end address of the used disk space on disk D7;
字段“D8开始”表示磁盘D8上已使用磁盘空间的起始地址;The field "D8 start" indicates the starting address of the used disk space on disk D8;
字段“D8结束”表示磁盘D8上已使用磁盘空间的结束地址;The field "D8 end" indicates the end address of the used disk space on disk D8;
字段“D9开始”表示磁盘D9上已使用磁盘空间的起始地址;The field "D9 start" indicates the starting address of the used disk space on disk D9;
字段“D9结束”表示磁盘D9上已使用磁盘空间的结束地址;The field "D9 end" indicates the end address of the used disk space on disk D9;
字段“D10开始”表示磁盘D10上已使用磁盘空间的起始地址;The field "D10 start" indicates the starting address of the used disk space on the disk D10;
字段“D10结束”表示磁盘D10上已使用磁盘空间的结束地址;The field "D10 end" indicates the end address of the used disk space on disk D10;
字段“D11开始”表示磁盘D11上已使用磁盘空间的起始地址;The field "D11 start" indicates the starting address of the used disk space on the disk D11;
字段“D11结束”表示磁盘D11上已使用磁盘空间的结束地址;The field "D11 end" indicates the end address of the used disk space on disk D11;
字段“D12开始”表示磁盘D12上已使用磁盘空间的起始地址;The field "D12 Start" indicates the starting address of the used disk space on the disk D12;
字段“D12结束”表示磁盘D12上已使用磁盘空间的结束地址;The field "D12 end" indicates the end address of the used disk space on the disk D12;
字段“D13开始”表示磁盘D13上已使用磁盘空间的起始地址;The field "D13 start" indicates the starting address of the used disk space on the disk D13;
字段“D13结束”表示磁盘D13上已使用磁盘空间的结束地址;The field "D13 end" indicates the end address of the used disk space on disk D13;
字段“D14开始”表示磁盘D14上已使用磁盘空间的起始地址;The field "D14 start" indicates the starting address of the used disk space on the disk D14;
字段“D14结束”表示磁盘D14上已使用磁盘空间的结束地址;The field "D14 end" indicates the end address of the used disk space on disk D14;
字段“D15开始”表示磁盘D15上已使用磁盘空间的起始地址;The field "D15 start" indicates the starting address of the used disk space on the disk D15;
字段“D15结束”表示磁盘D15上已使用磁盘空间的结束地址;The field "D15 end" indicates the end address of the used disk space on disk D15;
字段“P开始”表示磁盘P上已使用磁盘空间的起始地址;The field "P start" indicates the starting address of the used disk space on disk P;
字段“P结束”表示磁盘P上已使用磁盘空间的结束地址;The field "P end" indicates the end address of the used disk space on disk P;
字段“Q开始”表示磁盘Q上已使用磁盘空间的起始地址;The field "Q starts" indicates the starting address of the used disk space on disk Q;
字段“Q结束”表示磁盘Q上已使用磁盘空间的结束地址。The field "Q end" indicates the end address of the used disk space on disk Q.
步骤302、满足RAID级别转换的要求时,在系统剩余可用空间建立新RAID级别磁盘,并建立当前RAID级别磁盘的占用地址和新RAID级别磁盘的地址的映射关联关系,完成RAID级别转换。不满足RAID级别转换的要求时,反馈级别转换失败。Step 302: When the requirements for RAID level conversion are met, create a new RAID level disk in the remaining available space of the system, and establish a mapping relationship between the occupied address of the current RAID level disk and the address of the new RAID level disk, and complete the RAID level conversion. If the requirements for RAID level conversion are not met, feedback level conversion fails.
映射关联关系具体包括:The mapping relationship specifically includes:
系统内各磁盘中当前RAID级别和新RAID级别的空间的起始地址的映射关联关系。以新RAID级别的包含15个数据盘,P和Q两个校验盘为例,映射关联关系包含以下信息:The mapping relationship between the current RAID level and the starting address of the space of the new RAID level in each disk in the system. Taking the new RAID level with 15 data disks and two verification disks P and Q as an example, the mapping relationship includes the following information:
字段“D0”表示的在磁盘D0上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D0" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D0;
字段“D1”表示在磁盘D1上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D1" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D1;
字段“D2”表示在磁盘D2上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D2" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D2;
字段“D3”表示在磁盘D3上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D3" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D3;
字段“D4”表示在磁盘D4上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D4" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D4;
字段“D5”表示在磁盘D5上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D5" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D5;
字段“D6”表示在磁盘D6上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D6" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D6;
字段“D7”表示在磁盘D7上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D7" represents the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D7;
字段“D8”表示在磁盘D8上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D8" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D8;
字段“D9”表示在磁盘D9上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D9" represents the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D9;
字段“D10”表示在磁盘D10上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D10" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D10;
字段“D11”表示在磁盘D11上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D11" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D11;
字段“D12”表示在磁盘D12上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D12" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D12;
字段“D13”表示在磁盘D13上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D13" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D13;
字段“D14”表示在磁盘D14上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D14" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D14;
字段“D15”表示在磁盘D15上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "D15" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk D15;
字段“P”表示在磁盘P上当前RAID级别和新RAID级别上对应的存储数据的起始地址;The field "P" indicates the starting address of the storage data corresponding to the current RAID level and the new RAID level on the disk P;
字段“Q”表示在磁盘Q上当前RAID级别和新RAID级别上对应的存储数据的起始地址。The field "Q" indicates the starting address of data stored on the disk Q corresponding to the current RAID level and the new RAID level.
步骤303、向用户反馈级别转换成功。Step 303: Feedback to the user that the level conversion is successful.
实施例2Example 2
本实施例建立新RAID级别磁盘和映射关联关系后,完成RAID级别转换,不影响系统的业务;图4为本发明第二实施例的方法的流程图,如图4所示,包括:After this embodiment establishes the new RAID level disk and the mapping association, complete the RAID level conversion without affecting the business of the system; Fig. 4 is a flow chart of the method of the second embodiment of the present invention, as shown in Fig. 4 , including:
步骤400、根据读取业务数据的指令,查询当前RAID级别磁盘上是否包含业务数据;当前RAID级别磁盘上包含如果包含业务数据时,执行步骤401、读取业务数据;否则,执行步骤402。Step 400, according to the instruction of reading business data, query whether the current RAID level disk contains business data; if the current RAID level disk contains business data, execute step 401, read the business data; otherwise, execute step 402.
步骤401、读取业务数据。Step 401, read business data.
步骤402、根据映射关联关系,从新RAID级别磁盘上读取业务数据。Step 402, read service data from the new RAID level disk according to the mapping relationship.
执行完步骤401或402读取完业务数据后,执行步骤403。After step 401 or 402 is executed and the service data is read, step 403 is executed.
步骤403、向用户反馈读取业务数据的结果。Step 403, feedback the result of reading business data to the user.
实施例3Example 3
本实施例建立新RAID级别磁盘和映射关联关系后,完成RAID级别转换,不影响系统的业务;图5为本发明第三实施例的方法的流程图,如图5所示,包括:After this embodiment establishes the new RAID level disk and the mapping association, complete the RAID level conversion without affecting the business of the system; Fig. 5 is a flow chart of the method of the third embodiment of the present invention, as shown in Fig. 5 , including:
步骤500、根据用户写操作指令,获取写入的业务数据的起始地址和长度。Step 500: Acquire the start address and length of the written service data according to the user's write operation instruction.
步骤501、读取新RAID级别磁盘占用的地址信息,获取可用于业务数据写入的空间,判断是否包含足够业务数据写入的空间时,执行步骤5020;否则执行步骤5030;Step 501, read the address information occupied by the new RAID level disk, obtain the space available for writing business data, and when judging whether there is enough space for writing business data, execute step 5020; otherwise, execute step 5030;
步骤5020、写入业务数据。本步骤具体包括:Step 5020, write business data. This step specifically includes:
根据获取的写入的业务数据的起始地址,及映射关联关系的信息,判断所写的业务数据是在新RAID级别的磁盘上,还是在当前RAID级别的磁盘上。According to the obtained start address of the written business data and the information of the mapping association relationship, it is judged whether the written business data is on the disk of the new RAID level or on the disk of the current RAID level.
如果要写的业务数据在当前RAID级别磁盘上,需要从新RAID级别的磁盘上获取写入地址;如果要要写入的数据是在新RAID级别的磁盘上,则在新RAID级别的磁盘直接写入业务数据。If the business data to be written is on the disk of the current RAID level, the write address needs to be obtained from the disk of the new RAID level; if the data to be written is on the disk of the new RAID level, write directly to the disk of the new RAID level Enter business data.
步骤5030、向用户反馈业务数据写入失败。Step 5030, feedback the failure of writing business data to the user.
步骤5021、更新新RAID级别磁盘占用的地址信息和地址映射关联关系。Step 5021 , updating the address information occupied by disks of the new RAID level and the address mapping association.
步骤5022、向用户反馈业务数据写入的操作结果。Step 5022, feedback the operation result of writing business data to the user.
实施例4Example 4
图6为本发明第4实施例当前RAID级别磁盘的组成示意图,如图6所示,当前RAID级别磁盘最少有3个数据盘D0、D1和D2,还包含一个校验盘P组成。6 is a schematic diagram of the composition of the current RAID level disk in the fourth embodiment of the present invention. As shown in FIG.
图7为本发明第4实施例新RAID级别磁盘的组成示意图,如图7所示,新RAID级别磁盘最少由2个数据盘D0和D1,以及一个校验盘P、一个校验盘Q组成。Fig. 7 is a schematic diagram of the composition of the new RAID level disk in the fourth embodiment of the present invention. As shown in Fig. 7, the new RAID level disk consists of at least two data disks D0 and D1, a parity disk P, and a parity disk Q. .
本实施例主要说明当前RAID级别磁盘上数据转移到新RAID级别磁盘的过程。图8为本发明第四实施例的方法流程图,如图8所示,包括:This embodiment mainly describes the process of transferring data on a disk of a current RAID level to a disk of a new RAID level. Fig. 8 is a flow chart of the method of the fourth embodiment of the present invention, as shown in Fig. 8, including:
步骤800、判断系统是否空闲;具体的,Step 800, judging whether the system is idle; specifically,
如果当前系统没有外部和内部的读取和写入操作,则判断系统空闲,系统空闲时,执行步骤801;否则,执行读取或写入操作。If the current system has no external or internal read and write operations, it is judged that the system is idle, and when the system is idle, perform step 801; otherwise, perform a read or write operation.
步骤801、查找映射关联关系,获得RAID5级别磁盘上D0、D1和D2数据转换为RAID6级别磁盘后D0、D1和D2转移的地址;Step 801, look up the mapping relationship, and obtain the addresses of D0, D1 and D2 transferred after the data of D0, D1 and D2 on the RAID5 level disk is converted to the RAID6 level disk;
步骤802、按照RAID6级别的数据格式转换RAID5级别磁盘上数据,将完成数据格式转换的RAID5级别磁盘上数据转移到RAID6级别磁盘的地址对应的磁盘空间上,生成RAID6磁盘上P、Q盘的校验信息。Step 802, convert the data on the RAID5 level disk according to the data format of the RAID6 level, transfer the data on the RAID5 level disk that completes the data format conversion to the disk space corresponding to the address of the RAID6 level disk, and generate the P and Q disks on the RAID6 disk. test information.
步骤803、更新RAID6级别磁盘占用的地址信息和地址映射关联关系。Step 803, updating the address information occupied by the RAID6 level disk and the address mapping association.
虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described content is only an embodiment adopted for understanding the present invention, and is not intended to limit the present invention. Anyone skilled in the field of the present invention can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed by the present invention, but the patent protection scope of the present invention must still be The scope defined by the appended claims shall prevail.
Claims (12)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510428541.9A CN106371950B (en) | 2015-07-20 | 2015-07-20 | Method and device for realizing RAID level conversion |
PCT/CN2016/081432 WO2017012391A1 (en) | 2015-07-20 | 2016-05-09 | Method and apparatus for achieving raid level conversion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510428541.9A CN106371950B (en) | 2015-07-20 | 2015-07-20 | Method and device for realizing RAID level conversion |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106371950A true CN106371950A (en) | 2017-02-01 |
CN106371950B CN106371950B (en) | 2020-11-03 |
Family
ID=57833575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510428541.9A Expired - Fee Related CN106371950B (en) | 2015-07-20 | 2015-07-20 | Method and device for realizing RAID level conversion |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106371950B (en) |
WO (1) | WO2017012391A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542687A (en) * | 2018-11-23 | 2019-03-29 | 新华三技术有限公司 | A kind of RAID level conversion method and device |
CN114079616A (en) * | 2021-11-02 | 2022-02-22 | 中国船舶重工集团公司第七0三研究所 | Database redundancy method for non-hot standby disk array server |
CN114415968A (en) * | 2022-01-26 | 2022-04-29 | 南京晓庄学院 | Storage system and data writing method thereof |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11174011B2 (en) | 2019-02-05 | 2021-11-16 | Lockheed Martin Corporation | Low drag hub for rotor |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1434125A2 (en) * | 2002-12-26 | 2004-06-30 | Fujitsu Limited | Raid apparatus and logical device expansion method thereof |
CN101556802A (en) * | 2009-05-25 | 2009-10-14 | 杭州华三通信技术有限公司 | RAID array transposing method and device thereof |
CN102023812A (en) * | 2009-09-23 | 2011-04-20 | 成都市华为赛门铁克科技有限公司 | RAID (redundant array of inexpensive disk) level transformation method and transformation device |
CN102103629A (en) * | 2010-12-14 | 2011-06-22 | 西北工业大学 | Online data migration method |
CN102156738A (en) * | 2011-04-13 | 2011-08-17 | 成都市华为赛门铁克科技有限公司 | Method for processing data blocks, and data block storage equipment and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6275898B1 (en) * | 1999-05-13 | 2001-08-14 | Lsi Logic Corporation | Methods and structure for RAID level migration within a logical unit |
CN101369217B (en) * | 2008-08-30 | 2011-12-28 | 成都市华为赛门铁克科技有限公司 | RAID level transforming method and apparatus |
CN102446072B (en) * | 2010-10-07 | 2014-11-19 | 国际商业机器公司 | System and method for DAID array transformation in a pooled storage system |
-
2015
- 2015-07-20 CN CN201510428541.9A patent/CN106371950B/en not_active Expired - Fee Related
-
2016
- 2016-05-09 WO PCT/CN2016/081432 patent/WO2017012391A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1434125A2 (en) * | 2002-12-26 | 2004-06-30 | Fujitsu Limited | Raid apparatus and logical device expansion method thereof |
CN101556802A (en) * | 2009-05-25 | 2009-10-14 | 杭州华三通信技术有限公司 | RAID array transposing method and device thereof |
CN102023812A (en) * | 2009-09-23 | 2011-04-20 | 成都市华为赛门铁克科技有限公司 | RAID (redundant array of inexpensive disk) level transformation method and transformation device |
CN102103629A (en) * | 2010-12-14 | 2011-06-22 | 西北工业大学 | Online data migration method |
CN102156738A (en) * | 2011-04-13 | 2011-08-17 | 成都市华为赛门铁克科技有限公司 | Method for processing data blocks, and data block storage equipment and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542687A (en) * | 2018-11-23 | 2019-03-29 | 新华三技术有限公司 | A kind of RAID level conversion method and device |
CN109542687B (en) * | 2018-11-23 | 2020-12-25 | 新华三技术有限公司 | RAID level conversion method and device |
CN114079616A (en) * | 2021-11-02 | 2022-02-22 | 中国船舶重工集团公司第七0三研究所 | Database redundancy method for non-hot standby disk array server |
CN114079616B (en) * | 2021-11-02 | 2023-11-03 | 中国船舶重工集团公司第七0三研究所 | Redundancy method for database of non-hot standby disk array server |
CN114415968A (en) * | 2022-01-26 | 2022-04-29 | 南京晓庄学院 | Storage system and data writing method thereof |
CN114415968B (en) * | 2022-01-26 | 2023-04-07 | 南京晓庄学院 | Storage system and data writing method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106371950B (en) | 2020-11-03 |
WO2017012391A1 (en) | 2017-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103645969B (en) | Data copy method and data-storage system | |
TWI569139B (en) | Valid data merging method, memory controller and memory storage apparatus | |
JP5141402B2 (en) | Storage system, copy control method, and copy control apparatus | |
CN103534688B (en) | Data reconstruction method, memory device and storage system | |
CN101625897B (en) | Data writing method, storage system and controller for flash memory | |
CN103150128A (en) | Implementation method of solid state drive (SSD) and disk-based reliable mixed storage system | |
CN102982182B (en) | Data storage planning method and device | |
JP2012185687A (en) | Control device, control method, and storage device | |
CN103713973B (en) | A kind of mixing storage backup method and system based on HDD and SSD | |
CN106371950B (en) | Method and device for realizing RAID level conversion | |
CN102073600B (en) | Data backup method, flash memory controller and flash memory storage system | |
CN113360082B (en) | Storage system and control method thereof | |
JP2012198639A (en) | Control apparatus, control method, and storage apparatus | |
CN106406750A (en) | Data operation method and system | |
CN103019880A (en) | Data verification method, storage device and storage system | |
CN116501264B (en) | A data storage method, device, system, equipment and readable storage medium | |
CN101364163B (en) | Logical volume creating system and method | |
US20090083503A1 (en) | System of creating logical volume and method thereof | |
CN102609223B (en) | Redundant array of independent disk system and initializing method thereof | |
CN102609224B (en) | Redundant array of independent disk system and initializing method thereof | |
CN102750111B (en) | A kind of method of RAID bitmap storage | |
JP2012032962A (en) | Buffer management device, storage device having the same, and buffer management method | |
TW201001421A (en) | Memory device and data storing method | |
CN102375696A (en) | Data storage system and data access method using virtual disk | |
CN101739308B (en) | Image file generation method and its storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201103 |