IP Library Granted Patent US 8,612,706
Granted Patent B1
US 8,612,706 · App. 13/333,657 · Granted Dec 17, 2013

Metadata recovery in a disk drive

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,612,706
App. No.
13/333,657
Granted
Dec 17, 2013
Kind
B1
Abstract

A disk drive subsystem is disclosed that implements a process for metadata recovery. Certain embodiments relate to recovery of metadata containing information indicating the physical locations in the disk drive in which host data is stored. In an embodiment, the metadata to be recovered is disposed in sequence with, or in physical association with host data that it describes. Recovery is accomplished by identifying metadata that is valid, but is absent from one or more translation tables containing translation information. Metadata portion can include one or more identifiers that are sequentially related to identifiers included in one or more other metadata portions. Performance improvements can thereby be attained.

Claims (50)

1. A method of recovering metadata information stored in a disk drive device comprising a plurality of zones, each zone comprising a plurality of tracks configured to store one or more write-logs containing metadata, the method comprising:

determining a physical address for a first write-log of a first type, wherein the physical address of the first write-log of the first type is located in a first zone;

determining a physical address for a second write-log of the first type, wherein the physical address of the second write-log of the first type is located in the first zone;

determining whether the second write-log is associated with a last write operation received from a host system prior to a power loss event; and

adding the second write-log of the first type to a list of recovered write-logs associated with the first zone;

wherein the method is performed by the disk drive device.

2. The method of claim 1 , further comprising determining whether the second write-log of the first type is valid.

3. The method of claim 2 , further comprising:

when it is determined that the second write-log of the first type is not valid, determining a physical address for a third write-log of the first type; and

determining whether the third write-log is valid.

4. The method of claim 3 , further comprising confirming that a predetermined number of write-logs subsequent to the third write-log are invalid when it is determined that the second write-log of the first type is not valid.

5. The method of claim 2 , wherein determining whether the second write-log of the first type is valid comprises determining whether the second write-log includes a valid write-log signature.

6. The method of claim 5 , wherein determining whether the second write-log includes a valid write-log signature comprises determining whether the second write-log includes a value associated with an identifier that is unique across the plurality of zones.

7. The method of claim 1 , wherein determining whether the second write-log is associated with the last write operation received from the host system prior to the power loss event comprises determining that a third write log is not valid.

8. The method of claim 1 , wherein the second write-log of the first type is sequentially ordered after the first write-log in the list of recovered write-logs.

9. The method of claim 1 , further comprising attempting to locate a write-log of a second type on a track on which the second write-log of the first type is located when it is determined that the second write-log is associated with the last write operation received from the host system prior to the power loss event.

10. The method of claim 9 , further comprising adding the write-log of the second type to the list of recovered write-logs when the write-log of a second type is located on the track.

11. The method of claim 9 , further comprising attempting to locate a write-log of a third type on the track.

12. The method of claim 11 , wherein attempting to locate the write-log of the third type comprises:

when the write-log of the second type is located on the track, scanning a first portion of the track, and

when the write-log of the second type is not located on the track, scanning a second portion of the track separate from the first portion.

13. The method of claim 11 , wherein the first write-log of the first type is a header write-log, the write-log of the second type is a halftrack write-log, and the write-log of the third type is a footer write-log.

14. A method of storing metadata information on a data track located within a first zone of a non-volatile storage medium, the method comprising:

receiving host data from a host system;

storing a first write-log of a first type in a first metadata portion of the data track; and

storing a write-log of a second type in a second metadata portion of the data track;

wherein each write-log includes or is stored in association with:

a first identifier that is unique across at least the first zone and a second zone of the non-volatile storage medium, and

a second identifier that is unique within the first zone.

15. The method of claim 14 , further comprising storing a write-log of a third type in a third metadata portion of the data track.

16. The method of claim 14 , wherein the first metadata portion of the data track is located substantially at the head of the data track and the second metadata portion of the data track is located substantially at a mid-point of the data track.

17. The method of claim 14 , wherein each write-log further comprises a third identifier that identifies either the first write-log of the first type, or a second write-log of the first type.

18. The method of claim 17 , wherein the third identifier of the write-log of the second type identifies the first write-log of the first type.

19. The method of claim 15 , wherein the third identifier of the write-log of the third type identifies the first write-log of the first type.

20. The method of claim 17 , wherein the third identifier of the first write-log of the first type identifies the second write-log of the first type.

21. The method of claim 14 , wherein the first identifier of the write-log of the second type comprises a first value that is sequential with respect to the first identifier of the first write-log of the first type, and the second identifier of the write-log of the second type comprises a second value that is sequential with respect to the second identifier of the first write-log of the first type.

22. The method of claim 15 , wherein the first identifier of the write-log of the third type is incrementally greater than the first identifier of the write-log of the second type, and the second identifier of the write-log of the third type is incrementally greater than the second identifier of the write-log of the second type.

23. A disk drive comprising:

a magnetic storage medium comprising a plurality of zones, each zone comprising a plurality of tracks configured to store one or more write-logs containing metadata; and

a controller configured to:

determine a physical address for a first write-log of a first type, wherein the physical address of the first write-log of the first type is located in a first zone;

determine a physical address for a second write-log of the first type, wherein the physical address of the second write-log of the first type is located in the first zone;

determine whether the second write-log is associated with a last write operation received from a host system prior to a power loss event; and

add the second write-log of the first type to a list of recovered write-logs associated with the first zone.

24. The disk drive of claim 23 , wherein the controller is further configured to attempt to locate a write-log of a second type on a track on which the second write-log of the first type is located when it is determined that the second write-log is associated with the last write operation received from the host system prior to the power loss event.

25. The disk drive of claim 24 , wherein the controller is further configured to add the write-log of the second type to the list of recovered write-logs when the write-log of a second type is located on the track.

26. The disk drive of claim 24 , wherein the controller is further configured to attempt to locate a write-log of a third type on the track.

27. The disk drive of claim 26 , wherein the controller attempts to locate the write-log of the third type by:

when the write-log of the second type is located on the track, scanning a first portion of the track, and

when the write-log of the second type is not located on the track, scanning a second portion of the track separate from the first portion.

Assignments (8)
PATENT COLLATERAL AGREEMENT - DDTL LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 067045/0156 →
PATENT COLLATERAL AGREEMENT - A&R LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 064715/0001 →
RELEASE OF SECURITY INTEREST AT REEL 038744 FRAME 0481 Recorded Feb 8, 2022
From: JPMORGAN CHASE BANK, N.A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 058982/0556 →
RELEASE OF SECURITY INTEREST Recorded Mar 5, 2018
From: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 045501/0714 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038744/0481 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 038744/0281 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038722/0229 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 9, 2012
From: MADRIL, ABEDON; CARLSON, MARCUS A.; PRUETT, DAVID C.; NEPPALLI, SRINIVAS
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 027835/0559 →