[go: up one dir, main page]

TWI325117B - Data rebuliding method of redundant indexpensive disks - Google Patents

Data rebuliding method of redundant indexpensive disks Download PDF

Info

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
Application number
TW95100517A
Other languages
Chinese (zh)
Other versions
TW200727143A (en
Inventor
Chien Hung Yang
Original Assignee
Qsan Technology Inc
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 Qsan Technology Inc filed Critical Qsan Technology Inc
Priority to TW95100517A priority Critical patent/TWI325117B/en
Publication of TW200727143A publication Critical patent/TW200727143A/en
Application granted granted Critical
Publication of TWI325117B publication Critical patent/TWI325117B/en

Links

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)

11. 27-~~~ - • 年月日f(更)正楼換頁 十、申請專利範-一―^ I —種磁碟陣列(Redundant Arrays of Inexpensive DlSkS)之貧料重建(Data Rebuild)方法,用以針對一 磁碟陣列進行資料重建,該磁碟陣列包括複數個使用磁碟 及一備援磁碟’該些使用磁碟至少包括一 Λ磁碟及一 8磁 碟,該備援磁碟係為一 ζ磁碟,當該Α磁碟之一磁區無法 讀取或損毀,且Α磁碟之其餘磁區並未完全無法讀取或損 毁時’該重建之方法包括: 、 根據該A磁碟之資料或該B磁碟之資料獲得該A磁碟 之貧料,並重建該A磁碟之資料於該ζ磁碟中,其中該A 磁碟、該B磁碟及該ζ磁碟皆維持運作狀態。 2.如申請專利範圍第1項所述之磁碟陣列之資料重 建方法,該A磁碟至少具有一 A1磁區及一 A2磁區,該β 磁碟至少具有一 Β1磁區及一 Β2磁區,該Ζ磁碟至少具有 —Z1磁區及一 Ζ2磁區,該Α1磁區、該Β1磁區及該zi 磁區係相互對應,該A2磁區、該B2磁區及該Z2磁區係 相互對應,其中當該A磁碟之該A1磁區無法讀取或損毁 時’該重建該A磁碟之資料的步驟更包括: 根據該B1磁區之資料獲得該a;[磁區之資料,並儲存 該A1磁區之資料於該Z1磁區中;以及 根據§亥A2磁區之資料或該B2磁區之資料獲得該A2 磁區之資料’並儲存該A2磁區之資料於該Z2磁區中,其 中其中該A磁碟、β磁碟及ζ磁碟皆維持運作狀態。 3.如申請專利範圍第2項所述之磁碟陣列之資料重 ^"5一 - 月日修(更)正替換頁 1325117 三達編號:TW2702PA 建方法,若該Β2磁區無法讀取或損毀時,該獲得該Α2磁 區之貧料的步驟更包括: ' 複製該Α2磁區之資料,其中該Α磁碟、該Β磁碟及 該Z磁碟皆維持運作狀態。 4. 如申請專利範圍第2項所述之磁碟陣列之資料重 建方法,該磁碟陣列係為鏡射式(Mirroring)磁碟陣列 該A1磁區之資料係與該B1磁區之資料相同,該A2磁區 之資料係與該B2磁區之資料相同,該其中該獲得該A1磁 區之貨料的步驟更包括. 複製該B1磁區之資料。 5. 如申請專利範圍第4項所述之磁碟陣列之資料重 建方法,若該B2磁區無法讀取或損毀時,該獲得該A2磁 區之貢料的步驟更包括· 複製該A2磁區之資料,其中該A磁碟、該B磁碟及 該Z磁碟皆維持運作狀態。 6. 如申請專利範圍第5項所述之磁碟陣列之資料重 W 建方法,其中該磁碟陣列係為一第一級磁碟陣列(RAID 1) 或複合第一級及第零級之磁碟陣列(RAID 10)。 7. 如申請專利範圍第2項所述之磁碟陣列之資料重 建方法,該磁碟陣列係為同位檢查式(Parity)磁碟陣列 該些使用磁碟更包括一 C磁碟,該C磁碟至少具有一 C1 磁區及*"" C2磁區,該A1磁區之貢料、該B1磁區之貢料 及該C1磁區之資料係具有一同位檢查運算關係,該A2磁 區之資料、該B2磁區之資料及該C2磁區之資料係具有該 22 2T~ 日修(更)正ί11. 27-~~~ - • Year, month, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day, day For data reconstruction of a disk array, the disk array includes a plurality of disk and a spare disk. The disk includes at least one disk and one disk. The spare magnetic The disc is a magnetic disc. When one of the magnetic discs cannot be read or destroyed, and the remaining magnetic areas of the disc are not completely unreadable or damaged, the method of rebuilding includes: The data of the A disk or the data of the B disk obtains the poor material of the A disk and reconstructs the data of the A disk in the disk, wherein the A disk, the B disk and the magnetic field The discs are all in operation. 2. The data reconstruction method of the disk array according to claim 1, wherein the A disk has at least one A1 magnetic region and one A2 magnetic region, the β disk having at least one magnetic region and one magnetic field a magnetic disk having at least a -Z1 magnetic region and a 磁2 magnetic region, wherein the Α1 magnetic region, the Β1 magnetic region, and the zi magnetic region correspond to each other, the A2 magnetic region, the B2 magnetic region, and the Z2 magnetic region Corresponding to each other, wherein when the A1 magnetic region of the A disk is unreadable or damaged, the step of reconstructing the data of the A disk further comprises: obtaining the a according to the data of the B1 magnetic region; And storing the data of the A1 magnetic region in the Z1 magnetic region; and obtaining the data of the A2 magnetic region according to the data of the magnetic field of the A2 or the magnetic region of the B2 magnetic region and storing the data of the A2 magnetic region In the Z2 magnetic zone, wherein the A disk, the beta disk and the ζ disk are all in operation. 3. For the data of the disk array as described in item 2 of the patent application scope, the data is repeated. Page 125117 The third line number is TW2702PA. If the Β2 magnetic area cannot be read, Or, in the event of damage, the step of obtaining the poor material of the Α2 magnetic region further comprises: 'copying the data of the Α2 magnetic region, wherein the Α disk, the Β disk and the Z disk are all maintained in operation. 4. The data reconstruction method of the disk array according to claim 2, wherein the disk array is a mirrored disk array, and the data of the A1 magnetic region is the same as the data of the B1 magnetic region. The data of the A2 magnetic zone is the same as the data of the B2 magnetic zone, and the step of obtaining the material of the A1 magnetic zone further includes: copying the data of the B1 magnetic zone. 5. The data reconstruction method of the disk array according to claim 4, wherein if the B2 magnetic region cannot be read or damaged, the step of obtaining the tribute of the A2 magnetic region further comprises: copying the A2 magnetic Information about the area in which the A disk, the B disk and the Z disk are all in operation. 6. The method according to claim 5, wherein the disk array is a first level disk array (RAID 1) or a composite first level and a zeroth level. Disk array (RAID 10). 7. The data reconstruction method of the disk array according to claim 2, wherein the disk array is a Parity disk array, and the disk further comprises a C disk, the C magnetic The disc has at least one C1 magnetic region and a *"" C2 magnetic region, the tribute of the A1 magnetic region, the tribute of the B1 magnetic region, and the data of the C1 magnetic region have a parity check operation relationship, and the A2 magnetic region The data, the data of the B2 magnetic zone and the data of the C2 magnetic zone have the 22 2T~day repair (more) 1325117 • I 三達編號:TW2702PA 同位檢查運算關係,其中該獲得該Α1磁區之資料的步驟 更包括: 根據該B1磁區之資料及該C1磁區之貨料以該同位檢 查運算關係獲得該A1磁區之資料,其中該A磁碟、該B 磁碟、該C磁碟及該Z磁碟皆維持運作狀態。 8. 如申請專利範圍第7項所述之磁碟陣列之資料重 建方法,若該B2磁區無法讀取或損毁時,該獲得該A2磁 區之貢料的步驟更包括· Φ 複製該A2磁區之資料,其中該A磁碟、該B磁碟、 該C磁碟及該Z磁碟皆維持運作狀態。 9. 如申請專利範圍第7項所述之磁碟陣列之資料重 建方法,其中該同位檢查運算關係係為一互斥-或(XOR) 運算關係。 10. 如申請專利範圍第7項所述之磁碟陣列之資料重 建方法,其中該磁碟陣列係為第三級磁碟陣列(RAID 3)、 第四級磁碟陣列(RAID 4)、第五級磁碟陣列(RAID 5)、 β 複合第三級及第零級之磁碟陣列(RAID 30)、複合第四級 及第零級之磁碟陣列(RAID 40)或複合第五級及第零級 之磁碟陣列(RAID 50)。 11. 如申請專利範圍第7項所述之磁碟陣列之資料重 建方法,其中該同位檢查運算關係係為一多項式運算關 係0 12.如申請專利範圍第7項所述之磁碟陣列之資料重 建方法,其中該磁碟陣列係為一第六級磁碟陣列(RAID 6) 23 編號:TW2702PA 9 v.r 或複合第六級及第零級之磁碟陣列(RAID 60)。 13.如申請專利範圍第1項所述之磁碟陣列之 建方法,更包括: 若該些使用磁碟之一磁碟的資料更新時,同步更新其 餘該些使用磁碟之資料,其中該A磁碟、該B磁碟及該'之 場碟皆維持運作狀態。 ^1325117 • I Sanda number: TW2702PA parity check operation relationship, wherein the step of obtaining the data of the Α1 magnetic region further comprises: obtaining the data according to the information of the B1 magnetic region and the material of the C1 magnetic region by the parity check operation relationship The data of the A1 magnetic area, wherein the A magnetic disk, the B magnetic disk, the C magnetic disk and the Z magnetic disk are all maintained in operation. 8. The data reconstruction method of the disk array according to claim 7, wherein if the B2 magnetic region cannot be read or damaged, the step of obtaining the tribute of the A2 magnetic region further includes: Φ copying the A2 The data of the magnetic zone, wherein the A disk, the B disk, the C disk and the Z disk are all in operation. 9. The data reconstruction method of the disk array according to claim 7, wherein the parity check operation relationship is a mutually exclusive-or (XOR) operation relationship. 10. The data reconstruction method of the disk array according to claim 7, wherein the disk array is a third level disk array (RAID 3), a fourth level disk array (RAID 4), Five-level disk array (RAID 5), beta composite third and zero-order disk array (RAID 30), composite fourth and zero-order disk array (RAID 40) or composite fifth level and The zeroth level disk array (RAID 50). 11. The data reconstruction method of the disk array according to claim 7, wherein the parity check operation relationship is a polynomial operation relationship. 12. 12. The data of the disk array according to claim 7 The reconstruction method, wherein the disk array is a sixth-level disk array (RAID 6) 23 number: TW2702PA 9 vr or a composite sixth- and zero-order disk array (RAID 60). 13. The method for constructing a disk array according to claim 1, further comprising: if the data of one of the disks is updated, synchronously updating the remaining data of the disk, wherein the The A disk, the B disk and the 'disc are all in operation. ^ 資料重 14·如申請專利範圍第1項所述之磁碟陣列之資料重 建方法,其中該備援磁碟係包括以熱插拔 (Hot-Swappable)之方式加入該磁碟陣列中。 15.如申請專利範圍第1項所述之磁碟陣列之資料重 建方法,其中該備援磁碟包括以内建之方式加入於該礙 陣列中。 ' 16. —種磁碟陣列(Redundant Arrays of Inexpensive Disks)之資料重建(Data Rebuild)方法, 用以針對一第五級磁碟陣列(RAID 5)磁碟陣列進行資料 重建,該磁碟陣列包括複數個使用磁碟及一備援磁碟,Y 些使用磁碟至少包括一 A磁碟、一 B磁碟及一 c磁碟,, 備援磁碟係為一 Z磁碟,當該a磁碟之一磁區無法讀'取二 損毁,且A磁碟之其餘磁區並未完全無法讀取或損二或 該重建之方法包括:、 、又^ ’ 根據該A磁碟之資料或該b磁碟及該(^磁碟之次 得該A磁碟之資料,並重建該八磁碟之資料於該z、貝料獲 運 )磁碟、該B磁碟,磁碟及該z :碟二中’ 24 98^5. V3 d (更)正 1325117 " · 三達編號:TW2702PA 17. 如申請專利範圍第16項所述之磁碟陣列之資料 重建方法,該A磁碟至少具有一 A1磁區及一 A2磁區,該 B磁碟至少具有一 B1磁區及一 B2磁區,該C磁碟至少具 有一 C1磁區及一 C2磁區,該Z磁碟至少具有一 Z1磁區 及一 Z2磁區’該A1磁區之育料、該B1磁區之貧料及該 C1磁區之資料係具有一互斥-或運算(XOR)關係,該A2 磁區之貧料、該B 2磁區之資料及該C 2磁區之貧料係具有 該互斥-或運算(XOR)運算關係,其中當該A磁碟之該A1 磁區無法讀取或損毁時,該重建該A磁碟之資料的步驟更 包括: 根據該B1磁區之貧料及該C1磁區之貢料以互斥-或 運算獲得該A1磁區之資料,並儲存該A1磁區之資料於該 Z1磁區中;以及 根據該A2磁區之資料以複製之方式獲得該A2磁區之 貧料’或者根據該B 2磁區及該C 2磁區之貧料以該互斥_ 或運算關係獲得該A2磁區之資料,並儲存該A2磁區之資 ^ 料於該Z2磁區中,其中該A磁碟、該B磁碟、該C磁碟 及該Z磁碟皆維持運作狀態。 18. 如申請專利範圍第17項所述之磁碟陣列之資料 重建方法,若該B2磁區無法讀取或損毁時,該獲得該A2 磁區之資料的步驟更包括: 複製該A2磁區之資料以獲得該A2磁區之資料,其中 該A磁碟、該B磁碟、該C磁碟及該Z磁碟皆維持運作狀 態。 25 1325117 三達編號:TW2702PAThe data reconstruction method of the disk array according to claim 1, wherein the backup disk system is included in the disk array in a hot-swappable manner. 15. The data reconstruction method of the disk array of claim 1, wherein the spare disk comprises being built into the array in a built-in manner. '16. Data Rebuild method of Redundant Arrays of Inexpensive Disks for data reconstruction for a fifth-level disk array (RAID 5) disk array, the disk array includes A plurality of disks and a spare disk, and some of the disks include at least one A disk, one B disk and one c disk, and the spare disk is a Z disk, when the magnetic disk One of the discs cannot be read, and the remaining magnetic areas of the A disk are not completely unreadable or damaged. The method of rebuilding includes: , , and ^ ' according to the data of the A disk or the b. The disk and the (the disk is the data of the A disk and the data of the eight disks are re-used in the z and the shell material). The disk, the B disk, the disk and the z:碟二中' 24 98^5. V3 d (more) 正1325117 " · Sanda number: TW2702PA 17. The data reconstruction method of the disk array as described in claim 16 of the patent application, the A disk has at least An A1 magnetic region and an A2 magnetic region, the B disk having at least a B1 magnetic region and a B2 magnetic region, the C disk having at least one C1 magnetic region And a C2 magnetic region, the Z disk having at least one Z1 magnetic region and a Z2 magnetic region, the material of the A1 magnetic region, the poor material of the B1 magnetic region, and the data of the C1 magnetic region have a mutual exclusion - or An operation (XOR) relationship, the poor material of the A2 magnetic region, the data of the B 2 magnetic region, and the poor material of the C 2 magnetic region have the mutual exclusion-or operation (XOR) operation relationship, wherein the A disk When the A1 magnetic region is unreadable or damaged, the step of reconstructing the data of the A disk further comprises: obtaining the A1 magnetic according to the lean material of the B1 magnetic region and the tribute of the C1 magnetic region by mutual exclusion-or operation Data of the zone, and storing the data of the A1 magnetic zone in the Z1 magnetic zone; and obtaining the poor material of the A2 magnetic zone by copying according to the data of the A2 magnetic zone or according to the B 2 magnetic zone and the C 2, the poor material of the magnetic region obtains the data of the A2 magnetic region in the mutual exclusion_ or operation relationship, and stores the information of the A2 magnetic region in the Z2 magnetic region, wherein the A magnetic disk, the B magnetic disk, The C disk and the Z disk are all in operation. 18. The data reconstruction method of the disk array according to claim 17, wherein if the B2 magnetic region cannot be read or damaged, the step of obtaining the data of the A2 magnetic region further comprises: copying the A2 magnetic region The data is obtained for the data of the A2 magnetic area, wherein the A magnetic disk, the B magnetic disk, the C magnetic disk and the Z magnetic disk are all maintained in operation. 25 1325117 Sanda number: TW2702PA 19.如申請專利範圍第16項所述之磁碟陣列 重建方法,更包括: 之資料 若該些使用磁碟之—磁碟的資料更新時,同 餘該些使用磁碟之資料,其中該A磁碟、該B磁碟、諸、 磁碟及該Z磁碟皆維持運作狀態。 2〇.如申請專利範圍第16項所述之磁碟陣列之次 重建方法’其巾該備援料包㈣熱插拔 貝;斗 (Hot-Swappable)之方式加入該磁碟陣列中。 21.如申請專利範圍第16項所述之磁碟陣列之資 重建方法,其中該備援磁碟包括以内建之方式加入社 碟陣列中。 :該罐 ΔΖ.— 裡碗碟陣列(Redundant Arrays of Inexpensive Disks)之資料重建 用以針對—第六級磁碟陣列(RAID 6)磁碟陣列進次 ”’該磁碟陣列包括複數個使用磁碟及一備援磉:貧: K用磁碟至少包括一A磁碟、一B磁碟及一雄句 備援磁碟係為—z 砀碟,安 Μ,Β Λ A磁碟之一磁區•讀 、 且A磁碟之其餘磁區並未完全|法" 該重建之方法包括: 禾儿王無心取或損毁時, 得兮Γ=Α磁碟之資料或該Μ碟及該C磁砰之次4 碟之資料,並重建該α 碟之資料華 其中該^碟、該Β磁碟 .二枓於該中 作狀態。 磁碟及該2磁碟皆維持驾 23.如申請專利範圍第22項所述之磁碟陣列之 26 1325117 ·» X 三達編號:TW2702PA 啤¥ 5曰修(更)正替換頁 重建方法,該A磁碟至少具有一 A1磁區及一 A2磁區,該 B磁碟至少具有一 B1磁區及一 B2磁區,該C磁碟至少具 有一 C1磁區及一 C2磁區,該Z磁碟至少具有一 Z1磁區 及一 Z2磁區,該A1磁區之貢料、該B1磁區之貧料及該 C1磁區之資料係具有一多項式運算關係,該A2磁區之資 料、該B2磁區之貧料及該C2磁區之貧料係具有該多項式 運算運算關係,其中當該A磁碟之該A1磁區無法讀取或 損毀時’該重建該A磁碟之貨料的步驟更包括·19. The method for reconstructing a disk array according to claim 16, further comprising: if the data of the disk-disk is updated, the data of the disk is the same, wherein The A disk, the B disk, the disks, and the Z disk are all in operation. 2. The secondary reconstruction method of the disk array as described in claim 16 of the patent application, wherein the spare package (four) is hot-swapped; and the hot-swappable mode is added to the disk array. 21. The method of reconstructing a disk array according to claim 16, wherein the spare disk comprises being built into the social array in a built-in manner. : The data reconstruction of the Redundant Arrays of Inexpensive Disks is used to target the sixth-order disk array (RAID 6) disk array. The disk array includes a plurality of magnetic disks. Disc and a backup file: Poverty: K disk contains at least one A disk, one B disk and one male sentence. The disk is -z disk, ampoule, Β 之一 A disk of one disk • Read, and the remaining magnetic areas of the A disk are not completely | French " The method of reconstruction includes: When the Woer King is unintentional or damaged, the data of the disk or the disk and the C magnetic The information of the second disc is re-constructed and the information of the alpha disc is re-created. The disc is the disc. The disc is in the state. The disc and the 2 discs are maintained. The disk array described in item 22 is 13 1325117 ·» X Sanda number: TW2702PA beer ¥ 5曰 repair (more) is replacing the page reconstruction method, the A disk has at least one A1 magnetic zone and one A2 magnetic zone, The B disk has at least a B1 magnetic zone and a B2 magnetic zone, and the C disk has at least a C1 magnetic zone and a C2 magnetic zone, and the Z disk is to Having a Z1 magnetic region and a Z2 magnetic region, the material of the A1 magnetic region, the poor material of the B1 magnetic region, and the data of the C1 magnetic region have a polynomial operation relationship, the data of the A2 magnetic region, the B2 magnetic region The poor material and the poor material of the C2 magnetic region have the polynomial operation relationship, wherein when the A1 magnetic region of the A disk cannot be read or damaged, the step of reconstructing the material of the A disk further includes 根據該B1磁區之貧料及該C1磁區之資料以多項式運 算獲得該A1磁區之資料,並儲存該A1磁區之資料於該Z1 磁區中,以及 根據該A 2磁區之資料以複製之方式獲得該A 2磁區之 貧料’或者根據該B2磁區及該C2磁區之資料以該多項式 運算關係獲得該A2磁區之資料,並儲存該A2磁區之資料 於該Z 2磁區中,其中該A磁碟、該B磁碟、該C磁碟及 該Z磁碟皆維持運作狀態。 24.如申請專利範圍第23項所述之磁碟陣列之資料 重建方法,若該B2磁區無法讀取或損毁時,該獲得該A2 磁區之貧料的步驟更包括· 複製該A2磁區之資料以獲得該A2磁區之資料,其中 該A磁碟、該B磁碟、該C磁碟及該Z磁碟皆維持運作狀 態。 25.如申請專利範圍第22項所述之磁碟陣列之資料 重建方法,更包括: 27 1325117 γ~987Έ7Τ^~ ------------—— 年为曰修(更;)正替換頁I 三達編號:TW2702PA I——一—____ | 若該些使用磁碟之一磁碟的資料更新時,同步更新其 餘該些使用磁碟之資料,其中該Α磁碟、該Β磁碟、該C ' 磁碟及該Z磁碟皆維持運作狀態。 26. 如申請專利範圍第22項所述之磁碟陣列之資料 重建方法,其中該備援磁碟包括以熱插拔 (Hot-Swappable)之方式加入該磁碟陣列中。 27. 如申請專利範圍第22項所述之磁碟陣列之資料 重建方法,其中該備援磁碟包括以内建之方式加入於該磁 _碟陣列中。 28 1325117 ., ~yy g 三達編號:TW2702PA 年月曰修(更)止·十!姬]/.[ 七、指定代表圖: ~ (一)本案指定代表圖為:第2圖 ' (二)本代表圖之元件符號簡單說明: 益 八、本案若有化學式時,請揭示最能顯示發明特徵 的化學式:無Obtaining, by the polynomial operation, the data of the A1 magnetic region according to the poor material of the B1 magnetic region and the data of the C1 magnetic region, and storing the data of the A1 magnetic region in the Z1 magnetic region, and according to the data of the A2 magnetic region Obtaining the poor material of the A 2 magnetic region or obtaining the data of the A2 magnetic region according to the polynomial operation relationship according to the data of the B2 magnetic region and the C2 magnetic region, and storing the data of the A2 magnetic region in the Z In the 2 magnetic regions, the A disk, the B disk, the C disk, and the Z disk are all maintained in operation. 24. The data reconstruction method of the disk array according to claim 23, wherein if the B2 magnetic region is unreadable or damaged, the step of obtaining the poor material of the A2 magnetic region further comprises: copying the A2 magnetic The information of the area is obtained by the data of the A2 magnetic area, wherein the A disk, the B disk, the C disk and the Z disk are all in operation. 25. The data reconstruction method of the disk array according to claim 22, further comprising: 27 1325117 γ~987Έ7Τ^~ ------------- ;) is replacing page I. 达达号: TW2702PA I——一—____ | If the data of one of the disks is updated, the remaining data of the disk is synchronously updated, wherein the disk, The Β disk, the C' disk and the Z disk are all in operation. 26. The data reconstruction method of the disk array of claim 22, wherein the spare disk comprises a hot-swappable manner of joining the disk array. 27. The data reconstruction method of a disk array according to claim 22, wherein the spare disk comprises being built into the magnetic disk array in a built-in manner. 28 1325117 ., ~yy g Sanda number: TW2702PA Year of the month repair (more) stop · Ten! Ji] /. [ VII, designated representative map: ~ (a) the designated representative of the case is: Figure 2 ' The symbol of the symbol of this representative figure is simple: Yi 8、If there is a chemical formula in this case, please reveal the chemical formula that best shows the characteristics of the invention: none 55
TW95100517A 2006-01-05 2006-01-05 Data rebuliding method of redundant indexpensive disks TWI325117B (en)

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)

* Cited by examiner, † Cited by third party
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

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