Real-time apparatus and method for minimizing disk fragmentation in a computer system
AssigneeExecutive Software International
InventorsCraig Charles Jensen, Andrew C. Staffer
Life of this patent
Estimating the term…
Loading patent…
AssigneeExecutive Software International
InventorsCraig Charles Jensen, Andrew C. Staffer
Estimating the term…
The present invention relates to an apparatus and method for defragmenting a disk drive in a computer system. The defragmentation process, in accordance with the present invention, determines which files have a high degree of fragmentation, where such file extents are to be physically moved on the disk and further determines which portions of such files are to be moved to the selected physical location. More particularly, the defragmentation process selects each file on the disk, checks to see if the file is excluded from processing and, if not, recovers the extent list for the file. If the file is fragmented, the process determines if there is sufficient free space in which to move the file extents to contiguous location on the disk. If such as space exists, the file extents are moved. If the free space is sufficiently fragmented or the disk is substantially full, contiguous files are moved to contiguous locations so as to partially defragment the file. If the file is already contiguous or if there is insufficient free space available to partially defragment the fragmented files, the process of the present invention moves the files or the file extents so as to maximize contiguous free space on the disk. The process then repeats so as to further defragment files that were previously left fragmented. In this manner fragmented files and fragmented free space on the disk are made contiguous. Files are then moved toward the front of the disk where possible. When the fragmentation process is complete, contiguous files tend to be packed toward the front of the disk with defragmented free space tending to be located toward the end of the disk.
In a computer system comprising a processor, an address/data bus coupled to said processor;
A computer-usable medium having computer readable program code embodied therein for causing a computer to perform the steps of:
In a computer system, a method for defragmenting a disk drive having a plurality of clusters of storage locations arranged in a sequential manner, said drive capable of storing a plurality of files where each of said plurality of files are stored in at least one cluster of the plurality of clusters of storage locations, said method comprising the steps of:
Dependencies are inferred from the claim text.