US7036043B2 - Data management with virtual recovery mapping and backward moves - Google Patents

Data management with virtual recovery mapping and backward moves Download PDF

Info

Publication number
US7036043B2
US7036043B2 US10/034,304 US3430401A US7036043B2 US 7036043 B2 US7036043 B2 US 7036043B2 US 3430401 A US3430401 A US 3430401A US 7036043 B2 US7036043 B2 US 7036043B2
Authority
US
United States
Prior art keywords
backward
data
journal
write commands
mapping object
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.)
Expired - Lifetime, expires
Application number
US10/034,304
Other versions
US20030135703A1 (en
Inventor
Marcia Reid Martin
James Lee Rafert
Charles Royal Gehr
Michael William Madigan
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oracle America Inc
Original Assignee
Storage Technology Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Storage Technology Corp filed Critical Storage Technology Corp
Priority to US10/034,304 priority Critical patent/US7036043B2/en
Assigned to STORAGE TECHNOLOGY CORPORATION reassignment STORAGE TECHNOLOGY CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: GEHR, CHARLES ROYAL, MADIGAN, MICHAEL WILLIAM, MARTIN, MARCIA REID, RAFERT, JAMES LEE
Publication of US20030135703A1 publication Critical patent/US20030135703A1/en
Priority to US11/334,531 priority patent/US7340645B1/en
Application granted granted Critical
Publication of US7036043B2 publication Critical patent/US7036043B2/en
Assigned to SUN MICROSYSTEMS, INC. reassignment SUN MICROSYSTEMS, INC. MERGER (SEE DOCUMENT FOR DETAILS). Assignors: STORAGE TECHNOLOGY CORPORATION
Assigned to Oracle America, Inc. reassignment Oracle America, Inc. MERGER AND CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: Oracle America, Inc., ORACLE USA, INC., SUN MICROSYSTEMS, INC.
Adjusted expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1471Saving, restoring, recovering or retrying involving logging of persistent data for recovery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/84Using snapshots, i.e. a logical point-in-time copy of the data
    • YGENERAL 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
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99952Coherency, e.g. same view to multiple users
    • Y10S707/99953Recoverability
    • YGENERAL 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
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99952Coherency, e.g. same view to multiple users
    • Y10S707/99955Archiving or backup

Definitions

  • the present invention is directed generally toward data storage and backup systems. More specifically, the present invention is directed toward a backup system that immediately backs up data written to a primary storage device to multiple “virtual mirrors,” that reflect the changing state of the primary storage device over time.
  • Shadow paging divides database contents into a series of pages. A directory is used to map logical addresses for pages into physical addresses on a storage device. When changes are made to the database, the pages are not overwritten, but new pages containing the changes are produced, and a new directory is created that points to the new pages instead. Recovery is performed by reverting to a directory from a previous, uncorrupted state in the database.
  • U.S. Pat. No. 5,086,502 to Malcolm extends the write-ahead logging concept to primitive disk I/O.
  • Malcolm describes a system wherein write commands to a storage device in an IBM PC-type computer system are captured at the BIOS (basic input/output system) level and recorded in a journal. Write commands recorded in the journal are then used to restore the storage device to an earlier, uncorrupted state.
  • BIOS basic input/output system
  • U.S. Pat. No. 6,158,019 to Squibb describes a method and apparatus for restoring an updated computer storage system from a journal of write events.
  • Squibb describes process whereby events in an event journal may be used to create an event map and “delta” data structure, which may be merged with an original file stored on streaming media to generate a previous version of a file.
  • the present invention is directed toward a data management appliance and ancillary technologies for replicating data written to a primary storage system.
  • the data management appliance is a random-access storage system that at the logical block level replicates the contents of a primary storage system over time.
  • a mirror-in-the-middle (MIM) included in the data management appliance is used to record an exact copy of the primary storage system at some fixed point in time.
  • Atomic write events are recorded in a “forward journal” by the appliance immediately, so that applications are not interrupted.
  • An atomic event or transaction is one that cannot be divided into parts; an atomic event or transaction is either performed in its entirety or not performed at all.
  • forward journal entries are used to produce snapshots, reflecting the change in the primary storage system over a period of time. These snapshots are recorded in a “backward journal” and represent a coarser level of backup granularity, much like an incremental backup.
  • the forward journal entries may be applied to the MIM to update its contents and finally discarded to save space.
  • a virtual recovery mapping object (VRMO) is used to map logical addresses at a particular point in time to their physical locations within the data management appliance.
  • VRMOs act as an index, allowing for quick, random-access recovery of data.
  • a VRMO is composed of a multi-way tree, which allows logical address translation in logarithmic time.
  • the data management appliance may be applied to the detection and/or forensic investigation of data events, such as a database corruption or viral infection.
  • FIG. 1 is an overall view of the operation of a data management appliance in accordance with a preferred embodiment of the present invention
  • FIG. 2 is an overall view of the operation of an alternative embodiment of the present invention in which commands are replicated using a replicating controller;
  • FIG. 3 is a diagram providing a conceptual view of the replicated storage provided by a data management appliance in accordance with a preferred embodiment of the present invention
  • FIG. 4 depicts a process of replicating data within a data management appliance in accordance with a preferred embodiment of the present invention
  • FIG. 5 depicts the basic operation of a virtual recovery mapping object (VRMO) in accordance with a preferred embodiment of the present invention
  • FIG. 6 is a diagram depicting two VRMO types usable in a preferred embodiment of the present invention.
  • FIG. 7 is a diagram of a forward journal in accordance with a preferred embodiment of present invention.
  • FIG. 8 is a diagram of a mirror-in-the-middle (MIM) in accordance with a preferred embodiment of the present invention.
  • MIM mirror-in-the-middle
  • FIG. 9 is a diagram representing an overall view of a process of updating a MIM and generating snapshots in accordance with the preferred embodiment of the present invention.
  • FIG. 10 is a flowchart representation of a process of generating a new snapshot and bringing a MIM into synchronization with primary storage in accordance with a preferred embodiment of the present invention
  • FIG. 11 is a diagram depicting a process of generating a VBMM in accordance with a preferred embodiment of the present invention
  • FIG. 12 depicts a process of generating a backward movelist from a PEL (physical extent list) in accordance with a preferred embodiment of the present invention
  • FIG. 13 is a diagram depicting incorporation of a backward movelist into a backward journal in accordance with a preferred embodiment of the present invention
  • FIG. 14 is a diagram demonstrating insertion of moves from a backward movelist into a new VBMM in accordance with a preferred embodiment of the present invention.
  • FIG. 15 is a flowchart representation of a process of generating a snapshot, including a VBMM and backward journal entries, according to a preferred embodiment of the present invention.
  • FIG. 16 is a diagram depicting a process of updating an older VBMM with a backward movelist in accordance with a preferred embodiment of the present invention
  • FIG. 17 is a diagram that provides an example of a process of updating a VBMJ in accordance with a preferred embodiment of the present invention.
  • FIG. 18 is a flowchart representation of a process of updating a VBMJ and generating backward journal entries, according to a preferred embodiment of the present invention.
  • FIG. 19 depicts an exemplar multi-way VBMJ tree data structure for representing a mapping from logical storage device addresses to physical journal/snapshot addresses in accordance with a preferred embodiment of the present invention
  • FIG. 20 is a flowchart representation of a process of generating storage replicas in accordance with a preferred embodiment of the present invention.
  • FIG. 21 is a diagram that depicts a process of monitoring a database for violation of consistency constraints in accordance with a preferred embodiment of the present invention.
  • FIG. 22 depicts a system that monitors for viruses in accordance with a preferred embodiment of the present invention.
  • FIG. 23 is a flowchart representation of a process of monitoring for troublesome changes in data backed up by a data management appliance in accordance with a preferred embodiment of the present invention.
  • FIG. 24 is a diagram that depicts a single data management appliance attached to a storage network with multiple servers having attached primary storage devices being attached to a storage network in accordance with a preferred embodiment of the present invention
  • FIG. 25 is a diagram depicting a single computer system console controlling a single primary storage device that is being backed up by multiple data management appliances working in tandem through a storage area network in accordance with a preferred embodiment of the present invention.
  • FIG. 26 is a diagram depicting a data processing system wherein the data management appliances share common pooled storage in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a diagram providing an overall view of the operation of a preferred embodiment of the present invention.
  • a primary storage application 100 residing on a host computer system, submits a command to a replication driver/volume manager 102 to store data to primary storage 108 .
  • Replication driver/volume manager 102 relays the request both to disk driver 104 and network driver 110 .
  • Disk driver 104 is device driver code that operates disk controller 106 , which in turn controls primary storage 108 , which is in this case a disk drive, although many different alternative random-access storage devices could be used in place of primary storage 108 .
  • Network driver 110 is device driver code that controls access to a computer network. Network driver 110 relays the submitted storage command to data management appliance 112 , which is located on a network associated with the host computer system.
  • Data management appliance 112 is an intelligent peripheral device that presents the appearance on the network of a disk array or arrays or other random-access storage medium.
  • Data management appliance 112 contains control circuitry and also contains its own random-access storage 114 .
  • the control circuitry may be, for instance, an embedded stored-program computer, such as a microprocessor and memory or a microcontroller.
  • the stored program may be stored in firmware or loaded from a storage medium, such as floppy disk.
  • Data management appliance 112 through control circuitry, uses random-access storage 114 to replicate the information stored on primary storage 108 . As will be seen, data management appliance 112 not only provides a replica of the current contents of primary storage 108 , but it also contains information that it can use to reconstruct replicas of previous contents of primary storage 108 at various points in time.
  • FIG. 2 is a diagram of an alternative embodiment of the present invention, in which the replication driver is replaced with replicating hardware.
  • Primary storage application 200 issues a write command to disk driver 202 , which is device driver code.
  • Disk driver 202 controls replicating controller 204 , which is a hardware disk controller that controls primary storage 206 , but which has the additional feature of replicating storage commands submitted to primary storage 206 and providing the replicated commands to data management appliance 208 , which replicates the data contained on primary storage 206 on random-access storage 210 .
  • FIG. 3 is a diagram providing a conceptual view of the replicated storage provided by data management appliance 112 (or 208 ).
  • Data management appliance 112 is programmed to behave as though it stores a number of duplicate copies (replicas) of primary storage device 108 as it existed at certain points in time (replicas 300 , 302 ).
  • Data management appliance 112 can provide a near-time (i.e., near the present time) replica ( 300 ) of primary storage device 108 or any one of a number of virtual views or mirrors of earlier versions of the data stored on primary storage device 108 .
  • Each of these virtual mirrors is accessed using one of a number of virtual recovery mapping objects (VRMOs) 304 , which each represent a different point in time.
  • VRMOs virtual recovery mapping objects
  • Data may be read from data management appliance 112 by either specifying that data management appliance 112 behave (for reading purposes) as a copy of primary storage device 108 at a specified time (e.g., during the mounting process), or by specifying read commands that contain an additional time field. For example, to retrieve the contents of block 5 at some time “t,” either data management appliance 112 could be directed to behave as if it were time “t,” in which case any read command to any block would result in the data that was present at time “t,” or a read command that simply stated “retrieve block 5 from time ‘t’” could be issued instead.
  • FIG. 4 depicts a process of replicating data within a data management appliance in accordance with a preferred embodiment of the present invention.
  • the replication process centers around “mirror in the middle” (MIM) 400 , which initially stores an identical copy of the data stored on the primary storage device ( 108 in FIG. 1 ).
  • MIM 400 is a reserved portion of random-access storage 114 , which is identical in capacity and address space as primary storage 108 .
  • subsequent write commands issued to change the data contents of primary storage device 108 are archived sequentially in forward journal 402 , without changing the data stored in MIM 400 .
  • forward journal 402 contains the entire sequence of write commands issued since MIM 400 was identical with primary storage device 108 .
  • Forward journal 402 and MIM 400 are both stored in random-access storage 114 .
  • a portion of the archived commands in forward journal 402 consisting of the oldest command in the journal and some number of commands following the oldest command in sequence, up to a point in time determined by the archiving policy are combined so as to obtain a net change taking place during the time period. For example, if storage addresses 1–5 are written to with the string “ABCDE,” then addresses 2–4 are rewritten with “ZXC,” the net change to the data is to write “AZXCE” to addresses 1–5. As shown in FIG.
  • these changes can be expressed in terms of a “backward movelist move” including a logical address within the logical address space of primary storage 108 where the change occurs, a length of the change, and an address of a location within the forward journal at which the newly-written data is stored.
  • the starting addresses and lengths representing the net change are used to retrieve data from MIM 400 to derive an inverse of the net change. For example, if addresses 1–5 originally contained “ 12345 ,” and the net change is to write “AZXCE” to addresses 1–5, then the inverse of the net change is to write the original “ 12345 ” to addresses 1–5, which reverses the net change made. This inverse net change is then recorded as a “snapshot” in backward journal 404 and MIM 400 is updated to reflect the determined net change.
  • recent copies of primary storage device 104 may be retrieved by applying subsequent changes from journal 402 to the data stored in MIM 400 , while more distant copies may be retrieved by applying the reverse changes (snapshots) to MIM 400 .
  • secondary storage device 108 is journaled with finer granularity for more recent transactions than for more distant transactions, a balance is struck between the ability to restore data at an exact moment in time and the ability to save space by storing a sparse number of snapshots of the data.
  • the system described in FIG. 4 can be further enhanced by allowing for the archiving of past-time data onto removable media, such as image tape 406 and difference tape 408 .
  • An image tape such as image tape 406 , containing a complete copy of primary storage device 104 at a particular time, can be assembled from MIM 400 and snapshots 404 .
  • a difference tape such as difference tape 408 , archiving the net differences between an image tape and successive snapshots, can also be generated. Because they are stored on removable media, image tape 406 and difference tape 408 can be stored away (e.g., in a tape silo or library unit) for future use without tying up system resources, such as tape or disk drives.
  • FIG. 5 depicts the basic operation of a virtual recovery mapping object (VRMO) in accordance with a preferred embodiment of the present invention.
  • VRMO virtual recovery mapping object
  • portions of replicated past data may be stored in the journal or in snapshots.
  • a “virtual replica” of the primary storage device will generally be composed of various fragments stored across snapshots. To access the virtual mirror, one must identify where each piece of data is stored within the various snapshots in the backward journal, in the forward journal, or on the MIM.
  • VRMO 502 which is associated with a particular time “t,” is a data structure that maps a logical address ( 500 ), representing the location on primary storage device 108 of the data to be accessed, to a physical address ( 504 ), representing the position of the data within a snapshot or journal.
  • VRMO 502 will preferably embody an index for rapid lookup of physical address 504 given logical address 500 .
  • VRMO 502 is preferably stored in memory contained within the control circuitry of data management appliance 112 .
  • FIG. 6 is a diagram depicting two VRMO types usable in a preferred embodiment of the present invention, VBMM (Virtual Block Map—MIM) 600 and VBMJ (Virtual Block Map—Journal) 602 .
  • VBMM 600 and VBVMJ 602 are depicted here as binary search trees, although a multi-way tree structure such as that depicted in FIG. 19 could be used as well.
  • Search trees, and in particular binary search trees are a common data structure for indexing data having an ordering characteristic and are well known in the computer programming art.
  • VBMM 600 and VBMJ 602 are both marked with timestamps ( 604 and 606 ) denoting the points in time represented by VBMM 600 and VBMJ 602 .
  • VBMM 600 is “MIM-centric.” This means that VBMM 600 is indexed with respect to blocks of data contained on MIM 400 .
  • Tree nodes 608 of VBMM 600 represent contiguous regions of the logical address space that are contained on MIM 400 .
  • Leaf nodes 609 point to physical extent lists (PELs) 610 , which represent portions of the logical address space, adjacent to the leaf-node addresses, that are stored in journal entries (snapshots from the backward journal or segments from the forward journal).
  • PELs physical extent lists
  • logical addresses are resolved into physical addresses by first traversing tree nodes 608 to attempt to find the logical address contained on MIM 400 . If the logical address being sought is contained in an address range associated with a tree node, the logical address simply resolves into an identical physical address on MIM 400 , since the data being sought is located on MIM 400 . If, on the other hand, the address being sought is not contained within a tree node, the proper physical extent list adjacent to the last tree node searched will be searched for the physical address within the journal that corresponds to the logical address being sought.
  • physical extent lists 610 are pointed to by leaf nodes 609 as left and right children, just as if each of the physical extent lists were inserted as tree nodes within the tree structure. For example, a physical extent list containing addresses that are less than that of its parent tree node will be the left child of that parent tree node.
  • VBMJ Virtual Block Map—Journal 602 is, in contrast, journal-centric.
  • Tree nodes 612 represent ranges of logical addresses contained within journal entries.
  • Tree nodes 612 are mapped in one-to-one correspondence with physical extent lists 614 , which, like those of VBMM 600 , map logical addresses into physical addresses located within journal entries.
  • Resolving a logical address into a physical address using VBMJ 602 is straightforward. If the address in question resides within the journal, traversing the tree of VBMJ 602 will result in finding a tree node and corresponding physical extent list mapping the logical address into its physical location in the journal. If the address resides on the MIM instead, the tree search will fail. In that case, the proper physical address is on the MIM and is equivalent to the logical address.
  • FIG. 7 is a diagram of a forward journal 700 in accordance with a preferred embodiment of present invention.
  • Forward journal 700 is made up of two queues, 701 and 703 .
  • Queues 701 and 703 are, in a preferred embodiment, circular queues, to minimize the amount of persistent directory structures needed to decipher the state of the queue after an interruption in power.
  • a circular queue only needs to persist pointers to the head and tail of the queue to be fully recoverable.
  • Queues, and in particular circular queues are well known data structures within the computer programming art.
  • the elements of queue 701 are composed primarily of extent descriptors 702 .
  • Each of extent descriptors 702 describes a contiguous extent of data within the logical address space.
  • Each of extent descriptors 702 includes a logical start address 704 , a length 706 and a physical address 708 .
  • Logical start address 704 represents the starting address of the extent of data within the logical address space.
  • Length 706 represents the length of the extent of data.
  • Physical address 708 represents a physical address within queue 703 in which the extent is stored.
  • Queue 701 may include one or more sync indicators, such as sync indicator 710 , which act as time markers.
  • Queue 703 is made up of extents 712 .
  • Extents 712 represent the actual data written to primary storage 108 and replicated by data management appliance 112 in forward journal 402 (see FIGS. 1 and 4 ).
  • FIG. 8 is a diagram of a MIM 800 in accordance with a preferred embodiment of the present invention.
  • MIM 800 is divided into storage units or blocks such as block 804 .
  • the storage units or blocks can be any fixed-size data aggregation and depend on the organization of the primary storage.
  • Block 804 like the other storage units in MIM 800 , has a logical address 802 associated with it. These logical addresses are the same logical addresses within the aforementioned logical address space.
  • MIM 800 represents the entire logical address space. The same logical address space is used to represent storage locations within the primary storage.
  • FIG. 9 is a diagram representing an overall view of a process of updating a MIM and generating snapshots in accordance with the preferred embodiment of the present invention.
  • a point will be reached at which a snapshot is produced.
  • the appliance selects a point at which a sync indicator such as sync indicator 710 occurs in the forward journal to be the endpoint of the snapshot.
  • VRMO 900 maps addresses from the logical address space to physical locations on the MIM ( 400 in FIG. 4 ) or the backward journal ( 404 in FIG. 4 ). At the very beginning of the data replication process, MIM 400 and primary storage 108 are identical. Thus initially, VRMO 900 maps logical addresses into physical locations on MIM 400 only.
  • forward journal entries 902 are used to modify VRMO 900 to produce a new VRMO 906 .
  • VRMO 900 and forward journal entries 902 are used to produce new backward journal entries 908 .
  • Backward journal entries 908 and VRMO 906 define a snapshot 910 .
  • MIM contents 904 are updated using forward journal entries 902 to produced new MIM contents 912 , thus bringing MIM 400 forward in time, particularly, so as to represent the point in time indicated by sync indicator 710 .
  • FIG. 10 is a flowchart representation of a process of generating a new snapshot and bringing a MIM forward in time in accordance with a preferred embodiment of the present invention.
  • a forward journal move list is generated from the forward journal (step 1000 ).
  • This forward journal move list contains the extents of all outstanding journal entries from queue 701 in FIG. 7 .
  • a backward journal move list is generated from the forward journal move list in current VRMO (step 1002 ).
  • a new VRMO is also generated (step 1002 ).
  • the backward journal move list contains extents, just as the forward journal move list. Unlike the forward journal move list, however, the backward journal move list represents locations on MIM 400 that will be overwritten when MIM 400 is brought forward in time.
  • FIG. 11 is a diagram depicting a process of generating a VBMM in accordance with a preferred embodiment of the present invention.
  • the VBMM consists of a single node 1100 representing the address range of the entire logical address space.
  • the VBMM is constructed by applying a recursive algorithm to divide node 1100 into a tree of nodes covering smaller ranges.
  • the recursive algorithm takes as its input a single address range representing a move from the forward move list and a current node.
  • the range of the node is compared with the input range. Depending on how or if the ranges overlap, the current VBMM node may reduced in size, deleted, or split. The algorithm may then call itself recursively to traverse the left and/or right children of each node until the leaves of the tree are reached. Also, a physical extent list (PEL) is generated, which will become the backward journal movelist. PEL entries will be generated at each node where the input address range overlaps with the node address range. Table I, below, is a decision table showing the proper actions associated with each degree of overlap between the input range and the node range. The abbreviations MLS and MLE refer to the starting and ending addresses of the range represented by the input move from the movelist and VBS and VBE refer to the starting and ending addresses of the range represented by the current node.
  • Move 1102 include a starting logical address 1104 , a length of data to be written 1106 , and a physical address 1108 within the forward journal where the data is stored.
  • move 1102 represents a write to an address range that is fully contained within the address range of node 1100
  • node 1100 is split into two nodes, 1110 and 1111 .
  • a PEL entry 1112 is also generated, containing a logical starting address 1114 and ending address 1116 .
  • the algorithm is then called again (right-recursively) with the adjusted input range of (8:13). As this range overlaps that of node 1111 at the beginning of node 1111 's range (12:100), node 1111 is shortened in range to produce node 1121 and a new PEL entry 1126 is generated.
  • FIG. 12 depicts a process of generating a backward movelist from a PEL 1200 in accordance with a preferred embodiment of the present invention.
  • PEL 1200 is sorted in ascending order by starting address to achieve PEL 1202 .
  • those series of PEL entries representing a contiguous block of logical addresses are combined into a single entry (e.g., 1204 ).
  • This newly formed backward movelist can then be incorporated into the backward journal as shown in FIG. 13 .
  • the entries (moves) from the backward movelist (e.g., 1204 ) are inserted into a first queue 1300 .
  • a sync marker 1302 represents the beginning of backward journal entries for the present snapshot.
  • Backward journal entries are written as extent descriptors, such as extent descriptor 1304 .
  • Extent descriptor 1304 contains a logical starting address 1306 , a length 1308 , and a physical address 1310 . Starting address 1306 and length 1308 are derived from backward move 1204 .
  • Physical address 1310 refers the starting location within a second queue 1312 corresponding to starting address 1306 . Data at logical starting address 1306 is copied from the MIM and into second queue 1312 at physical address 1310 .
  • each of the moves in the backward movelist (e.g., move 1204 ) are inserted into the new VBMM ( 1400 ) as “physical extent nodes” (e.g., 1402 ), to data stored in the backward journal to be located using VBMM 1400 .
  • FIG. 15 is a flowchart representation of a process of generating a snapshot, including a VBMM and backward journal entries, according to a preferred embodiment of the present invention.
  • the VBMM which initially contains a single node representing the entire logical address space
  • new VBMM nodes and PEL entries are generated according to the decision table above (step 1500 ).
  • the new PEL is sorted (step 1502 ).
  • contiguous PEL entries are joined together (step 1504 ).
  • the new PEL entries are then placed into a backward journal movelist (step 1506 ).
  • Data corresponding to the backward journal entries is then copied from the MIM into the backward journal (step 1508 ).
  • the new PEL entries are inserted into the VBMM tree as physical extent nodes (step 1510 ).
  • FIG. 16 depicts a situation in which a VBMM 1600 for a snapshot is modified to generate a new VBMM 1602 for the snapshot when a synchronization event occurs. What happens is this: The algorithm just mentioned for producing a new VBMM is called, just as if the VBMM was new, except for two differences. The first and most obvious difference is that the old VBMM is traversed, rather than the original single node. The second difference is that the new physical extent nodes ( 1604 ), although they may refer to portions of the logical address space that are contiguous with older physical extent nodes, will refer to physical addresses in the backward journal that are not contiguous with those of the older physical extent node. Thus, new physical extent nodes 1604 will have to coexist in a sorted physical extent list (PEL) at the leaves of the tree, but not be combined with older physical extent nodes representing adjacent locations within the logical address space.
  • PEL physical extent list
  • the VBMM can be converted into a VBMJ.
  • the process for converting a VBMM ( 600 ) to a VBMJ ( 602 ) is straightforward. First, all of the PELs ( 614 ) in the VBMM are collected.
  • a VBMJ node (e.g., VBMJ nodes 612 ) is created representing an address range where the starting address of the range is the starting address of the first entry in the PEL and the ending address is the ending address of the last entry of the PEL, and where each VBMJ node points to its respective PEL. Finally, the VBMJ nodes are inserted into the new VBMJ tree.
  • VBMJs have an algorithm for updating the VBMJ to point to entries in the backward journal in the event that that data is overwritten in the MIM.
  • An example of this algorithm is provided in FIG. 17 .
  • the VBMJ update algorithm involves applying rules from a decision table at each node encountered during a traversal of tree nodes. Unlike the VBMM algorithm, however, three additional data structures are needed for the VBMJ algorithm.
  • a collapse set C is a set of logical address ranges to be combined into a single node.
  • a collapse set physical extent set CP is a set of physical extent nodes to be included in the physical extent list (PEL) for the node generated from collapse set C.
  • Backward journal movelist candidate set BJMC stores a set of logical address ranges to be converted into backward journal extents.
  • the algorithm progresses by traversing the VBMJ tree, applying decision rules at each node according to the degree and type of overlap of the input move address range ([MLS, MLE]) and the address range for the current node ([VBS, VBE]).
  • the decision rules for the VBMJ algorithm are listed in Table II below:
  • a new VBMJ node is created but not added to the VBMJ. This node is given an address range that is equivalent to the “range of C”, which can be denoted R(C).
  • R(C) has as its starting address the lowest starting address of the address ranges in C;
  • R(C) has as its ending address the greatest starting address of the address ranges in C (this is because C represents a number of ranges that form a contiguous block of address space).
  • the PEL of the new VBMJ node is then made to contain all of the physical extents represented in CP, sorted in ascending order by logical starting addresses.
  • all of the VBMJ nodes in the VBMJ corresponding to address ranges contained in C are deleted to make room.
  • the new VBMJ node is inserted into the VBMJ to replace the deleted VBMJ nodes.
  • new backward journal entries must be created and the MIM updated in accordance with the forward journal entries. This is done by sorting and combining the BJMC set using the process depicted in FIGS. 12 and 13 .
  • the new physical extents in the VBMJ that were created to accommodate the new backward journal entries are then updated to point to the physical addresses within the backward journal at which the snapshot data copied to the backward journal from the MIM resides.
  • the backward journal movelist is used in its place and the same algorithm applied, with an exception being that the generated physical extent nodes are made to point to data already within the backward journal, rather than recopying the data from the MIM.
  • FIG. 17 is a diagram that provides an example of a process of updating a VBMJ in accordance with a preferred embodiment of the present invention.
  • the example starts with an existing VBMJ 1700 and data structures C 1702 , CP 1704 , and BJMC 1706 .
  • the range of C, R(C) 1708 is also shown for convenience.
  • a forward journal move 1710 is processed.
  • the logical address range of move 1710 does not overlap at all with node 1711 but is located after the range of node 1711 , so node 1720 , the right child of node 1711 , is examined.
  • Node 1720 overlaps with the range of move 1710 .
  • the range of node 1720 is added to C 1712 and its PEL 1722 is added to CP 1714 .
  • the current input range which is shortened from (42,48) to (46,48) by the proper decision rule from Table II, is inserted into C 1712 , CP 1714 , and BJMC 1716 .
  • the range of C, R(C) 1718 is [39, 48].
  • Node 1720 is then deleted from the VBMJ and replaced with a new node 1724 , whose range is equivalent to R(C) 1718 , and whose PEL 1726 includes all of the physical extents in CP 1714 .
  • FIG. 18 is a flowchart representation of a process of updating a VBMJ and generating backward journal entries, according to a preferred embodiment of the present invention.
  • the forward journal movelist is used to traverse the current VBMJ and generate C, CP, and BJMC according to the decision rules in Table II (step 1800 ).
  • a new VBMJ node is generated with range R(C) (step 1802 ).
  • the VBMJ nodes contained in C are deleted (step 1804 ).
  • the new VBMJ node is inserted in place of the deleted nodes (step 1806 ).
  • the BJMC set is sorted and contiguous BJMC entries are combined (step 1808 ).
  • New backward journal entries are generated from the sorted, combined BJMC set (step 1810 ).
  • backward journal entries are used to update any older VBMJs that may exist (step 1812 ).
  • the forward journal move list is processed to update the MIM and create space in the forward journal as before.
  • FIG. 19 depicts an exemplar multi-way VBMJ tree data structure ( 1900 ) for representing a mapping from logical storage device addresses to physical journal/snapshot addresses.
  • Each of the nodes in tree 1900 represents a contiguous range of logical addresses, to be sure, but the data within the range need not be stored contiguously in the snapshots/journal entries. Instead, multiple pointers are provided from each node to represent each of a number of subranges making up the contiguous range of addresses.
  • VBMJ 1900 is a VBMJ as described in FIG. 6 (VBMJ 602 ), but with the physical extent lists incorporated into the tree nodes themselves, rather than as leaves of binary tree nodes. In this way, node accesses can be reduced, since although each node represents a contiguous range of addresses, several different subranges may be identified by examining only one node. Using a multi-way tree, such as VBMJ 1900 , reduces the number of memory or disk accesses used to retrieve nodes in the tree, and thus enhances the performance of the logical address mapping function.
  • FIG. 20 is a flowchart representation of a process of generating storage replicas in accordance with a preferred embodiment of the present invention.
  • steps depicted in FIG. 20 although they are executed in sequence with respect to a single journaled write command, in a preferred embodiment they will actually be performed in parallel on multiple items of data. For example, write commands will continue to be written to the journal while older write commands are added to the VRMO.
  • the preferred execution model is a “pipelined” or “assembly line” approach, where each step is performed simultaneously, but with respect to different items of data.
  • an atomic write instruction is received from a controlling computer system (step 2000 ).
  • the write instruction is written in a journal and a VRMO (virtual recovery mapping object) is generated (step 2002 ).
  • a forward journal movelist to be constructed, namely the lack of space for additional journal entries or the passage of a specified length of time (step 2004 ).
  • the process cycles to step 2000 . If so, however, the write instructions from the journal are combined to make a snapshot, which is stored in the collection of snapshots (step 2006 ).
  • the “mirror in the middle” (MIM) is updated to match the snapshot (step 2008 ). If a criterion for recording to removable media has been met (step 2010 ), then image and difference “tapes” (or disks, etc.) may be generated from the snapshots (step 2012 ).
  • steps 2010 and 2012 are shown here as part of a sequence of steps, steps 2010 and 2012 may, in fact, be performed asynchronously with respect to the generation of snapshots (i.e., at any time, not just following snapshot generation) or not at all.
  • a suitable control computer program may be utilized by a user or administrator to set the criteria for when MIM updates or tape-transfer events will occur. These events may be set to occur at a certain time of day or after a certain time-period has elapsed, or they may be set to coincide with other events, such synchronization of a database management system, for instance.
  • the scheduling of synchronization and/or tape-transfer events may be performed in any manner desired without departing from the scope and spirit of the invention.
  • FIGS. 21–23 illustrate particular applications for a data management appliance in accordance with a preferred embodiment of the present invention. Having a data management appliance with the ability to retrieve mirrored versions of a storage device from the past makes it possible for a monitor process to monitor for a troublesome change in condition of the data stored on the storage device and for the corrupted data to be restored to its latest correct state.
  • FIG. 21 depicts a process of monitoring a database for violation of consistency constraints (such as values falling out of specified ranges or spurious duplicate or ambiguous data, for example).
  • An application server ( 2100 ) makes use of a database stored on primary disk 2102 .
  • Data management appliance 2104 stores virtual mirrors 2106 of primary disk 2102 over time.
  • a certification server 2108 can mount data management appliance 2104 and examine each individual virtual mirror (such as virtual mirror 2110 ) for correctness. If a problem is located, primary disk 2102 can be restored with the latest correct virtual mirror stored by data management appliance 2104 .
  • certification server 2108 may simply be replaced by software operating on protected application server 2100 or data management appliance 2104 .
  • FIG. 22 depicts a system that monitors for viruses.
  • Application server 2200 makes use of a filesystem stored on primary disk 2202 .
  • Data management appliance 2204 stores virtual mirrors 2206 of primary disk 2202 over time.
  • Virus scanner software 2208 can scan each individual virtual mirror (such as virtual mirror 2210 ) for viruses (or every other mirror, or every third, etc.). If a problem is located, primary disk 2202 can be restored with the latest uninfected virtual mirror stored by data management appliance 2204 .
  • FIG. 23 is a flowchart representation of a process of monitoring for troublesome changes in data backed up by a data management appliance in accordance with a preferred embodiment of the present invention.
  • the external device mounts the data management appliance to be able to access its data (step 2300 ).
  • a virtual mirror on the appliance is checked to see if it conforms to specified constraints (e.g., to be virus free, to be a consistent database, to be error free, etc.) (step 2302 ). If the constraints are satisfied (step 2304 :Yes), the next virtual mirror in chronological order is examined (step 2306 ).
  • specified constraints e.g., to be virus free, to be a consistent database, to be error free, etc.
  • step 2304 If not (step 2304 :No), then the mirror chronologically previous to the currently examined mirror is examined to see if it conforms to the constraints (step 2308 ). If it does not (step 2310 :No), then the next previous mirror is examined (step 2312 ). If does (step 2310 :Yes), then the uncorrupted data in the mirror is restored to the primary storage device (step 2314 ).
  • FIG. 24 depicts a single data management appliance ( 2400 ) attached to a storage network ( 2402 ) with multiple servers having attached primary storage devices ( 2404 ) being attached to storage network 2402 .
  • the primary storage devices may be mirrors of each other, or may possess different contents. All may shared the same data management appliance ( 2400 ).
  • FIG. 25 depicts a single data management appliance console 2500 controlling multiple data management appliances 2504 which are managed as a single unit, without regard for the number of appliances actually included in the installation. This allows the capacity or activity level of primary storage to be increased without concurrently increasing the administrative effort required to keep the protection mechanism supplied by data management appliances 2504 operative.
  • Tape library 2502 may be used to store image and difference tapes made from snapshots stored on data management appliances 2504 .
  • FIG. 26 shows a similar system wherein data management appliances 2600 share common pooled random access storage ( 2604 ).

Abstract

The present invention is directed toward a data management appliance and ancillary technologies for replicating data written to a primary storage system. The data management appliance is a random-access storage system that at the logical block level replicates the contents of a primary storage system over time.

Description

FIELD OF THE INVENTION
The present invention is directed generally toward data storage and backup systems. More specifically, the present invention is directed toward a backup system that immediately backs up data written to a primary storage device to multiple “virtual mirrors,” that reflect the changing state of the primary storage device over time.
BACKGROUND OF THE INVENTION
Humankind has always had a need to record information. Historians tell us that in ancient Mesopotamia, writing first emerged as a means of keeping records of livestock. As civilization progresses, so does the need to securely store larger amounts of information for longer periods of time. Whereas in ancient times, clay tablets sufficed for most storage needs, modern computerized storage systems are measured in such seemingly astronomical terms as gigabytes and terabytes. One example of this information storage explosion is the U.S. Internal Revenue Service's use of computers to store information regarding taxable gifts made over a person's lifetime. For most people living in the United States, gift taxes are not calculated or paid until death, so any information regarding taxable gifts must be maintained over a person's lifetime.
Although computerized storage is somewhat more robust than brittle clay tablets, the problem of maintaining reliable storage over a long period of time remains. For this reason, many, if not most, large-scale computing facilities periodically back up stored data to some redundant storage medium, such as to tapes. There are two types of backups that are generally performed in computer systems today. Full backup means making a redundant copy of a storage system in its entirety. Incremental backup, on the other hand, means making a redundant copy of only those portions of a storage system that have changed since the last backup. Many computing facilities make use of both full backup and incremental backup.
A number of problems exist with these backup methods, however. Firstly, a “backup window” of time must usually be available when computer applications are shut down so that a consistent image of the storage system can be made (i.e., so that what is being copied does not get overwritten by an application while the copy is being made). Second, even if no backup window is necessary, the backup process, when run as a batch operation, can steal CPU cycles from other processes running on the computer system. Third, so-called primary storage devices, such as disk, are today very large, so that backing up data sequentially to a secondary storage medium such as tape and recovering data from the tape are relatively slow operations. Fourth, since most backup systems today operate at the file-system level, backup systems must contend with complex directory-structure and security issues. Fifth, with backups being performed only periodically, there is a high risk of data loss, because data written between backups may be lost between backups. Sixth, existing replication solutions tend to be expensive. Seventh, costs associated with media and device incompatibilities are high.
In the database design field, recovery without a backup window is often accomplished through the use of write-ahead logging. Database transactions that can change database contents are recorded in a log before being completed in the main database. Another name for a log is “journal.” If the database becomes corrupted, transactions can be “undone” or “redone” to restore the database to some previous uncorrupted state.
Another recovery technique used in the database field is “shadow paging.” Shadow paging divides database contents into a series of pages. A directory is used to map logical addresses for pages into physical addresses on a storage device. When changes are made to the database, the pages are not overwritten, but new pages containing the changes are produced, and a new directory is created that points to the new pages instead. Recovery is performed by reverting to a directory from a previous, uncorrupted state in the database.
U.S. Pat. No. 5,086,502 to Malcolm extends the write-ahead logging concept to primitive disk I/O. Malcolm describes a system wherein write commands to a storage device in an IBM PC-type computer system are captured at the BIOS (basic input/output system) level and recorded in a journal. Write commands recorded in the journal are then used to restore the storage device to an earlier, uncorrupted state.
U.S. Pat. No. 6,158,019 to Squibb describes a method and apparatus for restoring an updated computer storage system from a journal of write events. Squibb describes process whereby events in an event journal may be used to create an event map and “delta” data structure, which may be merged with an original file stored on streaming media to generate a previous version of a file.
Both of these data replication strategies, however, involve elaborate steps of data reconstruction and use a disproportionately large amount of storage space over time. Thus, they can be unwieldy and expensive to maintain and use. Additionally, the Squibb and Malcolm systems place a heavy computational burden on the primary (host) computer system. What is needed is a data replication system that eliminates the backup window, is fast, and makes more efficient use of storage space, without placing a heavy computational burden on the primary or host computer.
SUMMARY OF THE INVENTION
The present invention is directed toward a data management appliance and ancillary technologies for replicating data written to a primary storage system. The data management appliance is a random-access storage system that at the logical block level replicates the contents of a primary storage system over time. A mirror-in-the-middle (MIM) included in the data management appliance is used to record an exact copy of the primary storage system at some fixed point in time.
Atomic write events are recorded in a “forward journal” by the appliance immediately, so that applications are not interrupted. An atomic event or transaction is one that cannot be divided into parts; an atomic event or transaction is either performed in its entirety or not performed at all. At specified points in time, forward journal entries are used to produce snapshots, reflecting the change in the primary storage system over a period of time. These snapshots are recorded in a “backward journal” and represent a coarser level of backup granularity, much like an incremental backup. As snapshots are produced, the forward journal entries may be applied to the MIM to update its contents and finally discarded to save space.
A virtual recovery mapping object (VRMO) is used to map logical addresses at a particular point in time to their physical locations within the data management appliance. Thus, VRMOs act as an index, allowing for quick, random-access recovery of data. In one embodiment, a VRMO is composed of a multi-way tree, which allows logical address translation in logarithmic time.
As the data management appliance allows the contents of a storage system over a period of time to be examined, the data management appliance may be applied to the detection and/or forensic investigation of data events, such as a database corruption or viral infection.
BRIEF DESCRIPTION OF THE DRAWINGS
The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
FIG. 1 is an overall view of the operation of a data management appliance in accordance with a preferred embodiment of the present invention;
FIG. 2 is an overall view of the operation of an alternative embodiment of the present invention in which commands are replicated using a replicating controller;
FIG. 3 is a diagram providing a conceptual view of the replicated storage provided by a data management appliance in accordance with a preferred embodiment of the present invention;
FIG. 4 depicts a process of replicating data within a data management appliance in accordance with a preferred embodiment of the present invention;
FIG. 5 depicts the basic operation of a virtual recovery mapping object (VRMO) in accordance with a preferred embodiment of the present invention;
FIG. 6 is a diagram depicting two VRMO types usable in a preferred embodiment of the present invention;
FIG. 7 is a diagram of a forward journal in accordance with a preferred embodiment of present invention;
FIG. 8 is a diagram of a mirror-in-the-middle (MIM) in accordance with a preferred embodiment of the present invention;
FIG. 9 is a diagram representing an overall view of a process of updating a MIM and generating snapshots in accordance with the preferred embodiment of the present invention;
FIG. 10 is a flowchart representation of a process of generating a new snapshot and bringing a MIM into synchronization with primary storage in accordance with a preferred embodiment of the present invention;
FIG. 11 is a diagram depicting a process of generating a VBMM in accordance with a preferred embodiment of the present invention
FIG. 12 depicts a process of generating a backward movelist from a PEL (physical extent list) in accordance with a preferred embodiment of the present invention;
FIG. 13 is a diagram depicting incorporation of a backward movelist into a backward journal in accordance with a preferred embodiment of the present invention;
FIG. 14 is a diagram demonstrating insertion of moves from a backward movelist into a new VBMM in accordance with a preferred embodiment of the present invention;
FIG. 15 is a flowchart representation of a process of generating a snapshot, including a VBMM and backward journal entries, according to a preferred embodiment of the present invention;
FIG. 16 is a diagram depicting a process of updating an older VBMM with a backward movelist in accordance with a preferred embodiment of the present invention;
FIG. 17 is a diagram that provides an example of a process of updating a VBMJ in accordance with a preferred embodiment of the present invention;
FIG. 18 is a flowchart representation of a process of updating a VBMJ and generating backward journal entries, according to a preferred embodiment of the present invention;
FIG. 19 depicts an exemplar multi-way VBMJ tree data structure for representing a mapping from logical storage device addresses to physical journal/snapshot addresses in accordance with a preferred embodiment of the present invention;
FIG. 20 is a flowchart representation of a process of generating storage replicas in accordance with a preferred embodiment of the present invention;
FIG. 21 is a diagram that depicts a process of monitoring a database for violation of consistency constraints in accordance with a preferred embodiment of the present invention;
FIG. 22 depicts a system that monitors for viruses in accordance with a preferred embodiment of the present invention;
FIG. 23 is a flowchart representation of a process of monitoring for troublesome changes in data backed up by a data management appliance in accordance with a preferred embodiment of the present invention;
FIG. 24 is a diagram that depicts a single data management appliance attached to a storage network with multiple servers having attached primary storage devices being attached to a storage network in accordance with a preferred embodiment of the present invention;
FIG. 25 is a diagram depicting a single computer system console controlling a single primary storage device that is being backed up by multiple data management appliances working in tandem through a storage area network in accordance with a preferred embodiment of the present invention; and
FIG. 26 is a diagram depicting a data processing system wherein the data management appliances share common pooled storage in accordance with a preferred embodiment of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
FIG. 1 is a diagram providing an overall view of the operation of a preferred embodiment of the present invention. A primary storage application 100, residing on a host computer system, submits a command to a replication driver/volume manager 102 to store data to primary storage 108. Replication driver/volume manager 102 relays the request both to disk driver 104 and network driver 110. Disk driver 104 is device driver code that operates disk controller 106, which in turn controls primary storage 108, which is in this case a disk drive, although many different alternative random-access storage devices could be used in place of primary storage 108.
Network driver 110 is device driver code that controls access to a computer network. Network driver 110 relays the submitted storage command to data management appliance 112, which is located on a network associated with the host computer system. Data management appliance 112 is an intelligent peripheral device that presents the appearance on the network of a disk array or arrays or other random-access storage medium. Data management appliance 112 contains control circuitry and also contains its own random-access storage 114. The control circuitry may be, for instance, an embedded stored-program computer, such as a microprocessor and memory or a microcontroller. The stored program may be stored in firmware or loaded from a storage medium, such as floppy disk. Data management appliance 112, through control circuitry, uses random-access storage 114 to replicate the information stored on primary storage 108. As will be seen, data management appliance 112 not only provides a replica of the current contents of primary storage 108, but it also contains information that it can use to reconstruct replicas of previous contents of primary storage 108 at various points in time.
FIG. 2 is a diagram of an alternative embodiment of the present invention, in which the replication driver is replaced with replicating hardware. Primary storage application 200 issues a write command to disk driver 202, which is device driver code. Disk driver 202 controls replicating controller 204, which is a hardware disk controller that controls primary storage 206, but which has the additional feature of replicating storage commands submitted to primary storage 206 and providing the replicated commands to data management appliance 208, which replicates the data contained on primary storage 206 on random-access storage 210.
FIG. 3 is a diagram providing a conceptual view of the replicated storage provided by data management appliance 112 (or 208). Data management appliance 112 is programmed to behave as though it stores a number of duplicate copies (replicas) of primary storage device 108 as it existed at certain points in time (replicas 300, 302). Data management appliance 112 can provide a near-time (i.e., near the present time) replica (300) of primary storage device 108 or any one of a number of virtual views or mirrors of earlier versions of the data stored on primary storage device 108. Each of these virtual mirrors is accessed using one of a number of virtual recovery mapping objects (VRMOs) 304, which each represent a different point in time.
Data may be read from data management appliance 112 by either specifying that data management appliance 112 behave (for reading purposes) as a copy of primary storage device 108 at a specified time (e.g., during the mounting process), or by specifying read commands that contain an additional time field. For example, to retrieve the contents of block 5 at some time “t,” either data management appliance 112 could be directed to behave as if it were time “t,” in which case any read command to any block would result in the data that was present at time “t,” or a read command that simply stated “retrieve block 5 from time ‘t’” could be issued instead.
FIG. 4 depicts a process of replicating data within a data management appliance in accordance with a preferred embodiment of the present invention. The replication process centers around “mirror in the middle” (MIM) 400, which initially stores an identical copy of the data stored on the primary storage device (108 in FIG. 1). MIM 400 is a reserved portion of random-access storage 114, which is identical in capacity and address space as primary storage 108. After an identical copy of primary storage 108 has been established on MIM 400, subsequent write commands issued to change the data contents of primary storage device 108 are archived sequentially in forward journal 402, without changing the data stored in MIM 400. Thus, forward journal 402 contains the entire sequence of write commands issued since MIM 400 was identical with primary storage device 108. Forward journal 402 and MIM 400 are both stored in random-access storage 114.
After the passage of a certain period of time, either a pre-defined time interval or when the portion of random-access storage 114 devoted to forward journal 402 is exhausted of space, a portion of the archived commands in forward journal 402 consisting of the oldest command in the journal and some number of commands following the oldest command in sequence, up to a point in time determined by the archiving policy are combined so as to obtain a net change taking place during the time period. For example, if storage addresses 1–5 are written to with the string “ABCDE,” then addresses 2–4 are rewritten with “ZXC,” the net change to the data is to write “AZXCE” to addresses 1–5. As shown in FIG. 13, these changes can be expressed in terms of a “backward movelist move” including a logical address within the logical address space of primary storage 108 where the change occurs, a length of the change, and an address of a location within the forward journal at which the newly-written data is stored.
Next, the starting addresses and lengths representing the net change are used to retrieve data from MIM 400 to derive an inverse of the net change. For example, if addresses 1–5 originally contained “12345,” and the net change is to write “AZXCE” to addresses 1–5, then the inverse of the net change is to write the original “12345” to addresses 1–5, which reverses the net change made. This inverse net change is then recorded as a “snapshot” in backward journal 404 and MIM 400 is updated to reflect the determined net change.
Thus, recent copies of primary storage device 104 may be retrieved by applying subsequent changes from journal 402 to the data stored in MIM 400, while more distant copies may be retrieved by applying the reverse changes (snapshots) to MIM 400. Since primary storage device 108 is journaled with finer granularity for more recent transactions than for more distant transactions, a balance is struck between the ability to restore data at an exact moment in time and the ability to save space by storing a sparse number of snapshots of the data.
The system described in FIG. 4 can be further enhanced by allowing for the archiving of past-time data onto removable media, such as image tape 406 and difference tape 408. An image tape, such as image tape 406, containing a complete copy of primary storage device 104 at a particular time, can be assembled from MIM 400 and snapshots 404. A difference tape, such as difference tape 408, archiving the net differences between an image tape and successive snapshots, can also be generated. Because they are stored on removable media, image tape 406 and difference tape 408 can be stored away (e.g., in a tape silo or library unit) for future use without tying up system resources, such as tape or disk drives.
FIG. 5 depicts the basic operation of a virtual recovery mapping object (VRMO) in accordance with a preferred embodiment of the present invention. As was shown in FIG. 4, portions of replicated past data may be stored in the journal or in snapshots. Thus, a “virtual replica” of the primary storage device will generally be composed of various fragments stored across snapshots. To access the virtual mirror, one must identify where each piece of data is stored within the various snapshots in the backward journal, in the forward journal, or on the MIM.
As FIG. 5 shows, VRMO 502, which is associated with a particular time “t,” is a data structure that maps a logical address (500), representing the location on primary storage device 108 of the data to be accessed, to a physical address (504), representing the position of the data within a snapshot or journal. VRMO 502 will preferably embody an index for rapid lookup of physical address 504 given logical address 500. VRMO 502 is preferably stored in memory contained within the control circuitry of data management appliance 112.
FIG. 6 is a diagram depicting two VRMO types usable in a preferred embodiment of the present invention, VBMM (Virtual Block Map—MIM) 600 and VBMJ (Virtual Block Map—Journal) 602. VBMM 600 and VBVMJ 602 are depicted here as binary search trees, although a multi-way tree structure such as that depicted in FIG. 19 could be used as well. Search trees, and in particular binary search trees, are a common data structure for indexing data having an ordering characteristic and are well known in the computer programming art. VBMM 600 and VBMJ 602 are both marked with timestamps (604 and 606) denoting the points in time represented by VBMM 600 and VBMJ 602.
VBMM 600 is “MIM-centric.” This means that VBMM 600 is indexed with respect to blocks of data contained on MIM 400. Tree nodes 608 of VBMM 600 represent contiguous regions of the logical address space that are contained on MIM 400. Leaf nodes 609 point to physical extent lists (PELs) 610, which represent portions of the logical address space, adjacent to the leaf-node addresses, that are stored in journal entries (snapshots from the backward journal or segments from the forward journal).
In VBMM 600, logical addresses are resolved into physical addresses by first traversing tree nodes 608 to attempt to find the logical address contained on MIM 400. If the logical address being sought is contained in an address range associated with a tree node, the logical address simply resolves into an identical physical address on MIM 400, since the data being sought is located on MIM 400. If, on the other hand, the address being sought is not contained within a tree node, the proper physical extent list adjacent to the last tree node searched will be searched for the physical address within the journal that corresponds to the logical address being sought. It should be noted that physical extent lists 610 are pointed to by leaf nodes 609 as left and right children, just as if each of the physical extent lists were inserted as tree nodes within the tree structure. For example, a physical extent list containing addresses that are less than that of its parent tree node will be the left child of that parent tree node.
VBMJ (Virtual Block Map—Journal) 602 is, in contrast, journal-centric. Tree nodes 612 represent ranges of logical addresses contained within journal entries. Tree nodes 612 are mapped in one-to-one correspondence with physical extent lists 614, which, like those of VBMM 600, map logical addresses into physical addresses located within journal entries.
Resolving a logical address into a physical address using VBMJ 602 is straightforward. If the address in question resides within the journal, traversing the tree of VBMJ 602 will result in finding a tree node and corresponding physical extent list mapping the logical address into its physical location in the journal. If the address resides on the MIM instead, the tree search will fail. In that case, the proper physical address is on the MIM and is equivalent to the logical address.
FIG. 7 is a diagram of a forward journal 700 in accordance with a preferred embodiment of present invention. Forward journal 700 is made up of two queues, 701 and 703. Queues 701 and 703 are, in a preferred embodiment, circular queues, to minimize the amount of persistent directory structures needed to decipher the state of the queue after an interruption in power. A circular queue only needs to persist pointers to the head and tail of the queue to be fully recoverable. Queues, and in particular circular queues, are well known data structures within the computer programming art.
The elements of queue 701 are composed primarily of extent descriptors 702. Each of extent descriptors 702 describes a contiguous extent of data within the logical address space. Each of extent descriptors 702 includes a logical start address 704, a length 706 and a physical address 708. Logical start address 704 represents the starting address of the extent of data within the logical address space. Length 706 represents the length of the extent of data. Physical address 708 represents a physical address within queue 703 in which the extent is stored. Queue 701 may include one or more sync indicators, such as sync indicator 710, which act as time markers.
Queue 703 is made up of extents 712. Extents 712 represent the actual data written to primary storage 108 and replicated by data management appliance 112 in forward journal 402 (see FIGS. 1 and 4).
FIG. 8 is a diagram of a MIM 800 in accordance with a preferred embodiment of the present invention. MIM 800 is divided into storage units or blocks such as block 804. The storage units or blocks can be any fixed-size data aggregation and depend on the organization of the primary storage. Block 804, like the other storage units in MIM 800, has a logical address 802 associated with it. These logical addresses are the same logical addresses within the aforementioned logical address space. Thus, MIM 800 represents the entire logical address space. The same logical address space is used to represent storage locations within the primary storage.
FIG. 9 is a diagram representing an overall view of a process of updating a MIM and generating snapshots in accordance with the preferred embodiment of the present invention. As time progresses and data are written into primary storage 108 and forward journal 402, a point will be reached at which a snapshot is produced. Preferably, the appliance selects a point at which a sync indicator such as sync indicator 710 occurs in the forward journal to be the endpoint of the snapshot.
VRMO 900 maps addresses from the logical address space to physical locations on the MIM (400 in FIG. 4) or the backward journal (404 in FIG. 4). At the very beginning of the data replication process, MIM 400 and primary storage 108 are identical. Thus initially, VRMO 900 maps logical addresses into physical locations on MIM 400 only.
When an update event occurs, outstanding forward journal entries 902 are used to modify VRMO 900 to produce a new VRMO 906. Meanwhile, VRMO 900 and forward journal entries 902 are used to produce new backward journal entries 908. Backward journal entries 908 and VRMO 906 define a snapshot 910. Finally, MIM contents 904 are updated using forward journal entries 902 to produced new MIM contents 912, thus bringing MIM 400 forward in time, particularly, so as to represent the point in time indicated by sync indicator 710.
FIG. 10 is a flowchart representation of a process of generating a new snapshot and bringing a MIM forward in time in accordance with a preferred embodiment of the present invention. First, a forward journal move list is generated from the forward journal (step 1000). This forward journal move list contains the extents of all outstanding journal entries from queue 701 in FIG. 7. Next, a backward journal move list is generated from the forward journal move list in current VRMO (step 1002). In addition, a new VRMO is also generated (step 1002). The backward journal move list contains extents, just as the forward journal move list. Unlike the forward journal move list, however, the backward journal move list represents locations on MIM 400 that will be overwritten when MIM 400 is brought forward in time. These locations must be preserved in backward journal to allow previous versions of the contents of primary storage 108 to be recovered, particularly, to allow the point in time represented by the MIM immediately before the MIM update event to continue to be recoverable. Thus, these locations are copied from the MIM into the backward journal according to the backward journal move list (step 1004). Next, MIM 400 is updated to reflect each of the write commands contained in the forward journal move list (step 1006). Finally, the portion of the forward journal that was used to update the MIM is now relieved or recycled to make room for new incoming journal transactions (step 1008).
FIG. 11 is a diagram depicting a process of generating a VBMM in accordance with a preferred embodiment of the present invention. Initially the VBMM consists of a single node 1100 representing the address range of the entire logical address space. The VBMM is constructed by applying a recursive algorithm to divide node 1100 into a tree of nodes covering smaller ranges. The recursive algorithm takes as its input a single address range representing a move from the forward move list and a current node.
At each node in the current VBMM, the range of the node is compared with the input range. Depending on how or if the ranges overlap, the current VBMM node may reduced in size, deleted, or split. The algorithm may then call itself recursively to traverse the left and/or right children of each node until the leaves of the tree are reached. Also, a physical extent list (PEL) is generated, which will become the backward journal movelist. PEL entries will be generated at each node where the input address range overlaps with the node address range. Table I, below, is a decision table showing the proper actions associated with each degree of overlap between the input range and the node range. The abbreviations MLS and MLE refer to the starting and ending addresses of the range represented by the input move from the movelist and VBS and VBE refer to the starting and ending addresses of the range represented by the current node.
TABLE I
Decision Table for VBMM Update
Outcomes
Emit
Decision Points VBMM node physical
Start End Left Right modi- extent list
fact fact recursion recursion fication entry
Don't MLE < [MLS, MLE] None None None
Care VBS
MLS > Don't None [MLS, MLE] None None
VBE Care
MLS = MLE = None None Delete [MLS, MLE]
VBS VBE
MLS = MLE > None [VBE + 1, MLE] Delete [MLS, VBE]
VBS VBE
MLS = MLE < None None Shrink [MLS, MLE]
VBS VBE [MLE + 1, VBE]
MLS > MLE = None None Shrink [MLS, MLE]
VBS VBE [VBS, MLS − 1]
MLS > MLE > None [VBE + 1, MLE] Shrink [MLS, VBE]
VBS VBE [VBS, MLS − 1]
MLS > MLE < None None Split [MLS, MLE]
VBS VBE [VBS, MLS − 1]
[MLE + 1, VBE]
MLS < MLE = [MLS, VBS − None Delete [VBS, MLE]
VBS VBE 1]
MLS < MLE > [MLS, VBS − [VBE + 1, MLE] Delete [VBS, VBE]
VBS VBE 1]
MLS < MLE < [MLS, VBS − None Shrink [VBS, MLE]
VBS VBE 1] [MLE + 1, VBE]
Turning now to the example in FIG. 11, a first input move 1102 is taken from the forward movelist. Move 1102 include a starting logical address 1104, a length of data to be written 1106, and a physical address 1108 within the forward journal where the data is stored. As move 1102 represents a write to an address range that is fully contained within the address range of node 1100, node 1100 is split into two nodes, 1110 and 1111. A PEL entry 1112 is also generated, containing a logical starting address 1114 and ending address 1116.
Next, a new move 1118 is submitted to the algorithm. As the range described in move 1118 overlaps the end of the range in node 1110, node 1110 is reduced in size to generate node 1120 and PEL entry 1124 is generated, according to the appropriate decision table rule from Table I above.
The algorithm is then called again (right-recursively) with the adjusted input range of (8:13). As this range overlaps that of node 1111 at the beginning of node 1111's range (12:100), node 1111 is shortened in range to produce node 1121 and a new PEL entry 1126 is generated.
FIG. 12 depicts a process of generating a backward movelist from a PEL 1200 in accordance with a preferred embodiment of the present invention. First, PEL 1200 is sorted in ascending order by starting address to achieve PEL 1202. Then, those series of PEL entries representing a contiguous block of logical addresses are combined into a single entry (e.g., 1204).
This newly formed backward movelist can then be incorporated into the backward journal as shown in FIG. 13. The entries (moves) from the backward movelist (e.g., 1204) are inserted into a first queue 1300. A sync marker 1302 represents the beginning of backward journal entries for the present snapshot. Backward journal entries are written as extent descriptors, such as extent descriptor 1304. Extent descriptor 1304 contains a logical starting address 1306, a length 1308, and a physical address 1310. Starting address 1306 and length 1308 are derived from backward move 1204. Physical address 1310 refers the starting location within a second queue 1312 corresponding to starting address 1306. Data at logical starting address 1306 is copied from the MIM and into second queue 1312 at physical address 1310.
Finally, as shown in FIG. 14, each of the moves in the backward movelist (e.g., move 1204) are inserted into the new VBMM (1400) as “physical extent nodes” (e.g., 1402), to data stored in the backward journal to be located using VBMM 1400.
FIG. 15 is a flowchart representation of a process of generating a snapshot, including a VBMM and backward journal entries, according to a preferred embodiment of the present invention. For each forward journal entry, the VBMM (which initially contains a single node representing the entire logical address space) is traversed and new VBMM nodes and PEL entries are generated according to the decision table above (step 1500). The new PEL is sorted (step 1502). Next, contiguous PEL entries are joined together (step 1504). The new PEL entries are then placed into a backward journal movelist (step 1506). Data corresponding to the backward journal entries is then copied from the MIM into the backward journal (step 1508). Finally, the new PEL entries are inserted into the VBMM tree as physical extent nodes (step 1510).
When all of the journal entries that are to be accounted for in a single snapshot have been placed into the backward journal and VBMM (or VBMJ), we say the snapshot is “closed.” In practice, we can perform several synchronization events (where we create backward journal entries and update the MIM) while the snapshot is still “open.” Further, even if the snapshot is closed, when data from a particular snapshot gets updated, and thus overwritten on the MIM, the VBMM (or VBMJ) of the older snapshot can no longer rely on the MIM and must be updated to point to a copy of the overwritten data in the backward journal.
FIG. 16 depicts a situation in which a VBMM 1600 for a snapshot is modified to generate a new VBMM 1602 for the snapshot when a synchronization event occurs. What happens is this: The algorithm just mentioned for producing a new VBMM is called, just as if the VBMM was new, except for two differences. The first and most obvious difference is that the old VBMM is traversed, rather than the original single node. The second difference is that the new physical extent nodes (1604), although they may refer to portions of the logical address space that are contiguous with older physical extent nodes, will refer to physical addresses in the backward journal that are not contiguous with those of the older physical extent node. Thus, new physical extent nodes 1604 will have to coexist in a sorted physical extent list (PEL) at the leaves of the tree, but not be combined with older physical extent nodes representing adjacent locations within the logical address space.
Eventually, as more data in a snapshot gets moved from the MIM to the backward journal, it is no longer efficient to traverse the entire VBMM to the leaves to locate data in the journal. In such a case, the VBMM can be converted into a VBMJ. Referring now to FIG. 6, the process for converting a VBMM (600) to a VBMJ (602) is straightforward. First, all of the PELs (614) in the VBMM are collected. For each PEL, a VBMJ node (e.g., VBMJ nodes 612) is created representing an address range where the starting address of the range is the starting address of the first entry in the PEL and the ending address is the ending address of the last entry of the PEL, and where each VBMJ node points to its respective PEL. Finally, the VBMJ nodes are inserted into the new VBMJ tree.
Just as with VBMMs, VBMJs have an algorithm for updating the VBMJ to point to entries in the backward journal in the event that that data is overwritten in the MIM. An example of this algorithm is provided in FIG. 17. As with the VBMM algorithm, the VBMJ update algorithm involves applying rules from a decision table at each node encountered during a traversal of tree nodes. Unlike the VBMM algorithm, however, three additional data structures are needed for the VBMJ algorithm.
Since the nodes of a VBMJ represent extents within the backward journal, as more data becomes copied into the backward journal, the nodes of the VBMJ are enlarged or merged, unlike the VBMM where nodes are split or reduced. It is necessary to store information regarding the nodes and physical extents that will be combined in these three auxiliary data structures. A collapse set C is a set of logical address ranges to be combined into a single node. A collapse set physical extent set CP is a set of physical extent nodes to be included in the physical extent list (PEL) for the node generated from collapse set C. Backward journal movelist candidate set BJMC stores a set of logical address ranges to be converted into backward journal extents.
As was stated earlier, the algorithm progresses by traversing the VBMJ tree, applying decision rules at each node according to the degree and type of overlap of the input move address range ([MLS, MLE]) and the address range for the current node ([VBS, VBE]). The decision rules for the VBMJ algorithm are listed in Table II below:
TABLE II
Decision Table for VBMJ Update
Decision Points
Start End
fact fact Outcomes
Don't MLE < Execute decision table for [MLS, MLE] and left
Care VBS−1 chile.
Don't MLE = Add current node to C. Execute decision table
Care VBS−1 for [MLS, MLE] and left child.
MLS > Don't Execute decision table for [MLS, MLE] and right
VBE+1 Care child.
MLS = Don't Add current node to C. Execute decision table
VBE+1 Care for [MLS, MLE] and right child.
MLS => MLE =< End decision table processing. This movelist
VBS VBE entry does not affect this snapshot, since the
information from the MIM is already stored in the
journal.
MLS => MLE > Add current node to C. Execute decision table
VBS VBE for [VBE+1, MLE] and right child.
but <=
VBE
MLS < MLE <= Add current node to C. Execute decision table
VBS VBE for [MLS, VBS−1] and left child.
but =>
VBS
MLS < MLE > Add current node to C. Execute decision table
VBS VBE for [MLS, VBS−1] and left child. Execute de-
cision table for [VBE+1,MLE].
When a recursion is ordered, but the child pointer in the indicated direction is NULL (i.e., the tree traversal has reached a leaf node, and the ordered recursion cannot be performed, since the proper child node for further recursion does not exist), then the input range being processed ([MLS, MLE]) is added to C and a corresponding physical extent is added to CP. The current input range is also added to BJMC.
Once the VBMJ has been traversed using the decision rules in Table II, the collapse set and affiliated data structures are processed to produce the new VBMJ and backward journal entries. First a new VBMJ node is created but not added to the VBMJ. This node is given an address range that is equivalent to the “range of C”, which can be denoted R(C). R(C) has as its starting address the lowest starting address of the address ranges in C; R(C) has as its ending address the greatest starting address of the address ranges in C (this is because C represents a number of ranges that form a contiguous block of address space).
The PEL of the new VBMJ node is then made to contain all of the physical extents represented in CP, sorted in ascending order by logical starting addresses. Next, all of the VBMJ nodes in the VBMJ corresponding to address ranges contained in C are deleted to make room. Then the new VBMJ node is inserted into the VBMJ to replace the deleted VBMJ nodes.
To complete the synchronization process, new backward journal entries must be created and the MIM updated in accordance with the forward journal entries. This is done by sorting and combining the BJMC set using the process depicted in FIGS. 12 and 13. The new physical extents in the VBMJ that were created to accommodate the new backward journal entries are then updated to point to the physical addresses within the backward journal at which the snapshot data copied to the backward journal from the MIM resides.
Once a VBMJ has been updated, updating VBMJs representing older snapshots is easy. Instead of processing the forward journal movelist, the backward journal movelist is used in its place and the same algorithm applied, with an exception being that the generated physical extent nodes are made to point to data already within the backward journal, rather than recopying the data from the MIM.
FIG. 17 is a diagram that provides an example of a process of updating a VBMJ in accordance with a preferred embodiment of the present invention. The example starts with an existing VBMJ 1700 and data structures C 1702, CP 1704, and BJMC 1706. The range of C, R(C) 1708, is also shown for convenience.
A forward journal move 1710 is processed. The logical address range of move 1710, does not overlap at all with node 1711 but is located after the range of node 1711, so node 1720, the right child of node 1711, is examined. Node 1720 overlaps with the range of move 1710. Thus, the range of node 1720 is added to C 1712 and its PEL 1722 is added to CP 1714. As node 1720 is a leaf, the current input range, which is shortened from (42,48) to (46,48) by the proper decision rule from Table II, is inserted into C 1712, CP 1714, and BJMC 1716. Thus, the range of C, R(C) 1718, is [39, 48]. Node 1720 is then deleted from the VBMJ and replaced with a new node 1724, whose range is equivalent to R(C) 1718, and whose PEL 1726 includes all of the physical extents in CP 1714.
FIG. 18 is a flowchart representation of a process of updating a VBMJ and generating backward journal entries, according to a preferred embodiment of the present invention. First, the forward journal movelist is used to traverse the current VBMJ and generate C, CP, and BJMC according to the decision rules in Table II (step 1800). A new VBMJ node is generated with range R(C) (step 1802). The VBMJ nodes contained in C are deleted (step 1804). The new VBMJ node is inserted in place of the deleted nodes (step 1806). The BJMC set is sorted and contiguous BJMC entries are combined (step 1808). New backward journal entries are generated from the sorted, combined BJMC set (step 1810). Finally, the backward journal entries are used to update any older VBMJs that may exist (step 1812). After all VBMJs and VBMMs are updated to point to the backward journal rather than the MIM in accordance with the backward journal move list, then the forward journal move list is processed to update the MIM and create space in the forward journal as before.
The VBMM and VBMJ data structures described here need not be constructed from simply binary trees. Multi-key, multi-pointer tree structures (such as B-trees or B+-trees) may be used instead, for greater retrieval efficiency. FIG. 19 depicts an exemplar multi-way VBMJ tree data structure (1900) for representing a mapping from logical storage device addresses to physical journal/snapshot addresses. Each of the nodes in tree 1900 represents a contiguous range of logical addresses, to be sure, but the data within the range need not be stored contiguously in the snapshots/journal entries. Instead, multiple pointers are provided from each node to represent each of a number of subranges making up the contiguous range of addresses. Thus, while node 1904 represents logical addresses from 40 to 860, there are pointers (1906, 1908, 1909, and 1911) pointing to physical representations of the subranges 40–66, 67–79, 80–300, and 301–859, respectively. Essentially, VBMJ 1900 is a VBMJ as described in FIG. 6 (VBMJ 602), but with the physical extent lists incorporated into the tree nodes themselves, rather than as leaves of binary tree nodes. In this way, node accesses can be reduced, since although each node represents a contiguous range of addresses, several different subranges may be identified by examining only one node. Using a multi-way tree, such as VBMJ 1900, reduces the number of memory or disk accesses used to retrieve nodes in the tree, and thus enhances the performance of the logical address mapping function.
FIG. 20 is a flowchart representation of a process of generating storage replicas in accordance with a preferred embodiment of the present invention. One should note that the steps depicted in FIG. 20, although they are executed in sequence with respect to a single journaled write command, in a preferred embodiment they will actually be performed in parallel on multiple items of data. For example, write commands will continue to be written to the journal while older write commands are added to the VRMO. Thus, the preferred execution model is a “pipelined” or “assembly line” approach, where each step is performed simultaneously, but with respect to different items of data. First, an atomic write instruction is received from a controlling computer system (step 2000). The write instruction is written in a journal and a VRMO (virtual recovery mapping object) is generated (step 2002). Certain conditions can cause a forward journal movelist to be constructed, namely the lack of space for additional journal entries or the passage of a specified length of time (step 2004). If the criteria have not been met, the process cycles to step 2000. If so, however, the write instructions from the journal are combined to make a snapshot, which is stored in the collection of snapshots (step 2006). Next, the “mirror in the middle” (MIM) is updated to match the snapshot (step 2008). If a criterion for recording to removable media has been met (step 2010), then image and difference “tapes” (or disks, etc.) may be generated from the snapshots (step 2012). In either case, the process cycles again to step 2000. One should note that although steps 2010 and 2012 are shown here as part of a sequence of steps, steps 2010 and 2012 may, in fact, be performed asynchronously with respect to the generation of snapshots (i.e., at any time, not just following snapshot generation) or not at all.
One of ordinary skill in the art will recognize that a suitable control computer program may be utilized by a user or administrator to set the criteria for when MIM updates or tape-transfer events will occur. These events may be set to occur at a certain time of day or after a certain time-period has elapsed, or they may be set to coincide with other events, such synchronization of a database management system, for instance. One of ordinary skill in the art will recognize that the scheduling of synchronization and/or tape-transfer events may be performed in any manner desired without departing from the scope and spirit of the invention.
FIGS. 21–23 illustrate particular applications for a data management appliance in accordance with a preferred embodiment of the present invention. Having a data management appliance with the ability to retrieve mirrored versions of a storage device from the past makes it possible for a monitor process to monitor for a troublesome change in condition of the data stored on the storage device and for the corrupted data to be restored to its latest correct state.
For example, FIG. 21 depicts a process of monitoring a database for violation of consistency constraints (such as values falling out of specified ranges or spurious duplicate or ambiguous data, for example). An application server (2100) makes use of a database stored on primary disk 2102. Data management appliance 2104 stores virtual mirrors 2106 of primary disk 2102 over time. A certification server 2108 can mount data management appliance 2104 and examine each individual virtual mirror (such as virtual mirror 2110) for correctness. If a problem is located, primary disk 2102 can be restored with the latest correct virtual mirror stored by data management appliance 2104. In an alternative embodiment, certification server 2108 may simply be replaced by software operating on protected application server 2100 or data management appliance 2104.
Similarly, FIG. 22 depicts a system that monitors for viruses. Application server 2200 makes use of a filesystem stored on primary disk 2202. Data management appliance 2204 stores virtual mirrors 2206 of primary disk 2202 over time. Virus scanner software 2208 can scan each individual virtual mirror (such as virtual mirror 2210) for viruses (or every other mirror, or every third, etc.). If a problem is located, primary disk 2202 can be restored with the latest uninfected virtual mirror stored by data management appliance 2204.
FIG. 23 is a flowchart representation of a process of monitoring for troublesome changes in data backed up by a data management appliance in accordance with a preferred embodiment of the present invention. First, if the monitoring takes place external to the appliance itself, the external device mounts the data management appliance to be able to access its data (step 2300). A virtual mirror on the appliance is checked to see if it conforms to specified constraints (e.g., to be virus free, to be a consistent database, to be error free, etc.) (step 2302). If the constraints are satisfied (step 2304:Yes), the next virtual mirror in chronological order is examined (step 2306). If not (step 2304:No), then the mirror chronologically previous to the currently examined mirror is examined to see if it conforms to the constraints (step 2308). If it does not (step 2310:No), then the next previous mirror is examined (step 2312). If does (step 2310:Yes), then the uncorrupted data in the mirror is restored to the primary storage device (step 2314).
One of ordinary skill in the art will recognize that a number of variations on present invention may be achieved without departing from the scope and spirit of the invention herein disclosed. For example, while the preceding figures described a single data management appliance used in conjunction with a single primary storage device and a single computer system, in fact, the present invention may be utilized in a scaled fashion, with multiple appliances, multiple primary storage devices, and/or multiple computer systems being connected together in a storage network. FIG. 24, for instance, depicts a single data management appliance (2400) attached to a storage network (2402) with multiple servers having attached primary storage devices (2404) being attached to storage network 2402. The primary storage devices may be mirrors of each other, or may possess different contents. All may shared the same data management appliance (2400).
FIG. 25 depicts a single data management appliance console 2500 controlling multiple data management appliances 2504 which are managed as a single unit, without regard for the number of appliances actually included in the installation. This allows the capacity or activity level of primary storage to be increased without concurrently increasing the administrative effort required to keep the protection mechanism supplied by data management appliances 2504 operative. Tape library 2502 may be used to store image and difference tapes made from snapshots stored on data management appliances 2504. FIG. 26 shows a similar system wherein data management appliances 2600 share common pooled random access storage (2604).
It is important to note that while the present invention has been described in the context of a fully functioning data processing system, those of ordinary skill in the art will appreciate that the processes of the present invention are capable of being distributed in the form of a computer readable medium of instructions and a variety of forms and that the present invention applies equally regardless of the particular type of signal bearing media actually used to carry out the distribution. Examples of computer readable media include recordable-type media such a floppy disc, a hard disk drive, a RAM, CD-ROMs, and transmission-type media such as digital and analog communications links.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (60)

1. A method comprising:
recording a plurality of write commands in a forward journal;
generating a virtual recovery mapping object from the plurality of write commands, wherein the virtual recovery mapping object maps logical addresses into physical storage addresses;
applying the plurality of write commands to a mirror-in-the-middle (MIM);
generating a plurality of backward moves from the write commands, wherein the backward moves correspond to reverse changes that reverse the effect of the plurality of write commands; and
correlating the virtual recovery mapping object with the plurality of backward moves so that the virtual recovery mapping object maps logical addresses to corresponding backward moves from the plurality of backward moves.
2. The method of claim 1, wherein the write commands are atomic write commands.
3. The method of claim 1, wherein the virtual recovery mapping object maps a set of logical address ranges representing physical extents of data in the forward journal into physical addresses of the physical extents.
4. The method of claim 1, wherein the virtual recovery mapping object maps a set of logical address ranges representing physical extents of data in the mirror-in-the-middle (MIM) into physical addresses of the physical extents.
5. The method of claim 1, further comprising:
copying an extent of data corresponding to each of the plurality of backward moves from the mirror-in-the-middle (MIM) into a backward journal; and
generating, in each backward move, a pointer to the extent of data in the backward journal corresponding to that backward move.
6. The method of claim 5, wherein the virtual recovery mapping object is a tree data structure having tree nodes and physical extent lists, the physical extent lists represent extents of data stored in the backward journal.
7. The method of claim 6, wherein the tree nodes represent logical address ranges.
8. The method of claim 7, wherein the logical address ranges correspond to physical address ranges located on the mirror-in-the-middle.
9. The method of claim 7, wherein the logical address ranges correspond to physical address ranges stored in extents of data in the backward journal.
10. The method of claim 5, wherein each of the write commands contains a logical address range, and generating the plurality of backward moves includes identifying at least a portion of the logical address range that is mapped into an extent of data in the backward journal and generating a backward move corresponding to the at least a portion of the logical address range.
11. The method of claim 1, further comprising:
in response to applying the plurality of write commands to the mirror-in-the-middle, removing the plurality of write commands from the forward journal.
12. The method of claim 1, wherein the forward journal includes a circular queue.
13. The method of claim 1, wherein the plurality of backward moves is generated in response to a system event.
14. The method of claim 1, wherein the plurality of backward moves is generated at least one specified time.
15. The method of claim 1, wherein the plurality of backward moves is generated in response to insufficient space being available for the forward journal.
16. The method of claim 1, wherein the virtual recovery mapping object contains an indexed data structure that is indexed on a first set of logical address ranges.
17. The method of claim 16, further comprising:
in response to the virtual recovery mapping object exceeding a pre-determined size in memory, re-indexing the virtual recovery mapping object to be index on a second set of logical address ranges.
18. The method of claim 1, further comprising:
updating the virtual recovery mapping object in response to a second plurality of write commands.
19. The method of claim 1, further comprising:
generating additional backward moves in response to a second plurality of write commands.
20. The method of claim 1, further comprising:
updating a second virtual recovery mapping object using the plurality of backward moves.
21. A computer program product in a computer recordable-type media comprising functional descriptive material that, when executed by a computer, enables the computer to perform acts including:
recording a plurality of write commands in a forward journal;
applying the plurality of write commands to a mirror-in-the-middle (MIM);
generating a virtual recovery mapping object from the plurality of write commands, wherein the virtual recovery mapping object maps logical addresses into physical storage addresses;
generating a plurality of backward moves from the write commands, wherein the backward moves correspond to reverse changes that reverse the effect of the plurality of write commands; and
correlating the virtual recovery mapping object with the plurality of backward moves so that the virtual recovery mapping object maps logical addresses to corresponding backward moves from the plurality of backward moves.
22. The computer program product of claim 21, wherein the write commands are atomic write commands.
23. The computer program product of claim 21, wherein the virtual recovery mapping object maps a set of logical address ranges representing physical extents of data in the forward journal into physical addresses of the physical extents.
24. The computer program product of claim 21, wherein the virtual recovery mapping object maps a set of logical address ranges representing physical extents of data in the mirror-in-the-middle (MIM) into physical addresses of the physical extents.
25. The computer program product of claim 21, comprising additional functional descriptive material that, when executed by the computer, enables the computer to perform acts including:
copying an extent of data corresponding to each of the plurality of backward moves from the mirror-in-the-middle (MIM) into a backward journal; and
generating, in each backward move, a pointer to the extent of data in the backward journal corresponding to that backward move.
26. The computer program product of claim 25, wherein the virtual recovery mapping object is a tree data structure having tree nodes and physical extent lists, the physical extent lists represent extents of data stored in the backward journal.
27. The computer program product of claim 26, wherein the tree nodes represent logical address ranges.
28. The computer program product of claim 27, wherein the logical address ranges correspond to physical address ranges located on the mirror-in-the-middle.
29. The computer program product of claim 27, wherein the logical address ranges correspond to physical address ranges stored in extents of data in the backward journal.
30. The computer program product of claim 25, wherein each of the write commands contains a logical address range, and generating the plurality of backward moves includes identifying at least a portion of the logical address range that is mapped into an extent of data in the backward journal and generating a backward move corresponding to the at least a portion of the logical address range.
31. The computer program product of claim 21, comprising additional functional descriptive material that, when executed by the computer, enables the computer to perform acts including:
in response to applying the plurality of write commands to the mirror-in-the-middle, removing the plurality of write commands from the forward journal.
32. The computer program product of claim 21, wherein the forward journal includes a circular queue.
33. The computer program product of claim 21, wherein the plurality of backward moves is generated in response to a system event.
34. The computer program product of claim 21, wherein the plurality of backward moves is generated at least one specified time.
35. The computer program product of claim 21, wherein the plurality of backward moves is generated in response to insufficient space being available for the forward journal.
36. The computer program product of claim 21, wherein the virtual recovery mapping object contains an indexed data structure that is indexed on a first set of logical address ranges.
37. The computer program product of claim 36, comprising additional functional descriptive material that, when executed by the computer, enables the computer to perform acts including:
in response to the virtual recovery mapping object exceeding a pre-determined size in memory, re-indexing the virtual recovery mapping object to be index on a second set of logical address ranges.
38. The computer program product of claim 21, comprising additional functional descriptive material that, when executed by the computer, enables the computer to perform acts including:
updating the virtual recovery mapping object in response to a second plurality of write commands.
39. The computer program product of claim 21, comprising additional functional descriptive material that, when executed by the computer, enables the computer to perform acts including:
generating additional backward moves in response to a second plurality of write commands.
40. The computer program product of claim 21, comprising additional functional descriptive material that, when executed by the computer, enables the computer to perform acts including:
updating a second virtual recovery mapping object using the plurality of backward moves.
41. A data management appliance comprising means for:
recording a plurality of write commands in a forward journal;
applying the plurality of write commands to a mirror-in-the-middle (MIM);
generating a virtual recovery mapping object from the plurality of write commands, wherein the virtual recovery mapping object maps logical addresses into physical storage addresses;
generating a plurality of backward moves from the write commands, wherein the backward moves correspond to reverse changes that reverse the effect of the plurality of write commands; and
correlating the virtual recovery mapping object with the plurality of backward moves so that the virtual recovery mapping object maps logical addresses to corresponding backward moves from the plurality of backward moves.
42. The data management appliance of claim 41, wherein the write commands are atomic write commands.
43. The data management appliance of claim 41, wherein the virtual recovery mapping object maps a set of logical address ranges representing physical extents of data in the forward journal into physical addresses of the physical extents.
44. The data management appliance of claim 41, wherein the virtual recovery mapping object maps a set of logical address ranges representing physical extents of data in the mirror-in-the-middle (MIM) into physical addresses of the physical extents.
45. The data management appliance of claim 41, comprising additional means for:
copying an extent of data corresponding to each of the plurality of backward moves from the mirror-in-the-middle (MIM) into a backward journal; and
generating, in each backward move, a pointer to the extent of data in the backward journal corresponding to that backward move.
46. The data management appliance of claim 45, wherein the virtual recovery mapping object is a tree data structure having tree nodes and physical extent lists, the physical extent lists represent extents of data stored in the backward journal.
47. The data management appliance of claim 46, wherein the tree nodes repre sent logical address ranges.
48. The data management appliance of claim 47, wherein the logical address ranges correspond to physical address ranges located on the mirror-in-the-middle.
49. The data management appliance of claim 47, wherein the logical address ranges correspond to physical address ranges stored in extents of data in the backward journal.
50. The data management appliance of claim 45, wherein each of the write commands contains a logical address range, and generating the plurality of backward moves includes identifying at least a portion of the logical address range that is mapped into an extent of data in the backward journal and generating a backward move corresponding to the at least a portion of the logical address range.
51. The data management appliance of claim 41, comprising additional means for:
in response to applying the plurality of write commands to the mirror-in-the-middle, removing the plurality of write commands from the forward journal.
52. The data management appliance of claim 41, wherein the forward journal includes a circular queue.
53. The data management appliance of claim 41, wherein the plurality of backward moves is generated in response to a system event.
54. The data management appliance of claim 41, wherein the plurality of backward moves is generated at least one specified time.
55. The data management appliance of claim 41, wherein the plurality of backward moves is generated in response to insufficient space being available for the forward journal.
56. The data management appliance of claim 41, wherein the virtual recovery mapping object contains an indexed data structure that is indexed on a first set of logical address ranges.
57. The data management appliance of claim 56, comprising additional means for:
in response to the virtual recovery mapping object exceeding a pre-determined size in memory, re-indexing the virtual recovery mapping object to be index on a second set of logical address ranges.
58. The data management appliance of claim 41, comprising additional means for:
updating the virtual recovery mapping object in response to a second plurality of write commands.
59. The data management appliance of claim 41, comprising additional means for:
generating additional backward moves in response to a second plurality of write commands.
60. The data management appliance of claim 41, comprising additional means for:
updating a second virtual recovery mapping object using the plurality of backward moves.
US10/034,304 2001-12-28 2001-12-28 Data management with virtual recovery mapping and backward moves Expired - Lifetime US7036043B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US10/034,304 US7036043B2 (en) 2001-12-28 2001-12-28 Data management with virtual recovery mapping and backward moves
US11/334,531 US7340645B1 (en) 2001-12-28 2006-01-18 Data management with virtual recovery mapping and backward moves

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US10/034,304 US7036043B2 (en) 2001-12-28 2001-12-28 Data management with virtual recovery mapping and backward moves

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/334,531 Continuation US7340645B1 (en) 2001-12-28 2006-01-18 Data management with virtual recovery mapping and backward moves

Publications (2)

Publication Number Publication Date
US20030135703A1 US20030135703A1 (en) 2003-07-17
US7036043B2 true US7036043B2 (en) 2006-04-25

Family

ID=21875572

Family Applications (2)

Application Number Title Priority Date Filing Date
US10/034,304 Expired - Lifetime US7036043B2 (en) 2001-12-28 2001-12-28 Data management with virtual recovery mapping and backward moves
US11/334,531 Expired - Lifetime US7340645B1 (en) 2001-12-28 2006-01-18 Data management with virtual recovery mapping and backward moves

Family Applications After (1)

Application Number Title Priority Date Filing Date
US11/334,531 Expired - Lifetime US7340645B1 (en) 2001-12-28 2006-01-18 Data management with virtual recovery mapping and backward moves

Country Status (1)

Country Link
US (2) US7036043B2 (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153457A1 (en) * 2002-09-09 2004-08-05 Martin Fischer Methods and systems for controlling access to a data object
US20050028022A1 (en) * 2003-06-26 2005-02-03 Hitachi, Ltd. Method and apparatus for data recovery system using storage based journaling
US20050180038A1 (en) * 2003-12-01 2005-08-18 International Business Machines Corporation (Ibm) Data backup system, method, and program
US20060129608A1 (en) * 2004-11-25 2006-06-15 Hitachi, Ltd. Storage system
US20060129768A1 (en) * 2002-09-09 2006-06-15 Thorsten Pferdekaemper Methods and systems for archiving data
US20060149792A1 (en) * 2003-07-25 2006-07-06 Hitachi, Ltd. Method and apparatus for synchronizing applications for data recovery using storage based journaling
US20060149736A1 (en) * 2002-09-09 2006-07-06 Thorsten Pferdekaemper Electronic data structure for controlling access to data objects using locks
US20060155704A1 (en) * 2002-09-09 2006-07-13 Martin Fischer Methods and systems for moving data using locks
US20060242452A1 (en) * 2003-03-20 2006-10-26 Keiichi Kaiya External storage and data recovery method for external storage as well as program
US20060242203A1 (en) * 2002-09-09 2006-10-26 Pferdekaeemper Thorsten Methods and systems for data moving using locks
US20060242211A1 (en) * 2002-07-15 2006-10-26 Becker Gregory A System and method for backing up a computer system
US20070220221A1 (en) * 2003-06-26 2007-09-20 Hitachi, Ltd. Method and apparatus for backup and recovery using storage based journaling
US20070250304A1 (en) * 2006-04-25 2007-10-25 Stefan Elfner Mapping a new user interface onto an existing integrated interface
US20080005133A1 (en) * 2006-06-30 2008-01-03 Microsoft Corporation Merging file system directories
US7340645B1 (en) 2001-12-28 2008-03-04 Storage Technology Corporation Data management with virtual recovery mapping and backward moves
US20080109394A1 (en) * 2006-11-02 2008-05-08 Microsoft Corporation Virtual Deletion In Merged File System Directories
US20080201391A1 (en) * 2007-02-15 2008-08-21 Hiroshi Arakawa Methods and apparatus for adjusting a journal area for continuous data protection
US20080313197A1 (en) * 2007-06-15 2008-12-18 Microsoft Coporation Data structure for supporting a single access operation
US7685377B1 (en) 2006-07-12 2010-03-23 Storage Technology Corporation Piecewise logical data management
US7831861B1 (en) * 2008-02-07 2010-11-09 Symantec Corporation Techniques for efficient restoration of granular application data
US20110179224A1 (en) * 2010-01-21 2011-07-21 Xyratex Technology Limited Data storage mirroring
US8091094B2 (en) 2007-10-10 2012-01-03 Sap Ag Methods and systems for ambistateful backend control
US8166477B1 (en) * 2007-03-23 2012-04-24 Parallels IP Holdings GmbH System and method for restoration of an execution environment from hibernation into a virtual or physical machine
US20120191664A1 (en) * 2011-01-24 2012-07-26 Apple Inc. Coordinating sync points between a non-volatile memory and a file system
US8260748B1 (en) * 2007-03-27 2012-09-04 Symantec Corporation Method and apparatus for capturing data from a backup image
US8732677B2 (en) 2006-09-28 2014-05-20 Sap Ag System and method for extending legacy application with undo/redo functionality

Families Citing this family (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7296008B2 (en) * 2004-08-24 2007-11-13 Symantec Operating Corporation Generation and use of a time map for accessing a prior image of a storage device
US7257732B2 (en) * 2004-02-13 2007-08-14 Kaleidescape, Inc. Integrating content-laden media with storage system
US8949395B2 (en) 2004-06-01 2015-02-03 Inmage Systems, Inc. Systems and methods of event driven recovery management
US7529966B2 (en) * 2004-08-20 2009-05-05 Hewlett-Packard Development Company, L.P. Storage system with journaling
US20060106893A1 (en) * 2004-11-02 2006-05-18 Rodger Daniels Incremental backup operations in storage networks
US7305530B2 (en) * 2004-11-02 2007-12-04 Hewlett-Packard Development Company, L.P. Copy operations in storage networks
US7814367B1 (en) * 2004-11-12 2010-10-12 Double-Take Software Canada, Inc. Method and system for time addressable storage
US20080162685A1 (en) * 2004-12-31 2008-07-03 Emc Corporation Information management architecture
US8260753B2 (en) * 2004-12-31 2012-09-04 Emc Corporation Backup information management
WO2006087694A2 (en) * 2005-02-17 2006-08-24 Dov Shoam Protection and recovery system for automatic hard disk drive (hdd) recovery
US20080155216A1 (en) * 2005-02-17 2008-06-26 Dov Shoham Protection and Recovery System for Automatic Disk Recovery
US9026512B2 (en) * 2005-08-18 2015-05-05 Emc Corporation Data object search and retrieval
US7716171B2 (en) * 2005-08-18 2010-05-11 Emc Corporation Snapshot indexing
US20070043705A1 (en) * 2005-08-18 2007-02-22 Emc Corporation Searchable backups
US20070245107A1 (en) * 2006-04-14 2007-10-18 Hitachi, Ltd. System and method for processing a plurality kinds of event markers of a continuous data protection
US8732136B2 (en) * 2006-05-22 2014-05-20 Inmage Systems, Inc. Recovery point data view shift through a direction-agnostic roll algorithm
US9501492B2 (en) * 2006-10-24 2016-11-22 Marvell World Trade Ltd. Combination journaling/non-journaling file system
US9116823B2 (en) 2006-12-06 2015-08-25 Intelligent Intellectual Property Holdings 2 Llc Systems and methods for adaptive error-correction coding
US8074011B2 (en) 2006-12-06 2011-12-06 Fusion-Io, Inc. Apparatus, system, and method for storage space recovery after reaching a read count limit
WO2008070814A2 (en) 2006-12-06 2008-06-12 Fusion Multisystems, Inc. (Dba Fusion-Io) Apparatus, system, and method for a scalable, composite, reconfigurable backplane
US9495241B2 (en) 2006-12-06 2016-11-15 Longitude Enterprise Flash S.A.R.L. Systems and methods for adaptive data storage
US9495370B1 (en) * 2007-07-19 2016-11-15 American Megatrends, Inc. Data recovery point review in a continuous data protection system
US8195912B2 (en) 2007-12-06 2012-06-05 Fusion-io, Inc Apparatus, system, and method for efficient mapping of virtual and physical addresses
US7836226B2 (en) 2007-12-06 2010-11-16 Fusion-Io, Inc. Apparatus, system, and method for coordinating storage requests in a multi-processor/multi-thread environment
JP5366480B2 (en) * 2008-08-27 2013-12-11 株式会社日立製作所 Computer system and backup method thereof
JP2013257679A (en) * 2012-06-12 2013-12-26 Sony Corp Information processing apparatus and method, and program
US9558078B2 (en) 2014-10-28 2017-01-31 Microsoft Technology Licensing, Llc Point in time database restore from storage snapshots
CN106598493A (en) * 2016-11-30 2017-04-26 郑州云海信息技术有限公司 Solid state disk address mapping table management method
CN108984120B (en) * 2018-06-29 2021-11-09 郑州云海信息技术有限公司 Storage device path error processing method and related device
US11003554B2 (en) * 2019-04-24 2021-05-11 EMC IP Holding Company LLC RAID schema for providing metadata protection in a data storage system
US11822435B2 (en) 2020-07-06 2023-11-21 Bank Of America Corporation Consolidated data restoration framework
CN112232944A (en) * 2020-09-29 2021-01-15 中诚信征信有限公司 Scoring card creating method and device and electronic equipment
KR20220111566A (en) * 2021-02-02 2022-08-09 에스케이하이닉스 주식회사 Memory controller and storage device including same
US11797393B2 (en) 2022-03-23 2023-10-24 Bank Of America Corporation Table prioritization for data copy in a multi-environment setup
US11656955B1 (en) 2022-03-23 2023-05-23 Bank Of America Corporation Database table valuation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5086502A (en) 1989-07-11 1992-02-04 Intelligence Quotient International Limited Method of operating a data processing system
US6158019A (en) 1996-12-15 2000-12-05 Delta-Tek Research, Inc. System and apparatus for merging a write event journal and an original storage to produce an updated storage using an event map
US6678704B1 (en) * 1998-06-23 2004-01-13 Oracle International Corporation Method and system for controlling recovery downtime by maintaining a checkpoint value
US6732124B1 (en) * 1999-03-30 2004-05-04 Fujitsu Limited Data processing system with mechanism for restoring file systems based on transaction logs

Family Cites Families (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5530855A (en) 1992-10-13 1996-06-25 International Business Machines Corporation Replicating a database by the sequential application of hierarchically sorted log records
US6604118B2 (en) 1998-07-31 2003-08-05 Network Appliance, Inc. File system image transfer
ATE409907T1 (en) 1993-06-03 2008-10-15 Network Appliance Inc METHOD AND DEVICE FOR DESCRIBING ANY AREAS OF A FILE SYSTEM
JPH086854A (en) 1993-12-23 1996-01-12 Unisys Corp Outboard-file-cache external processing complex
US5809527A (en) 1993-12-23 1998-09-15 Unisys Corporation Outboard file cache system
US5638509A (en) 1994-06-10 1997-06-10 Exabyte Corporation Data storage and protection system
US5586264A (en) 1994-09-08 1996-12-17 Ibm Corporation Video optimized media streamer with cache management
US5907672A (en) 1995-10-04 1999-05-25 Stac, Inc. System for backing up computer disk volumes with error remapping of flawed memory addresses
US6304980B1 (en) 1996-03-13 2001-10-16 International Business Machines Corporation Peer-to-peer backup system with failure-triggered device switching honoring reservation of primary device
US5852715A (en) 1996-03-19 1998-12-22 Emc Corporation System for currently updating database by one host and reading the database by different host for the purpose of implementing decision support functions
FR2746526B1 (en) 1996-03-25 1998-06-05 Digital Equipment Corp METHOD FOR CONSERVING A DATABASE WITH TEMPORAL AND SPATIAL ORGANIZATION
US5857208A (en) 1996-05-31 1999-01-05 Emc Corporation Method and apparatus for performing point in time backup operation in a computer system
US6021408A (en) 1996-09-12 2000-02-01 Veritas Software Corp. Methods for operating a log device
US5996054A (en) 1996-09-12 1999-11-30 Veritas Software Corp. Efficient virtualized mapping space for log device data storage system
US6212531B1 (en) 1998-01-13 2001-04-03 International Business Machines Corporation Method for implementing point-in-time copy using a snapshot function
US6289426B1 (en) 1998-02-24 2001-09-11 Adaptec, Inc. Drive preparation methods for intelligent backup systems
US6047294A (en) 1998-03-31 2000-04-04 Emc Corp Logical restore from a physical backup in a computer storage system
US6353878B1 (en) 1998-08-13 2002-03-05 Emc Corporation Remote control of backup media in a secondary storage subsystem through access to a primary storage subsystem
US6269431B1 (en) 1998-08-13 2001-07-31 Emc Corporation Virtual storage and block level direct access of secondary storage for recovery of backup data
US6397308B1 (en) 1998-12-31 2002-05-28 Emc Corporation Apparatus and method for differential backup and restoration of data in a computer storage system
US6397307B2 (en) 1999-02-23 2002-05-28 Legato Systems, Inc. Method and system for mirroring and archiving mass storage
US6505216B1 (en) 1999-10-01 2003-01-07 Emc Corporation Methods and apparatus for backing-up and restoring files using multiple trails
US6549992B1 (en) 1999-12-02 2003-04-15 Emc Corporation Computer data storage backup with tape overflow control of disk caching of backup data stream
US6490598B1 (en) 1999-12-20 2002-12-03 Emc Corporation System and method for external backup and restore for a computer data storage system
US6658590B1 (en) 2000-03-30 2003-12-02 Hewlett-Packard Development Company, L.P. Controller-based transaction logging system for data recovery in a storage area network
US6732125B1 (en) 2000-09-08 2004-05-04 Storage Technology Corporation Self archiving log structured volume with intrinsic data protection
US6792517B1 (en) 2001-06-18 2004-09-14 Maxtor Corporation Firmware controlled backup in disk drives
US7036043B2 (en) 2001-12-28 2006-04-25 Storage Technology Corporation Data management with virtual recovery mapping and backward moves
US6839819B2 (en) 2001-12-28 2005-01-04 Storage Technology Corporation Data management appliance
US6898688B2 (en) 2001-12-28 2005-05-24 Storage Technology Corporation Data management appliance
US7007043B2 (en) 2002-12-23 2006-02-28 Storage Technology Corporation Storage backup system that creates mountable representations of past contents of storage volumes
US7007044B1 (en) 2002-12-26 2006-02-28 Storage Technology Corporation Storage backup system for backing up data written to a primary storage device to multiple virtual mirrors using a reconciliation process that reflects the changing state of the primary storage device over time

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5086502A (en) 1989-07-11 1992-02-04 Intelligence Quotient International Limited Method of operating a data processing system
US6158019A (en) 1996-12-15 2000-12-05 Delta-Tek Research, Inc. System and apparatus for merging a write event journal and an original storage to produce an updated storage using an event map
US6678704B1 (en) * 1998-06-23 2004-01-13 Oracle International Corporation Method and system for controlling recovery downtime by maintaining a checkpoint value
US6732124B1 (en) * 1999-03-30 2004-05-04 Fujitsu Limited Data processing system with mechanism for restoring file systems based on transaction logs

Cited By (65)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7340645B1 (en) 2001-12-28 2008-03-04 Storage Technology Corporation Data management with virtual recovery mapping and backward moves
US20060242211A1 (en) * 2002-07-15 2006-10-26 Becker Gregory A System and method for backing up a computer system
US9218345B1 (en) 2002-07-15 2015-12-22 Symantec Corporation System and method for backing up a computer system
US7617414B2 (en) * 2002-07-15 2009-11-10 Symantec Corporation System and method for restoring data on a data storage system
US20040153457A1 (en) * 2002-09-09 2004-08-05 Martin Fischer Methods and systems for controlling access to a data object
US20060129768A1 (en) * 2002-09-09 2006-06-15 Thorsten Pferdekaemper Methods and systems for archiving data
US7653667B2 (en) 2002-09-09 2010-01-26 Sap Ag Methods and systems for data moving using locks
US20060149736A1 (en) * 2002-09-09 2006-07-06 Thorsten Pferdekaemper Electronic data structure for controlling access to data objects using locks
US20060155704A1 (en) * 2002-09-09 2006-07-13 Martin Fischer Methods and systems for moving data using locks
US7756813B2 (en) 2002-09-09 2010-07-13 Sap Ag Electronic data structure for controlling access to data objects using locks
US20060242203A1 (en) * 2002-09-09 2006-10-26 Pferdekaeemper Thorsten Methods and systems for data moving using locks
US7756814B2 (en) 2002-09-09 2010-07-13 Sap Ag Methods and systems for controlling access to a data object
US7457933B2 (en) 2002-09-09 2008-11-25 Sap Ag Methods and systems for archiving data
US7693890B2 (en) * 2002-09-09 2010-04-06 Sap Ag Methods and systems for moving data objects
US20060101094A1 (en) * 2002-09-09 2006-05-11 Martin Fischer Methods and systems for moving data objects
US7693881B2 (en) 2002-09-09 2010-04-06 Sap Ag Methods and systems for moving data using locks
US7873860B2 (en) * 2003-03-20 2011-01-18 Hitachi, Ltd. External storage and data recovery method for external storage as well as program
US20090049262A1 (en) * 2003-03-20 2009-02-19 Hitachi, Ltd External storage and data recovery method for external storage as well as program
US7243256B2 (en) * 2003-03-20 2007-07-10 Hitachi, Ltd. External storage and data recovery method for external storage as well as program
US20060242452A1 (en) * 2003-03-20 2006-10-26 Keiichi Kaiya External storage and data recovery method for external storage as well as program
US9092379B2 (en) 2003-06-26 2015-07-28 Hitachi, Ltd. Method and apparatus for backup and recovery using storage based journaling
US7761741B2 (en) 2003-06-26 2010-07-20 Hitachi, Ltd. Method and apparatus for data recovery system using storage based journaling
US7398422B2 (en) * 2003-06-26 2008-07-08 Hitachi, Ltd. Method and apparatus for data recovery system using storage based journaling
US7783848B2 (en) 2003-06-26 2010-08-24 Hitachi, Ltd. Method and apparatus for backup and recovery using storage based journaling
US20100251020A1 (en) * 2003-06-26 2010-09-30 Hitachi, Ltd. Method and apparatus for data recovery using storage based journaling
US20100274985A1 (en) * 2003-06-26 2010-10-28 Hitachi, Ltd. Method and apparatus for backup and recovery using storage based journaling
US20050028022A1 (en) * 2003-06-26 2005-02-03 Hitachi, Ltd. Method and apparatus for data recovery system using storage based journaling
US20090019308A1 (en) * 2003-06-26 2009-01-15 Hitachi, Ltd. Method and Apparatus for Data Recovery System Using Storage Based Journaling
US7979741B2 (en) 2003-06-26 2011-07-12 Hitachi, Ltd. Method and apparatus for data recovery system using storage based journaling
US20070220221A1 (en) * 2003-06-26 2007-09-20 Hitachi, Ltd. Method and apparatus for backup and recovery using storage based journaling
US8234473B2 (en) 2003-06-26 2012-07-31 Hitachi, Ltd. Method and apparatus for backup and recovery using storage based journaling
US8005796B2 (en) * 2003-07-25 2011-08-23 Hitachi, Ltd. Method and apparatus for synchronizing applications for data recovery using storage based journaling
US20090240743A1 (en) * 2003-07-25 2009-09-24 Hitachi, Ltd. Method and apparatus for synchronizing applications for data recovery using storage based journaling
US7555505B2 (en) * 2003-07-25 2009-06-30 Hitachi, Ltd. Method and apparatus for synchronizing applications for data recovery using storage based journaling
US20060149792A1 (en) * 2003-07-25 2006-07-06 Hitachi, Ltd. Method and apparatus for synchronizing applications for data recovery using storage based journaling
US8296265B2 (en) 2003-07-25 2012-10-23 Hitachi, Ltd. Method and apparatus for synchronizing applications for data recovery using storage based journaling
US20050180038A1 (en) * 2003-12-01 2005-08-18 International Business Machines Corporation (Ibm) Data backup system, method, and program
US20060129608A1 (en) * 2004-11-25 2006-06-15 Hitachi, Ltd. Storage system
US7395284B2 (en) * 2004-11-25 2008-07-01 Hitachi, Ltd. storage system
US7784022B2 (en) 2006-04-25 2010-08-24 Sap Ag Mapping a new user interface onto an existing integrated interface
US20070250304A1 (en) * 2006-04-25 2007-10-25 Stefan Elfner Mapping a new user interface onto an existing integrated interface
WO2008002551A3 (en) * 2006-06-30 2008-03-06 Microsoft Corp Merging file system directories
US8280908B2 (en) 2006-06-30 2012-10-02 Microsoft Corporation Merging file system directories
WO2008002551A2 (en) * 2006-06-30 2008-01-03 Microsoft Corporation Merging file system directories
US20080005133A1 (en) * 2006-06-30 2008-01-03 Microsoft Corporation Merging file system directories
US7685377B1 (en) 2006-07-12 2010-03-23 Storage Technology Corporation Piecewise logical data management
US8732677B2 (en) 2006-09-28 2014-05-20 Sap Ag System and method for extending legacy application with undo/redo functionality
US9298429B2 (en) 2006-09-28 2016-03-29 Sap Se System and method for extending legacy applications with undo/redo functionality
US7756821B2 (en) 2006-11-02 2010-07-13 Microsoft Corporation Virtual deletion in merged file system directories
US20080109394A1 (en) * 2006-11-02 2008-05-08 Microsoft Corporation Virtual Deletion In Merged File System Directories
WO2008063800A2 (en) * 2006-11-02 2008-05-29 Microsoft Corporation Virtual deletion in merged file system directories
WO2008063800A3 (en) * 2006-11-02 2008-07-24 Microsoft Corp Virtual deletion in merged file system directories
US20080201391A1 (en) * 2007-02-15 2008-08-21 Hiroshi Arakawa Methods and apparatus for adjusting a journal area for continuous data protection
US7685378B2 (en) * 2007-02-15 2010-03-23 Hitachi, Ltd. Methods and apparatus for adjusting a journal area for continuous data protection
US8166477B1 (en) * 2007-03-23 2012-04-24 Parallels IP Holdings GmbH System and method for restoration of an execution environment from hibernation into a virtual or physical machine
US8260748B1 (en) * 2007-03-27 2012-09-04 Symantec Corporation Method and apparatus for capturing data from a backup image
US8078648B2 (en) 2007-06-15 2011-12-13 Microsoft Corporation Data structure for supporting a single access operation
US20080313197A1 (en) * 2007-06-15 2008-12-18 Microsoft Coporation Data structure for supporting a single access operation
US8091094B2 (en) 2007-10-10 2012-01-03 Sap Ag Methods and systems for ambistateful backend control
US8156375B1 (en) 2008-02-07 2012-04-10 Symantec Corporation Techniques for efficient restoration of granular application data
US7831861B1 (en) * 2008-02-07 2010-11-09 Symantec Corporation Techniques for efficient restoration of granular application data
US8510507B2 (en) * 2010-01-21 2013-08-13 Xyratex Technology Limited Data storage mirroring using virtual mirror
US20110179224A1 (en) * 2010-01-21 2011-07-21 Xyratex Technology Limited Data storage mirroring
US20120191664A1 (en) * 2011-01-24 2012-07-26 Apple Inc. Coordinating sync points between a non-volatile memory and a file system
US8458133B2 (en) * 2011-01-24 2013-06-04 Apple Inc. Coordinating sync points between a non-volatile memory and a file system

Also Published As

Publication number Publication date
US7340645B1 (en) 2008-03-04
US20030135703A1 (en) 2003-07-17

Similar Documents

Publication Publication Date Title
US7036043B2 (en) Data management with virtual recovery mapping and backward moves
US6898688B2 (en) Data management appliance
US6839819B2 (en) Data management appliance
US20030131253A1 (en) Data management appliance
US10657008B2 (en) Managing a redundant computerized database using a replicated database cache
US9619341B2 (en) System and method for performing an image level snapshot and for restoring partial volume data
Hitz et al. File System Design for an NFS File Server Appliance.
JP4336129B2 (en) System and method for managing multiple snapshots
US6366986B1 (en) Method and apparatus for differential backup in a computer storage system
US8060713B1 (en) Consolidating snapshots in a continuous data protection system using journaling
US6460054B1 (en) System and method for data storage archive bit update after snapshot backup
US7237075B2 (en) Persistent snapshot methods
US6269381B1 (en) Method and apparatus for backing up data before updating the data and for restoring from the backups
US6141773A (en) Method and apparatus for undoing changes to computer memory
US7237080B2 (en) Persistent snapshot management system
US7620785B1 (en) Using roll-forward and roll-backward logs to restore a data volume
Chong et al. Rapid Recovery of Very Large Memory Resident Data Objects
Page TR3002 by Dave Hitz, James Lau, & Michael Malcolm, Network Appliance, Inc.

Legal Events

Date Code Title Description
AS Assignment

Owner name: STORAGE TECHNOLOGY CORPORATION, COLORADO

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:MARTIN, MARCIA REID;RAFERT, JAMES LEE;GEHR, CHARLES ROYAL;AND OTHERS;REEL/FRAME:012828/0282;SIGNING DATES FROM 20020104 TO 20020107

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

AS Assignment

Owner name: SUN MICROSYSTEMS, INC., CALIFORNIA

Free format text: MERGER;ASSIGNOR:STORAGE TECHNOLOGY CORPORATION;REEL/FRAME:037692/0820

Effective date: 20061222

Owner name: ORACLE AMERICA, INC., CALIFORNIA

Free format text: MERGER AND CHANGE OF NAME;ASSIGNORS:SUN MICROSYSTEMS, INC.;ORACLE USA, INC.;ORACLE AMERICA, INC.;REEL/FRAME:037694/0966

Effective date: 20100212

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553)

Year of fee payment: 12