# Patent

## Title
Systems and methods of data storage management, such as dynamic data stream allocation

## Abstract

A system and method for choosing a stream to transfer data is described. In some cases, the system reviews running data storage operations and chooses a data stream based on the review. In some cases, the system chooses a stream based on the load of data to be transferred.

## Background
CROSS-REFERENCE TO RELATED APPLICATION(S)
This application claims priority to U.S. Provisional Patent Application No. 61/007,524, filed on Dec. 22, 2006, entitled SYSTEMS AND METHODS OF DATA STORAGE MANAGEMENT, SUCH AS DYNAMIC DATA STREAM ALLOCATION, which is incorporated by reference in its entirety.


This application is related to the following pending U.S. application, which is hereby incorporated herein by reference in its entirety:
U.S. patent application Ser. No. 10/990,357 filed on Nov. 15, 2004, entitled SYSTEM AND METHOD FOR COMBINING DATA STREAMS IN PIPELINED STORAGE OPERATIONS ON A STORAGE NETWORK.
BACKGROUND
Systems used to perform data storage operations of electronic data are growing in complexity. However, current systems may not be able to accommodate increased data storage demands or efficient and timely restore operations.
Often, these systems are required to store large amounts of data (e.g. all of a company's data files) during a time period known as a “storage window.” The storage window defines a duration and actual time period when the system may perform storage operations. For example, a storage window may be for twelve hours, between 6 PM and 6 AM (that is, twelve non-business hours).
Often, storage windows are rigid and unable to be modified. Therefore, when data storage systems attempt to store increasing data loads, they may need to do so without increasing the time in which they operate. Additionally, many systems perform daily stores, which may add further reliance on completing storage operations during allotted storage windows.
Additionally, or alternatively, current systems may attempt to store a large number of distinct jobs, or groups of data, chunks of data, and so on. The system may look at each job as a separate storage operation, which often leads to fragmentation on secondary storage devices (tapes, magnetic disks, and so on) that receive data stores as the storage devices develop small gaps of unused space between spaces containing data. In these cases, the system may inefficiently restore stored data because of the fragmentation that occurs during the data storage process.
The foregoing examples of some existing limitations are intended to be illustrative and not exclusive. Other limitations will become apparent to those of skill in the art upon a reading of the Detailed Description below. These and other problems exist with respect to data storage management systems.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1A is a block diagram illustrating an example of components used in data storage operations.
FIG. 1B is a block diagram illustrating an alternative example of components used in data storage operations.
FIG. 1C is a block diagram illustrating an alternative example of components used in data storage operations.
FIG. 2 is a block diagram illustrating an example of a data storage system.
FIG. 3 is a block diagram illustrating an example of components of a server used in data storage operations.
FIG. 4 is a block diagram illustrating an example of data stream allocation.
FIG. 5 is a flow diagram illustrating an example of a dynamic stream allocation routine.
FIG. 6 is a flow diagram illustrating an example of a routine for selecting a data stream to perform a storage operation.
FIG. 7 is a flow diagram illustrating an example of a routine for selecting storage resources in a data storage operation.
FIG. 8 is a flow diagram illustrating an example of a routine for performing a selective storage operation.



In the drawings, the same reference numbers and acronyms identify elements or acts with the same or similar functionality for ease of understanding and convenience. To easily identify the discussion of any particular element or act, the most significant digit or digits in a reference number refer to the Figure number in which that element is first introduced (e.g., element 420 is first introduced and discussed with respect to FIG. 4).
COPYRIGHT NOTICE
A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosures, as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all copyright rights whatsoever.
DETAILED DESCRIPTION
Examples of the technology are directed to systems and methods that dynamically improve, modify, and/or correct data flows in data storage operations. In some examples, the system dynamically selects a path to transfer data from a client server to a secondary storage device using information received during a data storage operation or using information associated with, related to, or otherwise from the data storage operation. During storage operations using multiple data transfer paths (or, data streams), the system may selectively choose a stream based on a number of characteristics, such as the load on a stream, the type of secondary storage device, the load on the secondary storage device, the nature of the data, the availability of components, information related to prior storage operations, and so on.
In some examples, the system dynamically modifies storage operations based on a storage window for the storage operations. For example, the system may monitor the progress of the data being stored (such as the amount of data stored and to be stored) versus the time remaining in the storage window for the storage operation. The system may then choose to modify storage operations when needed, such as delaying some storage operations, utilizing additional or alternative resources, and so on.
In some examples, the system may pre-allocate disk space before transferring data to a secondary storage device (or, in some cases, a primary storage device) using the methods described herein. For example, the system may pre-allocate disk space in order to reduce disk fragmentation when copying a number of jobs (data files, exchange files, SQL files, and other data) to a secondary storage device. The system may dynamically determine that a secondary storage device contains a certain amount of free disk space, and pre-allocate the disk space based on such information. Additionally, or alternatively, the system may refer to storage operation statistics (such as historical statistics, failure statistics, jobs statistics, and so on) when pre-allocating disk space.
Various examples of the system will now be described. The following description provides specific details for a thorough understanding and enabling description of these examples. One skilled in the art will understand, however, that the system may be practiced without many of these details. Additionally, some well-known structures or functions may not be shown or described in detail, so as to avoid unnecessarily obscuring the relevant description of the various examples.
The terminology used in the description presented below is intended to be interpreted in its broadest reasonable manner, even though it is being used in conjunction with a detailed description of certain specific examples of the system. Certain terms may even be emphasized below; however, any terminology intended to be interpreted in any restricted manner will be overtly and specifically defined as such in this Detailed Description section.
Suitable System
Referring to FIG. 1A, a block diagram illustrating components of a data stream is shown. The stream 110 may include a client 111, a media agent 112, and a secondary storage device 113. For example, in storage operations, the system may store, receive and/or prepare data to be stored, copied or backed up at a server or client 111. The system may then transfer the data to be stored to media agent 112, which may then refer to storage policies, schedule policies, and/retention policies (and other policies), and then choose a secondary storage device 113 for storage of the data. Secondary storage devices may be magnetic tapes, optical disks, USB and other similar media, disk and tape drives, and so on.
Referring to FIG. 1B, a block diagram illustrating components of multiple selectable data streams is shown. Client 111 and any one of multiple media agents 112 may form a stream 110. For example, one stream may contain client 111, media agent 121, and storage device 131, while a second stream may use media agent 125, storage device 133, and the same client 111. Additionally, media agents may contain additional subpaths 123, 124 that may increase the number of possible streams for client 111. Examples of subpaths 123, 124 include host bus adapter (HBA) cards, Fibre Channel cards, SCSI cards, and so on. Thus, the system is able to stream data from client 111 to multiple secondary storage devices 113 via multiple media agents 112 using multiple streams.
Referring to FIG. 1C, a block diagram illustrating components of alternative multiple selectable data streams is shown. In this example, the system may transfer data from multiple media agents 151, 152 to the same storage device 113. For example, one stream may be from client 141, to media agent 151, to secondary storage device 113, and a second stream may be from client 142, to media agent 152, to secondary storage device 113. Thus, the system is able to copy data to one secondary storage device 113 using multiple streams 110.
Additionally, the system may stream may be from one client to two media agents and to one storage device. Of course, the system may employ other configurations of stream components not shown in the Figures.
Referring to FIG. 2, a block diagram illustrating an example of a data storage system 200 is shown. Data storage systems may contain some or all of the following components, depending on the needs of the system.
For example, the data storage system 200 contains a storage manager 210, one or more clients 111, one or more media agents 112, and one or more storage devices 113. Storage manager 210 controls media agents 112, which may be responsible for transferring data to storage devices 113. Storage manager 210 includes a jobs agent 211, a management agent 212, a database 213, and/or an interface module 214. Storage manager 210 communicates with client(s) 111. One or more clients 111 may access data to be stored by the system from database 222 via a data agent 221. The system uses media agents 112, which contain databases 231, to transfer and store data into storage devices 113. Client databases 222 may contain data files and other information, while media agent databases may contain indices and other data structures that assist and implement the storage of data into secondary storage devices, for example.
The data storage system may include software and/or hardware components and modules used in data storage operations. The components may be storage resources that function to copy data during storage operations. The components may perform other storage operations (or storage management operations) other that operations used in data stores. For example, some resources may create, store, retrieve, and/or migrate primary or secondary data copies. The data copies may include snapshot copies, backup copies, HSM copies, archive copies, and so on. The resources may also perform storage management functions that may communicate information to higher level components, such as global management resources.
In some examples, the system performs storage operations based on storage policies, as mentioned above. For example, a storage policy includes a set of preferences or other criteria to be considered during storage operations. The storage policy may determine or define a storage location and/or set of preferences about how the system transfers data to the location and what processes the system performs on the data before, during, or after the data transfer. In some cases, a storage policy may define a logical bucket in which to transfer, store or copy data from a source to a data store, such as storage media. Storage policies may be stored in storage manager 210, or, may be stored in other resources, such as a global manager, a media agent, and so on. Further details regarding storage management and resources for storage management will now be discussed.
Referring to FIG. 3, a block diagram illustrating an example of components of a server used in data storage operations is shown. A server, such as storage manager 210, may communicate with clients 111 to determine data to be copied to primary or secondary storage. As described above, the storage manager 210 may contain a jobs agent 211, a management agent 212, a database 213, and/or an interface module. Jobs agent 211 may manage and control the scheduling of jobs (such as copying data files) from clients 111 to media agents 112. Management agent 212 may control the overall functionality and processes of the data storage system, or may communicate with global managers. Database 213 or another data structure may store storage policies, schedule policies, retention policies, or other information, such as historical storage statistics, storage trend statistics, and so on. Interface module 215 may interact with a user interface, enabling the system to present information to administrators and receive feedback or other input from the administrators or with other components of the system (such as via APIs).
Dynamic Stream Management
The storage manager 310 may also contain a stream agent (or a module or program code) that communicates with the other agents, components and/or the system to identify and/or create data streams to be used during data storage operations. For example, stream agent 310 may contact the management agent 212 to retrieve load information for running data streams, and instruct the jobs agent 211 to send pending or future storage jobs to streams based on the retrieved load information. Further details with respect to the stream agent 310 will be discussed below. The storage manager may also contain other agents 320 used in dynamic management of the data storage system, such as pre-allocation agents, to be discussed herein.
Referring to FIG. 4, a block diagram illustrating an example of data stream allocation is shown. In this example, the system allocates a stream based on a set of pre-determined or dynamically changing selection criteria. For example, the system may select any stream under a pre-determined threshold of usage (such as under a threshold amount of data queued to use the stream during transfer). In another example, the system, may select a stream through which to transfer data having the determined fastest rate of transfer or predicted fastest rate of transfer.
For example, at time A, designated as subdiagram 410, stream 440 contains Job A with 600 MB of data to be copied to tape 445, and stream 450 contains Job B with 200 MB of data to be copied to tape 455. The system receives Job C, a 600 MB job, and, referring to a related schedule policy, looks to choose a stream to receive and queue the job at time A.
Reviewing the streams involved in data storage operations at time A, the system determines stream 450 has a smaller load allocated to it (e.g., less data), and sends Job C to stream 450. Therefore, the system dynamically reviews a data storage operation in selecting a data path (stream) for copying data to secondary storage devices.
At a later time B, designated as subdiagram 420, the system receives another job, Job D, and again dynamically reviews currently running data storage operations (that is, the streams in use by the system) in order to allocate the job to the stream with the least amount of data in a queue servicing the stream. Between time A and time B, both streams have copied 400 MB of data to storage devices 445 and 455. One of ordinary skill in the art will realize that the data streams will often not copy data at the same rate.
At time B, stream 440 is allocated 200 MB of data (400 MB of Job A have been transferred to secondary storage device 445, leaving 200 MB remaining to be transferred), and stream 450 is allocated 400 MB of data (all 200 MB of Job A have been transferred to secondary storage device 455, and 200 MB out of 600 MB of Job C have also been transferred). Therefore, the system determines that stream 450 has more data to transfer, and allocates or queues the newly received Job D to stream 440, the stream with less data to transfer, as stream 440 is allocated 200 MB less than stream 450.
In this example, should stream 440 transfer data at a slower rate than stream 450 (such as at 1/10th the speed), the system may determine that stream 440 would have more data allocated to be transferred, and choose stream 450 instead.
At a later time C, designated as subdiagram 430, the system receives another job, Job E, and again dynamically reviews the running data storage operations in order to allocate the job to the lightest loaded stream. Between time B and time C, both streams have copied 300 MB of data to storage devices 445 and 455.
At time C, stream 440 no data is queued (Job A and Job D have been transferred to secondary storage device 445), and stream 450 is queued 100 MB of data (all of Job B and 300 MB of Job C have been transferred to secondary storage device 455). Even though stream 440 was allocated the last job (Job D), the system also allocates newly received Job E to stream 440 because less data is queued at stream 440. Therefore, in this example, the system does not select streams or allocate data to streams based on order or the number of jobs previously sent to the stream. Instead, the system chooses streams based on a dynamic review of the loads running on the streams.
Alternatively, or additionally, the system may choose a stream or streams based on or in addition to other dynamic measures of running data storage operations. The system may look at the data load of running streams (as discussed above) and a data transfer rate for each stream. In the cases where streams are not transferring data at equal rates (e.g., one is slower than another), the system may choose a stream based on the transfer rate, or on both the load and the transfer rate.
For example, a stream M may have allocated 100 MB of data to transfer to a storage device M, and a stream N may have allocated 50 MB of data to transfer to storage device N (or, another storage device), and stream M is transferring data at 10 times the speed of stream N. When the system receives a new job, the system may allocate the new job to stream M because the system expects or predicts stream M to complete its current load transfer before stream N completes its current load transfer. In this example, therefore, the system may choose a data stream for a new job transfer based on determining a stream that will likely be the first available stream for a data transfer.
The system may look to any number of different combinations of dynamic views of data storage operations in choosing data paths for data transfers, as noted herein. For example, the system may exchange information with monitoring or feedback systems that know and regulate the transfer rates of streams and their components, and determine load information based on this exchange.
Alternatively, or additionally, the system may look at a combination of queued jobs for a stream and available storage on a secondary storage device for the stream. If one stream has a few jobs yet to transfer and there is little space on the secondary storage device (and thus, the system may need to replace the secondary storage device), the system may choose another stream to send the next job. For example, the system may need to change a tape or other storage device due to component failures or capacity issues. The system may factor in the time needed to change or replace storage devices, and allocate jobs to other streams until a device has been replaced and the stream (or streams) associated with the device is again capable of data transfers.
Also, the system may switch jobs from one queue to another. For example, the system may send three jobs to a queue that feeds a stream X, and send five jobs to a stream that feeds a stream Y, using information such as the load information described herein. However, while the jobs remain in the respective queues, the system loads or transfer rates may change. The system, therefore, may reassign some or all of the queued jobs to other queues or available streams, in order to compensate for system changes. For example, after a certain time, stream X may have completed one jobs transfer (having two remaining jobs to transfer) and stream Y may have completed all five job transfers. As described herein, a number of different factors may contribute to the varied transfer speeds, including job size, component speed, storage device reliability, and so on. In this example, the system, by monitoring the currently running transfers, may notice stream Y is now idle and move one of the two remaining jobs waiting at stream X to stream Y to speed up the overall transfer of jobs by the system.
Other factors may contribute to the selection of a stream by the system. For example, the system may determine or calculate future or predicted storage jobs for a threshold time period and allocate streams based on a current rate of transfer and the calculation of future jobs in the time period. Additionally, the system may determine that one or only a few streams are running to a certain storage device, and keep the one or few streams clear of jobs except for jobs required to be stored in the certain storage device.
Furthermore, the system may prioritize jobs and when or where they are transferred, and allocate jobs to streams based on this prioritization. For example, the system may prioritize jobs based on set preferences, the content, type or nature of the data, user information or other metadata, the state of protection of the data (e.g., the system may allocate unprotected data to efficient and faster streams), and so on.
Referring to FIG. 5, a flow diagram illustrating a routine 500 as an example of dynamic stream allocation is shown. In step 510, the system may receive a job (of data) to be copied or transferred to a secondary storage device, such as a magnetic tape in a media library. The system, in step 520, triggered by the received job, reviews running data storage operations (other jobs of data being transferred to secondary storage devices) being performed on data paths, or data streams. In the review, the system may retrieve information related to data loads, transfer rates, and so on.
The system may retrieve or receive such information in a number of ways. For example, the system may consult or utilize management agents 212 or other agents running on a host server. The system may look to media agents 112 and, for example, sample or retrieve information related to the amount of data transferred by the media agent 112. The system may look to header information in or for jobs. For example, the system may receive a job into a buffer, review information contained in a header at a beginning of a job, and feed the jobs from the buffer to an appropriate stream based on the information.
In step 530, the system selects a stream to use in transferring the received job to secondary storage. The system may select a stream based on some or all of the information retrieved in the dynamic review of step 520. The system, in step 540, transfers the job to secondary storage via the stream selected in step 530. In step 550, the system determines if there are more jobs to be transferred. If there are more jobs to be transferred, routine 500 proceeds back to step 520, and the system proceeds as described above. If there are no more jobs to be transferred, routine 500 ends.
Referring to FIG. 6, a flow diagram illustrating a routine 600 as an example of selecting a data stream to perform a storage operation is shown. In step 610, the system identifies one or more jobs (such as groups of data files) to be backed up via data streams to a storage device. In step 620, the system reviews running job transfers, or loads, on available data streams. In step 630, the system determines the stream with the minimum load of data to be transferred. Optionally, the system, in step 640, may also review other dynamic factors or selection or allocation criteria, such as stream transfer rates, stream error rates, stream component reliability, and so on. In step 650, the system selects the stream based on one or more of these factors with the minimum allocated load (or, selects a stream based on the load and other factors as determined in optional step 640). In step 660, the system writes the job or jobs to secondary storage via the selected stream. In step 670, the system checks to see if more jobs are present in a job queue (that is, if there are more jobs to be transferred to secondary storage). If there are more jobs present, routine 600 proceeds back to step 620, else routine 600 ends.
The system may also allocate streams to balance the impact of physical use on drives or the secondary storage devices. For example, the system may factor in the number of uses of tape drives (and shorter lived components, such as tape heads), and allocate future jobs to streams associated with infrequently used drives. In this example, tape drives (or components thereof of the system may age at similar rates, reducing the risk of overworking some resources in lieu of others. The system may know usage and/or failure rates of its components, and use this information in stream allocation, thereby balancing the use and life of system resources.
Using the Data Storage Window to Determine Storage Operations
In some cases, the system may look to a data storage window during a data storage operation. As discussed above, a data storage window is a pre-determined period of time when the system may perform data stores. Often, this window is rigid. Systems attempt to complete all required data transfers within the window. Therefore, a dynamic review of the storage window during data storage operations may assist storage systems in completing storage tasks within an allotted window of time.
Referring to FIG. 7, a flow diagram illustrating a routine 700 as an example of selecting storage resources in a data storage operation begins in step 710, where the system may compare the storage window with an estimated time remaining to complete data storage operations. For example, the system may estimate the time required to complete all pending job transfers, and compare the estimated time with the time allotted to run data transfers. In step 720, if the time allotted is larger than the time estimate, routine 700 ends, else routine 700 proceeds to step 730. In step 730, the system performs corrective operations. Examples of corrective operations may include the dynamic stream management discussed above, using more resources, selecting a subset of the remaining jobs to store, sending remaining jobs to an alternative or “standby” data storage system, and so on. After performing corrective actions, routine 700 proceeds back to step 720, and compares the new estimated time against the time allotment.
In some cases, the system may review, monitor, or track default pathways (such as streams) and modify storage operations if there is not enough time in the storage window to complete all data transfers using the default pathways. For example, the system may select high speed pathways instead of default pathways for data of a certain type and nature (such as high priority or unprotected data).
The system may perform routine 700 as infrequently or as often as necessary, depending on the needs of the system or the progress of data storage operations. The system may perform routine 700 to glean information about data storage operations, to be used in performing corrections at a later time. The system may determine patterns, statistics, and/or historical information from routine 700. For example, in a 12 hour time allotted storage window, the system may run routine 700 twelve times, once per hour. Comparing the twelve iterations, the system may determine a pattern of high resource use, low resource use, and so on, and modify future data storage operations accordingly.
In some cases, the system may be able to delay the transfer of some types of data in order to store other types of data within the storage window. Referring to FIG. 8, a flow diagram illustrating an example of performing a selective storage operation is shown. In step 810, the system may compare the storage window with an estimated time remaining to complete data storage operations. For example, the system may estimate the time required to complete all pending job transfers, and compare the estimated time with the time allotted to run data stores. In step 820, if the time allotted is larger than the time estimate, routine 800 ends, else routine 800 proceeds to step 830. In step 830, the system may select certain jobs to store, and delay other jobs. For example, the system may be able to store some types of data outside of the storage window. The system selects these jobs and moves them out of the job queue, to a delayed jobs queue.
After selecting “priority” jobs, routine 800 proceeds back to step 820, and compares the new estimated time against the time allotment. The system transfers all “priority” jobs, and only goes to the delayed job queue after the main job queue is empty. The system may then transfer the delayed jobs during the remaining time of the storage window, may transfer the jobs outside of the job window, or may be able to send the jobs to the next scheduled data store or data transfer, and transfer the jobs during that operation.
Assigning some jobs as priority may be arbitrary or contingent on the needs of the system. The system may assign priorities to types of files or jobs within a storage policy 210. The system may enable users to determine what types of jobs are priority jobs. The system may maintain some jobs as always being priority, or may change these preferences on a case by case basis. For example, a user may set a policy to flag all financial data as “priority,” and set a policy to never flag email data (or email from certain user groups) as “priority.” However, in some case, the reverse may be more desirable. In some cases, the system may update or modify metadata, data classification or other preferences, and may assign priorities to characteristics of data as well as to data.
CONCLUSION
The system may perform some or all of the above examples in combination with one another. For example, the system may use aspects of dynamic stream management to choose a stream to transfer a data store job, and may transfer that job within pre-allocated disk space for multiple jobs. The system may trigger dynamic stream management processes based on a review of the storage window.
The system may perform pre-allocation when the storage window is short and an otherwise defragmentation of disks may cause the data storage operations to exceed the storage window. The system may perform other combinations to modify and improve data storage operations as needed.
Systems and modules described herein may comprise software, firmware, hardware, or any combination(s) of software, firmware, or hardware suitable for the purposes described herein. Software and other modules may reside on servers, workstations, personal computers, computerized tablets, PDAs, and other devices suitable for the purposes described herein. In other words, the software and other modules described herein may be executed by a general-purpose computer, e.g., a server computer, wireless device or personal computer. Those skilled in the relevant art will appreciate that aspects of the system can be practiced with other communications, data processing, or computer system configurations, including: Internet appliances, hand-held devices (including personal digital assistants (PDAs)), wearable computers, all manner of cellular or mobile phones, multi-processor systems, microprocessor-based or programmable consumer electronics, set-top boxes, network PCs, mini-computers, mainframe computers, and the like. Indeed, the terms “computer,” “server,” “host,” “host system,” and the like are generally used interchangeably herein, and refer to any of the above devices and systems, as well as any data processor. Furthermore, aspects of the system can be embodied in a special purpose computer or data processor that is specifically programmed, configured, or constructed to perform one or more of the computer-executable instructions explained in detail herein.
Software and other modules may be accessible via local memory, via a network, via a browser or other application in an ASP context, or via other means suitable for the purposes described herein. Examples of the technology can also be practiced in distributed computing environments where tasks or modules are performed by remote processing devices, which are linked through a communications network, such as a Local Area Network (LAN), Wide Area Network (WAN), or the Internet. In a distributed computing environment, program modules may be located in both local and remote memory storage devices. Data structures described herein may comprise computer files, variables, programming arrays, programming structures, or any electronic information storage schemes or methods, or any combinations thereof, suitable for the purposes described herein. User interface elements described herein may comprise elements from graphical user interfaces, command line interfaces, and other interfaces suitable for the purposes described herein. Screenshots presented and described herein can be displayed differently as known in the art to input, access, change, manipulate, modify, alter, and work with information.
Examples of the technology may be stored or distributed on computer-readable media, including magnetically or optically readable computer discs, hard-wired or preprogrammed chips (e.g., EEPROM semiconductor chips), nanotechnology memory, biological memory, or other data storage media. Indeed, computer implemented instructions, data structures, screen displays, and other data under aspects of the system may be distributed over the Internet or over other networks (including wireless networks), on a propagated signal on a propagation medium (e.g., an electromagnetic wave(s), a sound wave, etc.) over a period of time, or they may be provided on any analog or digital network (packet switched, circuit switched, or other scheme).
Unless the context clearly requires otherwise, throughout the description and the claims, the words “comprise,” “comprising,” and the like are to be construed in an inclusive sense, as opposed to an exclusive or exhaustive sense; that is to say, in the sense of “including, but not limited to.” As used herein, the terms “connected,” “coupled,” or any variant thereof, means any connection or coupling, either direct or indirect, between two or more elements; the coupling of connection between the elements can be physical, logical, or a combination thereof. Additionally, the words “herein,” “above,” “below,” and words of similar import, when used in this application, shall refer to this application as a whole and not to any particular portions of this application. Where the context permits, words in the above Detailed Description using the singular or plural number may also include the plural or singular number respectively. The word “or,” in reference to a list of two or more items, covers all of the following interpretations of the word: any of the items in the list, all of the items in the list, and any combination of the items in the list.
While certain aspects of the technology are presented below in certain claim forms, the inventors contemplate the various aspects of the technology in any number of claim forms. For example, while only one aspect of the technology is recited as a means-plus-function claim under 35 U.S.C. sec. 112, other aspects may likewise be embodied as a means-plus-function claim. Accordingly, the inventors reserve the right to add additional claims after filing the application to pursue such additional claim forms for other aspects of the technology.
The above detailed description of examples of the technology is not intended to be exhaustive or to limit the system to the precise form disclosed above. While specific embodiments of, and examples for, the system are described above for illustrative purposes, various equivalent modifications are possible within the scope of the system, as those skilled in the relevant art will recognize. For example, while processes or blocks are presented in a given order, alternative embodiments may perform routines having steps, or employ systems having blocks, in a different order, and some processes or blocks may be deleted, moved, added, subdivided, combined, and/or modified to provide alternative or subcombinations. Each of these processes or blocks may be implemented in a variety of different ways. Also, while processes or blocks are at times shown as being performed in series, these processes or blocks may instead be performed in parallel, or may be performed at different times.
The teachings of the technology provided herein can be applied to other systems, not necessarily the system described above. The elements and acts of the various embodiments described above can be combined to provide further examples. Any patents and applications and other references noted above, including any that may be listed in accompanying filing papers, are incorporated herein by reference. Aspects of the system can be modified, if necessary, to employ the systems, functions, and concepts of the various references described above to provide yet further examples of the technology.
These and other changes can be made to the system in light of the above Detailed Description. While the above description describes certain embodiments of the system, and describes the best mode contemplated, no matter how detailed the above appears in text, the system can be practiced in many ways. Details of the system and method for classifying and transferring information may vary considerably in its implementation details, while still being encompassed by the system disclosed herein. As noted above, particular terminology used when describing certain features or aspects of the system should not be taken to imply that the terminology is being redefined herein to be restricted to any specific characteristics, features, or aspects of the system with which that terminology is associated. In general, the terms used in the following claims should not be construed to limit the system to the specific embodiments disclosed in the specification, unless the above Detailed Description section explicitly defines such terms. Accordingly, the actual scope of the system encompasses not only the disclosed embodiments, but also all equivalent ways of practicing or implementing the technology under the claims. While certain aspects of the technology are presented below in certain claim forms, the inventors contemplate the various aspects of the technology in any number of claim forms. For example, while only one aspect of the technology is recited as embodied in a computer-readable medium, other aspects may likewise be embodied in a computer-readable medium. Accordingly, the inventors reserve the right to add additional claims after filing the application to pursue such additional claim forms for other aspects of the technology.
From the foregoing, it will be appreciated that specific embodiments of the system have been described herein for purposes of illustration, but that various modifications may be made without deviating from the spirit and scope of the system. Accordingly, the system is not limited except as by the appended claims.

## Claims

1. A method of transferring data to one or more storage media, the method comprising:
identifying data to be transferred to the one or more storage media;
receiving data transfer information associated with two or more data streams in a process of transferring the identified data to the one or more storage media, wherein the data transfer information comprises an amount of data currently being transferred by each of the two or more data streams and a data transfer rate of each of the two or more data streams;
selecting from the two or more data streams a data stream based at least in part on the received data transfer information;
pre-allocating space on the one or more storage media associated with the selected data stream;
storing, at a first time, the identified data to be transferred in a first queue associated with the selected data stream;
reassigning, at a second time later than the first time, the identified data to be transferred from the first queue to a second queue associated with a data stream other than the selected data stream, wherein the reassigning compensates for changing amounts of data being transferred by each of the two or more data streams, and the data transfer rates of each of the two or more data streams; and
transferring the identified data to be transferred to the pre-allocated space.

2. The method of claim 1, wherein receiving data transfer information comprises:
receiving header information for the transferring data on the two or more data streams; and
determining the amount of data transferring based on the received header information.

3. The method of claim 1, wherein the selecting comprises selecting the data stream with a comparatively lesser amount of data being transferred.

4. The method of claim 1, wherein the selecting is based at least in part on information related to available space on the one or more storage media.

5. The method of claim 1, wherein the data transfer information comprises a predicted amount of identified data to be transferred by each of the two or more data streams.

6. The method of claim 1, further comprising:
choosing data paths for transferring the identified data.

7. The method of claim 6, wherein the choosing is performed by:
exchanging information with a monitoring system to determine load information.

8. The method of claim 1, further comprising:
identifying the one or more storage media based on a storage policy that defines how storage operations are performed.

9. The method of claim 1, further comprising:
receiving storage device information; and
pre-allocating data based at least in part on the received storage device information.

10. The method of claim 1, wherein the data to be transferred includes snapshot copies of data on a primary storage device.

11. The method of claim 1 wherein data transfer rates of the two or more data streams are different from each other.

12. A system, at least partially implemented in hardware, of dynamically allocating a data stream to send data to one or more storage devices, the system comprising:
a first storage subsystem, wherein the first storage subsystem transfers data to first storage media;
a second storage subsystem, wherein the second storage subsystem transfers data to second storage media; and
a dynamic allocation component, wherein the dynamic allocation component:
receives load information associated with the first storage subsystem and the second storage subsystem, wherein the load information comprises an amount of data currently being transferred by each of the first storage subsystem and the second storage subsystem and a data transfer rate of each of the first storage subsystem and the second storage subsystem;
selects a storage subsystem based at least in part on load information associated with the first storage subsystem and the second storage subsystem;
pre-allocates a space on the storage media associated with the selected storage subsystem; and
stores, at a first time, the data in a first queue;
reassigns, at a second time later than the first time, the data from the first queue to a second queue, wherein the reassignment is performed to compensate for changing amounts of data being transferred by each of the first storage subsystem and the second storage subsystem, and the data transfer rates of each of the first storage subsystem and the second storage subsystem; and
transfers the data to the pre-allocated space.

13. The system of claim 12, wherein the dynamic allocation component is contained within the first storage subsystem or the second storage subsystem.

14. The system of claim 12, wherein the dynamic allocation component is contained with a server that communicates with the storage subsystems.

15. The system of claim 12, wherein the dynamic allocation component receives load information from a monitoring component.

16. The system of claim 12, wherein the dynamic allocation component receives storage device information from the first storage subsystem and the second storage subsystem and allocates the data based at least in part on the received storage device information.

17. The system of claim 12, wherein the dynamic allocation component communicates with the storage subsystems via a network.

18. The system of claim 12, wherein the first storage media and the second storage media are the same storage media.

19. The system of claim 12, wherein the first storage subsystem and the second storage subsystem send data to the same storage media.

20. A system for transferring data to one or more storage media, comprising:
means for receiving the data to be transferred to the one or more storage media;
means, coupled to the means for receiving, for analyzing load information from two or more data streams in transferring the data to the one or more storage media, wherein the load information comprises an amount of data currently being transferred by each of the two or more data streams and a data transfer rate of each of the two or more data streams;
means, coupled to the means for analyzing, for selecting from the two or more data streams a data stream based at least in part on the received load information;
means for pre-allocating space on the one or more storage media associated with the selected data stream;
means for storing, at a first time, the data to be transferred in a first queue associated with the selected data stream;
means for reassigning, at a second time later than the first time, the data to be transferred from the first queue to a second queue associated with a data stream other than the selected data stream, wherein the reassigning compensates for changing amounts of data being transferred by each of the two or more data streams, and the data transfer rates of each of the two or more data streams; and
means for transferring the data to be transferred to the pre-allocated space.

21. The system of claim 20, wherein the means for selecting from the two or more data streams selects a data stream allocated less data than at least one other data stream.

22. A computer program product comprising a computer-readable, non-transitory medium having code stored thereon, the code, when executed, causing a processor to implement a method of transferring data to one or more storage media, the method comprising:
identifying data to be transferred to the one or more storage media;
receiving data transfer information associated with two or more data streams in a process of transferring the identified data to the one or more storage media, wherein the data transfer information comprises an amount of data currently being transferred by each of the two or more data streams and a data transfer rate of each of the two or more data streams;
selecting from the two or more data streams a data stream based at least in part on the received data transfer information;
pre-allocating space on the one or more storage media associated with the selected stream;
storing, at a first time, the identified data to be transferred in a first queue associated with the selected data stream;
reassigning, at a second time later than the first time, the identified data to be transferred from the first queue to a second queue associated with a data stream other than the selected data stream, wherein the reassigning compensates for changing amounts of data being transferred by each of the two or more data streams, and the data transfer rates of each of the two or more data streams; and
transferring the identified data to be transferred to the pre-allocated space.

23. The computer program product of claim 22, wherein receiving data transfer information comprises:
receiving header information for the transferring data on the two or more data streams; and
determining the amount of data being transferred based on the received header information.

24. The computer program product of claim 22, wherein the selecting comprises selecting the data stream with a comparatively lesser amount of data being transferred.

25. The computer program product of claim 22, wherein the selecting is based at least in part on information related to available space on the one or more storage media.