TWI325117B - Data rebuliding method of redundant indexpensive disks - Google Patents
Data rebuliding method of redundant indexpensive disks Download PDFInfo
- Publication number
- TWI325117B TWI325117B TW95100517A TW95100517A TWI325117B TW I325117 B TWI325117 B TW I325117B TW 95100517 A TW95100517 A TW 95100517A TW 95100517 A TW95100517 A TW 95100517A TW I325117 B TWI325117 B TW I325117B
- Authority
- TW
- Taiwan
- Prior art keywords
- disk
- magnetic
- data
- magnetic region
- day
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 42
- 239000000463 material Substances 0.000 claims description 20
- 238000003491 array Methods 0.000 claims description 6
- 239000002131 composite material Substances 0.000 claims 5
- 239000000126 substance Substances 0.000 claims 2
- 239000003708 ampul Substances 0.000 claims 1
- 235000013405 beer Nutrition 0.000 claims 1
- 230000007717 exclusion Effects 0.000 claims 1
- 239000011257 shell material Substances 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 4
- 235000016068 Berberis vulgaris Nutrition 0.000 description 1
- 241000335053 Beta vulgaris Species 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 235000021438 curry Nutrition 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
1325117 λ1325117 λ
三達編號:TW2702PA ' 列、第四級磁碟陣列或第五級磁碟陣列分別與第零級磁碟 " 陣列(RAID 0)組合之磁碟陣列,例如是RAID 10'RAID 30、 ' RAID 40、RAID 50。第一級磁碟陣列又稱為鏡射式 (Mirroring)磁碟陣列。第三級磁碟陣列、第四級磁碟 陣列、第五級磁碟陣列及第六級磁碟陣列又稱為同位檢查 式(Parity)磁碟陣列。其中,同位檢查式(Parity)磁 碟陣列係以一互斥-或(X0R)運算關係或一多項式運算關 係進行運作。 第一級磁碟陣列包括二使用磁碟及一備 φ 援磁碟。當資料寫入第一級磁碟陣列時,相同之資料將分 別寫入二使用磁碟中。一旦其中之一使用磁碟無法讀取或 損毁時,可藉由另一使用磁碟重建資料,並將重建之資料 寫入備援磁碟,以取代無法讀取或損毀之使用磁碟。 第四級磁碟陣列包括至少三個使用磁碟作為資料儲 存使用,運作時可加入一或多個備援磁碟。當資料寫入第 四級磁碟陣列時,資料區塊分別寫入其中之二使用磁碟。 同時並依據二使用磁碟之對應之兩組資料區塊以互斥-或 • ( X0R)運算產生一同位元(Parity)資料,並儲存同位 元資料於另一使用磁碟。第四級磁碟陣列係將同位元資料 存放在於同一磁碟中。一旦其中之一使用磁碟無法讀取或 損毁時,摒除無法讀取或損毀之磁碟於磁碟陣列系統之運 作外,藉由剩餘之二使用磁碟以互斥-或運算重建資料。 並且將重建之資料寫入備援磁碟,以取代無法讀取或損毀 之使用磁碟。 第五級磁碟陣列亦稱為輪轉同位檢查式(Rotating 7Sanda number: TW2702PA 'Disk, 4th disk array or 5th disk array combined with the zeroth disk " array (RAID 0) disk array, for example RAID 10'RAID 30, ' RAID 40, RAID 50. The first level disk array is also known as a mirroring disk array. The third level disk array, the fourth level disk array, the fifth level disk array, and the sixth level disk array are also referred to as Parity disk arrays. Among them, the Parity disk array operates in a mutually exclusive-or (X0R) operation relationship or a polynomial operation relationship. The first-level disk array includes two magnetic disks and one spare φ magnetic disk. When data is written to the first-level disk array, the same data will be written to the two used disks. Once one of the disks is unreadable or corrupted, the data can be reconstructed by another disk and the reconstructed data can be written to the spare disk to replace the unreadable or corrupted disk. The fourth-level disk array includes at least three disks for use as data storage, and one or more spare disks can be added to the operation. When data is written to the fourth-level disk array, the data blocks are written to each of the two used disks. At the same time, according to the two sets of data blocks corresponding to the disk, a parity data is generated by a mutually exclusive-or-(X0R) operation, and the same-bit data is stored on another used disk. The fourth-level disk array stores the parity data on the same disk. Once one of the disks is unreadable or corrupted, the disk that cannot be read or destroyed is removed from the disk array system, and the remaining two are used to reconstruct the data in a mutually exclusive-OR operation. And the reconstructed data is written to the spare disk to replace the unusable or corrupted use disk. The fifth-level disk array is also known as the rotary parity check (Rotating 7)
二達編號:TW2702PA parity)磁碟陣列。同位元 碟令。 貝科係輪h,L存放於各個使用磁 々為了說明傳統之磁碟陣列之資斜舌造士 第—級磁碟陣列為仓,丨,# 、;建方法,在此以一 例並附加圖示說明如下。 重建方法的示意圖。如第心會不傳統之磁碟陣列之資料 一使用磁碟組㈣及—備所示’磁碟陣列_包括 括~ Α磁碟9()1及一 :使用磁碟組910包Erda number: TW2702PA parity) Disk array. Isomorphic disc order. The Becco wheel h, L is stored in each of the magnetic cymbals in order to illustrate the traditional disk array of the slanting tongue-making class-level disk array for the warehouse, 丨, #,; construction method, here with an example and additional map The instructions are as follows. Schematic diagram of the reconstruction method. For example, the information on the disk array that is not traditional is used. The disk group (4) and the device are shown as 'disk arrays' including: ~ disk 9 () 1 and one: using the disk group 910 package
礤碟903。A磁碟9〇1罝,、2。備极磁碟920係為一 Z 902 ## 磁區及Z1磁區係相互靡、1〜26磁區。A1磁區、B1 磁區及Μ㈣,,χ此嶋 Υ4 =卿應儲存於A! 於A2〜A6磁區及β2〜β6磁區'。4 b〜貝料ί分別對應儲存 如第1Β圖所示,一曰 或損毀時,造成Α3磁次=碟901之A3磁區無法讀取 係將901 失。傳、狀重建方法 接著,如第統運作之外。 Z1。並複製犯磁 、磁區之資料a於磁區 如t 之貝枓b於磁區Z2。 第ID圖所示’複 ^ 藉此獲得遺失之資料c。、 磁區之賁料c於磁區Z3, 然後’如第1E圖% _ -旦在重建過程中,^ τ ’依序複製其他之資料。然而 狂甲’ β磁 一 毀,例如是Β5磁區。 磁區也無法讀取或損 碟陣列900無法複製Β5磁區之資Scratch disc 903. A disk 9〇1罝,, 2. The spare magnetic disk 920 is a Z 902 ## magnetic zone and a Z1 magnetic zone are mutually 靡, 1 to 26 magnetic zones. A1 magnetic zone, B1 magnetic zone and Μ (4), χ 嶋 = 4 = Qing should be stored in A! in the A2 ~ A6 magnetic zone and β2 ~ β6 magnetic zone '. 4 b~Beet material ί Corresponding storage As shown in the first figure, when 曰 or damage, Α3 magnetic times = A3 magnetic area of the disc 901 cannot be read. The method of reconstruction and reconstruction is followed by the operation of the system. Z1. And copying the data of the magnetic and magnetic regions a in the magnetic region, such as the b of the b, in the magnetic zone Z2. The ID shown in the figure ID is used to obtain the missing information c. The magnetic region c is in the magnetic zone Z3, and then as in the 1Eth image, the other data is sequentially copied in the reconstruction process. However, the mad armor 'β magnetic is destroyed, for example, the Β5 magnetic zone. The magnetic area cannot be read or damaged. The disk array 900 cannot copy the 磁5 magnetic area.
三達編號:TW2702PA 羑5G圖所示’直接複製A6磁區的資料 得A6磁區的資料或者以B6磁區的資料⑽、,:R以獲 磁區的資料p及D6磁區之資料 rity6 ' C6 r·,並儲存資料^•於26磁[^ 斥~或運算獲得資料 並-上者磁:第:設定Z磁碟3〇5為使用磁碟31。, 並汉疋磁碟301為備援磁碟32〇,同時 320。至此完成A磁碟3〇1之資料重建步驟請備棱磁碟 至於B5磁區之資料重建方式係可以 本發明之-資料重建方法進行㈣重建。"人或依照 根據以上三個實施例,軸本發明之磁碟陣列之 重建方法係以應用於第一級磁碟陣、、 貝厂 第五級磁碟陣列為例作說明’然本發明之資: Γ=ΓΓ之容錯式磁碟陣列。例如是單獨存在: 第-級磁碟陣列、第三級磁碟陣列 g之 五級磁碟陣列或第六級磁碟陣列(如瞻bRA=二 4、關5、RAID6),或者是分別與第零級磁碟陣列(咖 〇)組合之磁碟陣列(如_ W、_ 30、RAID 40、raid 二:ΑΠ)⑻。且各種容錯式磁碟陣列之運作方法 射(Ml〇*〇r)、互斥-或(x〇R)運算關係或多項式運算關 糸、不用以限^本發明之技術範圍。只要是以持續運作 部=無法讀取或損毁之磁碟之方式,以達到提高磁碟陣列 的負料安全度之目的,皆不脫離本發明之技術範圍。 本《明上述實施例所揭露之磁碟陣列之資料重建方 法,其利用持續運作某部份無法讀取或損毁之磁碟的方式 1325117Sanda number: TW2702PA 羑5G picture shows 'direct copy of A6 magnetic area data to A6 magnetic area data or B6 magnetic area data (10),,: R to obtain magnetic area data p and D6 magnetic area data rity6 'C6 r·, and store the data ^• in 26 magnets [^ repulsion ~ or operation to obtain data and - the magnetic: the first: set the Z disk 3 〇 5 to use the disk 31. , and Han Hao disk 301 is a spare disk 32 〇, while 320. At this point, the data reconstruction step of the A disk 3〇1 is completed. Please prepare the magnetic disk. The data reconstruction method of the B5 magnetic area can be performed by the data reconstruction method of the present invention (4). "People or according to the above three embodiments, the reconstruction method of the disk array of the present invention is applied to the first-order disk array, and the fifth-order disk array of the Becky factory as an example. Capital: Γ=ΓΓ's fault-tolerant disk array. For example, it exists separately: a first-level disk array, a fifth-level disk array of a third-level disk array g, or a sixth-level disk array (such as BRA=2, 5, RAID6), or The zero-order disk array (Curry) combination of disk arrays (such as _ W, _ 30, RAID 40, raid two: ΑΠ) (8). Moreover, the operation methods of various fault-tolerant disk arrays are (Ml〇*〇r), mutually exclusive- or (x〇R) operation relations or polynomial operations, and are not limited to the technical scope of the present invention. As long as it is in the form of a continuous operation unit=a disk that cannot be read or destroyed, it is possible to achieve the purpose of improving the safety of the negative of the disk array without departing from the technical scope of the present invention. The data reconstruction method of the disk array disclosed in the above embodiment utilizes a method of continuously operating a certain portion of the disk that cannot be read or destroyed. 1325117
三達編號:TW2702PA ’ 來進行資料重建。可進一步提高磁碟陣列之資料安全度, 以防止遺失重要資料。 ‘ 綜上所述,雖然本發明已以較佳實施例揭露如上,然 其並非用以限定本發明。本發明所屬技術領域中任何具有 通常知識者,在不脫離本發明之精神和範圍内,當可作各 種之更動與潤飾。因此,本發明之保護範圍當視後附之申 請專利範圍所界定者為準。Sanda number: TW2702PA ’ for data reconstruction. The data security of the disk array can be further improved to prevent loss of important data. The invention has been described above by way of a preferred embodiment, and is not intended to limit the invention. Any changes and modifications may be made without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention is defined by the scope of the appended claims.
18 132511718 1325117
三蓮編號:TW2702PA ' 【圖式簡單說明】 第1A〜1E圖繪示傳統之磁碟陣列之資料重建方法示 . 意圖。 第2圖繪示乃依照本發明之磁碟陣列之資料重建方 法流程圖。 第3A〜3H圖繪示乃依照實施例一之第一級磁碟陣列 之資料重建方法的步驟示意圖。 第4A〜4H圖繪示乃依照實施例二之第四級磁碟陣列 之資料重建方法的步驟示意圖。 第5A〜5H圖繪示乃依照實施例三之第五級磁碟陣列 之資料重建方法的步驟示意圖。 【主要元件符號說明】 100、200、300、900 :磁碟陣列 110、210、310、910 :使用磁碟組 120、220、320、920 :備援磁碟Sanlian No.: TW2702PA ' [Simple description of the drawings] Figures 1A to 1E show the data reconstruction method of the conventional disk array. Figure 2 is a flow chart showing the data reconstruction method of the disk array in accordance with the present invention. 3A to 3H are diagrams showing the steps of the data reconstruction method of the first-stage disk array according to the first embodiment. 4A to 4H are diagrams showing the steps of the data reconstruction method of the fourth-order disk array according to the second embodiment. 5A to 5H are schematic diagrams showing the steps of the data reconstruction method of the fifth-order disk array according to the third embodiment. [Main component symbol description] 100, 200, 300, 900: Disk array 110, 210, 310, 910: Using disk group 120, 220, 320, 920: spare disk
901 : A 磁碟 902 B 磁碟 903 C 磁碟 101 A 磁碟 102 B 磁碟 103 Z 磁碟 201 A 磁碟 202 B 磁碟 203 : C磁碟 19 1325117901 : A disk 902 B disk 903 C disk 101 A disk 102 B disk 103 Z disk 201 A disk 202 B disk 203 : C disk 19 1325117
三達編號:TW2702PA 204 : Z磁碟 301 : A磁碟 302 : B磁碟 303 : C磁碟 304 : D磁碟 305 : Z磁碟 a、b、c、d、e、f、g、h、i、j、k、l、m、n、o、p、 q、r :資料Sanda number: TW2702PA 204: Z disk 301: A disk 302: B disk 303: C disk 304: D disk 305: Z disk a, b, c, d, e, f, g, h , i, j, k, l, m, n, o, p, q, r : data
Parityl 、 Parity2 、 Parity3 、 Parity4 、 Parity5 、 Parity6 :同位元資料Parityl, Parity2, Parity3, Parity4, Parity5, Parity6: Parity data
2020
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW95100517A TWI325117B (en) | 2006-01-05 | 2006-01-05 | Data rebuliding method of redundant indexpensive disks |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW95100517A TWI325117B (en) | 2006-01-05 | 2006-01-05 | Data rebuliding method of redundant indexpensive disks |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW200727143A TW200727143A (en) | 2007-07-16 |
| TWI325117B true TWI325117B (en) | 2010-05-21 |
Family
ID=45074236
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW95100517A TWI325117B (en) | 2006-01-05 | 2006-01-05 | Data rebuliding method of redundant indexpensive disks |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI325117B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI377383B (en) | 2008-05-05 | 2012-11-21 | Au Optronics Corp | Pixel, display and the driving method thereof |
-
2006
- 2006-01-05 TW TW95100517A patent/TWI325117B/en active
Also Published As
| Publication number | Publication date |
|---|---|
| TW200727143A (en) | 2007-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7743276B2 (en) | Sufficient free space for redundancy recovery within a distributed data-storage system | |
| CN101834898B (en) | Method for storing network distributed codes | |
| CN104704528B (en) | Metadata tree is verified using metadata integrity validator | |
| US7069382B2 (en) | Method of RAID 5 write hole prevention | |
| CN100530116C (en) | Method and system for storing data in an array of storage devices with additional and autonomic protection | |
| US20020091897A1 (en) | Method and apparatus for supporting parity protected raid in a clustered environment | |
| US20090210742A1 (en) | Methods, systems and media for data recovery using global parity for multiple independent RAID levels | |
| WO2005066761A3 (en) | Method, system, and program for managing parity raid data reconstruction | |
| CN104714756B (en) | For the method and system locally locked in bi-directional synchronization Mirroring Environment | |
| JPWO2006123416A1 (en) | Disk failure recovery method and disk array device | |
| US7934120B2 (en) | Storing data redundantly | |
| US6871317B1 (en) | Technique for efficiently organizing and distributing parity blocks among storage devices of a storage array | |
| TW200807258A (en) | Data recovery method and system when redundant array of independent disks (RAID) is damaged | |
| US8402213B2 (en) | Data redundancy using two distributed mirror sets | |
| CN107368382A (en) | Method and apparatus for data repair in a redundant storage system | |
| TWI287190B (en) | Stable storage method | |
| CN104516679B (en) | A kind of RAID data processing method and processing device | |
| TWI295021B (en) | Storage system and method for handling bad storage device data therefor | |
| US20070208760A1 (en) | Data-state-describing data structures | |
| TWI325117B (en) | Data rebuliding method of redundant indexpensive disks | |
| TWI317475B (en) | Method and data storage system for increasing an error tolerance of an array of m storage units | |
| JP2005250866A (en) | Secret information storage system | |
| US7356757B2 (en) | Fault tolerance system and method for one or two failed disks in a disk array | |
| CN106227617A (en) | Self-repair method and storage system based on correcting and eleting codes algorithm | |
| TWI283349B (en) | Data protection method |