US20060005206A1 - Disk storage defragmentation - Google Patents
Disk storage defragmentation Download PDFInfo
- Publication number
- US20060005206A1 US20060005206A1 US11/202,870 US20287005A US2006005206A1 US 20060005206 A1 US20060005206 A1 US 20060005206A1 US 20287005 A US20287005 A US 20287005A US 2006005206 A1 US2006005206 A1 US 2006005206A1
- Authority
- US
- United States
- Prior art keywords
- data
- pages
- swapped
- disk
- engine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 claims abstract description 63
- 238000013507 mapping Methods 0.000 claims abstract description 25
- 238000004590 computer program Methods 0.000 claims 6
- 238000013467 fragmentation Methods 0.000 abstract description 49
- 238000006062 fragmentation reaction Methods 0.000 abstract description 49
- 230000008569 process Effects 0.000 description 22
- 238000012163 sequencing technique Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 7
- 238000011084 recovery Methods 0.000 description 7
- 230000002441 reversible effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 230000008707 rearrangement Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 239000012530 fluid Substances 0.000 description 1
- 230000008570 general process Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0674—Disk device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1724—Details of de-fragmentation performed by the file system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10S707/00—Data processing: database and file management or data structures
- Y10S707/99951—File or database maintenance
- Y10S707/99956—File allocation
- Y10S707/99957—Garbage collection
Definitions
- the present invention pertains generally to the storage of digital data, and more particularly to method and apparatus for de-fragmenting the allocations of storage made by an operating system for the files under its management within the context of a change tracking system that supports the backup and recovery of data stored by a digital computer.
- a typical problem for a computer's operating system is the eventual fragmentation of storage on disk.
- An OS generally manages the disk for the applications (like a word processor) and provides means for the applications to save and recall all or parts of files.
- the disk storage for the files is allocated and released by the OS as it is used by the applications.
- the OS may assign, for example, disk pages # 1 and # 2 to represent some file A, and disk pages # 3 , # 4 , and # 5 for some file B.
- the disk now contains two files: file B occupying pages # 3 , # 4 , and # 5 , and file C occupying pages # 1 , # 2 , and # 6 .
- the OS may employ various strategies to avoid breaking up files across a disk, but due to the dynamic nature of file sizes on a computer (they grow and shrink all the time), files over time generally become fragmented.
- the solution is to run a de-fragmentation utility (which is generally either built into the OS or comes as its own application). Such a utility corrects the problem by re-arranging the disk's contents such that the data for a given file is generally allocated in one area, or at least in large groups.
- FIG. 2 illustrates how the disk in our example would appear after de-fragmentation. Note that the internal OS data structures that track the whereabouts of the data for each file are updated during de-fragmentation to reflect the new page assignments.
- the recovery invention described in U.S. Pat. No. 6,016,553 details a method of at least initially re-mapping the page assignments of the OS, and generally without its knowledge. This is done to avoid overwriting the original contents of the affected pages so that these states can be restored or utilized in re-constructing the state of the disk, as viewed by the OS, at some time in the past.
- the preserved pages collectively make up a circular history buffer, and as new data is written by the OS, the older historic pages are recycled and receive the new data.
- the act of writing by the OS reduces the distance back in time that can be reconstructed using the data in the history buffer. In other words, when the OS writes data, pages are recycled within the history buffer to record the original states of these recent writes, at the expense of losing the original states associated with writes made relatively a long time ago.
- De-fragmenting can have a very nasty effect on the history buffer.
- a user has some sense of how much data is being written by any given activity. When a user loads a new application it often informs him/her of the space required—a good indication of how much is about to be written.
- an application is run (launched), typically a relatively small amount of data is written relative to the total size of the history buffer.
- de-fragmenting involves looking at all the data on the disk, and often involves moving much of it (regardless of whether it has recently changed), this operation is perhaps unique in its almost unpredictable effect of pushing large amounts of historic data out of the buffer.
- the present invention provides apparatus and a method of de-fragmenting file allocations on a disk comprising: determining what pages should be swapped among the various allocations made by the operating system (OS), the OS's file system mapping updated to reflect the swapped pages and a history of the original state prior to any update recorded by the engine, the swaps performed by manipulation of the engine's data structures and/or actually exchanging data on disk where OS visible data is read and written but the original state of each altered page is not directly recorded in the historic log, but instead, a record is additionally logged of the locations of the swapped data so that an image of the OS visible data can be reconstructed prior to time of the de-fragmentation by knowing what data to effectively re-swap and what OS mapping data to effectively restore.
- the apparatus and method may include the step of incorporating desired close proximity information of various OS visible pages into the algorithm executed by the engine that determines what is actually swapped, in order to reasonably maintain physical close proximity of data allocated by the OS but physically re-mapped by the engine.
- FIGS. 1 and 2 illustrate a defragmentation process
- FIGS. 3A-3E illustrate defragmentation apparatus, structures and methods according to example embodiments of the invention.
- FIG. 3 walks through a traditional de-fragmentation process.
- FIG. 3 a illustrates the initial state of the system.
- the disk contents are shown on the left side, with each page identified 0 through 12 (i.e., the disk consists of 13 pages).
- the pages are divided into two sets, one group corresponding to those visible by the OS and the other group reserved for tracking changes (history buffer).
- the roles of these pages are somewhat fluid as they go from holding data associated with the current main image (data visible to the OS) to holding the original (historic) states of pages overwritten by the OS.
- the various methods for managing the pages are discussed in U.S. Pat. No. 6,016,553. The purpose of this figure is to illustrate the use of disk pages for main and historic data.
- the top group of pages 0 through 7 start out holding main image data.
- the bottom group of pages 8 through 12 hold historic data, with the associated location field off to the right. This field, along with maps and other internal information, are maintained on disk by the engine in pages not shown in this example.
- the “next write” pointer indicates the next location to recycle (oldest historic data). As new data is written by the OS, it is diverted to the “next write” location in the bottom pages and the associated location field is updated with the original OS write's disk location.
- At right are shown the current contents of the disk as viewed by the OS through the main map. Since the main map is initially empty, reflecting a “no mapping state,” the current image visible to the OS, locations 0 through 7 , directly correspond to the contents of these actual disk locations.
- the disk contains pages making up two files A and B.
- the allocation of file A is fragmented in that an allocation for file B is intermixed among the pages allocated to A.
- Disk location # 4 holds the OS's directory, which is detailed off to the right. The directory indicates the locations associated with each file.
- the pages containing data t 1 , t 2 , and t 3 correspond to “unused” storage by the OS (free disk space).
- Pages 8 through 12 initially contain historic data. It is the historic data that one does not want to lose, as much as possible, during a de-fragmentation.
- FIG. 3 b illustrates the first step of a typical de-fragmentation utility. It decides to exchange the contents of pages 0 and 1 so that all the allocations associated with file A are next to each other, thus transforming the sequence “A 1 B 1 A 2 A 3 ” into “B 1 A 1 A 2 A 3 .”
- the directory is also updated to reflect the new assignments.
- the de-fragmentation utility intends to overwrite the data in pages 0 and 1 , it must get this data out of the way.
- the first step is to copy the data A 1 and B 1 to unused locations t 1 and t 2 . Let us presume the de-fragmentation utility is unaware of the recovery methods of U.S. Pat. No. 6,016,553. Thus, what has really happened when the data A 1 and B 1 was overwritten on top of t 1 and t 2 , is that the writes were diverted by the engine and the main map updated.
- FIG. 3 c shows the results of the de-fragmentation utility's moving A 1 and B 1 into place and updating the directory.
- OS views the disk through the main map the disk appears de-fragmented.
- various background disk re-arranging activity of the engine re-optimizes the placement of data on disk to take advantage of the de-fragmentation (i.e., so that file A's allocations are near other).
- FIG. 3 c what is important to notice in FIG. 3 c is that all of the original historic data H 1 through H 5 has been discarded in order to save a record of the modified locations. Because all the original states have been preserved prior to the de-fragmentation, it is possible to exactly reconstruct the before de-fragmentation disk image, as viewed by the OS.
- the present invention provides for the same before and after tracking but without requiring so much of the history buffer to record the steps to reverse the process.
- FIG. 3 d It shows that the engine aware de-fragmentation utility requested the engine to swap locations 0 and 1 and then it updated the directory. Notice that more than half of the history buffer's original contents are still present, thus allowing the user to reconstruct states further back in time as compared to FIG. 3 c.
- the “swap” is represented in FIG. 3 d as a special type of entry in the table of disk locations and associated location fields.
- the actual method of storing the swap information is likely to use some combination of the location fields stored in the history buffer headers (see U.S. Pat. No. 6,016,553) and other disk data structures (such as, but not limited to, the General Logged Data pages as also described in U.S. Pat. No. 6,016,553).
- FIG. 3 e illustrates a simulated disk map used to access the disk image before the de-fragmentation.
- the simulated map is constructed by reversing the steps recorded in the history buffer: the diversion of accesses to location # 4 is ended, which restores the OS's original directory mapping.
- the swap is “undone” by performing the swap again, only this time using the links in the simulated map to “exchange” the pages.
- the other major operation implemented by the engine is the disk revert.
- a disk reversion is performed by effectively writing the changes recorded in the history buffer back to the main image.
- the swap is simply done again to undo its original effect. Note the swap may be implemented by actually exchanging pages and/or through the use of map pointers.
- the de-fragmentation algorithm understands the placement implications of the engine. In other words, it may query the engine to find out about current and planned re-location of disk pages as different from the locations assigned by the OS. Alternately, the de-fragmentation algorithm (OS) may supply the engine with information sufficient for it to adjust its placement (re-mapping) of data and thus accomplish de-fragmentation.
- OS de-fragmentation algorithm
- the present invention works particularly well with the Temp Method in that this method eventually moves diverted data back into its original OS assigned (written) locations. Therefore, the de-fragmentation process needs only look at the OS's assigned locations (location keys) to make correct assumptions about what will, at least eventually be the actual physical locations of the data.
- the Always Method envisioned a tight relationship between the de-fragmentation process and the engine. It proposed two methods of dealing with fragmentation: one where the OS directly provides adjacency information of the allocations associated with each file to the engine, and another where the OS re-sequences the locations assigned to the files, coordinating the “renumbering” with the engine.
- the OS can keep its “fragmented” allocations and assumes the engine will re-map assignments to eliminate actual fragmentation; For example, consider the case where the OS has assigned location keys 1 , 10 , 20 , and 30 to a file. However, the engine has re-mapped location key 1 to the physical disk location 50 , 10 to 51 , 20 to 52 , and 30 to 53 . Thus, reading the file actually causes the actual disk locations 50 , 51 , 52 , and 53 to be read, which is optimal (continuous).
- the Always method also envisioned a re-sequencing process where the disk allocations for a file made by the OS would be re-sequenced (see the end of the Disk Access Performance section).
- Re-sequencing file allocations within the OS differs from a de-fragmenting process in that the OS simply pauses, and makes a pass through all its allocations associated with each file and sequentially renumbers them. It is the engine's responsibility to actually determine where the allocations were (before re-sequencing) and keep the allocations properly associated with the newly assigned location keys.
- the OS has assigned some file the location keys 10 , 34 , and 13 to correspond to the first, second, and third pages that respectively make up the file's contents.
- the data will have been likely written to some other actual disk locations (the location key and the actual disk location that receives the data will differ due to diversion by the engine).
- the OS could inform the engine of the desired adjacency of these locations by re-sequencing them. Thus, it might submit a request to the engine indicating location key 10 will now be accessed as location key 1 , 34 as 2 , and 13 as 3 .
- the process of re-sequencing must either insure the newly assigned location keys ( 1 , 2 , and 3 in this example) have not already been used, or specify to what location keys these have been re-assigned (e.g., 1 to 40 , 2 to 41 , and 3 to 42 ).
- the point of re-sequencing is that the engine, after re-sequencing can assume implied desired adjacency in the location keys (e.g., location keys 1 , 2 , and 3 should be mapped to actual pages on disk that are near each other).
- the re-sequencing process of passing file allocation information to the engine should also include the points at which file breaks occur. For example, one file has been re-sequenced to location keys 5 , 6 , and 7 , and another file to location keys 8 , 9 , and 10 . Therefore, the engine would know that it could physically map the location keys 5 through 10 to two different areas, keeping the pages associated with 5 , 6 , and 7 together and 8 , 9 , and 10 together. This is the same concept as found in the structure of the adjacency information provided to the engine in U.S. Pat. No. 6,016,553.
- the de-fragmentation process of the present invention is like re-sequencing in that the engine can infer desired adjacency of the OS's allocations by their location—sequential location key assignments should be mapped near each other. However, the de-fragmentation process assumes a much greater role of selecting what locations to swap in order to minimize the amount of storage that must be exchanged. In contrast to re-sequencing, the de-fragmentation process of the present invention does not rely as much on the engine to work out the actual steps involved in rearranging the disk.
- the OS is adjusting its own file allocation mappings to be more sequential as a step toward directly (Temp Method) or indirectly (Always Method) establishing close physical proximity on a file's allocations on disk.
- Temp Method directly
- Always Method indirectly
- the OS may also be advantages for the OS to have a file's allocations made sequentially due to the implementation of the OS's own file mapping system.
- it is more efficient to map continuous sequences of values. For example, a table could map the values 1, 2, 3, 4 to the values 7, 8, 9, 10.
- the table consists of eight numbers. On the other hand, three numbers represent this same mapping if expressed as “map the values starting at 1 to 7 for 4 sequential values.” If the continuous sequences are long then great efficiency can be achieved over mapping each value independently.
- the Always Method has already established the concept of adjusting the OS's file mapping in a coordinated effort with the engine and/or more directly informing the engine of adjacency preferences. It has already stated the need to include notes reflecting such action in some form in the general history log (see the end of section on the Desired Location Map section). Therefore the core of the present invention primarily provides detailed steps to de-fragment a disk under the Temp Method, borrowing from the Always Method the process of allowing and recording an engine/OS mapping (swap) change in the history log.
- the general de-fragmentation of allocations as viewed by the OS may or may not improve its own mapping and new page allocation efficiency.
- de-fragmenting a file's location keys will at minimum allow the adjacency information to be more compact (more blocking). Further, it will almost certainly improve the efficiency at which the engine can translate from OS locations to actual physical locations. This is because common mapping methods like trees or table based algorithms work best when a sequence of look up keys are sequential. For example, in a common operation, the OS requests to read a given file, which the OS has mapped to location keys 10 , 11 , 12 , 13 , and 14 . This nice sequential allocation is perhaps the result of de-fragmentation.
- the common methods for re-mapping will cluster the look up keys ( 10 , 11 , . . . ) close to their re-mapped values. The principle that this clustering leads to efficiency is well understood in the art.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
- This application claims priority from U.S. Provisional Application No. 60,143,248, filed Jul. 9, 1999, entitled “Method, Software And Apparatus For Saving, Using And Recovering Data”, the entire disclosure of which is hereby incorporated by reference herein.
- A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever. The following notice applies to the software and data as described below and in the drawing hereto: Copyright © 1999, Wild File, Inc. All Rights Reserved.
- The present invention pertains generally to the storage of digital data, and more particularly to method and apparatus for de-fragmenting the allocations of storage made by an operating system for the files under its management within the context of a change tracking system that supports the backup and recovery of data stored by a digital computer.
- A typical problem for a computer's operating system (OS) is the eventual fragmentation of storage on disk. An OS generally manages the disk for the applications (like a word processor) and provides means for the applications to save and recall all or parts of files. The disk storage for the files is allocated and released by the OS as it is used by the applications. The OS may assign, for example,
disk pages # 1 and #2 to represent some file A, anddisk pages # 3, #4, and #5 for some file B. Now if the user through an application deletes file A and creates a new file C that requires three pages, the OS could re-usepages # 1 and #2 and further allocatepage # 6. As shown inFIG. 1 , the disk now contains two files: file B occupyingpages # 3, #4, and #5, and file C occupyingpages # 1, #2, and #6. - One of the realities of a disk drive is that it generally takes a long time to position the disk head to a given location on the recording media, as compared to the time it takes to transfer data. Thus, in order to attain optimal performance, in terms of response time, it is best to store all the data associated with a given file in nearby locations. This minimizes the number of times the disk head must be re-positioned in order to access all the file's data. However, in our current example, the OS split the allocations for file C into two groups:
pages # 1 and #2, andpage # 6. Thus, because the disk head must be re-positioned twice to read both groups, it takes roughly twice as long to read file C as it does to read file B, which is allocated in one group (pages # 3 through #5). - The OS may employ various strategies to avoid breaking up files across a disk, but due to the dynamic nature of file sizes on a computer (they grow and shrink all the time), files over time generally become fragmented. The solution is to run a de-fragmentation utility (which is generally either built into the OS or comes as its own application). Such a utility corrects the problem by re-arranging the disk's contents such that the data for a given file is generally allocated in one area, or at least in large groups.
FIG. 2 illustrates how the disk in our example would appear after de-fragmentation. Note that the internal OS data structures that track the whereabouts of the data for each file are updated during de-fragmentation to reflect the new page assignments. - The recovery invention described in U.S. Pat. No. 6,016,553 details a method of at least initially re-mapping the page assignments of the OS, and generally without its knowledge. This is done to avoid overwriting the original contents of the affected pages so that these states can be restored or utilized in re-constructing the state of the disk, as viewed by the OS, at some time in the past. The preserved pages collectively make up a circular history buffer, and as new data is written by the OS, the older historic pages are recycled and receive the new data. The act of writing by the OS reduces the distance back in time that can be reconstructed using the data in the history buffer. In other words, when the OS writes data, pages are recycled within the history buffer to record the original states of these recent writes, at the expense of losing the original states associated with writes made relatively a long time ago.
- Therefore, when a de-fragmentation utility is run, and it rearranges the disk, a lot of writes are generated. These writes push out data from the history buffer. Thus, although the user can use the recorded original states in the history buffer to reconstruct an image of the disk prior to performing the de-fragmentation, this is generally of little value compared to the historic data that has just been pushed out of the history buffer. There is the case where a de-fragmentation process fails and data is lost, in which case a user would want to return to the time prior to de-fragmenting. However, if you set aside this case and assume that the de-fragmentation utility generally works, the user sees no change in their data. The disk re-arrangement did not alter the state of any file, it just improved the access time to it. Thus, intuitively a user may not understand why de-fragmenting a disk should “consume” any of the history buffer.
- De-fragmenting can have a very nasty effect on the history buffer. Generally, a user has some sense of how much data is being written by any given activity. When a user loads a new application it often informs him/her of the space required—a good indication of how much is about to be written. When an application is run (launched), typically a relatively small amount of data is written relative to the total size of the history buffer. However, because de-fragmenting involves looking at all the data on the disk, and often involves moving much of it (regardless of whether it has recently changed), this operation is perhaps unique in its almost unpredictable effect of pushing large amounts of historic data out of the buffer.
- In summary, on system implementing the recovery methods of U.S. Pat. No. 6,016,553 (engine) the effect of a standard disk de-fragmentation utility on the availability of historic information is possibility to eliminate all or much of the historic data that was available prior to the de-fragmentation. Further, the system might crash during a de-fragmentation and restart with data having been lost. Normally this would be a opportune point to use the recovery ability of the engine. However, should the de-fragmentation process have written so much data that the data captured in the history buffer no longer spans back to the beginning of the process, then recovery is not possible. Such unpredictable situations where the recovery option is lost undermines the value of the engine.
- The present invention provides apparatus and a method of de-fragmenting file allocations on a disk comprising: determining what pages should be swapped among the various allocations made by the operating system (OS), the OS's file system mapping updated to reflect the swapped pages and a history of the original state prior to any update recorded by the engine, the swaps performed by manipulation of the engine's data structures and/or actually exchanging data on disk where OS visible data is read and written but the original state of each altered page is not directly recorded in the historic log, but instead, a record is additionally logged of the locations of the swapped data so that an image of the OS visible data can be reconstructed prior to time of the de-fragmentation by knowing what data to effectively re-swap and what OS mapping data to effectively restore. The apparatus and method may include the step of incorporating desired close proximity information of various OS visible pages into the algorithm executed by the engine that determines what is actually swapped, in order to reasonably maintain physical close proximity of data allocated by the OS but physically re-mapped by the engine.
-
FIGS. 1 and 2 illustrate a defragmentation process. -
FIGS. 3A-3E illustrate defragmentation apparatus, structures and methods according to example embodiments of the invention. - It is possible to modify the engine to allow for the insertion of a de-fragmentation step in the history buffer. This is the subject of the present invention, which is based on the realization that at the core of the de-fragmentation process is the re-arrangement of disk pages. De-fragmenting a disk is not so much involved in the generation of truly new data that is not already present on the disk—e.g., the OS's internal data structures describing the whereabouts of each file get updated in the process, which does represent true changes to the disk's contents, but the rearranging of the pages holding a file's data is not creating truly new data, but simply moving it.
- To see why the de-fragmentation process involving reading and writing data all over the disk does not actually require much space to represent the before and after states, one needs to look closer at the meaning of “moving” and “rearranging” data. When data is moved from one location X to location Y, the operation implies the overwriting of the contents of location Y. Its original contents are lost. Therefore, it is not possible to reverse a “move” operation unless somehow the original state is preserved. However, a typical de-fragmentation utility “moves” much of the data only because it utilizes the read and write operations provided by the disk. The point is that when you write to the disk, this is generally a non-reversible operation. However, at a higher level, what the de-fragmentation process really involves is primarily rearranging the disk, which is to say swapping disk locations. A swap of data involves exchanging the contents of some location X with some location Y. A swap operation, unlike a move, is reversible.
- Therefore, one only needs to know what locations were swapped in order to return the disk to its pre-swapped state, and specifically, there is no need to record the original contents of any of pages involved in the swap. For example, if a disk had a million pages and in order to de-fragment the disk, the first 100,000 pages were swapped with the last 100,000 pages, the operation could be fully reversed (undone) by simply re-swapping the pages. A note that “the first 100,000 pages were swapped with the last” can be recorded in a handful of bytes. This allows for the before and after states of the disk to be reconstructed as needed, without having saved any “original states” of the actual data moved in the swap. In other words, outside of the space required to save notes about what gets swapped in a de-fragmentation process, little other space is required. These means that a major de-fragmentation of a disk can be performed without having to “push” much of the tracked historic original disk states out of the circular history buffer.
- Note that the techniques just described for performing a disk de-fragmentation that minimally impacts the contents of the history buffer assumes the use of a utility that is aware of the present invention, and implements the de-fragmentation primarily using swap operations instead of the traditional read and write (move) operations.
- To gain further insight into the present invention,
FIG. 3 walks through a traditional de-fragmentation process.FIG. 3 a illustrates the initial state of the system. The disk contents are shown on the left side, with each page identified 0 through 12 (i.e., the disk consists of 13 pages). The pages are divided into two sets, one group corresponding to those visible by the OS and the other group reserved for tracking changes (history buffer). The roles of these pages are somewhat fluid as they go from holding data associated with the current main image (data visible to the OS) to holding the original (historic) states of pages overwritten by the OS. The various methods for managing the pages are discussed in U.S. Pat. No. 6,016,553. The purpose of this figure is to illustrate the use of disk pages for main and historic data. - The top group of
pages 0 through 7 start out holding main image data. The bottom group ofpages 8 through 12 hold historic data, with the associated location field off to the right. This field, along with maps and other internal information, are maintained on disk by the engine in pages not shown in this example. The “next write” pointer indicates the next location to recycle (oldest historic data). As new data is written by the OS, it is diverted to the “next write” location in the bottom pages and the associated location field is updated with the original OS write's disk location. In the center of the figure is the main map through which the engine translates OS disk read requests to the actual (physical) disk location containing the desired data. At right are shown the current contents of the disk as viewed by the OS through the main map. Since the main map is initially empty, reflecting a “no mapping state,” the current image visible to the OS,locations 0 through 7, directly correspond to the contents of these actual disk locations. - Initially the disk contains pages making up two files A and B. The allocation of file A is fragmented in that an allocation for file B is intermixed among the pages allocated to A.
Disk location # 4 holds the OS's directory, which is detailed off to the right. The directory indicates the locations associated with each file. The pages containing data t1, t2, and t3 correspond to “unused” storage by the OS (free disk space).Pages 8 through 12 initially contain historic data. It is the historic data that one does not want to lose, as much as possible, during a de-fragmentation. -
FIG. 3 b illustrates the first step of a typical de-fragmentation utility. It decides to exchange the contents ofpages pages -
FIG. 3 c shows the results of the de-fragmentation utility's moving A1 and B1 into place and updating the directory. Now as the OS views the disk through the main map the disk appears de-fragmented. Generally, various background disk re-arranging activity of the engine re-optimizes the placement of data on disk to take advantage of the de-fragmentation (i.e., so that file A's allocations are near other). What is important to notice inFIG. 3 c is that all of the original historic data H1 through H5 has been discarded in order to save a record of the modified locations. Because all the original states have been preserved prior to the de-fragmentation, it is possible to exactly reconstruct the before de-fragmentation disk image, as viewed by the OS. - Note that it is not the intent of this example to show the specific steps and methods employed by a disk de-fragmentation utility, but only the general process and effects.
- The present invention, however, provides for the same before and after tracking but without requiring so much of the history buffer to record the steps to reverse the process. Thus, if you return to the state in
FIG. 3 a and use a new de-fragmentation utility that is aware and interacts with the engine, you getFIG. 3 d. It shows that the engine aware de-fragmentation utility requested the engine to swaplocations FIG. 3 c. - The “swap” is represented in
FIG. 3 d as a special type of entry in the table of disk locations and associated location fields. The actual method of storing the swap information is likely to use some combination of the location fields stored in the history buffer headers (see U.S. Pat. No. 6,016,553) and other disk data structures (such as, but not limited to, the General Logged Data pages as also described in U.S. Pat. No. 6,016,553). -
FIG. 3 e illustrates a simulated disk map used to access the disk image before the de-fragmentation. The simulated map is constructed by reversing the steps recorded in the history buffer: the diversion of accesses tolocation # 4 is ended, which restores the OS's original directory mapping. The swap is “undone” by performing the swap again, only this time using the links in the simulated map to “exchange” the pages. - The other major operation implemented by the engine is the disk revert. A disk reversion is performed by effectively writing the changes recorded in the history buffer back to the main image. When a note about a swap is encountered while walking back toward an earlier time in the history buffer, the swap is simply done again to undo its original effect. Note the swap may be implemented by actually exchanging pages and/or through the use of map pointers.
- It makes sense that the de-fragmentation algorithm understands the placement implications of the engine. In other words, it may query the engine to find out about current and planned re-location of disk pages as different from the locations assigned by the OS. Alternately, the de-fragmentation algorithm (OS) may supply the engine with information sufficient for it to adjust its placement (re-mapping) of data and thus accomplish de-fragmentation.
- The present invention works particularly well with the Temp Method in that this method eventually moves diverted data back into its original OS assigned (written) locations. Therefore, the de-fragmentation process needs only look at the OS's assigned locations (location keys) to make correct assumptions about what will, at least eventually be the actual physical locations of the data.
- The Present Invention and the Always Method
- The Always Method envisioned a tight relationship between the de-fragmentation process and the engine. It proposed two methods of dealing with fragmentation: one where the OS directly provides adjacency information of the allocations associated with each file to the engine, and another where the OS re-sequences the locations assigned to the files, coordinating the “renumbering” with the engine.
- In the case where the engine directly receives adjacency information, instead of de-fragmenting the allocations as represented in the OS's file mapping, the OS can keep its “fragmented” allocations and assumes the engine will re-map assignments to eliminate actual fragmentation; For example, consider the case where the OS has assigned
location keys location key 1 to thephysical disk location 50, 10 to 51, 20 to 52, and 30 to 53. Thus, reading the file actually causes the actual disk locations 50, 51, 52, and 53 to be read, which is optimal (continuous). - The Always method also envisioned a re-sequencing process where the disk allocations for a file made by the OS would be re-sequenced (see the end of the Disk Access Performance section). Re-sequencing file allocations within the OS differs from a de-fragmenting process in that the OS simply pauses, and makes a pass through all its allocations associated with each file and sequentially renumbers them. It is the engine's responsibility to actually determine where the allocations were (before re-sequencing) and keep the allocations properly associated with the newly assigned location keys.
- Re-sequencing attempts to eliminate the need for a separate adjacency map within the engine. In other words, consider the case where the OS has assigned some file the
location keys location key 10 will now be accessed aslocation key 1, 34 as 2, and 13 as 3. Of course, the process of re-sequencing must either insure the newly assigned location keys (1, 2, and 3 in this example) have not already been used, or specify to what location keys these have been re-assigned (e.g., 1 to 40, 2 to 41, and 3 to 42). The point of re-sequencing is that the engine, after re-sequencing can assume implied desired adjacency in the location keys (e.g.,location keys - Note that the re-sequencing process of passing file allocation information to the engine should also include the points at which file breaks occur. For example, one file has been re-sequenced to
location keys location keys location keys 5 through 10 to two different areas, keeping the pages associated with 5, 6, and 7 together and 8, 9, and 10 together. This is the same concept as found in the structure of the adjacency information provided to the engine in U.S. Pat. No. 6,016,553. - The de-fragmentation process of the present invention is like re-sequencing in that the engine can infer desired adjacency of the OS's allocations by their location—sequential location key assignments should be mapped near each other. However, the de-fragmentation process assumes a much greater role of selecting what locations to swap in order to minimize the amount of storage that must be exchanged. In contrast to re-sequencing, the de-fragmentation process of the present invention does not rely as much on the engine to work out the actual steps involved in rearranging the disk.
- In both the re-sequencing and de-fragmenting processes the OS is adjusting its own file allocation mappings to be more sequential as a step toward directly (Temp Method) or indirectly (Always Method) establishing close physical proximity on a file's allocations on disk. There may also be advantages for the OS to have a file's allocations made sequentially due to the implementation of the OS's own file mapping system. In general, either for the OS or an engine, it is more efficient to map continuous sequences of values. For example, a table could map the
values values - The Always Method has already established the concept of adjusting the OS's file mapping in a coordinated effort with the engine and/or more directly informing the engine of adjacency preferences. It has already stated the need to include notes reflecting such action in some form in the general history log (see the end of section on the Desired Location Map section). Therefore the core of the present invention primarily provides detailed steps to de-fragment a disk under the Temp Method, borrowing from the Always Method the process of allowing and recording an engine/OS mapping (swap) change in the history log.
- Under the Always Method it is recommended to provide for the de-fragmentation of files by the following three steps: First, have some program scan the OS's file allocations and request the appropriate swaps in order to insure each file's page assignments (location keys) are generally sequential. Second, update the OS's maps. These first two steps describe the present invention and suffice for the Temp Method. However, for the Always Method, a third step is added in which adjacency information is also supplied to the engine. With the requested swaps and adjacency information the Always Method can determine what actually gets swapped and update its own mapping.
- The general de-fragmentation of allocations as viewed by the OS may or may not improve its own mapping and new page allocation efficiency. However, de-fragmenting a file's location keys will at minimum allow the adjacency information to be more compact (more blocking). Further, it will almost certainly improve the efficiency at which the engine can translate from OS locations to actual physical locations. This is because common mapping methods like trees or table based algorithms work best when a sequence of look up keys are sequential. For example, in a common operation, the OS requests to read a given file, which the OS has mapped to
location keys - Note the actual method for an Always Method engine of determining how to re-arrange the data on a disk, based on its current mapping, the requested swaps, and adjacency information is reasonably straight forward to one skilled in the art of data structures and programming. A simple algorithm would involve working from the adjacency information back through the swaps to determine if the actual physical data needs to be exchanged in order to achieve close proximity, or simply an update made to the engine's maps.
Claims (21)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/202,870 US7506013B2 (en) | 1999-07-09 | 2005-09-15 | Disk storage defragmentation |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14324899P | 1999-07-09 | 1999-07-09 | |
US09/856,331 US7051055B1 (en) | 1999-07-09 | 2000-07-10 | Optimized disk storage defragmentation with swapping capabilities |
PCT/US2000/018732 WO2001004801A1 (en) | 1999-07-09 | 2000-07-10 | Optimized disk storage defragmentation with swapping capabilities |
US11/202,870 US7506013B2 (en) | 1999-07-09 | 2005-09-15 | Disk storage defragmentation |
Related Parent Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2000/018732 Continuation WO2001004801A1 (en) | 1999-07-09 | 2000-07-10 | Optimized disk storage defragmentation with swapping capabilities |
US09856331 Continuation | 2000-07-10 | ||
US09/856,331 Continuation US7051055B1 (en) | 1999-07-09 | 2000-07-10 | Optimized disk storage defragmentation with swapping capabilities |
Publications (2)
Publication Number | Publication Date |
---|---|
US20060005206A1 true US20060005206A1 (en) | 2006-01-05 |
US7506013B2 US7506013B2 (en) | 2009-03-17 |
Family
ID=22503234
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/202,870 Expired - Fee Related US7506013B2 (en) | 1999-07-09 | 2005-09-15 | Disk storage defragmentation |
Country Status (3)
Country | Link |
---|---|
US (1) | US7506013B2 (en) |
AU (1) | AU6081200A (en) |
WO (1) | WO2001004801A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7734887B1 (en) * | 2007-05-30 | 2010-06-08 | Symantec Corporation | Relocation tracking during write operation |
US20100185591A1 (en) * | 2009-01-22 | 2010-07-22 | Fuji Xerox Co., Ltd. | Computer readable medium and information management system |
US20110289287A1 (en) * | 2010-05-18 | 2011-11-24 | Hitachi, Ltd. | Storage apparatus and data management method |
CN110221781A (en) * | 2019-06-04 | 2019-09-10 | Oppo广东移动通信有限公司 | Manufacturing method and device of disk fragments, storage medium and intelligent terminal |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6732293B1 (en) | 1998-03-16 | 2004-05-04 | Symantec Corporation | Method, software and apparatus for recovering and recycling data in conjunction with an operating system |
US7055055B1 (en) | 1999-04-23 | 2006-05-30 | Symantec Corporation | Write cache flushing method for reducing data corruption |
US7051055B1 (en) | 1999-07-09 | 2006-05-23 | Symantec Corporation | Optimized disk storage defragmentation with swapping capabilities |
WO2001004801A1 (en) | 1999-07-09 | 2001-01-18 | Wild File, Inc. | Optimized disk storage defragmentation with swapping capabilities |
JP3629216B2 (en) * | 2001-03-08 | 2005-03-16 | 株式会社東芝 | Disk storage system having defragmentation function, and defragmentation method in the same system |
US7296043B2 (en) * | 2003-05-30 | 2007-11-13 | Microsoft Corporation | Memory file size adjustment |
US7991748B2 (en) | 2003-09-23 | 2011-08-02 | Symantec Corporation | Virtual data store creation and use |
US7904428B2 (en) | 2003-09-23 | 2011-03-08 | Symantec Corporation | Methods and apparatus for recording write requests directed to a data store |
US7577806B2 (en) | 2003-09-23 | 2009-08-18 | Symantec Operating Corporation | Systems and methods for time dependent data storage and recovery |
US7725760B2 (en) | 2003-09-23 | 2010-05-25 | Symantec Operating Corporation | Data storage system |
US7730222B2 (en) | 2004-08-24 | 2010-06-01 | Symantec Operating System | Processing storage-related I/O requests using binary tree data structures |
US7827362B2 (en) | 2004-08-24 | 2010-11-02 | Symantec Corporation | Systems, apparatus, and methods for processing I/O requests |
US7287133B2 (en) | 2004-08-24 | 2007-10-23 | Symantec Operating Corporation | Systems and methods for providing a modification history for a location within a data store |
US7949665B1 (en) | 2004-11-19 | 2011-05-24 | Symantec Corporation | Rapidly traversing disc volumes during file content examination |
JP2008060971A (en) * | 2006-08-31 | 2008-03-13 | Fujitsu Ltd | Information processing system, information processing apparatus, information processing method, and program |
US7769725B2 (en) * | 2007-04-23 | 2010-08-03 | International Business Machines Corporation | File profiling to minimize fragmentation |
US8190811B2 (en) * | 2009-06-09 | 2012-05-29 | Seagate Technology, Llc | Defragmentation of solid state memory |
Citations (37)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5089958A (en) * | 1989-01-23 | 1992-02-18 | Vortex Systems, Inc. | Fault tolerant computer backup system |
US5255270A (en) * | 1990-11-07 | 1993-10-19 | Emc Corporation | Method of assuring data write integrity on a data storage device |
US5297258A (en) * | 1991-11-21 | 1994-03-22 | Ast Research, Inc. | Data logging for hard disk data storage systems |
US5325519A (en) * | 1991-10-18 | 1994-06-28 | Texas Microsystems, Inc. | Fault tolerant computer with archival rollback capabilities |
US5331646A (en) * | 1992-05-08 | 1994-07-19 | Compaq Computer Corporation | Error correcting code technique for improving reliablility of a disk array |
US5339406A (en) * | 1992-04-03 | 1994-08-16 | Sun Microsystems, Inc. | Reconstructing symbol definitions of a dynamically configurable operating system defined at the time of a system crash |
US5381545A (en) * | 1991-06-04 | 1995-01-10 | International Business Machines Corporation | Data backup and recovery in a data processing system |
US5404361A (en) * | 1992-07-27 | 1995-04-04 | Storage Technology Corporation | Method and apparatus for ensuring data integrity in a dynamically mapped data storage subsystem |
US5487160A (en) * | 1992-12-04 | 1996-01-23 | At&T Global Information Solutions Company | Concurrent image backup for disk storage system |
US5524205A (en) * | 1990-06-29 | 1996-06-04 | Oracle Corporation | Methods and apparatus for optimizing undo log usage |
US5535188A (en) * | 1994-10-03 | 1996-07-09 | International Business Machines Corporation | Data security protection for information recorded on a rewritable storage medium using a write-once read-many storage medium |
US5557770A (en) * | 1993-03-24 | 1996-09-17 | International Business Machines Corporation | Disk storage apparatus and method for converting random writes to sequential writes while retaining physical clustering on disk |
US5598528A (en) * | 1991-11-15 | 1997-01-28 | Fujitsu Limited | Checking for proper locations of storage device in a storage device array |
US5604862A (en) * | 1995-03-14 | 1997-02-18 | Network Integrity, Inc. | Continuously-snapshotted protection of computer files |
US5604853A (en) * | 1991-05-18 | 1997-02-18 | Fujitsu Limited | Text editor using insert, update and delete structures for undo and redo operations |
US5628016A (en) * | 1994-06-15 | 1997-05-06 | Borland International, Inc. | Systems and methods and implementing exception handling using exception registration records stored in stack memory |
US5640561A (en) * | 1992-10-13 | 1997-06-17 | International Business Machines Corporation | Computerized method and system for replicating a database using log records |
US5659747A (en) * | 1993-04-22 | 1997-08-19 | Microsoft Corporation | Multiple level undo/redo mechanism |
US5677952A (en) * | 1993-12-06 | 1997-10-14 | International Business Machines Corporation | Method to protect information on a computer storage device |
US5717849A (en) * | 1994-05-11 | 1998-02-10 | International Business Machines Corporation | System and procedure for early detection of a fault in a chained series of control blocks |
US5761680A (en) * | 1995-08-23 | 1998-06-02 | Symantec Corporation | Coherent film system access during defragmentation operations on a storage medium |
US5778392A (en) * | 1996-04-01 | 1998-07-07 | Symantec Corporation | Opportunistic tile-pulling, vacancy-filling method and apparatus for file-structure reorganization |
US5794052A (en) * | 1995-02-27 | 1998-08-11 | Ast Research, Inc. | Method of software installation and setup |
US5802264A (en) * | 1991-11-15 | 1998-09-01 | Fujitsu Limited | Background data reconstruction in a storage device array system |
US5819015A (en) * | 1996-04-22 | 1998-10-06 | Lexmark International, Inc. | Method and apparatus for providing remote printer resource management |
US5835953A (en) * | 1994-10-13 | 1998-11-10 | Vinca Corporation | Backup system that takes a snapshot of the locations in a mass storage device that has been identified for updating prior to updating |
US5893140A (en) * | 1996-08-14 | 1999-04-06 | Emc Corporation | File server having a file system cache and protocol for truly safe asynchronous writes |
US5933368A (en) * | 1996-11-25 | 1999-08-03 | Macronix International Co., Ltd. | Flash memory mass storage system |
US5982886A (en) * | 1992-03-18 | 1999-11-09 | Fujitsu Limited | Unauthorized use preventing method for optical disks, optical disk having unauthorized use prevention function, and optical disk apparatus |
US6012145A (en) * | 1993-11-13 | 2000-01-04 | Calluna Technology Limited | Security system for hard disk drive |
US6016553A (en) * | 1997-09-05 | 2000-01-18 | Wild File, Inc. | Method, software and apparatus for saving, using and recovering data |
US6038636A (en) * | 1998-04-27 | 2000-03-14 | Lexmark International, Inc. | Method and apparatus for reclaiming and defragmenting a flash memory device |
US6263338B1 (en) * | 1997-07-21 | 2001-07-17 | Telefonaktiebolaget Lm Ericsson (Publ) | Method relating to databases |
US6263337B1 (en) * | 1998-03-17 | 2001-07-17 | Microsoft Corporation | Scalable system for expectation maximization clustering of large databases |
US6289446B1 (en) * | 1998-09-29 | 2001-09-11 | Axis Ab | Exception handling utilizing call instruction with context information |
US6345283B1 (en) * | 1998-07-20 | 2002-02-05 | New Technologies Armor, Inc. | Method and apparatus for forensic analysis of information stored in computer-readable media |
US6363487B1 (en) * | 1998-03-16 | 2002-03-26 | Roxio, Inc. | Apparatus and method of creating a firewall data protection |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62114595A (en) | 1985-11-14 | 1987-05-26 | 松下電器産業株式会社 | Controller of washing machine |
JPH0816471B2 (en) | 1987-07-31 | 1996-02-21 | 株式会社日立製作所 | Electromagnetic fuel injection valve |
DE483174T1 (en) | 1989-07-11 | 1993-08-12 | Intelligence Quotient International Ltd., Tavistock, Devon | METHOD FOR OPERATING A DATA PROCESSING SYSTEM. |
JPH0438739A (en) | 1990-06-04 | 1992-02-07 | Canon Inc | External magnetic field impressing device |
JPH04165543A (en) | 1990-10-30 | 1992-06-11 | Matsushita Electric Ind Co Ltd | Electronic filing device |
JPH0759861A (en) | 1993-08-26 | 1995-03-07 | Terumo Corp | Catheter |
US5649152A (en) | 1994-10-13 | 1997-07-15 | Vinca Corporation | Method and system for providing a static snapshot of data stored on a mass storage system |
JPH096546A (en) | 1995-06-19 | 1997-01-10 | Toshiba Corp | Disk control system |
US6208999B1 (en) | 1996-12-12 | 2001-03-27 | Network Associates, Inc. | Recoverable computer file system with a signature area containing file integrity information located in the storage blocks |
EP1090348B1 (en) | 1999-04-23 | 2004-12-22 | Symantec Corporation | Method and apparatus for dealing with data corruption and shared disks in the context of saving, using and recovering data |
WO2001004801A1 (en) | 1999-07-09 | 2001-01-18 | Wild File, Inc. | Optimized disk storage defragmentation with swapping capabilities |
JP3797864B2 (en) | 1999-10-07 | 2006-07-19 | シマンテック・コーポレーション | Method, software and apparatus for recovering and playing back data in the context of an operating system |
AU1237701A (en) | 1999-10-29 | 2001-05-14 | Wild File, Inc. | Apparatus and method of creating a firewall data protection |
-
2000
- 2000-07-10 WO PCT/US2000/018732 patent/WO2001004801A1/en active Application Filing
- 2000-07-10 AU AU60812/00A patent/AU6081200A/en not_active Abandoned
-
2005
- 2005-09-15 US US11/202,870 patent/US7506013B2/en not_active Expired - Fee Related
Patent Citations (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5089958A (en) * | 1989-01-23 | 1992-02-18 | Vortex Systems, Inc. | Fault tolerant computer backup system |
US5524205A (en) * | 1990-06-29 | 1996-06-04 | Oracle Corporation | Methods and apparatus for optimizing undo log usage |
US5255270A (en) * | 1990-11-07 | 1993-10-19 | Emc Corporation | Method of assuring data write integrity on a data storage device |
US5604853A (en) * | 1991-05-18 | 1997-02-18 | Fujitsu Limited | Text editor using insert, update and delete structures for undo and redo operations |
US5381545A (en) * | 1991-06-04 | 1995-01-10 | International Business Machines Corporation | Data backup and recovery in a data processing system |
US5325519A (en) * | 1991-10-18 | 1994-06-28 | Texas Microsystems, Inc. | Fault tolerant computer with archival rollback capabilities |
US5598528A (en) * | 1991-11-15 | 1997-01-28 | Fujitsu Limited | Checking for proper locations of storage device in a storage device array |
US5751936A (en) * | 1991-11-15 | 1998-05-12 | Fujitsu Limited | Checking for proper locations of storage devices in a storage device array |
US5802264A (en) * | 1991-11-15 | 1998-09-01 | Fujitsu Limited | Background data reconstruction in a storage device array system |
US5297258A (en) * | 1991-11-21 | 1994-03-22 | Ast Research, Inc. | Data logging for hard disk data storage systems |
US5982886A (en) * | 1992-03-18 | 1999-11-09 | Fujitsu Limited | Unauthorized use preventing method for optical disks, optical disk having unauthorized use prevention function, and optical disk apparatus |
US5339406A (en) * | 1992-04-03 | 1994-08-16 | Sun Microsystems, Inc. | Reconstructing symbol definitions of a dynamically configurable operating system defined at the time of a system crash |
US5331646A (en) * | 1992-05-08 | 1994-07-19 | Compaq Computer Corporation | Error correcting code technique for improving reliablility of a disk array |
US5404361A (en) * | 1992-07-27 | 1995-04-04 | Storage Technology Corporation | Method and apparatus for ensuring data integrity in a dynamically mapped data storage subsystem |
US5640561A (en) * | 1992-10-13 | 1997-06-17 | International Business Machines Corporation | Computerized method and system for replicating a database using log records |
US5487160A (en) * | 1992-12-04 | 1996-01-23 | At&T Global Information Solutions Company | Concurrent image backup for disk storage system |
US5557770A (en) * | 1993-03-24 | 1996-09-17 | International Business Machines Corporation | Disk storage apparatus and method for converting random writes to sequential writes while retaining physical clustering on disk |
US5659747A (en) * | 1993-04-22 | 1997-08-19 | Microsoft Corporation | Multiple level undo/redo mechanism |
US6012145A (en) * | 1993-11-13 | 2000-01-04 | Calluna Technology Limited | Security system for hard disk drive |
US5677952A (en) * | 1993-12-06 | 1997-10-14 | International Business Machines Corporation | Method to protect information on a computer storage device |
US5717849A (en) * | 1994-05-11 | 1998-02-10 | International Business Machines Corporation | System and procedure for early detection of a fault in a chained series of control blocks |
US5628016A (en) * | 1994-06-15 | 1997-05-06 | Borland International, Inc. | Systems and methods and implementing exception handling using exception registration records stored in stack memory |
US5535188A (en) * | 1994-10-03 | 1996-07-09 | International Business Machines Corporation | Data security protection for information recorded on a rewritable storage medium using a write-once read-many storage medium |
US5835953A (en) * | 1994-10-13 | 1998-11-10 | Vinca Corporation | Backup system that takes a snapshot of the locations in a mass storage device that has been identified for updating prior to updating |
US5794052A (en) * | 1995-02-27 | 1998-08-11 | Ast Research, Inc. | Method of software installation and setup |
US5604862A (en) * | 1995-03-14 | 1997-02-18 | Network Integrity, Inc. | Continuously-snapshotted protection of computer files |
US5761680A (en) * | 1995-08-23 | 1998-06-02 | Symantec Corporation | Coherent film system access during defragmentation operations on a storage medium |
US5778392A (en) * | 1996-04-01 | 1998-07-07 | Symantec Corporation | Opportunistic tile-pulling, vacancy-filling method and apparatus for file-structure reorganization |
US5819015A (en) * | 1996-04-22 | 1998-10-06 | Lexmark International, Inc. | Method and apparatus for providing remote printer resource management |
US5893140A (en) * | 1996-08-14 | 1999-04-06 | Emc Corporation | File server having a file system cache and protocol for truly safe asynchronous writes |
US5933368A (en) * | 1996-11-25 | 1999-08-03 | Macronix International Co., Ltd. | Flash memory mass storage system |
US6263338B1 (en) * | 1997-07-21 | 2001-07-17 | Telefonaktiebolaget Lm Ericsson (Publ) | Method relating to databases |
US6199178B1 (en) * | 1997-09-05 | 2001-03-06 | Wild File, Inc. | Method, software and apparatus for saving, using and recovering data |
US6240527B1 (en) * | 1997-09-05 | 2001-05-29 | Roxio, Inc. | Method software and apparatus for saving using and recovering data |
US6016553A (en) * | 1997-09-05 | 2000-01-18 | Wild File, Inc. | Method, software and apparatus for saving, using and recovering data |
US6363487B1 (en) * | 1998-03-16 | 2002-03-26 | Roxio, Inc. | Apparatus and method of creating a firewall data protection |
US6263337B1 (en) * | 1998-03-17 | 2001-07-17 | Microsoft Corporation | Scalable system for expectation maximization clustering of large databases |
US6038636A (en) * | 1998-04-27 | 2000-03-14 | Lexmark International, Inc. | Method and apparatus for reclaiming and defragmenting a flash memory device |
US6345283B1 (en) * | 1998-07-20 | 2002-02-05 | New Technologies Armor, Inc. | Method and apparatus for forensic analysis of information stored in computer-readable media |
US6289446B1 (en) * | 1998-09-29 | 2001-09-11 | Axis Ab | Exception handling utilizing call instruction with context information |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7734887B1 (en) * | 2007-05-30 | 2010-06-08 | Symantec Corporation | Relocation tracking during write operation |
US20100185591A1 (en) * | 2009-01-22 | 2010-07-22 | Fuji Xerox Co., Ltd. | Computer readable medium and information management system |
US8275753B2 (en) * | 2009-01-22 | 2012-09-25 | Fuji Xerox Co., Ltd. | Computer readable medium and information management system |
US20110289287A1 (en) * | 2010-05-18 | 2011-11-24 | Hitachi, Ltd. | Storage apparatus and data management method |
CN102754084A (en) * | 2010-05-18 | 2012-10-24 | 株式会社日立制作所 | Storage device and data management method |
US9052823B2 (en) * | 2010-05-18 | 2015-06-09 | Hitachi, Ltd. | Storage system and data management method with application specific storage tiers |
CN110221781A (en) * | 2019-06-04 | 2019-09-10 | Oppo广东移动通信有限公司 | Manufacturing method and device of disk fragments, storage medium and intelligent terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2001004801A1 (en) | 2001-01-18 |
US7506013B2 (en) | 2009-03-17 |
AU6081200A (en) | 2001-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7506013B2 (en) | Disk storage defragmentation | |
US6467021B1 (en) | Data storage system storing data of varying block size | |
CN109298935B (en) | Method and application for multi-process write-once read-many lock-free shared memory | |
CN100498740C (en) | Data cache processing method, system and data cache device | |
US6587915B1 (en) | Flash memory having data blocks, spare blocks, a map block and a header block and a method for controlling the same | |
US7237076B2 (en) | Method of maintaining a plurality of snapshots, server apparatus and storage apparatus | |
US5627783A (en) | Semiconductor disk device | |
US6397311B1 (en) | System and method for defragmenting a file system | |
EP1435576A2 (en) | Method and apparatus for block-oriented memory management provided in smart card controllers | |
US20030229753A1 (en) | Flash memory file system | |
TW201636845A (en) | Memory device and operating method of same | |
JP2002540502A (en) | Method and apparatus for pointer relocation optimization of virtual memory mapping and transaction management in a database system | |
US10997153B2 (en) | Transaction encoding and transaction persistence according to type of persistent storage | |
CN109063192B (en) | Working method of high-performance mass file storage system | |
US5671390A (en) | Log structured array storage subsystem using LSA directory and LSA sub-directory stored in different storage media | |
US7058784B2 (en) | Method for managing access operation on nonvolatile memory and block structure thereof | |
US6629203B1 (en) | Alternating shadow directories in pairs of storage spaces for data storage | |
CN113312300A (en) | Nonvolatile memory caching method integrating data transmission and storage | |
US7177980B2 (en) | Cache storage system and method | |
US6029229A (en) | Digital data storage subsystem including directory for efficiently providing formatting information for stored records | |
US7051055B1 (en) | Optimized disk storage defragmentation with swapping capabilities | |
CN104636088A (en) | Method for writing data into data servers and storage system | |
JPH07152498A (en) | Information processing system | |
WO2011098118A1 (en) | Data storage method | |
US20060090042A1 (en) | Storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
CC | Certificate of correction | ||
FPAY | Fee payment |
Year of fee payment: 4 |
|
AS | Assignment |
Owner name: VERITAS US IP HOLDINGS LLC, CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SYMANTEC CORPORATION;REEL/FRAME:037697/0412 Effective date: 20160129 |
|
AS | Assignment |
Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH CAROLINA Free format text: SECURITY INTEREST;ASSIGNOR:VERITAS US IP HOLDINGS LLC;REEL/FRAME:037891/0001 Effective date: 20160129 Owner name: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS COLLATERAL AGENT, CONNECTICUT Free format text: SECURITY INTEREST;ASSIGNOR:VERITAS US IP HOLDINGS LLC;REEL/FRAME:037891/0726 Effective date: 20160129 Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH Free format text: SECURITY INTEREST;ASSIGNOR:VERITAS US IP HOLDINGS LLC;REEL/FRAME:037891/0001 Effective date: 20160129 Owner name: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS COLLATE Free format text: SECURITY INTEREST;ASSIGNOR:VERITAS US IP HOLDINGS LLC;REEL/FRAME:037891/0726 Effective date: 20160129 |
|
AS | Assignment |
Owner name: VERITAS TECHNOLOGIES LLC, CALIFORNIA Free format text: MERGER AND CHANGE OF NAME;ASSIGNORS:VERITAS US IP HOLDINGS LLC;VERITAS TECHNOLOGIES LLC;REEL/FRAME:038455/0752 Effective date: 20160329 |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
AS | Assignment |
Owner name: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT, DELAWARE Free format text: SECURITY INTEREST;ASSIGNOR:VERITAS TECHNOLOGIES LLC;REEL/FRAME:054370/0134 Effective date: 20200820 |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
AS | Assignment |
Owner name: VERITAS US IP HOLDINGS, LLC, CALIFORNIA Free format text: TERMINATION AND RELEASE OF SECURITY IN PATENTS AT R/F 037891/0726;ASSIGNOR:WILMINGTON TRUST, NATIONAL ASSOCIATION, AS COLLATERAL AGENT;REEL/FRAME:054535/0814 Effective date: 20201127 |
|
LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20210317 |
|
AS | Assignment |
Owner name: ACQUIOM AGENCY SERVICES LLC, AS ASSIGNEE, COLORADO Free format text: ASSIGNMENT OF SECURITY INTEREST IN PATENT COLLATERAL;ASSIGNOR:BANK OF AMERICA, N.A., AS ASSIGNOR;REEL/FRAME:069440/0084 Effective date: 20241122 |
|
AS | Assignment |
Owner name: VERITAS TECHNOLOGIES LLC, CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WILMINGTON TRUST, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:069634/0584 Effective date: 20241209 |
|
AS | Assignment |
Owner name: VERITAS TECHNOLOGIES LLC (F/K/A VERITAS US IP HOLDINGS LLC), CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:ACQUIOM AGENCY SERVICES LLC, AS COLLATERAL AGENT;REEL/FRAME:069712/0090 Effective date: 20241209 |