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

A method for judging raid type

A type of hard disk technology, applied in the direction of responding to errors, redundant codes for error detection, etc., can solve problems such as wasting time, achieve broad market prospects, avoid losses, and reduce the effect of engineer pressure

Active Publication Date: 2016-02-24
XIAMEN MEIYA PICO INFORMATION
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Trying various types in turn will waste a lot of time and is not feasible

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Extract any hard disk in the RAID system, and search for 1000 non-zero sectors in the entire disk capacity area. Record addresses and read these sectors to memory;

[0047] Read 1000 non-zero sectors into memory at the same address on other disks. The memory area is represented by A, B, C, D.... For example, there are 4 hard disks in the array, we read them into A, B, C, D... respectively;

[0048] Exclusive OR operation is performed on the data, if A is satisfied, B is exclusive or C is equal to D, it can be determined that the array is RAID5, and the process is terminated.

[0049] Judgment method of RAID0:

[0050] step 1,

[0051] Find the master file table (MFT) in the hard disk, record the address of the file record array in the master file table (MFT), and read the data of the address of the file record array on each hard disk to the memory.

[0052] Find the master file table (MFT) in the hard disk as follows: extract any hard disk in the RAID system, search ...

Embodiment 2

[0058] Search for four bytes of 0x460x490x4C0x45, which is the MFT record mark. After the search is successful, continue to search. If the first 4 bytes in each KB are 0x460x490x4C0x45 in a continuous 32KB area, the search stops and the current address is recorded in variable A. Otherwise continue searching.

[0059] Read 1KB of data into the memory at the variable address of each disk.

[0060] Obtain an unsigned integer variable at the 0x2C offset in the read data, which we record as a, b, c, d....

[0061] Sort these integer variables in ascending order.

[0062] It is judged whether the difference between these unsigned integer types is equal, and whether the difference satisfies the power of 2, and if so, it can be determined that the RAID is RAID0. Still taking 4 disks as an example, the unit is KB, a is 32, b is 64, c is 96, and d is 128. The difference between them is 32, and 32 is 2 to the 5th power. It is a RAID0 system, and this step also obtains that the size of...

Embodiment 3

[0067] Extract any hard disk in the RAID system, and search for 1000 non-zero sectors in the entire disk capacity area. Record addresses and read these sectors to memory;

[0068] Read 1000 non-zero sectors into memory at the same address on other disks. The memory area is represented by A, B, C, D.... For example, there are 4 hard disks in the array, we read them into A, B, C, D... respectively;

[0069] And repeat the XOR operation step under the condition of excluding one disk.

[0070] For example, A, B, C, D, E, and F6 memory areas, we first exclude A, that is, check whether B, C, D, E, and F satisfy the XOR operation relationship, if it is to go to step 10, if not to exclude B See if A, C, D, E, and F satisfy the XOR relationship, and so on.

[0071] It is judged whether the excluded data satisfies the Reed-Solomon coding operation of other data, and if so, it is determined that the array is RAID6.

[0072] Judgment method of RAID1

[0073] Randomly read more than ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for judging a type of a redundant array of independent disks (RAID). The method comprises the following steps of: 1) reading data of same addresses in all hard disks in an RAID system; and 2) determining the type of the RAID according to relations between the data of the same addresses of the hard disks in various RAID types. The method has the beneficial effects that the blank of a technology for judging the type of the RAID in the field is filled, and the shortcomings of some types of RAID parameter analysis software are greatly overcome. By the technical scheme, the intelligence of an RAID recombination technology can be greatly improved, the time is shortened, the cost is reduced, and pressure of engineer is reduced; and more importantly, relatively high loss caused by wrong information supplied by a client can be avoided. Above all, the method is an important complementation for the blank technology in the field; and furthermore, multiple aspects of superiorities are realized, and the method has a broad market prospect.

Description

technical field [0001] The invention relates to the field of computer storage, and more specifically, relates to a method for judging a RAID type. Background technique [0002] RAID reorganization is a kind of high-end data recovery technology, involving a wide range of areas and high technical content. However, because it consumes a lot of human resources, the process is cumbersome, the cost is extremely high, and the fees are also considerable. [0003] In RAID reorganization, analysis is the most important link. Note that the RAID we refer to is for commonly used arrays such as RAID0, RAID1, RAID5, RAID6, and JBOD. [0004] From the principle of RAID, its essence is to use multiple disks to cooperate in parallel to achieve the purpose of expanding capacity and increasing throughput. Therefore, RAID must have a rather complicated data allocation mechanism, which must ensure that the data is written in accordance with the conditions stipulated in the protocol. Specify the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/10
Inventor 高志鹏阙永明范鑫
Owner XIAMEN MEIYA PICO INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products