The present application claims priority under 35 U.S.C. § 119 to Japanese Patent Application No. 2021-138396 filed on Aug. 26, 2021. The above application is hereby expressly incorporated by reference, in its entirety, into the present application.
The present disclosure relates to an information processing apparatus, an information processing method, and an information processing program.
It is considered to multiplex and store data by recording the same data in a plurality of storage pools each of which includes a plurality of magnetic tapes. In addition, a plurality of generations of magnetic tapes may coexist in the plurality of magnetic tapes included in the storage pool. Further, in a storage system using magnetic tapes, for the purpose of storing data for a long term, increasing a capacity per magnetic tape, and improving a transmission speed, processing of migrating data recorded in an old-generation magnetic tape to a new-generation magnetic tape (hereinafter, referred to as “inter-generation migration processing) is performed.
In the inter-generation migration processing, since a data-migration-source magnetic tape is an old-generation magnetic tape, there is room for improvement from a viewpoint of shortening a time required for data migration. The technique described in JP2008-250667A does not consider a time required for data migration.
An object of the present disclosure is to provide an information processing apparatus, an information processing method, and an information processing program capable of shortening a time required for data migration.
According to an aspect of the present disclosure, there is provided an information processing apparatus including: at least one processor, in which the processor is configured to perform, in a case where the same data is recorded in each of a plurality of storage pools each of which includes a plurality of generations of magnetic tapes and each for which a priority representing a degree to which a relatively-new-generation magnetic tape is used with priority is set, control of recording data recorded in a relatively-old-generation magnetic tape of a storage pool of which the priority is relatively high, in a relatively-old-generation magnetic tape of a storage pool of which the priority is relatively low.
In the information processing apparatus according to the aspect of the present disclosure, the processor may be configured to perform, in a case of performing control of recording data in the storage pool in descending order of the priority and in a case where data is recorded in a relatively-new-generation magnetic tape of the storage pool of which the priority is relatively high, control of recording data in the storage pool of which the priority is relatively low without designating a magnetic tape as a data recording destination, and perform, in a case where data is recorded in a relatively-old-generation magnetic tape of the storage pool of which the priority is relatively high, control of designating a relatively-old-generation magnetic tape of the storage pool of which the priority is relatively low and recording data in the designated relatively-old-generation magnetic tape of the storage pool of which the priority is relatively low.
Further, in the information processing apparatus according to the aspect of the present disclosure, the priority may be higher as the number of relatively-new-generation magnetic tapes included in the storage pool is larger or as a total value of free capacities of relatively-new-generation magnetic tapes included in the storage pool is larger.
Further, in the information processing apparatus according to the aspect of the present disclosure, the processor may be configured to migrate data in order from the storage pool of which the priority is relatively low in a case of migrating data recorded in a relatively-old-generation magnetic tape to a relatively-new-generation magnetic tape in each of the plurality of storage pools, and use data read from a relatively-old-generation magnetic tape of the storage pool of which the priority is relatively low, for data migration in the storage pool of which the priority is relatively high.
Further, according to another aspect of the present disclosure, there is provided an information processing method executed by a processor of an information processing apparatus, the method including: performing, in a case where the same data is recorded in each of a plurality of storage pools each of which includes a plurality of generations of magnetic tapes and each for which a priority representing a degree to which a relatively-new-generation magnetic tape is used with priority is set, control of recording data recorded in a relatively-old-generation magnetic tape of a storage pool of which the priority is relatively high, in a relatively-old-generation magnetic tape of a storage pool of which the priority is relatively low.
Further, according to still another aspect of the present disclosure, there is provided an information processing program for causing a processor of an information processing apparatus to execute a process including: performing, in a case where the same data is recorded in each of a plurality of storage pools each of which includes a plurality of generations of magnetic tapes and each for which a priority representing a degree to which a relatively-new-generation magnetic tape is used with priority is set, control of recording data recorded in a relatively-old-generation magnetic tape of a storage pool of which the priority is relatively high, in a relatively-old-generation magnetic tape of a storage pool of which the priority is relatively low.
According to the present disclosure, it is possible to shorten a time required for data migration.
Hereinafter, an example of an embodiment for performing a technique according to the present disclosure will be described in detail with reference to the drawings.
First, a configuration of an information processing system 10 according to the present embodiment will be described with reference to
The tape library 14 includes a plurality of slots (not illustrated) and a plurality of tape drives 18, and each slot includes a magnetic tape T as an example of a recording medium. Each tape drive 18 is connected to the information processing apparatus 12. The tape drive 18 writes or reads data to or from the magnetic tape T under a control of the information processing apparatus 12. Examples of the magnetic tape T include a linear tape-open (LTO) tape.
In a case where the information processing apparatus 12 writes or reads data to or from the magnetic tape T, the magnetic tape T as a write target or a read target is loaded from the slot into a predetermined tape drive 18. In a case where data is written or read to and from the magnetic tape T loaded into the tape drive 18, the magnetic tape T is unloaded from the tape drive 18 into the slot in which the magnetic tape T is originally included.
Next, a hardware configuration of the information processing apparatus 12 according to the present embodiment will be described with reference to
The storage unit 22 is realized by a hard disk drive (HDD), a solid state drive (SSD), a flash memory, or the like. An information processing program 30 is stored in the storage unit 22 as a storage medium. The CPU 20 reads the information processing program 30 from the storage unit 22, develops the read information processing program 30 in the memory 21, and executes the developed information processing program 30.
Further, the storage unit 22 stores a tape management table 32 for managing the magnetic tape T.
Further, the tape management table 32 also includes information representing a generation of a standard of the magnetic tape T and a pool ID as an example of identification information of a storage pool to which the magnetic tape T belongs. The generation of the standard of the magnetic tape T is, for example, LTO7, LTO8, or the like. In the following, the generation of the standard of the magnetic tape T is simply referred to as a “generation”. In the tape library 14, a plurality of generations (two generations in the present embodiment) of magnetic tapes Ts are included. In the following, in the two generations, a relatively-old generation is referred to as an “old generation”, and a relatively-new generation is referred to as a “new generation”.
The tape library 14 according to the present embodiment includes a plurality of generations (two generations in the present embodiment) of the tape drives 18 in accordance with the generations of the magnetic tapes Ts. The old-generation tape drive 18 can read and write data only from and to the old-generation magnetic tape T among the two generations of magnetic tapes Ts. The new-generation tape drive 18 can read and write data from and to each of the two generations of magnetic tapes Ts.
Further, in the information processing system 10 according to the present embodiment, data is recorded with redundancy. Specifically, as an example, as illustrated in
The same data is multiplexed and recorded in the three storage pools SPs. That is, a multiplicity is 3. The multiplicity is not limited to 3, may be 2, and may be 4 or more. Further, each of the three storage pools SPs includes a plurality of generations of magnetic tapes Ts. Normally, data is read from the magnetic tape T included in the storage pool SP1. In a case where data cannot be read from the storage pool SP1, data is read from the magnetic tape T included in the storage pool SP2. In a case where data cannot be read from both the storage pool SP1 and the storage pool SP2, data is read from the magnetic tape T included in the storage pool SP3.
As an example, as illustrated in
In a case where the information processing apparatus 12 performs control of recording data in the storage pool SP, the information processing apparatus 12 may perform control of recording data in the storage pool SP without designating the magnetic tape T as a data recording destination. For example, in a case where the control is performed, the magnetic tapes Ts in the storage pool SP are used as a data recording destination in a predetermined order by a software program that manages the storage pools SPs. In this case, for example, the magnetic tapes Ts are used in order from the magnetic tape T having a largest free capacity. Further, for example, the magnetic tapes Ts may be used in order from the magnetic tape T having a smallest number at the end of the tape ID, and may be used in order from the magnetic tape T having a low use frequency.
Next, a functional configuration of the information processing apparatus 12 in a case of recording data in the storage pool SP configured as described above and in a case of migrating data recorded in the storage pool SP will be described with reference to
The reception unit 40 receives data to be recorded, the data being transmitted from a user terminal (not illustrated). Further, the reception unit 40 receives a data migration instruction. The data migration instruction may be transmitted from the user terminal or may be input via the input device 24.
The controller 42 performs control of recording data to be recorded in each of the three storage pools SPs, the data being received by the reception unit 40. In the control, the controller 42 performs control of recording data, which is recorded in an old-generation magnetic tape T of the storage pool SP of which the priority P is relatively high, in an old-generation magnetic tape T of the storage pool SP of which the priority P is relatively low. Specific examples of the control will be described with reference to
The controller 42 performs control of recording data in the storage pool SP in order of higher priority P. In a case where the priority P which is set for the storage pool SP is the example illustrated in
As illustrated in
On the other hand, as illustrated in
Similarly, in the storage pool SP3, control is switched depending on whether data is recorded in the new-generation magnetic tape T or the old-generation magnetic tape T of the storage pool SP2.
By the above control, data recorded in the old-generation magnetic tape T of the storage pool SP of which the priority P is relatively high is recorded in the old-generation magnetic tape T of the storage pool SP of which the priority P is lower than the priority of the storage pool SP. On the other hand, data recorded in the new-generation magnetic tape T of the storage pool SP of which the priority P is relatively high is recorded in any one of the old-generation magnetic tape T and the new-generation magnetic tape T of the storage pool SP of which the priority P is lower than the priority of the storage pool SP. In this case, whether data is recorded in the old-generation magnetic tape T or the new-generation magnetic tape T is determined by the software program that manages the storage pools SPs.
As illustrated in
Further, in a case where the reception unit 40 receives a data migration instruction, the controller 42 migrates data recorded in the old-generation magnetic tape T to the new-generation magnetic tape T in each of the plurality of storage pools SPs. For example, a magnetic tape T that is used for a certain period or longer, a magnetic tape T on which reading and writing are performed a certain number of times or more, a magnetic tape T of which an error rate in reading and writing is equal to or higher than a certain value, or the like is selected as a data-migration-source magnetic tape T. Further, for example, the magnetic tape T in which a ratio of pieces of data to be physically deleted (hereinafter, referred to as “data to be deleted”) is equal to or higher than a certain value or the magnetic tape T in which a total value of sizes of pieces of data to be deleted is equal to or larger than a certain value is selected as a data-migration-source magnetic tape T. Examples of data to be deleted include data of which a storage period is expired, data which is logically deleted, and the like.
When performing control of migrating data recorded in the old-generation magnetic tape T to the new-generation magnetic tape T, the controller 42 migrates the data in order from the storage pool SP of which the priority P is lowest. At this time, the controller 42 also uses data which is read from the old-generation magnetic tape T of the storage pool SP of which the priority P is relatively low, for data migration in the storage pool SP of which the priority P is relatively high. In data migration, in a case where data to be deleted is included in the data-migration-source magnetic tape T, the controller 42 may not migrate the data to be deleted. A specific example of data migration will be described with reference to
As illustrated in
As described above, all pieces of data recorded in the old-generation magnetic tape T of the storage pool SP of which the priority P is relatively high are recorded in the old-generation magnetic tape T of the storage pool SP of which the priority P is lower than the priority of the storage pool SP. That is, as illustrated in
Therefore, as illustrated by a broken-line arrow of
Next, an operation of the information processing apparatus 12 according to the present embodiment will be described with reference to
In step S10 of
In step S20 of
The controller 42 may perform control of initializing the data-migration-source magnetic tape T of each storage pool SP after the data migration processing is completed. In this case, the initialized magnetic tape T can be reused. Further, the controller 42 may perform control of unloading the data-migration-source magnetic tape T of each storage pool SP from the tape library 14 after the data migration processing is completed. In this case, a new magnetic tape T can be included in the tape library 14 instead of the unloaded magnetic tape T.
As described above, according to the present embodiment, it is possible to shorten a time required for data migration.
In the above embodiment, a case where the priority P which is set for each storage pool SP is input by the user via the input device 24 has been described. On the other hand, the present disclosure is not limited thereto. For example, the information processing apparatus 12 may set the priority P to a higher degree as the number of the new-generation magnetic tapes T included in the storage pool SP increases. Further, for example, the information processing apparatus 12 may set the priority P to a higher degree as a total value of free capacities of the new-generation magnetic tapes T included in the storage pool SP is larger.
Further, in the above embodiment, the storage pool SP may include magnetic tapes Ts of three or more generations.
Further, in the embodiment, for example, as a hardware structure of a processing unit that executes various processing such as the reception unit 40 and the controller 42, the following various processors may be used. The various processors include, as described above, a CPU, which is a general-purpose processor that functions as various processing units by executing software (program), and a dedicated electric circuit, which is a processor having a circuit configuration specifically designed to execute a specific processing, such as a programmable logic device (PLD) or an application specific integrated circuit (ASIC) that is a processor of which the circuit configuration may be changed after manufacturing such as a field programmable gate array (FPGA).
One processing unit may be configured by one of these various processors, or may be configured by a combination of two or more processors of the same type or different types (for example, a combination of a plurality of FPGAs or a combination of a CPU and an FPGA). Further, the plurality of processing units may be configured by one processor.
As an example in which the plurality of processing units are configured by one processor, firstly, as represented by a computer such as a client and a server, a form in which one processor is configured by a combination of one or more CPUs and software and the processor functions as the plurality of processing units may be adopted. Secondly, as represented by a system on chip (SoC) or the like, a form in which a processor that realizes the function of the entire system including the plurality of processing units by one integrated circuit (IC) chip is used may be adopted. As described above, the various processing units are configured by using one or more various processors as a hardware structure.
Further, as the hardware structure of the various processors, more specifically, an electric circuit (circuitry) in which circuit elements such as semiconductor elements are combined may be used.
Further, in the embodiment, an example in which the information processing program 30 is stored (installed) in the storage unit 22 in advance has been described. On the other hand, the present disclosure is not limited thereto. The information processing program 30 may be provided by being recorded in a recording medium such as a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), or a Universal Serial Bus (USB) memory. Further, the information processing program 30 may be downloaded from an external device via a network.
Number | Date | Country | Kind |
---|---|---|---|
2021-138396 | Aug 2021 | JP | national |