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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com