Relocating unreliable disk sectors when encountering disk...

Error detection/correction and fault detection/recovery – Pulse or data error handling – Replacement of memory spare location – portion – or segment

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C714S770000, C369S053100

Reexamination Certificate

active

06327679

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Technical Field
The present invention relates in general to disk storage media and in particular to error handling and recovery for disk storage media. Still more particularly, the present invention relates to relocating unreliable disk sectors when read errors are received while indicating to the user the status of data within a replacement sector.
2. Description of the Related Art
Many contemporary disk drives perform relocation of bad sectors to reserved replacement sectors on the drive. When a sector being written to is determined to be bad, a good replacement sector is substituted for the bad sector. However, when there are no more replacement sectors set aside by the disk drive and another sector is determined to be bad, a Write Error or a Read Error should be returned to the operating system by the drive through the adapter and/or device driver, so that some action may be taken by the operating system to preserve the data being written.
Reporting of write errors or faults by device drivers, adapters, and/or disk drives when an attempted write to the hard disk drive is unsuccessful represents the ideal situation. Under these conditions, the system or user application has an opportunity to preserve the data by writing it elsewhere. However, the error may not be detected when the data is written, the error may not be properly reported if detected, or the data may be corrupted after being written to the disk media. The first two circumstances depend on the presence, reliability, and/or thoroughness of error detection, reporting and correction mechanisms for the disk drive, adapter, and device driver. The last circumstance results from failure of the disk media for any one of a number of reasons such as head damage to the disk media, stray magnetic fields, or contaminants finding their way into the disk drive.
In situations where the data was presumed to be properly written to the disk but returns a CRC error when read, the data may not be recreatable if it was not backed up elsewhere. The unrecoverable sector may be replaced, but the user must be made aware of the correctness of the data within the sector.
It would be desirable, therefore, to provide a mechanism for replacing an unrecoverable disk sector with a replacement sector while indicating, for the user, the correctness of data within the replacement sector.
SUMMARY OF THE INVENTION
It is therefore one object of the present invention to provide improved disk storage media.
It is another object of the present invention to provide improved error handling and recovery for disk storage media.
It is yet another object of the present invention to provide a mechanism for relocating unreliable disk sectors when read errors are received while indicating to the user the status of data within a replacement sector.
The foregoing objects are achieved as is now described. When a read to a disk returns an error for a sector previously identified as good, the read is retried a pre-determined number of times to attempt to recover the sector data. If the sector is unrecoverable, the failed sector is relocated and an “unusable” bit associated with the replacement sector is set to indicate that the data is bad. The unusable bit indicates that the replacement sector is good, but the data contained within the replacement sector is bad. A read error is generated for subsequent reads to the replacement sector as long as the unusable bit remains set. The unusable bit is cleared after a write to or reformat of the replacement sector. The replacement sector thereafter becomes a fully functional substitute for the failed sector, containing good data. The validity of data within the replacement sector is identified at all times, allowing use of bad data to be avoided.
The above as well as additional objects, features, and advantages of the present invention will become apparent in the following detailed written description.


REFERENCES:
patent: 3771143 (1973-11-01), Taylor
patent: 4434487 (1984-02-01), Rubinson et al.
patent: 4525839 (1985-07-01), Nozawa et al.
patent: 4656532 (1987-04-01), Greenberg et al.
patent: 4774700 (1988-09-01), Satoh et al.
patent: 4907226 (1990-03-01), Endo
patent: 4914529 (1990-04-01), Bonke
patent: 5075804 (1991-12-01), Deyring
patent: 5088081 (1992-02-01), Farr
patent: 5105427 (1992-04-01), Ando
patent: 5166936 (1992-11-01), Ewert et al.
patent: 5189566 (1993-02-01), Christensen et al.
patent: 5253256 (1993-10-01), Oyama et al.
patent: 5287363 (1994-02-01), Wolf et al.
patent: 5313626 (1994-05-01), Jones et al.
patent: 5420730 (1995-05-01), Moon et al.
patent: 5422890 (1995-06-01), Klingsporn et al.
patent: 5438560 (1995-08-01), Lee
patent: 5452147 (1995-09-01), Yamashita et al.
patent: 5473753 (1995-12-01), Wells et al.
patent: 5506977 (1996-04-01), Jones
patent: 5513160 (1996-04-01), Satoh et al.
patent: 5600662 (1997-02-01), Zook
patent: 5615190 (1997-03-01), Best et al.
patent: 5619723 (1997-04-01), Jones et al.
patent: 5632012 (1997-05-01), Belsan et al.
patent: 5633767 (1997-05-01), Boutaghou et al.
patent: 5666335 (1997-09-01), Horibe
patent: 5701220 (1997-12-01), Koriyama
patent: 5734816 (1998-03-01), Niijima et al.
patent: 5740349 (1998-04-01), Hasbun et al.
patent: 5745326 (1998-04-01), Koriyama
patent: 5751733 (1998-05-01), Glover
patent: 5751947 (1998-05-01), Arakawa
patent: 5764881 (1998-06-01), Yoshida
patent: 5778167 (1998-07-01), Carrel et al.
patent: 5793559 (1998-08-01), Shepherd et al.
patent: 5828511 (1998-10-01), Bar
patent: 5841600 (1998-11-01), Kaplan
patent: 5914928 (1999-06-01), Takahashi
patent: 5937435 (1999-08-01), Dobbek et al.
patent: 6034831 (2000-03-01), Dobbek et al.
patent: 6043945 (2000-03-01), Tsuboi et al.
patent: 6101619 (2000-08-01), Shin
Blind Head Scrub Error Recovery Procedure for Magnetic Tape Subsysem, IBM Technical Disclosure Bulletin, vol. 35, No. 3, Aug. 1992, pp. 408-409.
Automatic Swap of the Primary and Secondary Mirrors in a Disk Mirror system, IBM Technical Disclosure Bulletin, vol. 36, No. 12, Dec. 1993, pp. 85-86.
Write Retry Success Sector Verification in Error Recovery Steps, IBM Technical Disclosures Bulletin, vol. 38, No. 12, Dec. 1995, p. 45.
Retry Success Sector Read Verification in Idle Mode, IBM Technical Disclosure Bulletin, vol. 38, No. 12, Dec. 1995, p. 433.
Raid with Automatic Defect Detection

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Relocating unreliable disk sectors when encountering disk... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Relocating unreliable disk sectors when encountering disk..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Relocating unreliable disk sectors when encountering disk... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2585501

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.