In disk drives, defects on the media surface can cause the read channel to repeatedly detect incorrect data (hard errors). Very large defects may result in hard errors that are too long for the disk drive ECC algorithm to correct. Defect scans are used in the manufacturing process to flag those sectors with large defects so they are excluded from use during normal drive operation.
At the factory, based upon the number of detected defects, it may be determined whether the disk drive is useable or not. The disk drive may fail the manufacturing process when too many defects are detected. Conventionally, if the disk drive is determined to be usable given the number and severity of the detected defects, a predetermined space around the detected defect is designated as a margin, which becomes designated as being thereafter unavailable for user data. Moreover, although every effort is made to seal the drive during manufacturing, contaminants may still become sealed therein. Such contaminants may, after the drive is shipped to the customer and put into use, cause scratches on the media. Some scratches, or portions thereof, are sufficiently shallow as to be properly handled by the error correction in the firmware. Other scratches may be too deep for the firmware error correction to correct. Conventionally, media defects are detected, mapped and margined during the manufacturing process. Consequently, when a drive leaves the factory, is shipped to the customer and put to use in the field, it is assumed that the probability of finding any new defects is low. Therefore, the drive's capacity to accommodate new defects in the field, such as scratches, is limited. Such media defects that occur or are discovered as a result of user operations of the disk drive, however, do occur and should be addressed.
If, however, a read error is detected at (YES branch of Block 3A4), the LBA associated with the read error may be converted to a corresponding physical location on the media. As shown at Block 3A8, the LBA may be converted to a physical location at least partially defined by the identification of a track, head and sector. An ECC scan of the corresponding physical location and of physical locations that are within a proximity threshold (e.g., physical locations that are near the physical location where the read error was encountered at 3A4) may be carried out to find media defects, as shown at 3A9. Such media defects may be limited to a single data sector or may span one or more data sectors and/or tracks on the disk. The presence of media defects causing read errors on adjacent data sectors and/or tracks may be indicative of a media scratch, as opposed to an isolated defective data sector. Indeed, as shown at 3A10, in the case wherein a scratch is not detected at 3A10, it is likely that the read error is limited to only a single data sector and the method may revert to Block 3A5, as shown by the NO branch of 3A10. If Block 3A10 determines the likely presence of a media scratch, (YES branch of 3A10), Block 3A11 may be carried out to relocate at least data sectors associated with the media scratch to a spare location on the disk. Such relocated data sectors may be made unavailable for further data storage or retrieval and an exception list may be accordingly updated, to alert the drive's firmware that the data stored at the relocated data sectors has been relocated to new LBAs in a spare location on the disk drive. The method may then revert back to Block 3A6, to process the next LBA (Block 3A7), unless the maximum LBA of the disk drive has been reached, as determined at 3A6. In processing next LBAs, it is to be understood that the drive may be caused to skip performing the offline or background scan on data sectors that have been relocated at 3A11.
As noted above, the offline or background media scan to scan physical locations within a proximity threshold may be carried out at 3A9 by scanning across one or more data sectors and/or one or more tracks surrounding the physical location where the read error was detected at Block 3A4. Such scanning may be carried out until no further media defects are found in physical locations within the proximity threshold. The thus detected read errors may, accordingly, span one or more sectors and/or one or more tracks of the media. A scratch may be present on the media when Block 3A10, for example, finds a media defect on two or more adjacent physical locations on the media. By noting the track number(s) and sector(s) at which a media defect is detected at 3A10, the media scratch may be mapped across one or more tracks and one or more sectors of the media.
As noted above, the offline or background media scan to scan physical locations within a proximity threshold may be carried out at 3B8 by scanning across one or more data sectors and/or one or more tracks surrounding the physical location corresponding to the current entry in the media defect list. Such scanning may be carried out until no further media defects are found in physical locations within the proximity threshold. The thus detected read errors may, accordingly, span one or more sectors and/or one or more tracks of the media. A scratch may be present on the media when Block 3B8, for example, finds a media defect on two or more adjacent physical locations on the media. By noting the track number(s) and sector(s) at which a media defect is detected at 3B8, the media scratch may be mapped across one or more tracks and one or more sectors of the media.
As shown at shape 504 (bounded by track 102—sectors 2-5 and track 118, sectors 2-5), margining may be carried out on one or more data sectors surrounding the mapped media scratch 400. Thereafter, the margined data sectors may also be relocated to the spare location on the media and the exception list updated accordingly. The margins, in both the track directions and in the sector directions may be freely selected. Indeed, a variety of margining schemes may be implemented. For example, a rectangular grouping of data sectors surrounding the mapped media scratch 400 may be selected for margining, as shown at 504. Alternatively, margined data sectors surrounding the mapped media scratch 400 may define a more irregular shape such as suggested at 506 (shape 504 minus carve-outs at sector 2 of tracks 102-106 and sector 5 of tracks 113-118) that, for example, more closely mirrors the shape and orientation of the mapped media scratch 400 while still maintaining adequate margins around the media scratch 400. Such alternative may be effective in limiting the number of margined and relocated data sectors, for example.
While certain embodiments of the inventions have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel methods, devices and systems described herein may be embodied in a variety of other forms. Furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions. For example, those skilled in the art will appreciate that in various embodiments, the actual structures (such as, for example, the offline or background scan used or the margining scheme) may differ from those shown in the figures. Depending on the embodiment, certain of the steps described in the example above may be removed, others may be added. Also, the features and attributes of the specific embodiments disclosed above may be combined in different ways to form additional embodiments, all of which fall within the scope of the present disclosure. Although the present disclosure provides certain preferred embodiments and applications, other embodiments that are apparent to those of ordinary skill in the art, including embodiments which do not provide all of the features and advantages set forth herein, are also within the scope of this disclosure. Accordingly, the scope of the present disclosure is intended to be defined only by reference to the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
4939598 | Kulakowski et al. | Jul 1990 | A |
5696775 | Nemazie et al. | Dec 1997 | A |
5937435 | Dobbek et al. | Aug 1999 | A |
5966726 | Sokolov | Oct 1999 | A |
6002544 | Yatsu | Dec 1999 | A |
6018789 | Sokolov et al. | Jan 2000 | A |
6098185 | Wilson | Aug 2000 | A |
6101065 | Alfred et al. | Aug 2000 | A |
6134214 | Takagi et al. | Oct 2000 | A |
6289484 | Rothberg et al. | Sep 2001 | B1 |
6327106 | Rothberg | Dec 2001 | B1 |
6408357 | Hanmann et al. | Jun 2002 | B1 |
6412089 | Lenny et al. | Jun 2002 | B1 |
6429984 | Alex | Aug 2002 | B1 |
6442715 | Wilson | Aug 2002 | B1 |
6532517 | Wagner et al. | Mar 2003 | B1 |
6535995 | Dobbek | Mar 2003 | B1 |
6545835 | Codilian et al. | Apr 2003 | B1 |
6606211 | Lim et al. | Aug 2003 | B1 |
6611393 | Nguyen et al. | Aug 2003 | B1 |
6628466 | Alex | Sep 2003 | B2 |
6650492 | Lenny et al. | Nov 2003 | B2 |
6654193 | Thelin | Nov 2003 | B1 |
6687850 | Rothberg | Feb 2004 | B1 |
6690523 | Nguyen et al. | Feb 2004 | B1 |
6707635 | Codilian et al. | Mar 2004 | B1 |
6710953 | Vallis et al. | Mar 2004 | B1 |
6745283 | Dang | Jun 2004 | B1 |
6795894 | Neufeld et al. | Sep 2004 | B1 |
6809893 | Uzumaki et al. | Oct 2004 | B2 |
6842801 | Yamada | Jan 2005 | B2 |
6854022 | Thelin | Feb 2005 | B1 |
6928525 | Ebner et al. | Aug 2005 | B1 |
6947234 | Lamberts et al. | Sep 2005 | B2 |
6950967 | Brunnett et al. | Sep 2005 | B1 |
6973553 | Archibald, Jr. et al. | Dec 2005 | B1 |
6995933 | Codilian et al. | Feb 2006 | B1 |
7072129 | Cullen et al. | Jul 2006 | B1 |
7099993 | Keeler | Aug 2006 | B2 |
7106547 | Hargarten et al. | Sep 2006 | B1 |
7143203 | Altmejd | Nov 2006 | B1 |
7173782 | Ikeda et al. | Feb 2007 | B2 |
7274639 | Codilian et al. | Sep 2007 | B1 |
7345837 | Schreck et al. | Mar 2008 | B1 |
7461202 | Forrer, Jr. et al. | Dec 2008 | B2 |
7477465 | Yu | Jan 2009 | B2 |
7562282 | Rothberg | Jul 2009 | B1 |
7626908 | Nakagawa et al. | Dec 2009 | B2 |
7817363 | O'Brien et al. | Oct 2010 | B2 |
7823011 | Dholakia et al. | Oct 2010 | B2 |
7929234 | Boyle et al. | Apr 2011 | B1 |
7971093 | Goel et al. | Jun 2011 | B1 |
8004785 | Tsai et al. | Aug 2011 | B1 |
20020184580 | Archibald et al. | Dec 2002 | A1 |
20030031106 | Ozaki | Feb 2003 | A1 |
20030174549 | Yaguchi et al. | Sep 2003 | A1 |
20060066971 | Alex et al. | Mar 2006 | A1 |
20060203661 | Chen et al. | Sep 2006 | A1 |
20070174682 | King | Jul 2007 | A1 |
20080082778 | Inoue et al. | Apr 2008 | A1 |
20080130153 | Lee et al. | Jun 2008 | A1 |
Entry |
---|
Charles M. Kozierok, (“Logical Block Addressing (LBA)” ), Apr. 17, 2001, pp. 1-2, http://www.pcguide.com/ref/hdd/bios/modesLBA-c.html. |
Charles M. Kozierok, (“Seek Time”), Apr. 17, 2001, pp. 1-3, http://www.pcguide.com/ref/hdd/perf/perf/spec/posSeek-c.html. |
Walter A. Burkhard et al., Rotational Position Optimization (RPO) Disk Scheduling, First Conference on File and Storage Technologies (Fast '02), Jul. 16, 2001, pp. 1-11. |