← Back to Patent Explorer
US5166936A Expired / Lapsed US ⏱️ 0.0 years remaining

Automatic hard disk bad sector remapping

Assignee: Hewlett Packard Development Co LP
•
Filing: 1990-07-20
•
Granted: 1992-11-24
•
Expires: 2010-07-20
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method for automatically remapping a disk after receiving a bad sector indication without requiring system operator intervention, initiation of a diagnostic program or system down time. When the disk controller receives the error and mirroring or parity operation is activated, a remap routine is initiated. The routine finds the bad sector in the request, builds a good track of data and stores this good track of data in a reserved area on all the disk units on the controller. The data in the reserved area is then read, and if successful, the track having the bad sector is remapped to remove the bad sector from use. The saved data is then rewritten to the track, thus restoring the disk unit to full operation. A flag is set during the process so that should power fail the process can be restarted.

Inventors

  • 👤 Richard A. Ewert
  • 👤 Stephen M. Schultz

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-30 15:15
CPC Classifications
G; G11; G11B; G11B20/00; G11B20/10; G11B20/18; G11B20/1883; G11B2220/00; G11B2220/20

Claims Analysis

Total Claims: 11
Claim 1
Independent Claim 177 words
A method for automatically correcting errors on a disk unit included as one of a series of disk units in a computer system while the computer system continues to execute a main program unrelated to disk error correction, the computer system providing data operation requests and the disk unit providing error indications on failed request, the disk unit being organized in tracks, with each track having a series of sectors, the method comprising: detecting the data operation request error; and automatically executing a disk track remapping process without user intervention if the operation request was a write request or if the operation request was a read request and data recovery is possible, the disk track remapping process comprising: determining a bad sector forming a basis for the failed request; obtaining valid data for each sector on the track containing said bad sector; temporarily saving said obtained data; remapping the sectors on said track containing said bad sector to remove said bad sector from use; and restoring said temporarily saved data to said track containing said bad sector.
Claim 2
Independent Claim 177 words
A method for automatically correcting errors on a disk unit included as one of a series of disk units in a computer system while the computer system continues to execute a main program unrelated to disk error correction, the computer system providing data operation requests and the disk unit providing error indications on failed request, the disk unit being organized in tracks, with each track having a series of sectors, the method comprising: detecting the data operation request error; and automatically executing a disk track remapping process without user intervention if the operation request was a write request or if the operation request was a read request and data recovery is possible, the disk track remapping process comprising: determining a bad sector forming a basis for the failed request; obtaining valid data for each sector on the track containing said bad sector; temporarily saving said obtained data; remapping the sectors on said track containing said bad sector to remove said bad sector from use; and restoring said temporarily saved data to said track containing said bad sector.
Claim 3
Dependent Claim 36 words
The method of claim 1, wherein remapping includes reading said temporarily saved data prior to reformatting said track and reformatting said track to remove said bad sector from use only if said data read is successful.
Claim 4
Dependent Claim 33 words
The method of claim 1, wherein restoring includes reading said temporarily saved data and writing said read data to said original track in repetitive, single sector operations until the entire track is complete.
Claim 5
Dependent Claim 25 words
The method of claim 1, wherein determining a bad sector includes reading each sector contained in the data operation request one sector at a time.
Claim 6
Independent Claim 194 words
A method for automatically correcting errors on a disk unit included as one of a series of disk units in a computer system, the computer system providing data operation requests and the disk unit providing error indications on failed requests, the disk unit being organized int racks, with each track having a series of sectors, the method comprising: detecting ht data operation request error; and executing a disk track remapping process if the operation request wa s write request or if the operation request was a read request and data recovery is possible, the disk track remapping process comprising: determining a bad sector forming a basis for the failed request; obtaining valid data for each sector on the track containing said bad sector; temporarily saving said obtained data; setting a remap in progress flag in an area of each of the disk units; remapping the sectors on said tack containing said bad sector to remove said bad sector from use after said remap in progress flag is set; restoring said temporarily saved data to said track containing said bad sector; and clearing said remap in progress flag after restoring said data to said track.
Claim 7
Independent Claim 194 words
A method for automatically correcting errors on a disk unit included as one of a series of disk units in a computer system, the computer system providing data operation requests and the disk unit providing error indications on failed requests, the disk unit being organized int racks, with each track having a series of sectors, the method comprising: detecting ht data operation request error; and executing a disk track remapping process if the operation request wa s write request or if the operation request was a read request and data recovery is possible, the disk track remapping process comprising: determining a bad sector forming a basis for the failed request; obtaining valid data for each sector on the track containing said bad sector; temporarily saving said obtained data; setting a remap in progress flag in an area of each of the disk units; remapping the sectors on said tack containing said bad sector to remove said bad sector from use after said remap in progress flag is set; restoring said temporarily saved data to said track containing said bad sector; and clearing said remap in progress flag after restoring said data to said track.
Claim 8
Dependent Claim 87 words
The method of claim 5, wherein said method further comprises, initiating a remap completion process if said remap in progress flag is set on resetting of the computer system, the remap completion process comprising: indicating that all sectors of said track are useable; attempting to restore said temporarily saved data to said track containing said bad sector; developing sector status information of said track if said restoration attempt fails; reformatting said track utilizing said developed sector stats information; and restoring said temporarily saved data to said track.
Claim 9
Independent Claim 184 words
A method for automatically correcting errors on a disk unit included as one of a series of disk units in a computer system, the computer system providing data operation reuses and the disk unit providing error indications on failed requests, the disk unit being organized in tracks, with each track having a series of sectors, the method comparing: detecting the data operation request error; and executing a disk track remapping process if the operation request was a write request or if the operation request was a read request and data recovery is possible, the disk track remapping process comprising: determining a bad sector forming a basis for the failed request; obtaining valid data for each sector n the track containing said bad sector; temporarily saving said obtained data, wherein temporarily saving said data includes writing said data to reserved areas on a plurality of disk units capable of receiving the entire track of data; remapping the sectors on said track containing said bad sector to remove said bad sector from use; and restoring said temporarily saved data to said track containing said bad sector.
Claim 10
Independent Claim 184 words
A method for automatically correcting errors on a disk unit included as one of a series of disk units in a computer system, the computer system providing data operation reuses and the disk unit providing error indications on failed requests, the disk unit being organized in tracks, with each track having a series of sectors, the method comparing: detecting the data operation request error; and executing a disk track remapping process if the operation request was a write request or if the operation request was a read request and data recovery is possible, the disk track remapping process comprising: determining a bad sector forming a basis for the failed request; obtaining valid data for each sector n the track containing said bad sector; temporarily saving said obtained data, wherein temporarily saving said data includes writing said data to reserved areas on a plurality of disk units capable of receiving the entire track of data; remapping the sectors on said track containing said bad sector to remove said bad sector from use; and restoring said temporarily saved data to said track containing said bad sector.
Claim 11
Dependent Claim 28 words
The method of claim 7, wherein restoring said temporarily saved data includes reading said data form successive disk units until a successful full track read operation has occurred.

References Cited (Backward Citations)

US4506362A Cited
US4527251A Cited
US4802117A Cited
US4943966A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1995-11-24 1996-05-25 1996-11-24 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1999-11-24 2000-05-25 2000-11-24 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2003-11-24 2004-05-25 2004-11-24 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag