The present disclosure generally relates to the field of electronics. More particularly, an embodiment of the invention generally relates to automated intermittent data mirroring volumes.
In data storage, data mirroring may be used to replicate data on more than one storage disk. For example, a Redundant Array of Independent Drives (or Disks), also known as Redundant Array of Inexpensive Drives (or Disks) (RAID) level 1 (or RAID-1) may be used for fault tolerance resulting from disk errors.
Generally, RAID-1 volumes constantly mirror their data, typically to two different disk drive spindles. Once data mirroring is broken, it may not be resumed until an entire disk drive to disk drive copy for broken mirror is performed.
The detailed description is provided with reference to the accompanying figures. In the figures, the left-most digit(s) of a reference number identifies the figure in which the reference number first appears. The use of the same reference numbers in different figures indicates similar or identical items.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of various embodiments. However, various embodiments of the invention may be practiced without the specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to obscure the particular embodiments of the invention. Further, various aspects of embodiments of the invention may be performed using various means, such as integrated semiconductor circuits (“hardware”), computer-readable instructions organized into one or more programs (“software”), or some combination of hardware and software. For the purposes of this disclosure reference to “logic” shall mean either hardware, software, or some combination thereof.
Some of the embodiments discussed herein may enable automated intermittent mirroring (which may be generally referred to herein as “AIM”). For example, in response to occurrence of an event (which may be a predefined type of an event, a scheduled event, etc.), data mirroring may be automatically suspended and/or resumed. Such implementations may result in power savings, e.g., by reducing power consumption of inactive disk drives. Furthermore, as discussed herein, the term “volume” may generally refer to a logical storage volume that may correspond to a set of mirrored disks (e.g., two or more disks). Also, even though some embodiments discussed herein may refer to various disks that are members of a data mirroring set (e.g., forming a RAID-1 mirroring set), each of the disks may be disk partitions within a single physical disk drive. Alternatively, the disks may be disk partitions spanned across a plurality of physical disk drives. Hence, the use of the term “disk” or “disk partition” herein may be interchangeable.
Furthermore, the usage of the term “disk” herein is intended to refer to any collection of data, whether stored in physical disk drive or logically accessible through a link (such as network connected drives, or some other physical media that may or may not be a drive such as flash connected to a host computer via Open NAND Flash Interface (ONFI)). Thus, the data mirroring is intended to include any form of data replication, and the ability to break and restore the mirror. Moreover, a disk is intended to be any collection of data that appears as a disk drive to hardware (e.g., a flash based solid state drive), or may be something that emulates a drive in software (such as flash on ONFI with a driver that emulates a drive).
More particularly,
As shown in
Referring to
At an operation 304, the active disk (e.g., disk 106 of
Accordingly, in one embodiment, there may be a mirrored volume (such as a RAID-1 volume, including for example volume 104 discussed with reference to
In one embodiment, in what may be referred to as a back-up with instant restore model, the user may schedule a periodic (e.g., daily, weekly, monthly, etc) re-synchronization from the active disk to the inactive disk, e.g., during a period of usual low activity. Then instead of running with data mirroring, the AIM volume may effectively be running without data mirroring protection but instead performing a periodic scheduled online image back-up with instant restore capabilities. This usage model may use less power as it uses fewer disk drives except during the scheduled re-synchronization copy. Unlike RAID-1, such an embodiment may save an image copy of old data for rollback capabilities, e.g., in case a virus or worm is introduced or a file is accidentally deleted or the operating system is mis-configured or damaged. For example, if the first disk fails, then the mirrored volume would (e.g., re-activate in one embodiment and) start to run off the second disk. Thus, the instant restore may occur (albeit to the point when the last synchronization was done, so losing all new data since the last synch). If the first disk is fine but its file system is damaged or infected, then the user may order a rollback by synchronizing the data from the second disk back to the first disk. Moreover, if the first disk is fine but a file is accidentally deleted, then the user may mount the second disk and copy the file back to the first disk, thus performing a file selective restore.
In another embodiment, e.g. in a public computer model, the public computer would use the AIM volume as its boot disk. The administrator would have the volume mirrored constantly while the computer is configured to a desired fresh state. Then the administrator would schedule a periodic (e.g., nightly, etc.) re-synchronization from the inactive disk to the active disk, for example. The computer would run all day being subjected to public use with public write permission to the volume's active disk. But, at each re-synchronization, an image rollback to the desired fresh state may be done by a re-synchronization copy from the inactive disk to the active disk.
In yet another embodiment, e.g., in the mobile platform model, the mirrored volume may use the event driven mirroring. For example, a mobile computing device (such as a personal digital assistant, a notebook computer, a smart phone, etc.) would have an AIM volume with both disk drives in the mobile platform. The AIM volume may be configured to break mirroring whenever the mobile device is drawing battery (DC) power and re-synchronize and continue mirroring whenever the device is drawing wall outlet (AC) power. This strategy would save battery power by running one disk whenever drawing battery power but returning to data mirroring, running both disks, whenever drawing outlet power.
Moreover, the host computer 102 discussed with reference to
A chipset 406 may also communicate with the interconnection network 404. The chipset 406 may include a graphics memory control hub (GMCH) 408. The GMCH 408 may include a memory controller 410 that communicates with a memory 412. The memory 412 may store data, including sequences of instructions that are executed by the processor 402, or any other device included in the computing system 400. In one embodiment of the invention, the memory 412 may include one or more volatile storage (or memory) devices such as random access memory (RAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), static RAM (SRAM), or other types of storage devices. Nonvolatile memory may also be utilized such as a hard disk. Additional devices may communicate via the interconnection network 404, such as multiple CPUs and/or multiple system memories.
The GMCH 408 may also include a graphics interface 414 that communicates with a graphics accelerator 416. In one embodiment of the invention, the graphics interface 414 may communicate with the graphics accelerator 416 via an accelerated graphics port (AGP). In an embodiment of the invention, a display (such as a flat panel display, a cathode ray tube (CRT), a projection screen, etc.) may communicate with the graphics interface 414 through, for example, a signal converter that translates a digital representation of an image stored in a storage device such as video memory or system memory into display signals that are interpreted and displayed by the display. The display signals produced by the display device may pass through various control devices before being interpreted by and subsequently displayed on the display.
A hub interface 418 may allow the GMCH 408 and an input/output control hub (ICH) 420 to communicate. The ICH 420 may provide an interface to I/O devices that communicate with the computing system 400. The ICH 420 may communicate with a bus 422 through a peripheral bridge (or controller) 424, such as a peripheral component interconnect (PCI) bridge, a universal serial bus (USB) controller, or other types of peripheral bridges or controllers. The bridge 424 may provide a data path between the processor 402 and peripheral devices. Other types of topologies may be utilized. Also, multiple buses may communicate with the ICH 420, e.g., through multiple bridges or controllers. Moreover, other peripherals in communication with the ICH 420 may include, in various embodiments of the invention, integrated drive electronics (IDE) or small computer system interface (SCSI) hard drive(s), USB port(s), a keyboard, a mouse, parallel port(s), serial port(s), floppy disk drive(s), digital output support (e.g., digital video interface (DVI)), or other devices.
The bus 422 may communicate with an audio device 426, one or more disk drive(s) 428, and one or more network interface device(s) 430 (which is in communication with the computer network 403). Other devices may communicate via the bus 422. Also, various components (such as the network interface device 430) may communicate with the GMCH 408 in some embodiments of the invention. In addition, the processor 402 and the GMCH 408 may be combined to form a single chip. Furthermore, the graphics accelerator 416 may be included within the GMCH 408 in other embodiments of the invention.
Furthermore, the computing system 400 may include volatile and/or nonvolatile memory (or storage). For example, nonvolatile memory may include one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), electrically EPROM (EEPROM), a disk drive (e.g., 428), a floppy disk, a compact disk ROM (CD-ROM), a digital versatile disk (DVD), flash memory, a magneto-optical disk, or other types of nonvolatile machine-readable media that are capable of storing electronic data (e.g., including instructions). In an embodiment, components of the system 400 may be arranged in a point-to-point (PtP) configuration. For example, processors, memory, and/or input/output devices may be interconnected by a number of point-to-point interfaces.
In various embodiments of the invention, the operations discussed herein, e.g., with reference to
Additionally, such computer-readable media may be downloaded as a computer program product, wherein the program may be transferred from a remote computer (e.g., a server) to a requesting computer (e.g., a client) by way of data signals embodied in a carrier wave or other propagation medium via a communication link (e.g., a bus, a modem, or a network connection). Accordingly, herein, a carrier wave shall be regarded as comprising a machine-readable medium.
Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, and/or characteristic described in connection with the embodiment may be included in at least an implementation. The appearances of the phrase “in one embodiment” in various places in the specification may or may not be all referring to the same embodiment.
Also, in the description and claims, the terms “coupled” and “connected,” along with their derivatives, may be used. In some embodiments of the invention, “connected” may be used to indicate that two or more elements are in direct physical or electrical contact with each other. “Coupled” may mean that two or more elements are in direct physical or electrical contact. However, “coupled” may also mean that two or more elements may not be in direct contact with each other, but may still cooperate or interact with each other.
Thus, although embodiments of the invention have been described in language specific to structural features and/or methodological acts, it is to be understood that claimed subject matter may not be limited to the specific features or acts described. Rather, the specific features and acts are disclosed as sample forms of implementing the claimed subject matter.