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

Disk format for secondary storage system

Assignee: Hewlett Packard Development Co LP
•
Filing: 1981-10-05
•
Granted: 1984-02-28
•
Expires: 2001-10-05
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract In a disk mass storage facility for data processing systems, a disk format which improves handling of defective segments of medium and reduces access time. The format has three layers. A first, physical layer comprises the bytes, sectors and collections of sectors, as well as error detection and correction codes. A second, logical layer is used to address the physical layer and to collect together sectors to form a multiplicity of separately addressable spaces, with each space having a distinct functional utility. At a third, functional layer the use of data fields in each space is specified. This layer governs the handling of bad blocks if required, and the use of certain format information. Handling of bad blocks is controlled by a hierarchically layered process. A portion of each disc, distributed across the medium, is reserved as spare sectors to replace defective sectors. After a bad sector is replaced, future attempts to access the bad sector are redirected (i.e., revectored) to the replacement sector. For the simplest revectoring, the bad block is replaced by a replacement block in a known location. If that cannot be done, multiple copies of the replacement block's header are stored in the bad block's data field and the copies are compared to find the replacement address. If the comparison fails, or the header cannot be read, a back-up table is available to match the available replacement addresses with the original address which was replaced. A special code is used to identify blocks wherein the medium is good but the contents of the block are logically corrupted.

Inventors

  • 👤 Barry L. Rubinson
  • 👤 Mark A. Parenti
  • 👤 Richard F. Lary
  • 👤 Edward A. Gardner

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-24 19:22
CPC Classifications
G; G11; G11B; G11B20/00; G11B20/10; G11B20/18; G11B20/1883; G11B20/12; G11B20/1217; G11B20/1252; G11B20/1803; G11B2220/00; G11B2220/20; G11B2220/25; G11B2220/2508

Claims Analysis

