IP Library Granted Patent US 8,654,619
Granted Patent B1
US 8,654,619 · App. 13/248,903 · Granted Feb 18, 2014

Method and apparatus for operating 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,654,619
App. No.
13/248,903
Granted
Feb 18, 2014
Kind
B1
Abstract

A disk drive is disclosed including a rotatable disk having a user area including a first sector, and a spare area including a second sector, and configured to store a relocation list. The disk drive also includes a controller configured to receive a write command to write first data to the first sector, determine that the first data includes an amount of data less than a storage capacity of the first sector, read second data in the first sector, determine that there is a read error when reading the second data in the first sector, temporarily relocate the first sector to the second sector, maintain the second data in the first sector, and perform a test on the first sector to determine whether to copy the first data to the first sector, or permanently relocate the first sector to the second sector.

Claims (48)

1. A disk drive comprising:

a rotatable disk having a user area including a first sector, and a spare area including a second sector, and configured to store a relocation list;

a head actuated over the disk and configured to read from the disk and write to the disk; and

a controller configured to:

receive a write command to write first data to the first sector;

determine that the first data includes an amount of data less than a storage capacity of the first sector;

read second data in the first sector using the head;

determine that there is a read error when reading the second data in the first sector;

temporarily relocate the first sector to the second sector;

provide a temporary relocation entry in the relocation list;

maintain the second data in the first sector; and

perform a test on the first sector to determine whether to copy the first data to the first sector, and remove the temporary relocation entry in the relocation list, or permanently relocate the first sector to the second sector.

2. The disk drive of claim 1 wherein the test is a surface scan test on the first sector.

3. The disk drive of claim 2 wherein the surface scan test on the first sector includes writing test data to the first sector and reading the test data from the first sector a predetermined number of times, wherein the first sector passes the surface scan test when there is no write error and no read error, and the first sector fails the surface scan test when there is a write error or a read error.

4. The disk drive of claim 1 wherein the controller is further configured to write the first data to the second sector.

5. The disk drive of claim 4 wherein the controller is further configured to write third data to the second sector in addition to the first data.

6. The disk drive of claim 5 wherein the third data is fill data.

7. The disk drive of claim 1 wherein the controller is further configured to test the first sector when the second sector is filled with valid data.

8. The disk drive of claim 1 wherein the controller is further configured to test the first sector after a predetermined amount of time has lapsed since the first sector was temporarily relocated to the second sector.

9. The disk drive of claim 1 wherein the controller is further configured to

copy the first data to the first sector, and remove the temporary relocation entry in the relocation list, when the first sector passes the test, and

permanently relocate the first sector to the second sector, when the first sector fails the test.

10. The disk drive of claim 9 wherein the controller is further configured to replace the temporary relocation entry with a permanent relocation entry when the first sector is permanently relocated to the second sector.

11. The disk drive of claim 1 wherein the controller is further configured to determine that there is the read error during a read/modify/write operation.

12. The disk drive of claim 1 wherein the controller is further configured to determine that the read error is an uncorrectable read error before temporarily relocating the first sector to the second sector.

13. A method for operating a disk drive including a rotatable disk having a user area including a first sector, and a spare area including a second sector, and configured to store a relocation list, and a head actuated over the disk comprising:

receiving a write command to write first data to the first sector;

determining that the first data includes an amount of data less than a storage capacity of the first sector;

reading second data in the first sector using the head;

determining that there is a read error when reading the second data in the first sector;

temporarily relocating the first sector to the second sector;

providing a temporary relocation entry in the relocation list;

maintaining the second data in the first sector; and

performing a test on the first sector to determine whether to copy the first data to the first sector, and remove the temporary relocation entry in the relocation list, or permanently relocate the first sector to the second sector.

14. The method of claim 13 wherein performing the test on the first sector includes performing a surface scan test on the first sector.

15. The method of claim 14 wherein performing the surface scan test on the first sector includes

writing test data to the first sector and reading the test data from the first sector a predetermined number of times, wherein the first sector passes the surface scan test when there is no write error and no read error, and the first sector fails the surface scan test when there is a write error or a read error.

16. The method of claim 13 further comprising writing the first data to the second sector.

17. The method of claim 16 further comprising writing third data to the second sector in addition to the first data.

18. The method of claim 17 wherein the third data is fill data.

19. The method of claim 13 wherein the step of testing the first sector includes testing the first sector when the second sector is filled with valid data.

20. The method of claim 13 wherein the step of testing the first sector includes testing the first sector when a predetermined amount of time has lapsed since the first sector was temporarily relocated to the second sector.

21. The method of claim 13 further comprising

copying the first data to the first sector, and removing the temporary relocation entry in the relocation list, when the first sector passes the test; and

permanently relocating the first sector to the second sector, when the first sector fails the test.

22. The method of claim 21 further comprising replacing the temporary relocation entry with a permanent relocation entry when the first sector is permanently relocated to the second sector.

23. The method of claim 13 further comprising determining that there is the read error during a read/modify/write operation.

24. The method of claim 13 further comprising determining that the read error is an uncorrectable read error before temporarily relocating the first sector to the second sector.

Assignments (6)
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 038722/0229 →
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 038744/0481 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 29, 2011
From: CHENG, GLENN CHEK HEONG
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 026994/0812 →