KR20130007182A - Methods and devices for operating hard disk drive - Google Patents
Methods and devices for operating hard disk drive Download PDFInfo
- Publication number
- KR20130007182A KR20130007182A KR1020110064165A KR20110064165A KR20130007182A KR 20130007182 A KR20130007182 A KR 20130007182A KR 1020110064165 A KR1020110064165 A KR 1020110064165A KR 20110064165 A KR20110064165 A KR 20110064165A KR 20130007182 A KR20130007182 A KR 20130007182A
- Authority
- KR
- South Korea
- Prior art keywords
- data
- sector
- buffer
- spare sector
- hard disk
- 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/10527—Audio or video recording; Data buffering arrangements
-
- 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
-
- 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/10527—Audio or video recording; Data buffering arrangements
- G11B2020/1062—Data buffering arrangements, e.g. recording or playback buffers
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/20—Disc-shaped record carriers
- G11B2220/25—Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
- G11B2220/2508—Magnetic discs
- G11B2220/2516—Hard disks
Abstract
A read operation method of a hard disk drive is disclosed. The read operation method of the hard disk drive may include receiving a write command from a host, detecting a defect from a sector to which data is to be written during a write operation in response to the write command, and detecting the defect. Reallocating the sector to a spare sector to write the data to the spare sector, and storing the data written to the spare sector in a buffer.
Description
Embodiments of the inventive concept relate to a hard disk drive, and more particularly, to operating methods of the hard disk drive that can improve read performance and devices capable of performing the methods.
In hard disk drives (HDDs), defects can be created by scratching during the manufacturing process. Thus, the defective sector cannot be used to write or read data. Therefore, prior to releasing the HDD to the user, the manufacturer generally detects the defect and replaces the sector with the defect with a normal sector.
In addition, a defect can be created in a user environment, for example, after the HDD is shipped to the market. Growth defects occur in the user environment. When the growth defects are generated, the HDD reassigns the sectors in which the growth defects are detected to spare sectors to store data.
When the HDD reads data, the head of the HDD must move to the spare sector to read the data, thereby lowering the read performance.
SUMMARY OF THE INVENTION The present invention provides a method of operating a hard disk drive capable of improving data read performance by reading data without disk access to improve read performance of a reallocated sector and performing the methods. It is to provide devices that can.
According to an exemplary embodiment of the present invention, a write operation method of a hard disk drive may include receiving a write command from a host and detecting whether a sector to which data is written is defective during a write operation in response to the write command. And reassigning the detected sector to a spare sector, writing the data to the spare sector, and storing the data written to the spare sector in a buffer.
The write operation method of the hard disk drive may further include pre-reading data written to the spare sector and storing the data written to the spare sector in the buffer when the hard disk drive is powered on. Include.
The storing of the data written to the spare sector in the buffer may include loading metadata stored in a maintenance cylinder into a volatile memory, and writing the data written in the spare sector with reference to the loaded metadata. Storing data in the buffer.
The metadata includes at least one of a logical block addressing (LBA) address of the sector where the defect is detected, a cylinder head sector (CHS) address of the sector, an offset of the spare sector, and a size of the defect.
The buffer may be implemented in volatile memory.
A read operation method of a hard disk drive according to an exemplary embodiment of the present invention includes receiving a read command from a host and determining whether data to be read is stored in a spare sector and a buffer of the disc in response to the read command. Copying the data stored in the buffer to a buffer memory when the data is stored in the spare sector and the buffer, and storing the data stored in the spare sector without reading the data stored in the spare sector. Reading the data.
The read operation method of the hard disk drive may further include pre-reading the data stored in the spare sector and storing the data in the buffer when the hard disk drive is powered on.
Prereading the data stored in the spare sector and storing the data in the buffer includes loading metadata stored in a maintenance cylinder, and referring to the loaded metadata. Pre-reading the data stored in the sector and storing in the buffer.
In the determining step, the metadata is determined to determine whether the data is stored in the spare sector.
A hard disk drive according to an embodiment of the present invention includes a disk including a plurality of sectors and at least one spare sector, a buffer, and a hard disk controller. The hard disk controller detects a defect from a sector in which data is to be written among the plurality of sectors during a write operation in response to a write command output from a host, and converts the sector from which the defect is detected to the at least one spare sector. Reassignment writes the data to the at least one spare sector and stores the data written to the at least one spare sector in the buffer.
The hard disk controller pre-reads the data written to the at least one spare sector and stores the data in the buffer when the hard disk drive is powered on.
The hard disk controller determines whether the data to be read is stored in the at least one spare sector and the buffer in response to a read command output from the host, and the data is stored in the at least one spare sector and the buffer. The data is copied from the buffer to the buffer memory when stored in and reads the data stored in the buffer memory without reading the data stored in the at least one spare sector.
The hard disk controller loads metadata stored in a maintenance cylinder and determines whether the data has been written to the at least one spare sector by referring to the loaded metadata.
Methods of operating a hard disk drive and devices capable of performing the methods according to an embodiment of the present invention can read the data without disk access when the data is written to the reallocated sector, so that the read can be performed. This has the effect of improving performance.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to more fully understand the drawings recited in the detailed description of the present invention, a detailed description of each drawing is provided.
1 is a schematic block diagram of a hard disk drive according to an embodiment of the present invention.
FIG. 2 shows a diagram of any one of the plurality of disks shown in FIG. 1.
3 is a flowchart illustrating a write operation method of a hard disk drive according to an exemplary embodiment of the present invention.
4 is a flowchart illustrating a read operation method of a hard disk drive according to an exemplary embodiment of the present invention.
5 is a schematic block diagram of a computer system including a hard disk drive according to an embodiment of the present invention.
It is to be understood that the specific structural or functional descriptions of embodiments of the present invention disclosed herein are only for the purpose of illustrating embodiments of the inventive concept, But may be embodied in many different forms and is not limited to the embodiments set forth herein.
Embodiments in accordance with the concepts of the present invention are capable of various modifications and may take various forms, so that the embodiments are illustrated in the drawings and described in detail herein. It should be understood, however, that it is not intended to limit the embodiments according to the concepts of the present invention to the particular forms disclosed, but includes all modifications, equivalents, or alternatives falling within the spirit and scope of the invention.
The terms first, second, etc. may be used to describe various elements, but the elements should not be limited by the terms. The terms are intended to distinguish one element from another, for example, without departing from the scope of the invention in accordance with the concepts of the present invention, the first element may be termed the second element, The second component may also be referred to as a first component.
When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between. Other expressions describing the relationship between components, such as "between" and "immediately between," or "neighboring to," and "directly neighboring to" should be interpreted as well.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this specification, the terms "comprises ", or" having ", or the like, specify that there is a stated feature, number, step, operation, , Steps, operations, components, parts, or combinations thereof, as a matter of principle.
Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the meaning of the context in the relevant art and, unless explicitly defined herein, are to be interpreted as ideal or overly formal Do not.
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the preferred embodiments of the present invention with reference to the accompanying drawings.
1 is a schematic block diagram of a hard disk drive according to an embodiment of the present invention.
Referring to FIG. 1, a hard disk drive (HDD) 100 may include a plurality of
Each of the plurality of
When reading data stored in any one of the plurality of
When writing data to any one of the plurality of
The read /
When writing data to any one of the plurality of
When writing data to any one of the plurality of
The write retry operation is repeatedly executed until the write error does not occur or reaches a predetermined number of times. When the error is not corrected until a specific retry operation or a predetermined number of times during the write retry operation is reached, the
When the
When reading data from any of the plurality of
The
Random access memory (RAM) 28 may be implemented as volatile memory. For example, the
A portion of the
The
The
The
Accordingly, the
When any one of the plurality of
The read /
The
According to an embodiment, the
FIG. 2 shows a diagram of any one of the plurality of disks shown in FIG. 1.
1 and 2, the
When writing the data D1, D2, D3, ... and Dn to the
When writing the data D1 to the
When the write error occurs, the
The
The
When writing the data D3 to the
Similarly,
When reading the respective data D2 and D3, any one head of the plurality of
Accordingly, the
According to an embodiment, when the
The
When reading the respective data D1, D2, D3, ..., and Dn in response to the read command output from the host, the
3 is a flowchart illustrating a write operation method of a hard disk drive according to an exemplary embodiment of the present invention.
1 to 3, the
When there are defects in each of the plurality of
The
The
The metadata may include at least one of an LBA address of each
The
According to an embodiment, when the
4 is a flowchart illustrating a read operation method of a hard disk drive according to an exemplary embodiment of the present invention.
1 to 4, the
The
When the defects are detected from the
The
The
That is, the
When it is determined by the
According to an embodiment, each data D1 and Dn written to the normal
5 is a schematic block diagram of a computer system including a hard disk drive according to an embodiment of the present invention.
1 to 5, the
The
The
When each data D2 and D3 to be read is stored in each
The
The
Accordingly, the
When the
Although the present invention has been described with reference to one embodiment shown in the drawings, this is merely exemplary, and those skilled in the art will understand that various modifications and equivalent other embodiments are possible therefrom. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.
100: hard disk drive 101: disk
10: a plurality of
12: plurality of
14: head assembly 200: data storage system
16: preamplifier 202: system bus
18: circuit block 210: processor
30: motor control block 220: first interface
36: spindle motor 230: second interface
38: voice coil motor
Claims (10)
Detecting whether a sector to which data is written is defective while a write operation is performed in response to the write command;
Reallocating the detected sector to a spare sector and writing the data to the spare sector; And
And storing data written to the spare sector in a buffer.
When the hard disk drive is powered on, pre-reading data written to the spare sector and storing the data written in the spare sector in the buffer. .
Loading metadata stored in a maintenance cylinder into volatile memory; And
And storing data written to the spare sector in the buffer with reference to the loaded metadata.
A write operation of a hard disk drive including at least one of a logical block addressing (LBA) address of the sector where the defect is detected, a cylinder head sector (CHS) address of the sector, an offset of the spare sector, and a size of the defect Way.
In response to the read command, determining whether data to be read is stored in a spare sector and a buffer of a disc;
Copying the data stored in the buffer into a buffer memory when the data is stored in the spare sector and the buffer; And
And reading the data stored in the buffer memory without reading the data stored in the spare sector.
And when the hard disk drive is powered on, prereading the data stored in the spare sector and storing the data in the buffer.
Loading metadata stored in a maintenance cylinder; And
And reading and storing the data stored in the spare sector in the buffer with reference to the loaded metadata.
buffer; And
During a write operation in response to a write command output from the host, a defect is detected from a sector to which data is written among the plurality of sectors, and the reallocated sector is detected as the at least one spare sector. And a hard disk controller that writes the at least one spare sector to the buffer and stores data written to the at least one spare sector in the buffer.
And when the hard disk drive is powered on, pre-reads the data written to the at least one spare sector and stores the data in the buffer.
In response to a read command output from the host, it is determined whether the data to be read is stored in the at least one spare sector and the buffer, and when the data is stored in the at least one spare sector and the buffer. Copying the data from the buffer into a buffer memory and reading the data stored in the buffer memory without reading the data stored in the at least one spare sector.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110064165A KR20130007182A (en) | 2011-06-30 | 2011-06-30 | Methods and devices for operating hard disk drive |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110064165A KR20130007182A (en) | 2011-06-30 | 2011-06-30 | Methods and devices for operating hard disk drive |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20130007182A true KR20130007182A (en) | 2013-01-18 |
Family
ID=47837799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110064165A KR20130007182A (en) | 2011-06-30 | 2011-06-30 | Methods and devices for operating hard disk drive |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20130007182A (en) |
-
2011
- 2011-06-30 KR KR1020110064165A patent/KR20130007182A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9263088B2 (en) | Data management for a data storage device using a last resort zone | |
US9424864B2 (en) | Data management for a data storage device with zone relocation | |
US8837069B2 (en) | Method and apparatus for managing read or write errors | |
US8291190B2 (en) | Disk drive including a host interface supporting different sizes of data sectors and method for writing data thereto | |
US9304930B2 (en) | HDD write buffer zone for vibration condition | |
US20140071559A1 (en) | Read/write apparatus and read/write method | |
CN105096964A (en) | Vibration mitigation for a data storage device | |
US20180174615A1 (en) | Storage device and a method for defect scanning of the same | |
US8447927B2 (en) | Storage system, control device and storage device | |
US8117491B2 (en) | Disk-drive device and method for error recovery thereof | |
US8736994B2 (en) | Disk storage apparatus and write control method | |
JP4858926B2 (en) | Medium storage device read / write processing method and medium storage device | |
US8516341B2 (en) | Method, apparatus, and storage medium for processing write defect in data storage apparatus | |
US20120154947A1 (en) | Method of controlling defects and apparatuses using the same | |
US20110170212A1 (en) | Method and apparatus for preventing data loss in hard disk drive | |
US9047924B1 (en) | Magnetic disk device and method of data refresh processing | |
US8279547B2 (en) | Method of setting zone layout of recording medium, and apparatus using method | |
US10867633B1 (en) | Reduced adjacent track erasure from write retry | |
US8335048B2 (en) | Method of managing defect and apparatuses using the same | |
KR20130007182A (en) | Methods and devices for operating hard disk drive | |
US10379972B1 (en) | Minimizing reads for reallocated sectors | |
US11657848B1 (en) | Data access and logical mapping for magnetic disks | |
US8804256B2 (en) | Hard disk drive, method for operating the same, and computer system having the same | |
US20160253111A1 (en) | Storage device and storing method | |
KR20110101978A (en) | Disk device and write method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
WITN | Withdrawal due to no request for examination |