Disk storage device and a method for processing defective sectors in a disk storage device
First Claim
1. A method for processing defective sectors in a disk storage device, comprising the step of:
- detecting that the disk storage device is in a waiting state such that the disk storage device is not being accessed by a host; and
executing a predetermined check related to a function of the disk storage device when the disk storage device is in the waiting state by executing a write servo test for searching for defective sectors on disks and reassigning the defective sectors.
7 Assignments
0 Petitions
Accused Products
Abstract
A disk storage device is disclosed for avoiding the instantaneous performance degradation as much as possible, and a method for processing a defective sector in such a disk storage device. There is executed a predetermined check related to a function of the disk storage device, preferably at least one of a read test, a write servo test, or a write test, when the disk storage device is in a waiting state where the disk storage device has no access from a host. The read test and write servo test are used to search for a defective sector on a disk and reassign the defective sector. The write test is used to indicate an abnormal condition of a head. Furthermore, the disk storage device includes a detector for detecting the waiting state, and a check logic for executing a predetermined check.
-
Citations
22 Claims
-
1. A method for processing defective sectors in a disk storage device, comprising the step of:
-
detecting that the disk storage device is in a waiting state such that the disk storage device is not being accessed by a host; and
executing a predetermined check related to a function of the disk storage device when the disk storage device is in the waiting state by executing a write servo test for searching for defective sectors on disks and reassigning the defective sectors. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
generating a host command while said predetermined check is being executed;
suspending said predetermined check which is being executed; and
executing said generated host command such that said host command is given priority.
-
-
5. The method for processing defective sectors in a disk storage device according to claim 1, further comprising the steps of:
-
providing a register within said disk storage device in which a position of a sector accessed during said predetermined check currently being executed is stored;
sequentially updating said position as the check proceeds; and
storing a content of said register in the disk when a predetermined time has elapsed after said disk storage device is no longer being accessed by a host utilizing a command, so that the value of the accessed sector can be recovered even after the power is shut off and the content of the register is cleared.
-
-
6. The method for processing defective sectors in a disk storage device according to claim 5, further comprising the step of storing the content of said register in the disk at regular time intervals.
-
7. The method for processing defective sectors in a disk storage device according to claim 5, further comprising the step of storing the content of said register in the disk once in a number of accesses.
-
8. The method for processing defective sectors in a disk storage device according to claim 1, further comprising the steps of:
-
providing a register within said disk storage device in which a position of a sector accessed during said predetermined check currently being executed is stored;
sequentially updating said position as the check proceeds; and
recovering the content of the register including the value of the accessed sector which is to be accessed to restart the check when a host command is provided during the check.
-
-
9. The method for processing defective sectors in a disk storage device according to claim 8, further comprising the step of storing the content of said register in the disk at regular time intervals.
-
10. The method for processing defective sectors in a disk storage device according to claim 8, further comprising the step of storing the content of said register in the disk once in a number of accesses.
-
11. The method for processing defective sectors in a disk storage device according to claim 1, further comprising the step of providing a mode flag within the disk storage device in which the type of the test currently being executed is stored.
-
12. A disk storage device for processing defective sectors the device, comprising:
-
means for detecting that the disk storage device is in a waiting state such that the disk storage device is not being accessed by a host; and
means for executing a predetermined check related to a function of the disk storage device when the disk storage device is in the waiting state by executing a write servo test for searching for defective sectors on disks and reassigning the defective sectors. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
means for generating a host command while said predetermined check is being executed;
means for suspending said predetermined check which is being executed; and
means for executing said generated host command such that said host command is given priority.
-
-
16. The device according to claim 12, further comprising:
-
a register within said disk storage device in which a position of a sector accessed during said predetermined check currently being executed is stored;
means for sequentially updating said position as the check proceeds; and
means for storing a content of said register in the disk when a predetermined time has elapsed after said disk storage device is no longer being accessed by a host utilizing a command, so that the value of the accessed sector can be recovered even after the power is shut off and the content of the register is cleared.
-
-
17. The device according to claim 16, further comprising means for storing the content of said register in the disk at regular time intervals.
-
18. The device according to claim 16, further comprising means for storing the content of said register in the disk once in a number of accesses.
-
19. The device according to claim 12, further comprising:
-
a register within said disk storage device in which a position of a sector accessed during said predetermined check currently being executed is stored;
means for sequentially updating said position as the check proceeds; and
means for recovering the content of the register including the value of the accessed sector which is to be accessed to restart the check when a host command is provided during the check.
-
-
20. The device according to claim 19, further comprising means for storing the content of said register in the disk at regular time intervals.
-
21. The device according to claim 19, further comprising means for storing the content of said register in the disk once in a number of accesses.
-
22. The device according to claim 12, further comprising means for providing a mode flag within the disk storage device in which the type of the test currently being executed is stored.
Specification