KR100699877B1 - Method for preserving data of the defect sector and disc drive using the same - Google Patents
Method for preserving data of the defect sector and disc drive using the same Download PDFInfo
- Publication number
- KR100699877B1 KR100699877B1 KR1020050108928A KR20050108928A KR100699877B1 KR 100699877 B1 KR100699877 B1 KR 100699877B1 KR 1020050108928 A KR1020050108928 A KR 1020050108928A KR 20050108928 A KR20050108928 A KR 20050108928A KR 100699877 B1 KR100699877 B1 KR 100699877B1
- Authority
- KR
- South Korea
- Prior art keywords
- sector
- data
- defect
- replacement
- replacement sector
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1883—Methods for assignment of alternate areas for defective areas
- G11B20/1889—Methods for assignment of alternate areas for defective areas with discs
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B5/00—Recording by magnetisation or demagnetisation of a record carrier; Reproducing by magnetic means; Record carriers therefor
- G11B5/02—Recording, reproducing, or erasing methods; Read, write or erase circuits therefor
- G11B5/09—Digital recording
Abstract
Description
도 1은 본 발명이 적용되는 디스크 드라이브의 헤드 디스크 어셈블리의 평면도이다.1 is a plan view of a head disk assembly of a disk drive to which the present invention is applied.
도 2는 본 발명에 의한 데이터 저장 시스템에서의 디펙 섹터의 데이터 보존 방법이 적용되는 디스크 드라이브의 전기적인 회로 구성도이다.2 is an electrical circuit diagram of a disk drive to which a method for preserving data of a defect sector in a data storage system according to the present invention is applied.
도 3은 본 발명에 의한 데이터 저장 시스템에서의 디펙 섹터의 데이터 보존 방법에 따른 데이터 라이트 프로세스의 흐름도이다.3 is a flowchart of a data write process according to a method for preserving data of a defect sector in a data storage system according to the present invention.
도 4는 본 발명에 의한 데이터 저장 시스템에서의 디펙 섹터의 데이터 보존 방법에 따른 데이터 리드 프로세스의 흐름도이다.4 is a flowchart of a data read process according to a method of preserving data of a defect sector in a data storage system according to the present invention.
도 5(a)~(f)는 본 발명에 의한 데이터 저장 시스템에서의 디펙 섹터의 데이터 보존 방법을 설명하기 위한 디스크의 섹터 구성도이다.5 (a) to 5 (f) are sector configuration diagrams of a disc for explaining a data storage method of a defect sector in a data storage system according to the present invention.
본 발명은 데이터 저장 시스템의 데이터 처리 방법 및 장치에 관한 것으로 서, 디스크 드라이브에서 디펙 섹터의 데이터 유실 발생 가능성을 낮추기 위한 방법 및 장치에 관한 것이다.The present invention relates to a data processing method and apparatus for a data storage system, and to a method and apparatus for reducing the possibility of data loss of a defect sector in a disk drive.
일반적으로, 데이터 저장 장치의 하나인 하드디스크 드라이브는 자기 헤드에 의해 디스크에 기록된 데이터를 재생하거나, 디스크에 사용자 데이터를 기록함으로써 컴퓨터 시스템 운영에 기여하게 된다. 이와 같은 하드디스크 드라이브는 점차 고용량화, 고밀도화 및 소형화되면서 디스크 회전 방향의 기록 밀도인 BPI(Bit Per Inch)와 직경 방향의 기록 밀도인 TPI(Track Per Inch)가 증대되는 추세에 있으므로 그에 따라 더욱 정교한 메커니즘이 요구된다.In general, a hard disk drive, which is one of data storage devices, contributes to computer system operation by reproducing data recorded on a disk by a magnetic head or recording user data on the disk. As such hard disk drives are gradually increasing in capacity, density, and miniaturization, bit per inch (BPI), the recording density in the direction of disk rotation, and track per inch (TPI), the recording density in the radial direction, are increasing. Is required.
하드 디스크 드라이브는 스핀들 모터의 정속 회전에 의해 디스크가 회전하고, 변환기(일명 헤드라 칭함)에 의하여 디스크의 서보(Servo) 정보는 동일 시간 간격으로 리드(read) 되어지고 읽어낸 서보 정보를 기준으로 데이터 섹터의 위치를 판단하여 데이터 라이트(write) 및 리드 동작을 실행한다.In the hard disk drive, the disk is rotated by the constant rotation of the spindle motor, and the servo information of the disk is read and read at the same time interval by the transducer (also called a head). The position of the data sector is determined to perform data write and read operations.
하드 디스크 드라이브의 제조 공정에서는 디펙(defect) 되지 않았으나, 사용자 환경에서 추가적으로 새로운 디펙이 발견될 수 있는데, 이러한 경우에 디펙이 발견된 해당 섹터를 미리 준비된 스페어(spare) 영역에 있는 대체 섹터로 재 할당하는 기술이 섹터 재 할당 기술이다.In the manufacturing process of the hard disk drive, no defects can be found, but additional new defects can be found in the user's environment. One technique is sector reassignment.
종래의 기술에 의한 섹터 재 할당 기술은 다음과 같이 2가지 방법이 있다.The sector reallocation technique according to the prior art has two methods as follows.
첫 번째 방법은, 복수개의 존(zone)으로 나누어진 디스크 각각의 존의 마지막 2개의 실린더를 스페어 실린더(spare cylinder)로 설정하고, 디스크의 각 존에서 디펙이 발견되는 경우에 디펙이 발견된 섹터를 대신하여 해당 존의 스페어 실린 더에 디펙 섹터를 재 할당하는 처리 방법이다.The first method sets the last two cylinders of each zone of the disk divided into a plurality of zones as spare cylinders, and the sector where the defect is found when a defect is found in each zone of the disk. This is a method of reallocating the defect sector to the spare cylinder of the corresponding zone instead.
두 번째 방법은, 디스크의 매 트랙에 2개의 섹터를 스페어 섹터(spare sector)로 설정하고, 디펙이 발견된 섹터가 포함된 트랙의 스페어 섹터 위치에 있는 섹터로 디펙이 발견된 섹터를 대체하하도록 섹터를 재 할당하는 처리 방법이다.The second method is to set two sectors as spare sectors on every track of the disc and replace the sectors where the defects are found with the sectors at the spare sector locations of the tracks containing the sectors where the defects were found. A method of reallocating sectors.
이와 같은 섹터 재 할당 처리 방법에 의하여 재 할당된 대체 섹터에서 향후 디펙이 발생되는 경우에는 데이터를 유실하게 되는 문제점이 있었다.In the case where defects are generated in the replacement sector reassigned by the sector reassignment processing method as described above, data may be lost.
본 발명이 이루고자하는 기술적 과제는 상술한 문제점을 해결하기 위하여 디펙 발생시에 스페어 영역의 복수의 섹터에 디펙 섹터에 라이트할 데이터를 라이트하여 향후 하나의 대체 섹터에서 디펙이 발생되더라도 데이터 유실을 방지하기 위한 데이터 저장 시스템에서의 디펙 섹터의 데이터 보존 방법 및 이를 이용한 디스크 드라이브를 제공하는데 있다.The technical problem to be solved by the present invention is to prevent data loss even if a defect is generated in one alternative sector by writing data to be written to the defect sector in a plurality of sectors of the spare area when the defect is generated in order to solve the above problem. The present invention provides a method of preserving data of a defect sector in a data storage system and a disk drive using the same.
상기 기술적 과제를 달성하기 위하여 본 발명의 제1실시 예에 의한 데이터 저장 시스템에서의 디펙 섹터의 데이터 보존 방법은 데이터 저장 시스템에서의 디펙 섹터의 데이터 보존 방법은 데이터 저장 시스템에서의 데이터 처리 방법에 있어서, (a) 디펙 섹터가 발생되는 경우에, 스페어 영역에서 상기 디펙 섹터에 대응되는 대체 섹터를 할당하고, 상기 디펙 섹터에 라이트할 데이터를 상기 대체 섹터에 라이트하는 단계; 및 (b) 상기 스페어 영역에서 상기 대체 섹터와 쌍을 이루는 미러 대체 섹터에 상기 디펙 섹터에 라이트할 데이터를 라이트하는 단계를 포함함을 특징으로 한다.In order to achieve the above technical problem, the data storage method of the defect sector in the data storage system according to the first embodiment of the present invention is the data storage method of the defect sector in the data storage system. (a) when a defect sector is generated, allocating a replacement sector corresponding to the defect sector in a spare area, and writing data to be written to the defect sector to the replacement sector; And (b) writing data to be written to the defect sector in the mirror replacement sector paired with the replacement sector in the spare area.
상기 기술적 과제를 달성하기 위하여 본 발명의 제2실시 예에 의한 데이터 저장 시스템에서의 데이터 처리 방법에 있어서, (a) 디펙 섹터가 발생되는 경우에, 스페어 영역에서 상기 디펙 섹터에 대응되는 대체 섹터 및 상기 대체 섹터와 일정한 액세스 규칙에 의하여 쌍을 이루는 섹터에 상기 디펙 섹터에 라이트할 데이터를 각각 라이트하는 단계; 및 (b) 상기 대체 섹터에 저장된 데이터를 리드하는 과정에서 에러가 발생되는 경우에 상기 대체 섹터와 쌍을 이루는 섹터에 저장된 데이터를 리드하는 단계를 포함함을 특징으로 한다.In order to achieve the above technical problem, in the data processing method of the data storage system according to the second embodiment of the present invention, (a) when a defect sector is generated, a replacement sector corresponding to the defect sector in the spare area; Writing data to be written to the defect sector in sectors paired with the replacement sector according to a certain access rule; And (b) reading data stored in a sector paired with the replacement sector when an error occurs while reading data stored in the replacement sector.
상기 다른 기술적 과제를 달성하기 위하여 본 발명에 의한 디스크 드라이브는 데이터 저장 장치에 있어서, 디펙 섹터를 재 할당하기 위한 소정의 스페어 영역을 포함하여 정보를 저장하는 디스크; 데이터 처리 과정에서 디펙이 발생되는 경우에, 상기 스페어 영역에서 상기 디펙 섹터에 대응되는 대체 섹터를 할당하고 상기 디펙 섹터에 라이트할 데이터를 상기 대체 섹터에 라이트하는 제어 프로세스, 상기 스페어 영역에서 상기 대체 섹터와 쌍을 이루도록 미러 대체 섹터를 지정하고 상기 미러 대체 섹터에 상기 디펙 섹터에 라이트할 데이터를 라이트하는 제어 프로세스, 상기 대체 섹터에 저장된 데이터를 리드하는데 과정에서 에러가 발생되는 경우에 상기 대체 섹터와 쌍을 이루는 미러 대체 섹터를 탐색하여 데이터를 리드하는 제어 프로세스를 실행하는 콘트롤러; 및 상기 제어 프로세스에 따라서 데이터를 디스크에 라이트하거나, 또는 상기 디스크로부터 데이터를 리드하기 위한 데이터 처리를 실행하는 기록/판독 회로를 포함함을 특징으로 한다.According to another aspect of the present invention, there is provided a disk drive, comprising: a disk for storing information including a predetermined spare area for reallocating a defect sector; When a defect is generated during data processing, a control process of allocating a replacement sector corresponding to the defect sector in the spare area and writing data to be written to the defect sector to the replacement sector, and the replacement sector in the spare area. A control process of designating a mirror replacement sector to be paired with and writing data to be written to the defect sector to the mirror replacement sector, and if an error occurs in the process of reading data stored in the replacement sector, pairing with the replacement sector. A controller for executing a control process of searching for a mirror replacement sector to form a data; And a write / read circuit for performing data processing for writing data to or reading data from the disk in accordance with the control process.
이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예에 대하여 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
하드 디스크 드라이브는 기구적인 부품들로 구성된 HDA(Head Disk Assembly)와 전기 회로의 결합으로 이루어진다.Hard disk drives consist of a combination of electrical circuits and a head disk assembly (HDA) consisting of mechanical components.
도 1은 본 발명이 적용되는 하드 디스크 드라이브의 HDA(Head Disk Assembly; 10)의 구성을 보여준다. 1 shows a configuration of a head disk assembly (HDA) 10 of a hard disk drive to which the present invention is applied.
헤드 디스크 어셈블리(10)는 스핀들 모터(14)에 의하여 회전되는 적어도 하나의 자기 디스크(12)를 포함하고 있다. 디스크 드라이브(10)는 디스크(12) 표면에 인접되게 위치한 변환기(16)를 또한 포함하고 있다.The
변환기(16)는 각각의 디스크(12)의 자계를 감지하고 자화시킴으로써 회전하는 디스크(12)에서 정보를 읽거나 기록할 수 있다. 전형적으로 변환기(16)는 각 디스크(12) 표면에 결합되어 있다. 비록 단일의 변환기(16)로 도시되어 설명되어 있지만, 이는 디스크(12)를 자화시키기 위한 기록용 변환기와 디스크(12)의 자계를 감지하기 위한 분리된 읽기용 변환기로 이루어져 있다고 이해되어야 한다. 읽기용 변환기는 자기 저항(MR : Magneto-Resistive) 소자로부터 구성되어 진다. 변환기(16)는 통상적으로 헤드(Head)라 칭해지기도 한다.The
변환기(16)는 슬라이더(20)에 통합되어 질 수 있다. 슬라이더(20)는 변환기(16)와 디스크(12) 표면사이에 공기 베어링(air bearing)을 생성시키는 구조로 되어 있다. 슬라이더(20)는 헤드 짐벌 어셈블리(22)에 결합되어 있다. 헤드 짐벌 어셈블리(22)는 보이스 코일(26)을 갖는 엑츄에이터 암(24)에 부착되어 있다. 보이스 코일(26)은 보이스 코일 모터(VCM : Voice Coil Motor 30)를 특정하는 마그네틱 어셈블리(28)에 인접되게 위치하고 있다. 보이스 코일(26)에 공급되는 전류는 베어링 어셈블리(32)에 대하여 엑츄에이터 암(24)을 회전시키는 토오크를 발생시킨다. 엑츄에이터 암(24)의 회전은 디스크(12) 표면을 가로질러 변환기(16)를 이동시킬 것이다.The
정보는 전형적으로 디스크(12)의 환상 트랙 내에 저장된다. 각 트랙(34)은 일반적으로 복수의 섹터를 포함하고 있다. 각 섹터는 데이터 필드(data field)와 식별 필드(identification field)를 포함하고 있다. 식별 필드는 섹터 및 트랙(실린더)을 식별하는 그레이 코드(Gray code)로 구성되어 있다. 변환기(16)는 다른 트랙에 있는 정보를 읽거나 기록하기 위하여 디스크(12) 표면을 가로질러 이동된다.The information is typically stored in an annular track of the
디스크(12)는 또한 복수 개의 존(zone)으로 나누어지며, 각 존에는 디펙 섹터를 대체하기 위한 스페어 실린더(spare cylinder)가 할당되어 있다. 일 예로서, 스페어 실린더는 각 존마다 2개의 트랙에 할당되도록 설계할 수 있다. 본 발명에서 스페어 실린더 영역은 대체 섹터를 할당하기 위한 실린더 영역과 대체 섹터와 쌍을 이루는 미러 대체 섹터를 할당하기 위한 실린더 영역으로 구분된다.The
도 2는 하드 디스크 드라이브를 제어할 수 있는 전기 시스템(40)을 보여준다. 전기 시스템(40)은 리드/라이트(R/W) 채널 회로(44) 및 프리-앰프 회로(46)에 의하여 변환기(16)에 결합된 콘트롤러(42)를 포함하고 있다. 2 shows an
콘트롤러(42)는 디지털 신호 프로세서(DSP : Digital Signal Processor), 마이크로프로세서, 마이크로콘트롤러 등이 된다. 콘트롤러(42)는 호스트 인터페이스 회로(54)를 통하여 호스트 기기로부터 수신되는 코멘드(command)에 따라서 디스크(12)로부터 정보를 읽거나 또는 디스크(12)에 정보를 기록하기 위하여 리드/라이트 채널 회로(44)를 제어한다. The
그리고, 콘트롤러(42)는 보이스 코일(26)에 구동 전류를 공급하는 VCM 구동 회로(48)에 또한 결합되어 있다. 콘트롤러(42)는 보이스 코일 모터의 여기 및 변환기(16)의 움직임을 제어하기 위하여 VCM 구동부(48)로 제어신호를 공급한다. The
ROM(50)에는 디스크 드라이브를 제어하는 펌웨어 및 각종 제어 데이터들이 저장되어 있다. 물론 도 3 및 도 4에 도시된 본 발명에 의한 데이터 저장 시스템에서의 디펙 섹터의 데이터 보존 방법의 흐름도를 수행하기 위한 프로그램들도 저장되어 있다.The
RAM(52)에는 디스크 드라이브에 전원이 공급되면 디스크(12)의 메인터넌스 실린더(Maintenance Cylinder) 위치에서 읽어낸 디스크 드라이브 정보인 각종 파라미터 정보들과 대체 섹터 재할당 리스트들이 로딩 된다.When power is supplied to the disk drive, the
우선, 일반적인 디스크 드라이브의 동작을 설명하면 다음과 같다.First, the operation of a general disk drive will be described.
데이터 읽기(Read) 모드에서, 디스크 드라이브는 디스크(12)로부터 변환기(16)에 의하여 감지된 전기적인 신호를 프리 앰프(45)에서 신호 처리에 용이하도록 증폭시킨다. 그리고 나서, 리드/라이트 채널 회로(44)에서는 콘트롤러(42)에서 생성되는 섹터 펄스에 따라서 디스크(12)로부터 읽어낸 신호를 디지털 신호로 부호화시키고, 스트림 데이터로 변환하여 호스트 인터페이스 회로(54)를 통하여 호스트 기기로 전송한다. In the data read mode, the disc drive amplifies the electrical signal sensed by the
다음으로 쓰기(Write) 모드에서, 디스크 드라이브는 호스트 인터페이스 회로(54)를 통하여 호스트 기기로부터 데이터를 입력받아 호스트 인터페이스 회로(54)의 내부 버퍼(도면에 미도시)에 일시 저장시킨 후에, 버퍼에 저장된 데이터를 순차적으로 출력하여 리드/라이트 채널 회로(44)에 의하여 디스크(12)의 기록 채널에 적합한 바이너리 데이터 스트림으로 변환시킨 후에 섹터 펄스가 발생되는 시점에 프리 앰프(45)에 의하여 증폭된 기록 전류를 변환기(16)를 통하여 디스크(12)에 기록시킨다. Next, in the write mode, the disk drive receives data from the host device through the
본 발명에 따르면, 콘트롤러(42)는 리드/라이트 채널 회로(44)에서 데이터 처리를 실행하는 과정에서 디펙이 발생되는 경우에, 디스크(12)의 스페어 영역에서 디펙 섹터에 대응되는 대체 섹터를 재할당하고 디펙 섹터에 기록할 데이터를 재 할당된 대체 섹터에 라이트하는 제어 프로세스, 디스크(12)의 스페어 영역에서 일정한 액세스 규칙에 따라 해당 대체 섹터와 쌍을 이루는 다른 섹터(이하, 미러(mirror) 대체 섹터라 칭함)를 지정하고 미러 대체 섹터에 해당 디펙 섹터에 기록할 데이터를 라이트하는 제어 프로세스, 대체 섹터에 저장된 데이터를 리드하는데 과정에서 디펙이 발생되는 경우에 해당 대체 섹터와 쌍을 이루는 미러 대체 섹터를 탐색하여 데이터를 리드하는 제어 프로세스를 실행한다. According to the present invention, when a defect is generated in the process of performing data processing in the read /
그러면, 본 발명에 의한 데이터 저장 시스템에서의 디펙 섹터의 데이터 보존 방법에 대하여 도 2의 디스크 드라이브의 구성도를 참조하여 도 3 및 도 4의 흐름도를 중심으로 설명하기로 한다.Next, a method of preserving data of a defect sector in a data storage system according to the present invention will be described with reference to the flowcharts of FIGS. 3 and 4 with reference to the configuration of the disk drive of FIG. 2.
우선, 도 3을 참조하여 본 발명에 따른 데이터 저장 시스템에서의 디펙 섹터 의 데이터 보존 방법에 따른 라이트(WRITE) 프로세스를 설명하기로 한다.First, the WRITE process according to the data preservation method of the defect sector in the data storage system according to the present invention will be described with reference to FIG. 3.
콘트롤러(42)는 호스트 기기(도면에 미도시)로부터 수신된 데이터 라이트 명령에 따라 라이트 모드로 진입되는지를 판단한다(S310).The
라이트 모드로 진입되면, 콘트롤러(42)는 디스크(12)에 기록할 목표 트랙으로 변환기(16)를 이동시킨 후에 데이터 라이트 모드를 실행한다(S320).When entering the write mode, the
데이터를 라이트하는 과정에서 디펙(defect) 섹터가 발생되는지를 판단한다(S330). 데이터 기록 과정에서의 디펙 섹터는 일 예로서, 서보(Servo) 신호가 정상적으로 검출되지 않는 경우에 발생된다.In operation S330, it is determined whether a defect sector is generated in the process of writing data. Defect sectors in the data recording process are generated when, for example, Servo signals are not normally detected.
단계330(S330)의 판단 결과 도 5(a)에 도시된 바와 같이 디펙 섹터(D2)가 발생되면, 콘트롤러(42)는 디스크(12)의 스페어 영역에서 디펙 섹터(D2)에 대응되는 대체 섹터(S129)를 재할당하고, 대체 섹터 재할당 리스트에 추가한다(S340).As a result of the determination in step 330 (S330), as shown in FIG. 5 (a), when the defect sector D2 is generated, the
콘트롤러(42)는 대체 섹터 위치로 변환기(16)를 이동시키도록 제어하고 나서, 도 5(b)에 도시된 바와 같이 디펙이 발생된 섹터(D2)에 기록할 데이터를 대체 섹터(S129)에 기록하도록 제어한다(S350).The
다음으로, 콘트롤러(42)는 도 5(c)에 도시된 바와 같이 디펙이 발생된 섹터에 기록할 데이터를 해당 대체 섹터와 쌍을 이루는 다른 섹터(미러 대체 섹터)에 기록하도록 제어한다(S360).Next, as shown in FIG. 5C, the
위의 디펙 섹터와 쌍을 이루는 미러 대체 섹터의 위치는 일정한 액세스 규칙에 따라 스페어 영역에서 결정된다. 본 발명에서는 미러 대체 섹터의 위치를 결정하는 예를 2가지 제시한다.The position of the mirror replacement sector paired with the above defect sector is determined in the spare area according to a certain access rule. The present invention provides two examples of determining the position of the mirror replacement sector.
case1) 미러 대체 섹터의 위치 정보 CHS = 대체 섹터가 포함된 실린더+1, 대체 섹터에서 사용되는 헤드와 동일한 헤드, 대체 섹터와 동일한 섹터case1) Position information of mirror replacement sector CHS = cylinder with replacement sector +1, same head as used in replacement sector, same sector as replacement sector
case2) 미러 대체 섹터의 위치 정보 CHS = 대체 섹터가 포함된 실린더+1, (대체 섹터에서 사용되는 헤드+1)%(max number), 대체 섹터와 동일한 섹터case2) Position information of mirror replacement sector CHS = cylinder with replacement sector +1, (head +1)% (max number) used in replacement sector, same sector as replacement sector
case1)에 따르면 대체 섹터와 쌍을 이루는 미러 대체 섹터는 헤드 및 섹터 번호가 동일하고, 단지 실린더 번호만 "1" 증가한 위치로 결정하도록 액세스 규칙을 설정하였다.According to case 1), the access rule is set so that the mirror replacement sector paired with the replacement sector has the same head and sector numbers, and only the cylinder number is increased by " 1 ".
이에 비하여, case2)에 따르면 대체 섹터와 쌍을 이루는 미러 대체 섹터는 대체 섹터와 섹터 번호만 동일하고, 대체 섹터에서 사용하는 헤드 번호에 "1"을 증가시키고, 대체 섹터에서 사용하는 헤드 번호가 최대 번호인 경우에는 최소 번호의 헤드로 쉬프트(shift)시키며, 실린더 번호는 대체 섹터의 실린더 번호에서 "1" 증가한 위치로 결정하도록 액세스 규칙을 설정하였다.In contrast, according to case2), the mirror replacement sector paired with the replacement sector has the same replacement sector and sector number only, increases "1" to the head number used in the replacement sector, and the head number used in the replacement sector is maximum. If the number is shifted to the head of the minimum number, the access rule is set so that the cylinder number is determined to be "1" increased from the cylinder number of the replacement sector.
본 발명의 일 실시 예에서는 미러 대체 섹터의 위치를 결정하는 예를 2가지 제시하였으나, 본 발명은 이에 한정되지 않고 다양한 액세스 규칙에 의하여 미러 대체 섹터를 결정할 수 있다.In an embodiment of the present invention, two examples of determining the position of the mirror replacement sector are provided. However, the present invention is not limited thereto, and the mirror replacement sector may be determined by various access rules.
위와 같은 방법에 의하여 데이터 라이트 실행 중에 디펙이 발생되면, 스페어 영역에서 대체 섹터를 재할당하여 디펙 섹터에 기록할 데이터를 라이트하고, 이와 더불어 스페어 영역에서 대체 섹터와 쌍을 이루는 미러 대체 섹터에도 대체 섹터에 기록한 데이터와 동일한 데이터를 라이트하게 된다. 즉, 디펙 섹터에 기록할 데이터를 스페어 영역의 2개의 섹터에 중복하여 기록하게 된다.When the defect is generated during the data write operation by the above method, the spare sector is reallocated to replace the spare sector to write the data to be written to the defect sector, and the replacement sector is also mirrored to the mirror replacement sector paired with the spare sector in the spare area. The same data as the data recorded in " In other words, data to be recorded in the defect sector is recorded in two sectors of the spare area.
다음으로, 도 4를 참조하여 본 발명에 따른 데이터 저장 시스템에서의 디펙 섹터의 데이터 보존 방법에 따른 데이터 리드(READ) 프로세스를 설명하기로 한다.Next, a data read process according to the data preservation method of the defect sector in the data storage system according to the present invention will be described with reference to FIG. 4.
콘트롤러(42)는 호스트 기기(도면에 미도시)로부터 수신된 데이터 리드 명령에 따라 리드(READ) 모드로 진입되는지를 판단한다(S410).The
리드 모드로 진입되면, 콘트롤러(42)는 디스크(12)에서 읽어낼 목표 트랙으로 변환기(16)를 이동시킨 후에 데이터 리드 모드를 실행한다(S420).When entering the read mode, the
데이터를 읽어내는 과정에서 에러가 발생되는지를 판단한다(S430). 데이터 리드 과정에서의 에러는 정해진 회수만큼 파라미터 값들을 변경시키면서 리트라이를 실행해도 정상적으로 데이터를 읽어낼 수 없는 경우에 발생된다.It is determined whether an error occurs in the process of reading data (S430). An error in the data read process occurs when the data cannot be read normally even when the retry is performed while changing the parameter values by a predetermined number of times.
단계430(S430)의 판단 결과 리드 과정에서 에러가 발생되는 경우에, 에러가 발생된 섹터가 스페어 영역에서 재 할당된 대체 섹터에 해당되는지를 판단한다(S440).When an error occurs in the read process as a result of the determination in step 430 (S430), it is determined whether the sector in which the error has occurred corresponds to the replacement sector reassigned in the spare area (S440).
단계440(S440)의 판단 결과 재 할당된 대체 섹터에서 데이터 리드 시에 에러가 발생되면, 콘트롤러(42)는 에러가 발생된 대체 섹터와 쌍을 이루는 미러 대체 섹터로 변환기(16)가 이동되도록 탐색 제어한다(S450). 미러 대체 섹터 위치를 찾는 방법은 도 3의 흐름도에서 상세하게 설명한 바와 같은 액세스 규칙으로부터 대체 섹터와 쌍을 이루는 미러 대체 섹터 위치 정보를 알아낸다.If an error occurs when data is read from the reassigned replacement sector as a result of the determination in step 440 (S440), the
그리고 나서, 콘트롤러(42)는 미러 대체 섹터에 저장된 데이터를 읽어내도록 제어한다(S460).Then, the
즉, 데이터 리드 과정에서 RAM(52)에 저장되어 있는 디펙 리스트를 참조하여 데이터를 읽어내는데, 도 5(d) 및 (e)에 도시된 바와 같이 디펙이 발생된 섹터(D2)를 읽는 프로세스에서 디펙 리스트에 저장되어 있는 대체 섹터(S129)로 변환기(16)를 이동시켜서 대체 섹터(S129)에 저장된 데이터를 읽어낸다. 그런데, 대체 섹터(S129)에서의 데이터 리드 시에도 에러가 발생되면 도 5(f)에 도시된 바와 같이 대체 섹터(S129; 진하게 표시)와 쌍을 이루는 다른 섹터인 미러 대체 섹터(S129; 흐리게 표시) 위치로 변환기(16)를 이동시켜 미러 대체 섹터에 저장된 데이터를 읽어낸다. That is, the data is read by referring to the defect list stored in the
이와 같이 스페어 영역에 재할당된 대체 섹터의 데이터를 읽는 과정에서 에러가 발생되면 해당 대체 섹터와 쌍을 이루는 다른 섹터인 미러 대체 섹터를 탐색하여 데이터 읽기를 실행하게 된다. 이에 따라서, 향후 대체 섹터에 디펙이 발생되더라도 미러 대체 섹터를 이용하여 데이터 유실을 방지한다.If an error occurs in the process of reading the data of the spare sector reallocated to the spare area as described above, the mirror replacement sector, which is another sector paired with the spare sector, is searched for data reading. Accordingly, even if a defect is generated in the replacement sector in the future, data loss is prevented by using the mirror replacement sector.
본 발명은 방법, 장치, 시스템 등으로서 실행될 수 있다. 소프트웨어로 실행될 때, 본 발명의 구성 수단들은 필연적으로 필요한 작업을 실행하는 코드 세그먼트들이다. 프로그램 또는 코드 세그먼트들은 프로세서 판독 가능 매체에 저장되어 질 수 있으며 또는 전송 매체 또는 통신망에서 반송파와 결합된 컴퓨터 데이터 신호에 의하여 전송될 수 있다. 프로세서 판독 가능 매체는 정보를 저장 또는 전송할 수 있는 어떠한 매체도 포함한다. 프로세서 판독 가능 매체의 예로는 전자 회로, 반도체 메모리 소자, ROM, 플레쉬 메모리, 이레이져블 ROM(EROM : Erasable ROM), 플로피 디스크, 광 디스크, 하드디스크, 광 섬유 매체, 무선 주파수(RF) 망, 등이 있다. 컴퓨터 데이터 신호는 전자 망 채널, 광 섬유, 공기, 전자계, RF 망, 등과 같은 전송 매체 위로 전파될 수 있는 어떠한 신호도 포함된다. The invention can be practiced as a method, apparatus, system, or the like. When implemented in software, the constituent means of the present invention are code segments that necessarily perform the necessary work. The program or code segments may be stored in a processor readable medium or transmitted by a computer data signal coupled with a carrier on a transmission medium or network. Processor readable media includes any medium that can store or transmit information. Examples of processor-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memory, erasable ROM (EROM), floppy disks, optical disks, hard disks, optical fiber media, radio frequency (RF) networks, Etc. Computer data signals include any signal that can propagate over transmission media such as electronic network channels, optical fibers, air, electromagnetic fields, RF networks, and the like.
첨부된 도면에 도시되어 설명된 특정의 실시 예들은 단지 본 발명의 예로서 이해되어 지고, 본 발명의 범위를 한정하는 것이 아니며, 본 발명이 속하는 기술 분야에서 본 발명에 기술된 기술적 사상의 범위에서도 다양한 다른 변경이 발생될 수 있으므로, 본 발명은 보여지거나 기술된 특정의 구성 및 배열로 제한되지 않는 것은 자명하다. 즉, 본 발명은 하드디스크 드라이브를 포함하는 각종 디스크 드라이브에 적용될 수 있을 뿐만 아니라, 다양한 종류의 데이터 저장 장치에 적용될 수 있음은 당연한 사실이다.Specific embodiments shown and described in the accompanying drawings are only to be understood as an example of the present invention, not to limit the scope of the invention, but also within the scope of the technical spirit described in the present invention in the technical field to which the present invention belongs As various other changes may occur, it is obvious that the invention is not limited to the specific constructions and arrangements shown or described. That is, it is a matter of course that the present invention can be applied not only to various disk drives including hard disk drives, but also to various kinds of data storage devices.
상술한 바와 같이, 본 발명에 의하면 디펙 발생시에 대체 섹터 및 대체 섹터와 쌍을 이루는 미러 대체 섹터에 디펙 섹터에 기록할 데이터를 함께 기록함으로써, 향후 대체 섹터에서 디펙이 발생될 경우에도 미러 대체 섹터를 이용하여 데이터가 유실되지 않고 보존할 수 있는 효과가 발생된다.As described above, according to the present invention, when a defect is generated, data to be recorded in the defect sector is recorded together with the replacement sector and the mirror replacement sector paired with the replacement sector so that the mirror replacement sector can be repaired even if the defect is generated in the future replacement sector. The effect is that data can be preserved without loss.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050108928A KR100699877B1 (en) | 2005-11-15 | 2005-11-15 | Method for preserving data of the defect sector and disc drive using the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050108928A KR100699877B1 (en) | 2005-11-15 | 2005-11-15 | Method for preserving data of the defect sector and disc drive using the same |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100699877B1 true KR100699877B1 (en) | 2007-03-28 |
Family
ID=41564648
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050108928A KR100699877B1 (en) | 2005-11-15 | 2005-11-15 | Method for preserving data of the defect sector and disc drive using the same |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100699877B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101874324B1 (en) * | 2011-04-27 | 2018-07-05 | 시게이트 테크놀로지 엘엘씨 | Method for controlling read or write operation, storage device and computer system using the method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030079621A (en) * | 2002-04-06 | 2003-10-10 | 삼성전자주식회사 | Reassignning method of defect sector and access method for defect sector therefor |
KR20040028469A (en) * | 2002-09-30 | 2004-04-03 | 엘지전자 주식회사 | Method for managing a defect area on optical disc write once |
-
2005
- 2005-11-15 KR KR1020050108928A patent/KR100699877B1/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030079621A (en) * | 2002-04-06 | 2003-10-10 | 삼성전자주식회사 | Reassignning method of defect sector and access method for defect sector therefor |
KR20040028469A (en) * | 2002-09-30 | 2004-04-03 | 엘지전자 주식회사 | Method for managing a defect area on optical disc write once |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101874324B1 (en) * | 2011-04-27 | 2018-07-05 | 시게이트 테크놀로지 엘엘씨 | Method for controlling read or write operation, storage device and computer system using the method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7337263B2 (en) | Method of varying recording density of data storage medium and disk drive using the method | |
KR100464439B1 (en) | Method and apparatus for processing adaptive defect scan according to characteristic of channel | |
KR100464440B1 (en) | Method for managing defects of disc drive, recording media therefor and disc drive therefor | |
US7487388B2 (en) | Method of recovering reallocation sectors in data storage system and disc drive using the same | |
KR100652399B1 (en) | Method of processing defect of harddisk drive and harddisk drive and recording medium adapting the same | |
US7715140B2 (en) | Method of determining size of error and write control method for hard disc drive, hard disc drive using the write control method, and media storing computer programs for executing the methods | |
KR100555536B1 (en) | Method for controlling adaptive retry process in data storage system and disc drive using the same | |
KR100459716B1 (en) | Method and apparatus for writing/inspecting servo information in a disk drive | |
KR100699877B1 (en) | Method for preserving data of the defect sector and disc drive using the same | |
KR20060084268A (en) | Method for controlling data read and harddisk drive adapted thereof | |
KR100699880B1 (en) | Method for managing track defect of maintenance cylinder in data storage system and disc drive using the same | |
KR100524989B1 (en) | Method for improving retry process in data storage system and disc drive using the same | |
KR100618835B1 (en) | Method for reassigning sector adaptively in data storage system and disc drive using the same | |
KR100594264B1 (en) | Method for controlling retry process in data storage system and disc drive using the same | |
KR20030021679A (en) | Dummy writing method and apparatus for improving a performance in a data storage system | |
KR100723512B1 (en) | Cache buffer control method and disk drive using the same | |
KR20070096081A (en) | Method for restoring the master boot record of storage medium and disk drive using the same | |
KR100640586B1 (en) | Method and apparatus for detecting a growing defect in disk drive | |
KR100660842B1 (en) | Method for optimalizing channel parameter of harddisk drive and apparatus thterfor | |
KR100723513B1 (en) | Method for detecting a bent disc and disc drive using the same | |
KR100640666B1 (en) | Method for managing track defect in data storage system and disc drive using the same | |
KR100712522B1 (en) | Sequential seek method of hard disk drive, hard disk drive for the same and recording medium for the same | |
KR20070115485A (en) | Cache buffer control method and disk drive using the same | |
KR20060040069A (en) | Method for optimizing servo channel parameter of hard disk drive |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20100315 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |