摘要 |
A method and device for processing magnetic disk hibernation. The method comprises: counting the access frequency for accessing each storage block (chunk) in a first magnetic disk; judging whether the access frequency for accessing the chunk reaches a predetermined threshold value; in the case where the judgement result is yes, migrating the chunk of which the access frequency exceeds the predetermined threshold value in the first magnetic disk into a second magnetic disk, wherein the performance of the second magnetic disk is higher than that of the first magnetic disk; and conducting hibernation on the first magnetic disk. By means of this solution, the problem in the related art that the system performance is wasted due to hibernation conducted only at a fixed time and unnecessary fragment repair existing in the magnetic disk hibernation technology is solved, thereby achieving the effects of realizing the dynamic hibernation of a magnetic disk and increasing the system performance of the magnetic disk. |