Total Claims: 24
Claim 1
Independent Claim 133 words
In a secondary storage subsystem (2) for a data processing system (10), wherein data is recorded on a mass storage medium (5) and the smallest addressable unit of the medium is a sector (9), each sector including a header field for recording address information and a data field for recording data to be associated with and stored at such address, the improvement comprising: means (4, FIG. 13C-392) for writing in each sector a predetermined code, termed the forced error indicator, when the data being recorded in the data field is known to be logically corrupted and the medium underlying the sector is not known to be defective; and means (4, FIG. 13B-374) for providing a signal, termed a forced error signal, responsive to detection of the forced error indicator during a read operation.
Claim 2
Dependent Claim 133 words
In a secondary storage subsystem (2) for a data processing system (10), wherein data is recorded on a mass storage medium (5) and the smallest addressable unit of the medium is a sector (9), each sector including a header field for recording address information and a data field for recording data to be associated with and stored at such address, the improvement comprising: means (4, FIG. 13C-392) for writing in each sector a predetermined code, termed the forced error indicator, when the data being recorded in the data field is known to be logically corrupted and the medium underlying the sector is not known to be defective; and means (4, FIG. 13B-374) for providing a signal, termed a forced error signal, responsive to detection of the forced error indicator during a read operation.
Claim 3
Dependent Claim 134 words
The apparatus of claim 1 wherein the means for writing the forced error indicator code includes means (4, FIG. 13C-394) for generating for each sector an error detection code which is uniquely related to such sector's data, in accordance with a preselected algorithm, for use in detecting the presence of errors in reading data recorded in the sector; and means (3, 4, FIG. 13C) for writing a signal into a predetermined location in the sector (9, FIG. 11-334), such location being termed the EDC/FEI field, said signal being (a) the error detection code for the data being recorded in the sector when the data is not known to be logically corrupted (396), or (b) the forced error indicator code when the data being recorded in the sector is known to be logically corrupted (392).
Claim 4
Dependent Claim 28 words
The apparatus of claim 2 wherein the forced error indicator code is the one's complement of the error detection code for the data being recorded in the sector.
Claim 5
Dependent Claim 87 words
The apparatus of claim 3 further including: means (4, FIG. 13B-362) for generating a second error detection code upon reading the data recorded in a sector, using the preselected algorithm; and the means for providing a forced error signal comprising means for comparing the error detection code thus generated with the signal read from the EDC/FEI field (4, FIG. 13B-364, 370) and for generating the forced error indicator when the signal read from the EDC/FEI field corresponds to the one's complement of the second error detection code.
Claim 6
Dependent Claim 202 words
In a secondary storage subsystem for a data processing system, wherein data is recorded on a mass storage medium and the smallest addressable unit of the medium is a sector, a method of replacing a defective sector with a substitute sector, such that information to be written to or read from a defective sector is written to and then read from the substitute sector instead, once the defective sector is identified as unreliable, such method comprising the steps of: A. reserving a portion of the medium to be used as spare sectors for replacing defective sectors, at least one spare sector being provided within each set of sectors occupying contiguous logical locations on the medium; B. replacing the first defective sector in said set of sectors with the first one of said spare sectors, termed a primary replacement sector; C. indicating such replacement by writing a first predetermined code in the defective sector; and D. when writing data to or reading data from a sector, detecting the first predetermined code and, in response to detecting said code, revectoring the writing or reading operation to said first one of the spare sectors for the involved set of sectors where the code was detected.
Claim 7
Dependent Claim 202 words
In a secondary storage subsystem for a data processing system, wherein data is recorded on a mass storage medium and the smallest addressable unit of the medium is a sector, a method of replacing a defective sector with a substitute sector, such that information to be written to or read from a defective sector is written to and then read from the substitute sector instead, once the defective sector is identified as unreliable, such method comprising the steps of: A. reserving a portion of the medium to be used as spare sectors for replacing defective sectors, at least one spare sector being provided within each set of sectors occupying contiguous logical locations on the medium; B. replacing the first defective sector in said set of sectors with the first one of said spare sectors, termed a primary replacement sector; C. indicating such replacement by writing a first predetermined code in the defective sector; and D. when writing data to or reading data from a sector, detecting the first predetermined code and, in response to detecting said code, revectoring the writing or reading operation to said first one of the spare sectors for the involved set of sectors where the code was detected.
Claim 8
Dependent Claim 59 words
The method of claim 5 wherein each sector comprises a header field and a data field, the address of the sector normally being written in the header field and the information to be stored in the sector being written in the data field, and further wherein said predetermined code is written in the header field of the defective sector.
Claim 9
Dependent Claim 15 words
The method of claim 6 wherein the reserved sectors are evenly distributed throughout the medium.
Claim 10
Dependent Claim 19 words
The method of claim 6 wherein the medium is a magnetic disk and the sets of sectors are tracks.
Claim 11
Dependent Claim 17 words
The method of claim 6 wherein the reserved sectors are located in predefined locations within said tracks.
Claim 12
Dependent Claim 173 words
The method of claim 6 further including the steps of, when the primary replacement sector is unavailable: D. selecting for a defective sector other than the first defective sector in said set of sectors a replacement sector other than the primary replacement sector, said replacement sector being termed a secondary replacement sector; E. in the header field of such defective sector, writing a second predetermined code indicating that said sector has been replaced by a secondary replacement sector; F. in the data field of each such defective sector, writing a predetermined multiple number of copies of the physical address of the secondary replacement sector selected therefor; G. on reading the header field of the defective sector, checking for said second code; H. responsive to detecting said second code, obtaining the physical address of the secondary replacement sector by reading said multiple copies and comparing them statistically to arrive at the recorded value of said address; and I. revectoring the writing or reading operation intended for the defective sector to said secondary replacement sector.
Claim 13
Dependent Claim 15 words
The method of claim 10 wherein the reserved sectors are evenly distributed throughout the medium.
Claim 14
Dependent Claim 19 words
The method of claim 10 wherein the medium is a magnetic disk and the sets of sectors are tracks.
Claim 15
Dependent Claim 18 words
The method of claim 10 wherein the primary replacement sectors are located in predefined locations within said tracks.
Claim 16
Dependent Claim 85 words
The method of claim 10 further including the steps of, when the primary replacement sector is unavailable: J. providing on the medium multiple copies of a table containing a list of each spare sector and the address of the defective sector replaced by it, if any; K. responsive to detecting a defective sector, searching a copy of said table to find the address of the replacement sector therefor; and E. revectoring the writing or reading operation intended for the defective sector to said replacement sector.
Claim 17
Dependent Claim 270 words
In a secondary storage subsystem for a data processing system, wherein data is recorded on a mass storage medium and the smallest addressable unit of the medium is a sector, each sector comprising a header field and a data field, the address of the sector normally being written in the header field and the information to be stored in the sector being written in the data field, a method of replacing a defective sector with a substitute sector, such that information to be written to or read from a defective sector is written to and then read from the substitute sector instead, once the defective sector is identified as unreliable, such method comprising the steps of: A. reserving a portion of the medium to be used as spare sectors for replacing defective sectors; B. selecting for a defective sector a replacement sector from among said spare sectors; C. in the header field of such defective sector, writing a predetermined code indicating that said sector has been replaced by a secondary replacement sector; D. in the data field of a defective sector, writing a predetermined multiple number of copies of the physical address of the selected replacement sector therefor, termed a secondary replacement sector; E. on reading the header field of the defective sector, checking for said second code; F. responsive to detecting said second code, obtaining the physical address of the secondary replacement sector by reading said multiple copies and comparing them statistically to arrive at the recorded value of said address; and G. revectoring the writing or reading operation intended for the defective sector to said secondary replacement sector.
Claim 18
Dependent Claim 270 words
In a secondary storage subsystem for a data processing system, wherein data is recorded on a mass storage medium and the smallest addressable unit of the medium is a sector, each sector comprising a header field and a data field, the address of the sector normally being written in the header field and the information to be stored in the sector being written in the data field, a method of replacing a defective sector with a substitute sector, such that information to be written to or read from a defective sector is written to and then read from the substitute sector instead, once the defective sector is identified as unreliable, such method comprising the steps of: A. reserving a portion of the medium to be used as spare sectors for replacing defective sectors; B. selecting for a defective sector a replacement sector from among said spare sectors; C. in the header field of such defective sector, writing a predetermined code indicating that said sector has been replaced by a secondary replacement sector; D. in the data field of a defective sector, writing a predetermined multiple number of copies of the physical address of the selected replacement sector therefor, termed a secondary replacement sector; E. on reading the header field of the defective sector, checking for said second code; F. responsive to detecting said second code, obtaining the physical address of the secondary replacement sector by reading said multiple copies and comparing them statistically to arrive at the recorded value of said address; and G. revectoring the writing or reading operation intended for the defective sector to said secondary replacement sector.
Claim 19
Dependent Claim 178 words
In a secondary storage subsystem for a data processing system, wherein data is recorded on a mass storage medium and the smallest addressable unit of the medium is a sector, a method of replacing a defective sector with a substitute sector, such that information to be written to or read from a defective sector is written to and then read from the substitute sector instead, once the defective sector is identified as unreliable, such method comprising the steps of: A. reserving a portion of the medium to be used as spare sectors for replacing defective sectors; B. selecting for a defective sector a replacement sector from among said spare sectors; C. providing on the medium multiple copies of a table containing a list of each spare sector and the address of the defective sector replaced by it, if any; D. responsive to detecting a defective sector, searching a copy of said table to find the address of the replacement sector therefor; and E. revectoring the writing or reading operation intended for the defective sector to said replacement sector.
Claim 20
Dependent Claim 178 words
In a secondary storage subsystem for a data processing system, wherein data is recorded on a mass storage medium and the smallest addressable unit of the medium is a sector, a method of replacing a defective sector with a substitute sector, such that information to be written to or read from a defective sector is written to and then read from the substitute sector instead, once the defective sector is identified as unreliable, such method comprising the steps of: A. reserving a portion of the medium to be used as spare sectors for replacing defective sectors; B. selecting for a defective sector a replacement sector from among said spare sectors; C. providing on the medium multiple copies of a table containing a list of each spare sector and the address of the defective sector replaced by it, if any; D. responsive to detecting a defective sector, searching a copy of said table to find the address of the replacement sector therefor; and E. revectoring the writing or reading operation intended for the defective sector to said replacement sector.
Claim 21
Dependent Claim 191 words
In a disk drive for a secondary storage facility of a data processing system, wherein a read/write head must be positioned to read or write successive portions of the medium and the usable area of the storage medium is divided into sectors, each sector occupying a specific physical position relative to an index location on the medium and being available for reading or writing once per disk rotation, a method of reducing the time consumed in head repositioning, comprising the steps of: A. logically grouping sectors into tracks, groups and cylinders according to access time latencies, a track being a set of sectors occupying contiguous logical disk locations, a group, being a set of tracks which can be selected within the time required for a sector to rotate past a head, and a cylinder being a collection of groups that can be selected by operations having latencies less than the time for a head-positioning seek operation; tracks, groups and cylinders being independent of physical organization of the drive; and B. mapping the physical address of each sector to a logical track, group and cylinder address to effect optimal access time reduction.
Claim 22
Dependent Claim 191 words
In a disk drive for a secondary storage facility of a data processing system, wherein a read/write head must be positioned to read or write successive portions of the medium and the usable area of the storage medium is divided into sectors, each sector occupying a specific physical position relative to an index location on the medium and being available for reading or writing once per disk rotation, a method of reducing the time consumed in head repositioning, comprising the steps of: A. logically grouping sectors into tracks, groups and cylinders according to access time latencies, a track being a set of sectors occupying contiguous logical disk locations, a group, being a set of tracks which can be selected within the time required for a sector to rotate past a head, and a cylinder being a collection of groups that can be selected by operations having latencies less than the time for a head-positioning seek operation; tracks, groups and cylinders being independent of physical organization of the drive; and B. mapping the physical address of each sector to a logical track, group and cylinder address to effect optimal access time reduction.
Claim 23
Dependent Claim 135 words
In a secondary storage device, the improvement comprising: dividing the medium into multiple address spaces, at least two address spaces being addressable by a host computer system which uses the mass storage device and at least two address spaces being invisible to and not accessible by the host computer system; the first address space addressable by the host computer system being the set of storage locations visible to an operating system of the host computer; a second address space addressable by the host computer system being a space containing revector control tables for revectoring access to bad blocks on the medium; the first address space not accessible by the host computer system comprising a region which provides formatting information; a second address space not accessible by the host computer being adapted to contain diagnostic information.
Claim 24
Dependent Claim 135 words
In a secondary storage device, the improvement comprising: dividing the medium into multiple address spaces, at least two address spaces being addressable by a host computer system which uses the mass storage device and at least two address spaces being invisible to and not accessible by the host computer system; the first address space addressable by the host computer system being the set of storage locations visible to an operating system of the host computer; a second address space addressable by the host computer system being a space containing revector control tables for revectoring access to bad blocks on the medium; the first address space not accessible by the host computer system comprising a region which provides formatting information; a second address space not accessible by the host computer being adapted to contain diagnostic information.

References Cited (Backward Citations)

US3059266A Cited
US4037091A Cited
US4152695A Cited
US4214280A Cited
USRE31069E Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1987-02-27 1987-08-29 1988-02-28 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1991-02-27 1991-08-29 1992-02-28 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 1995-02-27 1995-08-29 1996-02-28 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag