KR20010028691A - RAID Level Y Using Disk Management Method - Google Patents

RAID Level Y Using Disk Management Method Download PDF

Info

Publication number
KR20010028691A
KR20010028691A KR1019990041074A KR19990041074A KR20010028691A KR 20010028691 A KR20010028691 A KR 20010028691A KR 1019990041074 A KR1019990041074 A KR 1019990041074A KR 19990041074 A KR19990041074 A KR 19990041074A KR 20010028691 A KR20010028691 A KR 20010028691A
Authority
KR
South Korea
Prior art keywords
disk
data
channel
raid
raid level
Prior art date
Application number
KR1019990041074A
Other languages
Korean (ko)
Inventor
유지훈
Original Assignee
서평원
엘지정보통신 주식회사
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 서평원, 엘지정보통신 주식회사 filed Critical 서평원
Priority to KR1019990041074A priority Critical patent/KR20010028691A/en
Publication of KR20010028691A publication Critical patent/KR20010028691A/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/20Driving; Starting; Stopping; Control thereof
    • G11B19/209Driving; Starting; Stopping; Control thereof in multiple disk arrays, e.g. spindle synchronisation in RAID systems
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/40Combinations of multiple record carriers
    • G11B2220/45Hierarchical combination of record carriers, e.g. HDD for fast access, optical discs for long term storage or tapes for backup

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE: A method for managing a disk using RAID(Redundancy Array Independent Disk) level Y is provided to divide disks into a master channel and a slave channel, and to perform stripping by channel simultaneously and mirroring between the channels, thereby processing date by chunks of each disk. CONSTITUTION: SCSI(Small Computer System Interface) controllers(21,31) of the first and the second channels(20,30) manage disks by using a striping system, which sequentially records and reads chunks of each disk. A RAID(Redundancy Array Independent Disk) disk controller(10) generates virtual disks. The first and the second channels(20,30) manage disks by using a mirroring system, which designates a master channel to read data recorded in chunks of each disk in the corresponding channel. A RAID disk controller(10) generates virtual disks. In a corresponding RAID level Y, restoration data are distributed by chunks to enable prompt data processing.

Description

레이드 레벨 와이를 이용한 디스크 관리 방법{RAID Level Y Using Disk Management Method}RAID Level Y Using Disk Management Method

본 발명은 RAID(Redundancy Array Independent Disk) 레벨 Y를 이용한 디스크 관리 방법에 관한 것으로, 특히 RAID 디스크 제어기와 다수의 디스크를 포함하는 시스템에서 각 디스크를 관리하는데 있어, RAID 레벨 0의 스트립핑(striping) 방식과 RAID 레벨 1의 미러링(mirroring) 방식을 상호 보완하여 각 디스크에 대한 데이터 처리 속도와 신뢰성을 향상시킬 수 있도록 한 RAID 레벨 Y를 이용한 디스크 관리 방법에 관한 것이다.The present invention relates to a disk management method using redundancy array independent disk (RAID) level Y. In particular, in managing each disk in a system including a RAID disk controller and a plurality of disks, striping of RAID level 0 The present invention relates to a disk management method using RAID level Y, which complements the mirroring method of the RAID level 1 and improves data processing speed and reliability for each disk.

일반적으로, 가상의 하드 디스크를 생성하거나 하드 디스크를 복원하기 위한 디스크 관리 방법으로 RAID 레벨을 정의하여 사용하고 있는데, 현재 RAID 레벨 0에서 RAID 레벨 5까지 정의되어 사용되고 있다.Generally, RAID level is defined as a disk management method for creating a virtual hard disk or restoring a hard disk. Currently, RAID levels 0 to RAID level 5 are defined and used.

이를 설명해 보면, 해당 RAID 레벨 0은 데이터에 대한 신속한 입출력이 가능하므로 다수의 디스크에 데이터를 분산하여 관리하는 스트립핑(striping) 방식을 수행하는 반면, 장애 발생에 대비한 여분의 저장 공간을 할당하지 않기 때문에 어느 하나의 디스크에 장애가 발생하는 경우 전체적인 데이터 손실이 발생할 수 있다.To illustrate this, the RAID level 0 enables fast I / O to the data, so it performs a striping method that distributes and manages the data over a large number of disks, while not allocating extra storage space in case of failure. If one disk fails, overall data loss can occur.

해당 RAID 레벨 1은 하나의 디스크에 기록되는 모든 데이터를 다른 디스크에 복사하여 관리하는 미러링(mirroring) 방식을 수행함에 따라 해당 데이터에 대한 복구가 가능한 반면, 동일한 데이터를 두 개의 디스크에 기록해야 함에 따라 처리 속도가 저하된다.The RAID level 1 is a mirroring method in which all data written to one disk is copied and managed on another disk, so that the data can be recovered while the same data must be written to two disks. The processing speed is lowered.

해당 RAID 레벨 2는 에러 검출 능력이 없는 디스크를 위해 해밍(Hamming) 오류 정정 코드를 사용하는데, SCSI(Small Computer System interface) 제어기에 의해 관리되는 디스크는 해당 SCSI 제어기에 의해 에러 검출이 수행되므로, 해당 레벨을 사용하지 않는다.RAID level 2 uses Hamming error correction codes for disks that do not have error detection capability. Disks managed by a small computer system interface (SCSI) controller perform error detection by the corresponding SCSI controller. Do not use levels.

해당 RAID 레벨 3은 다수의 디스크 중에 하나의 디스크에 패리티(Parity) 정보를 저장하고, 나머지 디스크에 데이터를 바이트 단위로 분산하여 관리하되, 해당 데이터를 바이트 단위로 분산하여 저장하기 위해 추가적인 하드웨어 구성이 필요하다.The RAID level 3 stores parity information on one disk among multiple disks, and distributes data in bytes and manages the data on the remaining disks. need.

해당 RAID 레벨 4는 다수의 디스크 중에 하나의 드라이브에 패리티 정보를 저장하고, 나머지 디스크에 데이터를 블록 단위로 분산하여 관리하되, 해당 패리티 정보는 소정 드라이브에 장애가 발생하는 경우 데이터를 복구할 수 있도록 해 준다. 즉, 해당 RAID 레벨 4의 디스크 배열(Array)은 데이터를 판독하는 경우 전술한 RAID 레벨 0과 동일한 처리 속도를 낼 수 있지만, 해당 데이터를 기록하는 경우에는 매번 패리티 정보를 갱신하기 위한 시간이 필요하여 처리 속도가 지연되었다.The RAID level 4 stores parity information on one drive among multiple disks, and distributes and manages the data in block units on the other disk, but the parity information enables data recovery in case of failure of a given drive. give. That is, a disk array of the corresponding RAID level 4 may have the same processing speed as that of the aforementioned RAID level 0 when reading data, but when writing the data, time for updating parity information is required every time. The processing speed was delayed.

해당 RAID 레벨 5는 전술한 RAID 레벨 4와 유사하지만, 해당 패리티 정보를 모든 디스크에 나누어 기록하여 관리함에 따라 해당 패리티 처리를 위한 병목 현상이 발생하지 않으므로, 멀티프로세서 시스템에서와 같이 작고 크기의 데이터를 수시로 기록하는 경우에 편리성을 제공한다.The RAID level 5 is similar to the RAID level 4 described above, but since the parity information is recorded and managed on all disks, there is no bottleneck for the parity processing. Provides convenience when recording from time to time.

한편, 종래의 VMS(Voice Message System) 시스템과 같이 RAID 디스크 제어기와 디스크 사이에는 RAID 레벨 1인 미러링 방식을 사용하였는데, 해당 RAID 레벨 1은 처리 속도가 늦은 단점이 있었다. 이로 인해 RAID 레벨 0인 스트립핑 방식을 사용하고자 했으나, 이는 디스크 장애시 데이터가 손실된다는 단점이 있었다.On the other hand, as in the conventional Voice Message System (VMS) system, a RAID level 1 mirroring method is used between the RAID disk controller and the disk. The RAID level 1 has a disadvantage in that the processing speed is slow. Because of this, we tried to use striping method with RAID level 0, but this had the disadvantage of losing data in the event of a disk failure.

이를 상세히 설명해 보면, 해당 RAID 레벨 0은 산업 발전의 필요성에 의해 정의되었는데, 가장 큰 문제점은 어느 하나의 디스크에 장애가 발생하는 경우 데이터로의 접근이 불가능하게 되어, 해당 데이터를 손실하게 된다는 것이다. 즉, 데이터 복원력의 부재에 의한 신뢰성이 없다는 것이다.To explain this in detail, the RAID level 0 is defined by the need for industrial development. The biggest problem is that if one disk fails, the data will be inaccessible and the data will be lost. That is, there is no reliability due to the lack of data resilience.

예를 들어, 4개의 물리적 디스크를 포함하는 RAID 레벨 0은 첨부된 도면 도 1과 같이 도시할 수 있는데, 각 디스크에 저장되는 데이터에 대한 사용자의 논리적인 관점은 A~H 등의 "청크(chunk)"라는 세그먼트로 분할된다. 즉, 첫번째 청크 A는 물리적으로 제1디스크에 위치하며, 두번째 청크 B는 물리적으로 제2디스크에 위치하되, 제1디스크에서 청크 A가 위치했던 곳과 물리적으로 동일한 곳에 위치한다. 마찬가지로, 세번째 청크 C는 물리적으로 제3디스크에 위치하되, 청크 A, B와 위치했던 곳과 물리적으로 동일한 곳에 위치하며, 네번째 청크 D는 물리적으로 제4디스크의 동일한 곳에 위치한다.For example, RAID level 0, which includes four physical disks, may be illustrated in the accompanying drawings, as shown in FIG. 1, where a user's logical view of the data stored on each disk is referred to as "chunk," such as A-H. ) Into segments. That is, the first chunk A is physically located on the first disk, and the second chunk B is physically located on the second disk, but physically the same as where chunk A was located on the first disk. Similarly, the third chunk C is physically located on the third disk, physically the same as where it was located on chunks A and B, and the fourth chunk D is physically located on the same disk.

그리고, 나머지 청크들(즉, 청크 E, F, G, H, …)도 각 디스크의 다음 위치에 차례로 분배되는데, 이때, 각 디스크에 분배되는 청크의 크기는 사용자 요구에 따라 결정된다. 즉, 도 1의 청크 B에 있어서의 사용자 요구는 빗금친 지역에 보여지는 청크 B의 한 부분이며, 해당 사용자 요구에 의한 접근 즉, 기록 또는 판독이 이루어질 때 제2디스크의 청크 B의 빗금친 지역으로 접근하게 된다.The remaining chunks (ie, chunks E, F, G, H, ...) are also distributed in turn to the next position of each disk, where the size of the chunks distributed to each disk is determined according to user requirements. That is, the user request in chunk B of FIG. 1 is a part of chunk B shown in the hatched area, and the access by the user request, that is, the hatched area of chunk B of the second disc when the recording or reading is made. Is approached.

다시 말해서, 각 디스크의 데이터 배열을 판독하기 위한 사용자 요구는 물리적으로 구분된 디스크에서 데이터가 위치한 곳으로 접근되며, 그 데이터가 해당 위치에서 판독되고, 이를 기록하는 경우에도 동일한 위치에 데이터를 기록하게 된다.In other words, the user's request to read the data array of each disk is accessed from where the data is located on a physically separate disk, where the data is read from that location and even if the data is written to the same location. do.

즉, 사용자 요구에 의한 기록 및 판독이 하나의 청크에서 수행되기 때문에 각 디스크에서 각각 다른 사용자 요구를 수행할 수 있으며, 이는 동시에 수행되므로 처리 속도의 향상을 꾀할 수 있지만, 신뢰성을 보장할 수 없기 때문에 디스크 장애시 복구 및 접근이 불가능하다.In other words, because user writes and reads are performed in one chunk, different user requests can be performed on each disk, and because they are performed simultaneously, processing speed can be improved, but reliability cannot be guaranteed. Recovery and access is not possible in the event of a disk failure.

이와는 반대로 RAID 레벨 1은 첨부된 도면 도 2와 같이, 각 청크들을 일반적인 디스크와 같이 순서대로 배열하되, 미러링을 위해 동일한 청크들을 두개의 디스크에 기록하게 되어 신뢰성이 제공된다. 즉, 제1디스크의 각 청크 A, C, E는 제2디스크의 동일한 곳에도 위치하며, 제3디스크의 각 청크 B, D, F는 제4디스크의 동일한 곳에도 위치한다.In contrast, RAID level 1 arranges the chunks in the same order as the general disks as shown in FIG. 2, but writes the same chunks to the two disks for mirroring, thereby providing reliability. In other words, each of the chunks A, C, and E of the first disk is located at the same place of the second disc, and each of the chunks B, D, and F of the third disc is also located at the same place of the fourth disc.

이때, 각 디스크의 데이터를 판독하기 위한 사용자 요구는 동일한 두개의 디스크(마스터, 슬레이브) 중에서 마스터로 설정된 디스크로 접근하여 판독하게 되지만, 데이터를 기록하기 위한 사용자 요구는 마스터로 설정된 디스크와 슬레이브로 설정된 디스크를 동시에 접근하여 기록하게 된다.At this time, the user request for reading data of each disk is accessed by reading the disk set as the master among the same two disks (master, slave), but the user request for writing data is set as the disk and slave set as the master. The disc is accessed and recorded at the same time.

따라서, 어느 하나의 디스크 즉, 마스터로 설정된 디스크에 장애가 발생하는 경우 슬레이브로 설정된 디스크가 장애 발생한 마스터로 설정된 디스크를 대신하여 기록 및 판독을 수행할 수 있게 된다.Therefore, when one disk, that is, the disk set as the master, fails, the disk set as the slave can perform writing and reading on behalf of the disk set as the failed master.

하지만, 해당 RAID 레벨 1은 시스템의 디스크 운영시 2배의 저장 용량이 필요하게 되어 비용도 2배가 필요한 단점이 있다.However, the RAID level 1 requires twice as much storage capacity as the disk operation of the system, which also requires twice the cost.

전술한 바와 같이, 종래의 RAID 레벨 0은 향상된 입출력 기능을 제공하지만 디스크 장애시 데이터가 손실되므로, 신뢰성이 없어 쉽게 데이터를 재생산할 수 없는 데이터에 대한 저장 장치로는 부적합하며, 해당 신뢰성을 확보하기 위해 RAID 레벨 3, 5 등의 패리티 정보를 사용하는 경우에는 이로 인한 처리 속도의 지연으로 RAID 레벨 1을 사용하는 경우보다 더 늦은 처리 속도를 갖게 되는 단점이 있었다.As described above, the conventional RAID level 0 provides improved input / output function, but data is lost in the event of a disk failure, so it is not suitable as a storage device for data that is not reliable and cannot be easily reproduced, and thus ensures reliability. In the case of using parity information such as RAID levels 3 and 5, there is a disadvantage in that the processing speed is slower than using RAID level 1 due to the delay in processing speed.

그리고, 해당 RAID 레벨 1은 마스터와 슬레이브로 각각 지정되는 디스크의 미러링으로 인해 데이터에 대한 신뢰성은 보장되지만, 해당 데이터를 기록하는 경우 마스터와 슬레이브 측의 디스크에 동시에 기록해야 하므로 RAID 레벨 0에 비해 처리 속도가 저하되는 단점이 있었다.The RAID level 1 is guaranteed for the data due to the mirroring of the disks designated as the master and the slave, but the data is processed at the same time as the RAID level 0 because the data must be written to the master and slave disks simultaneously. There was a disadvantage that the speed is lowered.

본 발명은 전술한 바와 같은 문제점을 해결하기 위한 것으로 그 목적은, RAID 디스크 제어기 및 SCSI 제어기 의해 관리되는 다수의 디스크를 마스터 채널과 슬레이브 채널로 각각 분리한 후, 각 채널별로 스트립핑을 수행함과 동시에 각 채널간에 미러링을 수행하여 각 디스크의 청크별로 데이터 처리를 수행함으로써, 신속한 데이터 처리가 가능하도록 함과 동시에 마스터 채널 측의 디스크 장애시 슬레이브 채널 측의 디스크를 이용한 데이터 복원이 가능하도록 하여 신뢰성을 확보할 수 있도록 하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an object thereof is to separate a plurality of disks managed by a RAID disk controller and a SCSI controller into a master channel and a slave channel, respectively, and simultaneously perform stripping for each channel. By performing mirroring between channels to perform data processing for each chunk of each disk, fast data processing is possible, and data can be restored using the disk on the slave channel side in the event of a disk failure on the master channel side. To make it possible.

도 1은 4개의 디스크를 포함하는 종래의 RAID 레벨 0을 예시한 도면.1 illustrates a conventional RAID level 0 including four disks.

도 2는 4개의 디스크를 포함하는 종래의 RAID 레벨 1을 예시한 도면.Figure 2 illustrates a conventional RAID level 1 comprising four disks.

도 3은 RAID 디스크 제어기를 기준으로 한 본 발명에 따른 RAID 레벨 Y를 예시한 도면.3 illustrates RAID level Y in accordance with the present invention with reference to a RAID disk controller.

도 4는 본 발명에 따른 RAID 레벨 Y를 이용한 디스크 관리 상태를 예시한 도면.4 is a diagram illustrating a disk management state using the RAID level Y in accordance with the present invention.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

10 : RAID 디스크 제어기 20 : 제1채널10: RAID disk controller 20: first channel

21 : 제1SCSI 제어기 30 : 제2채널21: first SCSI controller 30: second channel

31 : 제2SCSI 제어기31: second SCSI controller

상술한 바와 같은 목적을 달성하기 위한 본 발명의 특징은, RAID 디스크 제어기 및 SCSI 제어기에 의해 관리되는 다수의 디스크를 마스터 채널과 슬레이브 채널로 분리하는 과정과; 사용자 요구에 대해 RAID 레벨 Y에 따라 스트립핑 및 미러링을 수행하여 각 디스크의 청크별로 데이터 처리를 수행하는 과정을 포함하되, 상기 각 디스크의 청크별로 데이터 처리를 수행하는 과정은, 상기 RAID 레벨 Y에 따라 각 채널별로 스트립핑을 수행함과 동시에 각 채널간에 미러링을 수행하되, 각 디스크의 청크를 기준으로 데이터를 기록 및 판독하는 것을 특징으로 한다.A feature of the present invention for achieving the above object is a process for separating a plurality of disks managed by a RAID disk controller and a SCSI controller into a master channel and a slave channel; Performing data processing for each chunk of each disk by performing striping and mirroring according to RAID level Y according to a user's request, and performing data processing for each chunk of each disk includes: Accordingly, stripping is performed for each channel and mirroring is performed between the channels, and data is recorded and read based on the chunk of each disk.

나아가, 상기 각 디스크의 청크별로 데이터 처리를 수행하는 과정에서, 상기 마스터 채널 측에서 디스크 장애가 발생하는 경우 상기 슬레이브 채널 측에서 각 디스크의 각 청크별로 데이터를 판독하여 복원하는 단계를 더 포함하는 것을 특징으로 한다.Further, in the process of performing data processing for each chunk of each disk, if a disk failure occurs on the master channel side, the slave channel side further comprises reading and restoring data for each chunk of each disk. It is done.

이하, 본 발명에 따른 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에서는 VMS 시스템과 같이 RAID 디스크 제어기와 디스크를 포함하는 시스템에서 각 디스크를 관리하는데 있어, RAID 레벨 0의 처리 속도와 RAID 레벨 1의 신뢰성을 확보할 수 있는 새로운 RAID 레벨(이하, 'RAID 레벨 Y'라 칭함)을 사용하게 되는데, 해당 RAID 레벨 Y는 각 채널별로는 청크를 기준으로 데이터를 처리하는 스트립핑 방식을 수행하게 되고, 각 채널간에는 신뢰성 향상을 위한 마스터와 슬레이브로 구분되는 미러링 방식을 수행하게 된다.In the present invention, in managing each disk in a system including a RAID disk controller and a disk, such as a VMS system, a new RAID level (hereinafter, referred to as' RAID level) that can ensure the processing speed of RAID level 0 and the reliability of RAID level 1 Y '), the RAID level Y performs a stripping method that processes data based on chunks for each channel, and a mirroring method that is divided into a master and a slave to improve reliability between each channel. Will be performed.

이를 상세히 설명하기 위해 첨부된 도면 도 3과 같이 RAID 디스크 제어기((10)를 기준으로 제1채널(20)과 제2채널(30) 측에 각각 8 기가 바이트(Gbyte) 용량의 디스크가 3개씩 존재한다고 가정하자.In order to explain this in detail, as shown in FIG. 3, three disks each having 8 gigabyte (Gbyte) capacity on the first channel 20 and the second channel 30 based on the RAID disk controller (10). Suppose it exists.

먼저, 해당 RAID 디스크 제어기(10)와 디스크 사이에 종래의 RAID 레벨 0을 적용하는 경우 각 디스크는 청크들을 기준으로 사용자 요구가 있을 때마다 일정량의 청크들을 동일하게 기록 및 판독하게 되는데, 이때, 각 청크들의 데이터는 동시에 처리되므로 처리 속도가 빠르고, 디스크의 용량적인 측면에 있어서도 48 기가 바이트(8기가 바이트*6개)를 사용할 수 있게 된다.First, in the case of applying the conventional RAID level 0 between the RAID disk controller 10 and the disk, each disk writes and reads a certain amount of chunks equally whenever there is a user request based on the chunks. Chunks of data are processed at the same time, so processing speed is fast and 48 gigabytes (8 gigabytes * 6) are available in terms of disk capacity.

하지만, 해당 데이터를 디스크에 기록 및 판독하는 중에 해당 디스크에 장애가 발생하는 경우 해당 데이터를 복구할 수 없으므로, 사용자들에 대한 서비스 측면에서의 신뢰성이 저하된다.However, if the disk fails while the data is being written to or read from the disk, the data cannot be recovered, thereby reducing the reliability in terms of service to users.

다음으로, 해당 RAID 디스크 제어기(10)와 디스크 사이에 종래의 RAID 레벨 1을 적용하는 경우 제1채널(20)과 제2채널(30) 측의 디스크에 각각 동일한 데이터가 저장되므로 가입자 음성 서비스와 같이 신뢰성을 요구하는 시스템에 매우 유용하게 사용될 수 있지만, 해당 제1채널(20)과 제2채널(30)에 데이터를 동시에 기록해야 함에 따라 처리 속도가 저하된다.Next, when the conventional RAID level 1 is applied between the RAID disk controller 10 and the disk, the same data is stored on the disks of the first channel 20 and the second channel 30, respectively. Although it can be very useful for a system requiring reliability, as the data must be simultaneously recorded in the first channel 20 and the second channel 30, the processing speed is reduced.

한편, 본 발명에 따른 RAID 레벨 Y를 이용하여 디스크 관리를 수행하는 경우 첨부한 도면 도 4에 도시한 바와 같이, 각 채널(20, 30)내에서는 해당되는 SCSI 제어기(21, 31)에 의해 RAID 레벨 0인 스트립핑 방식으로 디스크를 관리하며, 각 채널(20, 30)간에는 RAID 레벨 1인 미러링 방식으로 디스크를 관리하게 된다. 이때, RAID 디스크 제어기(10)는 가상 디스크를 생성할 수 있게 된다.Meanwhile, in the case of performing disk management using the RAID level Y according to the present invention, as shown in the accompanying drawings, as shown in FIG. 4, in each channel 20 and 30, the RAID is controlled by the corresponding SCSI controllers 21 and 31. The disk is managed by stripping method of level 0, and the disk is managed by mirroring method of RAID level 1 between each channel (20, 30). At this time, the RAID disk controller 10 can create a virtual disk.

즉, 제1 및 제2채널(20, 30)의 SCSI 제어기(21, 31)는 일정한 크기의 청크들로 이루어진 각 디스크의 청크를 동시에 기록 및 판독하는 스트립핑 방식을 사용하게 되는데, 제1채널(20)의 경우 해당 SCSI 제어기(21)는 1번 식별자에서 제1디스크의 첫번째 청크(청크 0)를 기록 및 판독하게 되고, 2번 식별자에서 제2디스크의 첫번째 청크(청크 1)를 기록 및 판독하게 되며, 3번 식별자에서 제3디스크의 첫번째 청크(청크 2)를 기록 및 판독하게 되는 순차적인 처리를 수행하게 된다.That is, the SCSI controllers 21 and 31 of the first and second channels 20 and 30 use a striping scheme for simultaneously writing and reading the chunks of the disks each having a predetermined size of chunks. In the case of (20), the SCSI controller 21 writes and reads the first chunk (chunk 0) of the first disk at the first identifier, and writes and reads the first chunk (chunk 1) of the second disk at the second identifier. In the third identifier, a sequential process of recording and reading the first chunk (chunk 2) of the third disk is performed.

마찬가지로, 제2채널(30)의 경우에도 해당 SCSI 제어기(31)는 1번 식별자에서 제1디스크의 첫번째 청크(청크 0)를 기록 및 판독하게 되고, 2번 식별자에서 제2디스크의 첫번째 청크(청크 1)를 기록 및 판독하게 되며, 3번 식별자에서 제3디스크의 첫번째 청크(청크 2)를 기록 및 판독하게 되는 순차적인 처리를 수행하게 된다.Similarly, in the case of the second channel 30, the corresponding SCSI controller 31 writes and reads the first chunk (chunk 0) of the first disk at identifier 1, and the first chunk ( Chunk 1) is recorded and read, and a sequential process is performed to record and read the first chunk (chunk 2) of the third disc at the third identifier.

이때, 제1 및 제2채널(20, 30)에서 각 디스크의 청크에 기록된 데이터를 판독하는 경우 미러링 방식과 같이 마스터 채널을 지정하여 해당 채널에서 각 디스크의 청크에 기록된 데이터 판독 과정이 진행되는데, 해당 RAID 레벨 Y는 RAID 레벨 1에서와 같이 디스크 단위로 복원 데이터를 저장하고 있는 것이 아니고, 각 디스크의 청크별로 복원 데이터가 분배되어 있기 때문에 처리 속도면에 있어 RAID 레벨 1보다 신속한 처리를 수행할 수 있게 된다.At this time, when reading the data recorded in the chunk of each disk in the first and second channels 20 and 30, the data reading process recorded in the chunk of each disk in the corresponding channel is performed by designating the master channel as in the mirroring method. RAID level Y does not store the restoration data in units of disks as in RAID level 1, but because the restoration data is distributed in chunks of each disk, it performs processing faster than RAID level 1 in terms of processing speed. You can do it.

그리고, 해당 제1 및 제2채널(20, 30)에서 각 디스크의 청크에 데이터를 기록하는 경우 RAID 레벨 1에서와 같이 제1 및 제2채널(20, 30)에서 동시에 기록을 수행함에 따라 디스크의 용량적인 측면에서 효과를 기대할 수는 없지만, 해당 RAID 레벨 1이 각 채널(20, 30)의 디스크 식별자별로 해당되는 디스크에 대한 데이터 기록이 이루어지기 때문에 어느 하나의 디스크에 데이터를 기록하고 있는 동안 다음 데이터는 대기해야 함에 따라 처리 속도가 저하되는 반면, 해당 RAID 레벨 Y는 제1 및 제2채널(20, 30)에서 각각의 디스크에 분배된 청크별로 동시에 데이터 기록을 수행하기 때문에 다음 데이터가 대기해야 함에 따른 처리 속도가 저하가 발생하지 않는다.When data is written to the chunk of each disk in the corresponding first and second channels 20 and 30, the disk is simultaneously written in the first and second channels 20 and 30 as in the RAID level 1. In terms of capacity, the effect cannot be expected, but since the RAID level 1 writes data on the disk corresponding to the disk identifier of each channel (20, 30), while recording data on any one disk, While the next data has to wait, processing speed slows down, while the corresponding RAID level Y simultaneously writes data for each chunk distributed to each disk in the first and second channels 20, 30, so the next data waits. The processing speed does not occur as it should.

상술한 바와 같은 본 발명에 따른 RAID 레벨 Y를 이용한 디스크 관리 동작을 정리해 보면, 해당 RAID 디스크 제어기(10) 및 SCSI 제어기(21, 31)에 의해 관리되는 다수의 디스크를 마스터 채널과 슬레이브 채널로 분리한 후, 사용자 요구시 해당 RAID 레벨 Y에 따라 각 채널(20, 30)별로 스트립핑 방식을 수행하고, 각 채널(20, 30)간에는 미러링 방식을 수행하되, 해당 RAID 레벨 Y가 RAID 레벨 1의 미러링 방식과 다른 점은 해당 RAID 레벨 1이 디스크 단위로 복원 데이터를 저장하고 있는 것에 반하여, 해당 RAID 레벨 Y는 각 디스크의 청크별로 복원 데이터가 모든 디스크 영역에 분배되어 있으므로, 하나의 디스크에서 데이터를 처리하기 위한 속도보다 신속한 데이터 처리가 가능해 진다.As described above, the disk management operation using the RAID level Y according to the present invention is divided into a plurality of disks managed by the RAID disk controller 10 and the SCSI controllers 21 and 31 into a master channel and a slave channel. Then, if required by the user, stripping is performed for each channel (20, 30) according to the corresponding RAID level Y, and mirroring is performed between each channel (20, 30), and the corresponding RAID level Y is the level of RAID level 1. The difference with mirroring is that RAID level 1 stores the restore data on a disk basis, whereas RAID level Y stores the data on one disk because the restore data is distributed across all disk areas by chunk of each disk. Data processing is faster than processing speed.

그리고, 각 디스크의 각 청크에 데이터를 기록하는 경우 해당 RAID 레벨 1은 각 채널(20, 30)의 디스크 식별자별로 데이터 기록이 이루어지기 때문에 한 디스크에 데이터를 기록하고 있는 동안 대기해야 하는 것에 반하여, 해당 RAID 레벨 Y는 각 채널(20, 30)에서 모든 디스크의 청크별로 데이터 기록을 수행하기 때문에 대기시간이 없어 처리 속도가 향상된다.When data is written to each chunk of each disk, the corresponding RAID level 1 writes data for each disk identifier of each channel (20, 30), whereas the data must be waited while recording data on one disk. Since the RAID level Y writes data for each chunk of all disks in each channel 20 and 30, there is no waiting time, thereby improving processing speed.

또한, 각 채널(20, 30)간에는 미러링 방식을 사용하고 있기 때문에 RAID 레벨 0에서의 디스크 장애시 데이터 복원에 대한 문제를 해결할 수 있게 되는데, 해당 RAID 레벨 Y를 사용하는 디스크 배열 방식에서 사용자 요구가 마스터 채널 측의 디스크에 저장된 데이터를 판독하고자 하는 경우 해당 데이터를 판독하는 중에 디스크에 장애가 발생하는 경우 그 순간부터 슬레이브 채널 측의 디스크에서 데이터를 판독하기 때문에 데이터 복원에 의한 신뢰성을 확보할 수 있게 된다.In addition, since the mirroring method is used between the channels 20 and 30, it is possible to solve the problem of data restoration in the event of a disk failure at RAID level 0. If you want to read the data stored in the disk on the master channel side If the disk fails while reading the corresponding data, the data is read from the disk on the slave channel side from that moment, so the reliability by data restoration can be secured. .

또한, 본 발명에 따른 실시예는 상술한 것으로 한정되지 않고, 본 발명과 관련하여 통상의 지식을 가진자에게 자명한 범위내에서 여러 가지의 대안, 수정 및 변경하여 실시할 수 있다.In addition, the embodiments according to the present invention are not limited to the above-described embodiments, and various alternatives, modifications, and changes can be made within the scope apparent to those skilled in the art.

이상과 같이, 본 발명은 RAID 디스크 제어기 및 SCSI 제어기 의해 관리되는 다수의 디스크를 마스터 채널과 슬레이브 채널로 각각 분리한 후, 각 채널별로 스트립핑을 수행함과 동시에 각 채널간에 미러링을 수행하여 각 디스크의 청크별로 데이터 처리를 수행함으로써, 신속한 데이터 처리가 가능해 짐과 동시에 마스터 채널 측의 디스크 장애시 슬레이브 채널 측의 디스크를 이용한 데이터 복원이 가능하여 신뢰성을 확보할 수 있게 된다.As described above, the present invention divides a plurality of disks managed by a RAID disk controller and a SCSI controller into a master channel and a slave channel, respectively, and performs striping for each channel, and at the same time, performs mirroring between each channel, thereby By performing the data processing for each chunk, it becomes possible to process the data quickly and at the same time, it is possible to restore the data using the disk on the slave channel side in case of a disk failure on the master channel side, thereby ensuring reliability.

Claims (3)

RAID 디스크 제어기 및 SCSI 제어기에 의해 관리되는 다수의 디스크를 마스터 채널과 슬레이브 채널로 분리하는 과정과; 사용자 요구에 대해 RAID 레벨 Y에 따라 스트립핑 및 미러링을 수행하여 각 디스크의 청크별로 데이터 처리를 수행하는 과정을 포함하는 것을 특징으로 하는 레이드 레벨 와이를 이용한 디스크 관리 방법.Separating a plurality of disks managed by a RAID disk controller and a SCSI controller into a master channel and a slave channel; And performing data processing for each chunk of each disk by performing striping and mirroring according to RAID level Y according to a user's request. 제 1항에 있어서,The method of claim 1, 상기 각 디스크의 청크별로 데이터 처리를 수행하는 과정은, 상기 RAID 레벨 Y에 따라 각 채널별로 스트립핑을 수행함과 동시에 각 채널간에 미러링을 수행하되, 각 디스크의 청크를 기준으로 데이터를 기록 및 판독하는 것을 특징으로 하는 레이드 레벨 와이를 이용한 디스크 관리 방법.In the process of performing data processing for each chunk of each disk, mirroring is performed between each channel while stripping for each channel according to the RAID level Y, and recording and reading data based on the chunk of each disk. Disk management method using a raid level Wye, characterized in that. 제 1항에 있어서,The method of claim 1, 상기 각 디스크의 청크별로 데이터 처리를 수행하는 과정에서, 상기 마스터 채널 측에서 디스크 장애가 발생하는 경우 상기 슬레이브 채널 측에서 각 디스크의 각 청크별로 데이터를 판독하여 복원하는 단계를 더 포함하는 것을 특징으로 하는 레이드 레벨 와이를 이용한 디스크 관리 방법.In the process of performing data processing for each chunk of each disk, if a disk failure occurs on the master channel side, the slave channel side further comprising reading and restoring data for each chunk of each disk, characterized in that it further comprises: How to manage disk using RAID level wire.
KR1019990041074A 1999-09-22 1999-09-22 RAID Level Y Using Disk Management Method KR20010028691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990041074A KR20010028691A (en) 1999-09-22 1999-09-22 RAID Level Y Using Disk Management Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990041074A KR20010028691A (en) 1999-09-22 1999-09-22 RAID Level Y Using Disk Management Method

Publications (1)

Publication Number Publication Date
KR20010028691A true KR20010028691A (en) 2001-04-06

Family

ID=19612732

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990041074A KR20010028691A (en) 1999-09-22 1999-09-22 RAID Level Y Using Disk Management Method

Country Status (1)

Country Link
KR (1) KR20010028691A (en)

Similar Documents

Publication Publication Date Title
US7281089B2 (en) System and method for reorganizing data in a raid storage system
US9122410B2 (en) Storage system comprising function for changing data storage mode using logical volume pair
JP3316500B2 (en) Increase the number of drives in a RAID set while maintaining the integrity of the moved data
US8539194B2 (en) Storage system and method for storage capacity change of host-device-specified device
US6009481A (en) Mass storage system using internal system-level mirroring
US5511177A (en) File data multiplexing method and data processing system
US7720928B2 (en) Centralized fine-grained enhancements for distributed table driven I/O mapping
US6122685A (en) System for improving the performance of a disk storage device by reconfiguring a logical volume of data in response to the type of operations being performed
US7054960B1 (en) System and method for identifying block-level write operations to be transferred to a secondary site during replication
US5457791A (en) Storage system and method of control
US20150149719A1 (en) Flexible data storage system
US20020069318A1 (en) Real time application accelerator and method of operating the same
US20090276567A1 (en) Compensating for write speed differences between mirroring storage devices by striping
US8041891B2 (en) Method and system for performing RAID level migration
JP2002259062A (en) Storage device system and data copying method for data for the same
JP2014137711A (en) Storage device, backup program and backup method
JP2022016753A (en) Storage system, control method, and program
JP3669103B2 (en) Storage device and storage device subsystem
US20050223180A1 (en) Accelerating the execution of I/O operations in a storage system
KR20010028691A (en) RAID Level Y Using Disk Management Method
US11544005B2 (en) Storage system and processing method
JP3584665B2 (en) Library storage device using portable media
JP2733189B2 (en) Disk array device input / output control method
JP2002175157A (en) Disk array device
JP5691234B2 (en) Disk array device and mirroring control method

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination