US8180985B2 - Storage switch, storage system, and data copying method using bitmaps representing different sized regions - Google Patents
Storage switch, storage system, and data copying method using bitmaps representing different sized regions Download PDFInfo
- Publication number
- US8180985B2 US8180985B2 US12/637,409 US63740909A US8180985B2 US 8180985 B2 US8180985 B2 US 8180985B2 US 63740909 A US63740909 A US 63740909A US 8180985 B2 US8180985 B2 US 8180985B2
- Authority
- US
- United States
- Prior art keywords
- bitmap
- data
- partition size
- regions
- copying
- 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 - Fee Related, expires
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1466—Management of the backup or restore process to make the backup process non-disruptive
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/064—Management of blocks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0664—Virtualisation aspects at device level, e.g. emulation of a storage device or system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/70—Virtual switches
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
Definitions
- the embodiments discussed herein are related to a storage switch, a storage system, and a data copying method.
- a storage switch (hereinafter referred to as a virtual switch) supplies a server with a virtual volume by extracting and linking physical volumes of a storage connected to the switch via a storage area network (SAN).
- SAN storage area network
- FIG. 18 illustrates a structure of a virtual storage system including typical virtual switches 11 and 12 .
- the virtual switches 11 and 12 supply an operation server 14 with virtual volumes by extracting and linking physical volumes 19 of at least one storage 15 (magnetic disk device). Commands to extract the virtual volumes and to link the virtual volumes to the virtual switches 11 and 12 are issued by a management server 13 .
- the operation server 14 , the virtual switches 11 and 12 , and the storage 15 is interconnected via storage area networks (SANs) 16 and 17 .
- the management server 13 and the virtual switches 11 and 12 are connected via a local area network (LAN) 18 .
- LAN local area network
- the virtual switches 11 and 12 may have a copying function for copying a virtual volume in response to an instruction from the management server 13 or periodically.
- the virtual switches 11 and 12 partition a copy target area of the virtual volume into a plurality blocks by predetermined constant size, and perform a copying operation on a per block basis.
- the virtual switches 11 and 12 then generate bitmap information in which the blocks resulting from partitioning the copy target area of the virtual volume are respectively mapped to index bits, and manage the blocks in terms of being copied or uncopied depending on whether each index bit is on or off.
- all index bits of the bitmap information are set to be on and the index bit of a copied block is then set to off. When all index bits are set to off, the copying operation has been completed.
- the copying operation of the virtual volume is performed in a manner free from affecting the operation server 14 .
- the operation server 14 In the middle of the copying operation, the operation server 14 is permitted to perform an input/output (I/O) operation. If the operation server 14 has issued a read I/O instruction in the middle of the copying operation, data is read from a virtual volume of a copy source. If the operation server 14 has issued a write I/O instruction in the middle of the copying operation, data is written onto virtual volumes of a copy source and a copy destination.
- I/O input/output
- the size of the bitmap information is determined by the size of virtual volume and the size of partitioned blocks. For example, if a 2 TB virtual volume is partitioned into blocks, each block having a size of 32 MB, the size of the bitmap information becomes 8 KB. Given the same size of the virtual volume, the larger the block size, the smaller the bitmap information size, and the smaller the block size, the larger the bitmap information size.
- the operation server may now perform a write I/O to the copy source for a 1 MB portion of a predetermined block.
- the block containing data updated in response to the write I/O instruction is changed to an uncopied state. If the block size is 32 MB, a copying operation is performed with unupdated data of 31 MB needlessly copied. If updated data spreads two blocks, a copying operation is performed with unupdated data of 63 MB needlessly copied. If the block size is 1 MB, and the updated data falls within one block, a copying operation is performed in a manner free from needless copying of any data.
- bitmap information on the virtual switch An area available for system information such as the bitmap information on the virtual switch is typically not so large. For this reason, the size of the bitmap information is fixed, and the block size is determined by the size of the virtual volume. The larger the size of the virtual volume, the larger the block size is forced to be.
- the memory or the disk storing the system information such as the bitmap information becomes less costly each year. Room may be caused in a system information area by performing hot-swap or hot-add operation on system hardware, or by improving system firmware. However, if an area available for the system information is expanded by an addition of area, the bitmap information cannot be dynamically changed in the middle of the copying operation, and the size of the bitmap information cannot be changed.
- a storage switch for controlling reading and writing of data from and into a storage area
- the storage switch includes a first bitmap generator for generating a first bitmap including a plurality of index bits which render the storage area to be partitioned into a plurality of regions each having a predetermined partition size and being associated with each of the index bits of the first bitmap, a controller for controlling copying of data in a part of the regions to another part of the regions, a first modifier for modifying at least one of the index bits associated with at least one of the regions having undergone a copying, a second bitmap generator for generating a second bitmap including a plurality of index bits which render the storage area to be partitioned into a plurality of sub-regions each having a partition size smaller than the predetermined partition size and being associated with each of the index bits of the second bitmap, the controller controlling writing of data into at least one of the sub-regions addressed by a write request from the exterior, a second modifier for modifying at least one of the index
- FIG. 1 is a functional block diagram of a storage system.
- FIG. 2 illustrates a software structure of a virtual switch.
- FIGS. 3A and 3B illustrate a bitmap expanded by an integer multiple times.
- FIGS. 4A and 4B illustrate a bitmap expanded by a non-integer multiple times.
- FIGS. 5A-5D illustrate an example of virtual switch operation.
- FIG. 6 is a flowchart illustrating an example of process of the virtual switch.
- FIGS. 7A-7C illustrate an operation of the virtual switch with no write I/O bitmap prepared.
- FIG. 8 is a flowchart illustrating an operation of the virtual switch with no write I/O bitmap prepared.
- FIGS. 9A-9F illustrate a pre-conversion bitmap, a post-conversion bitmap, and a write I/O bitmap in comparison.
- FIG. 10 is a flowchart illustrating an example of copying operation of the virtual volume.
- FIG. 11 is a functional block diagram illustrating a virtual switch.
- FIGS. 12A and 12B illustrate a bitmap contracted by an integer fraction.
- FIGS. 13A and 13B illustrate a bitmap contracted by a non-integer fraction.
- FIG. 14 is a flowchart illustrating a process of the virtual switch.
- FIG. 15 is a functional block diagram of a virtual switch.
- FIG. 16 illustrates an example of statistic information stored in a partition size calculator.
- FIGS. 17A and 17B illustrate calculation equations used by the partition size calculator.
- FIG. 18 illustrates a structure of a storage system.
- FIG. 1 illustrates a structure of a storage system 600 of one embodiment.
- the storage system 600 includes a virtual switch (storage switch) 100 , and at least one magnetic disk device 400 (storage device).
- the storage system 600 is connected to an operation server 401 of an exterior system (host) and a management server 402 of an exterior system.
- the operation server 401 performs a data write operation and a data read operation on a virtual volume managed by the virtual switch 100 via a SAN.
- the management server 402 issues a process execution command to the virtual switch 100 via a LAN and acquires process results.
- the virtual switch 100 includes an expansion bitmap generator 1 for a first bitmap generator, an expansion bitmap modifier 2 for a first bitmap modifier, a write bitmap generator 3 for a second bitmap generator, a write bitmap modifier 4 for a second bitmap modifier, a bitmap merging unit 5 , and a bitmap switch 6 .
- bitmap is expanded (i.e., a partition size is reduced).
- the expansion bitmap generator 1 generates a bitmap (hereinafter referred to as a first bitmap) with a region of a partition size smaller than a current partition size (a predetermined partition size) being mapped to an index bit.
- the first bitmap includes a plurality of index bits which render the storage area to be partitioned into a plurality of regions each having the predetermined partition size and being associated with each of the index bits of the first bitmap.
- the expansion bitmap modifier 2 modifies an index bit corresponding to a copied region of the virtual volume on the first bitmap.
- the write bitmap generator 3 generates a bitmap having the same partition size as that of the first bitmap (hereinafter referred to as a second bitmap). It is sufficient if the second bitmap is generated in response to at least a write request from the operation server 401 .
- the write bitmap modifier 4 modifies on the second bitmap an index bit of a region of the virtual volume to which the write request has occurred.
- the bitmap merging unit 5 merges the first bitmap modified by the expansion bitmap modifier 2 and the second bitmap modified by the write bitmap modifier 4 .
- the bitmap switch 6 switches bitmaps from the bitmap having the current partition size to the bitmap merged by the bitmap merging unit 5 .
- FIG. 2 illustrates a hardware structure of the virtual switch 100 .
- the virtual switch 100 includes a central processing unit (CPU) 501 , a memory 502 , and a non-volatile storage device 503 such as a flash ROM.
- the CPU 501 controls copying of data in a part of the regions to another part of the regions and writing of data in a part of the regions.
- the virtual switch 100 connects the magnetic disk device 400 to the operation server 401 in a storage area network (SAN) connection.
- the virtual switch 100 includes a SAN interface 504 controlling inputting of data to and outputting data from the magnetic disk device 400 .
- the virtual switch 100 also includes a local area network (LAN) interface 505 to be connected to the management server 402 .
- LAN local area network
- bitmap generator bitmap modifier, merging controller, bitmap switching controller, and etc. are implemented by firmware pre-stored on the non-volatile storage device 503 when the firmware cooperates with hardware elements including the CPU 501 and the memory 502 .
- FIGS. 3A and 3B an expanded bitmap is described.
- a 64 MB virtual volume is converted from a 4-byte bitmap to an 8-byte bitmap.
- the expansion bitmap generator 1 generates the bitmap having a block size of 1 MB (see FIG. 3B ) from the bitmap having a block size of 2 MB (see FIG. 3A ). Since the overall amount of the virtual volume size is 64 MB, the bitmap size generated is thus expanded from 4 bytes to 8 bytes. Since the bitmap size is doubled, the number of blocks to be managed is also doubled.
- the block size is inversely proportional to 2, i.e., halved.
- the one index bit prior to the bitmap conversion is represented by two index bits in the post-conversion bitmap.
- the expansion bitmap modifier 2 sets to on all bits on the post-conversion bitmap corresponding to an on bit in the bitmap prior to the conversion.
- the bitmap size is an integer multiple of the pre-conversion bitmap in the above example.
- FIG. 4 illustrates a non-integer multiple conversion.
- a pre-conversion block and a post-conversion block are not in an integer multiple relationship but in a more complex relationship.
- one index bit of the post-conversion bitmap corresponds to a plurality of index bits of the pre-conversion bitmap (see FIG. 4A ). If a plurality of related pre-conversion bits is partially on, the expansion bitmap modifier 2 sets the post-conversion bitmap to on.
- the operation server 401 performs a write I/O operation and a copying operation, the state of the bitmap has changed.
- both the write I/O operation and the copying operation are preferably suspended on the volume.
- the bitmap switching takes longer time with the bitmap size increasing. In order to perform the bitmap switching with the storage system continuously operating, the bitmap switching needs to be performed without suspending the write I/O operation and the copying operation.
- FIGS. 5A-5D A method of performing the bitmap switching with the storage device continuously operating is described with reference to FIGS. 5A-5D .
- the pre-conversion bitmap (see FIG. 5A ) is converted to the post-conversion bitmap (see FIG. 5B ) with a smaller block size than that prior to the conversion.
- a write I/O bitmap (see FIG. 5C ) having the same size as that of the post-conversion is prepared the during the bitmap conversion. More specifically, the write bitmap generator 3 generates the write I/O bitmap having the same bitmap size and the same block size as the one produced by the expansion bitmap generator 1 .
- the write bitmap modifier 4 manages an updated area of the virtual volume by rewriting the index bit corresponding to the updated area from off to on a bit on the write I/O bitmap.
- the bitmap merging unit 5 merges the bitmap modified by the expansion bitmap modifier 2 (post-conversion bitmap) and the bitmap modified by the write bitmap modifier 4 (see FIG. 5D ).
- a bitmap expansion process may be performed in the middle of the copying operation of data in a virtual volume to another virtual volume.
- the expansion bitmap generator 1 generates an expansion bitmap having a size larger than the current bitmap size (hereinafter, the current bitmap is referred to as a pre-conversion bitmap and the expansion bitmap is referred to a post-conversion bitmap).
- the write bitmap generator 3 suspends the write I/O operation from the operation server 401 (S 1 ), and generates the write I/O bitmap (S 2 ). After generating the write I/O bitmap, the write bitmap generator 3 resumes the write I/O operation (S 3 ).
- the expansion bitmap modifier 2 sets to off a bit corresponding to an index bit at off on the pre-conversion bitmap (S 4 ). The expansion bitmap modifier 2 repeats step S 4 until all the bits have been bit converted.
- the write bitmap modifier 4 updates from off to on a bit on a write bitmap corresponding to a block updated at the generation of a write I/O operation.
- the bitmap merging unit 5 When the bit modification operation of the expansion bitmap modifier 2 to the post-conversion bitmap is completed, the bitmap merging unit 5 temporarily suspends the write I/O operation and the copying operation from the operation server 401 (S 5 ) so that the bitmap is not updated.
- the bitmap merging unit 5 merges the post-conversion bitmap and the write bitmap (S 6 ).
- the bitmap switch 6 then deletes the pre-conversion bitmap, and sets the merged bitmap as management information of the copy operation for the virtual volume, thereby switching from the pre-conversion bitmap to the merged bitmap (S 7 ).
- the bitmap switch 6 resumes the write I/O operation, which has been in a suspended state (S 8 ).
- the bitmap merged by the bitmap merging unit 5 serves as the management information for the copying operation so that the copying operation and the write I/O operation of the virtual volume are continuously performed.
- the size of the bitmap information can be changed with the I/O operation from the host and the copying operation kept operating.
- FIGS. 7A-7C illustrate the data updating responsive to a write I/O instruction.
- the data updating is managed in accordance with the pre-conversion bitmap rather than preparing the write I/O bitmap.
- FIG. 7A illustrates the state of the pre-conversion bitmap. If the data updating responsive to the write I/O instruction is managed in accordance with the pre-conversion bitmap of FIG. 7A , the pre-conversion bitmap takes the state illustrated in FIG. 7B . If such a bitmap is directly converted, the state illustrated in FIG. 7C results.
- the comparison of the process results using the write I/O bitmap (see FIG. 5D ) with the process results without using the write I/O bitmap (see FIG. 7C ) illustrates that three blocks are needlessly copied with respect to the virtual volume.
- the copying operation of the virtual volume and the write I/O operation from the operation server 401 are suspended (S 11 ), and the bitmap conversion operation is performed (S 12 ). After the bitmap conversion process, the copying operation of the virtual volume and the write I/O operation from the operation server 401 , once suspended, resume (S 13 ). Process steps in S 11 -S 13 are repeated until all the index bits are converted.
- the bitmap is switched (S 14 ).
- the copying operation of the virtual volume and the write I/O operation from the operation server 401 resume (S 15 ).
- the copying operation of the virtual volume and the write I/O operation from the operation server 401 are continuously performed with the pre-conversion bitmap serving as the management information of the copying operation of the virtual volume.
- the pre-conversion bitmap is updated in response to the write I/O instruction generated by the operation server 401
- the post-conversion bitmap is updated in response to the write I/O instruction generated by the operation server 401 .
- FIGS. 9A-9F illustrate the pre-conversion bitmap, the post-conversion bitmap, and the write I/O bitmap in comparison.
- FIGS. 9A-9F a process of setting to off a bit of a copied block is described.
- the copying operation in the middle of the bitmap conversion is performed on the pre-conversion bitmap on a per block basis. More specifically, the expansion bitmap modifier 2 sets to off a bit of a copied block on the pre-conversion bitmap (see FIGS. 9A and 9B ). The expansion bitmap modifier 2 then sets to off a bit on the pre-conversion bitmap related to all the index bits set to off on the pre-conversion bitmap (see FIGS. 9C and 9D ).
- the write bitmap generator 3 does not set to off a bit contained in the copied pre-conversion block on the write I/O bitmap (see FIGS. 9E and 9F ). This arrangement is intended to prevent the block from shifting to the copied state regardless of the necessity of copying if the write I/O operation is performed from the operation server 401 within a period from the copy completion to the setting of the bit to off.
- the expansion bitmap modifier 2 determines whether an on bit is present within the pre-conversion bitmap (S 21 ). If it is determined that no on bit is present (No in step S 21 ), the copying operation is terminated.
- step S 21 If it is determined that an on bit is present (Yes in step S 21 ), a block of the virtual volume corresponding to the on bit is copied (S 22 ).
- the expansion bitmap modifier 2 sets to off the corresponding bit on the pre-conversion bitmap (S 23 ), and sets to off the corresponding bit on the post-conversion bitmap.
- a method of expanding the bitmap size (contracting the partition size) has been discussed. An area is ensured by contracting the bitmap size (expanding the partition size) if control data area is insufficient in the virtual switch 100 .
- a second embodiment is related to a virtual switch 200 that contracts the bitmap. The second embodiment is described below.
- FIG. 11 is a functional block diagram of the virtual switch 200 of the second embodiment.
- the virtual switch 200 further includes a contraction bitmap generator 11 and a contraction bitmap modifier 12 in addition to the elements in the virtual switch 100 of the first embodiment.
- the contraction bitmap generator 11 generates a bitmap that maps each region having a partition size larger than the current partition size to an index bit (third bitmap).
- the contraction bitmap modifier 12 modifies on the third bitmap an index bit corresponding to a copied region within the virtual volume. If a write request from the operation server 401 has occurred to the virtual volume in the middle of the copying operation of the virtual volume, the contraction bitmap modifier 12 further modifies on the bitmap having the current partition size an index bit corresponding to a region within the virtual volume to which the write request has occurred.
- the hardware structure of the virtual volume 200 is also identical to the hardware structure of the virtual switch 100 of the first embodiment, and the discussion thereof is omitted here.
- bitmap size is described with reference to FIGS. 12A and 12B .
- a 4 MB bitmap managing a 64 MB volume is converted to a 2 MB bitmap managing the 64 MB volume.
- the contraction bitmap generator 11 generates a bitmap having a block size of 2 MB (see FIG. 12B ) from a current bitmap having a block size of 1 MB (see FIG. 12A ). Since the overall virtual volume size is 64 MB, the generated bitmap has a size of 2 bytes contracted from a size of 4 bytes. If the bitmap size is halved, the number of blocks manageable is also halved. The block size is inverse proportionally increased, namely, doubled.
- Two index bits on the pre-conversion bitmap correspond to one index bit on the post-conversion bitmap.
- the contraction bitmap modifier 12 sets, to on, all index bits related to an on bit on the pre-conversion bitmap.
- bitmap size prior to the conversion is an integer multiple of the bitmap subsequent to the conversion for simplicity of explanation.
- one index bit on the pre-conversion bitmap (see FIG. 13A ) is related to a plurality index bits on the post-conversion bitmap (see FIG. 13B ).
- the related bits on the post-conversion bitmap are set to be on.
- FIG. 14 is a flowchart illustrating a bitmap contraction operation that is performed in the middle of the copying operation of the virtual volume.
- the pre-conversion bitmap permits finer data management, and the write I/O bitmap is not generated in the bitmap contraction operation.
- the bitmap contraction operation is thus performed in the middle of the copying operation of the virtual volume.
- the contraction bitmap generator 11 generates a contraction bitmap having a size smaller than the current bitmap size (hereinafter, the current bitmap is referred to as a pre-conversion bitmap, and a contraction bitmap is referred to as a post-conversion bitmap).
- the contraction bitmap modifier 12 suspends a write I/O operation from the operation server 401 and a copying operation of the virtual volume (S 31 ).
- the contraction bitmap modifier 12 sets to on a bit on the post-conversion bitmap corresponding to an index bit on in the pre-conversion bitmap (S 32 ).
- the contraction bitmap modifier 12 resumes the write I/O operation from the operation server 401 and the copying operation of the virtual volume (S 33 ).
- the contraction bitmap modifier 12 then repeats S 31 -S 33 until all the index bits are converted.
- bitmap switch 6 performs bitmap switching (S 34 ).
- the bitmap switch 6 then temporarily suspends the write I/O operation and the copying operation to delete the pre-conversion bitmap.
- the write I/O operation from the operation server 401 and the copying operation of the virtual volume then resume (S 35 ).
- the write I/O operation and the copying operation are then performed after the bitmap switching.
- the contraction bitmap modifier 12 sets to on a bit of a block of a region of the pre-conversion bitmap having undergone writing.
- the coping operation in the middle of the bitmap switching is performed on a per block basis of the pre-conversion bitmap.
- the virtual volume of the second embodiment with at least one magnetic disk device connected thereto may be provided as a storage system.
- the finer the block size managed by bitmap the less likely a needless copying operation responsive to an on bit caused by the write I/O operation occurs.
- the finer the block size the larger the bitmap size.
- the block size is thus preferably determined taking into consideration the trend of I/O operations from the operation server.
- bitmap size conversion discussed with reference to the first and second embodiments is automatically performed by analyzing the I/O trend from the operation server.
- FIG. 15 is a functional block diagram of a virtual switch 300 of the third embodiment.
- the virtual switch 300 further includes a partition size calculator 21 in addition to the elements of the virtual volume 200 of the second embodiment.
- the partition size calculator 21 stores statistic information of the size of data written onto the virtual volume by the operation server 401 , and then calculates the partition size of the virtual volume based on the statistic information.
- One of the expansion bitmap generator 1 and the contraction bitmap generator 11 generates the bitmap in which the region having the calculated partition size is mapped to each bit. The bitmap switching is then performed as previously discussed with reference to the first and second embodiments.
- the functional elements designated with the same reference numeral in the third embodiment are identical to those in the first and second embodiments, and the discussion thereof is omitted here.
- the hardware structure of the virtual switch 300 is also identical to the hardware structure of the virtual switch 100 of the first embodiment, and the discussion thereof is also omitted here.
- the process of the partition size calculator 21 is described below.
- the statistic of the I/Os from the operation server 401 is managed on a per virtual volume basis.
- the partition size calculator 21 Upon receiving a write I/O instruction to the virtual volume, the partition size calculator 21 stores a size to be written onto that virtual volume as the statistic information.
- FIG. 16 illustrates the statistic information stored by the partition size calculator 21 .
- the partition size calculator 21 stores virtual volume numbers respectively identifying virtual volumes, sequential numbers (access sizes 1, . . . , N) assigned to accesses to the virtual volume of volume number, and data sizes of the data accessed (x 1 , x 2 , . . . , x n , in FIG. 16 ).
- the number assigned to the access size may also be used as the number of accesses to the virtual volume.
- the partition size calculator 21 analyzes the I/O trend in accordance with equations in FIGS. 17A and 17B .
- the partition size calculator 21 calculates the mean value ⁇ of access sizes (see FIG. 17A ), and the standard deviation ⁇ (see FIG. 17B ). The larger the standard deviation, the more the data is varied. If ⁇ is less than R % of ⁇ (R is a pre-defined value), the write I/O operation tends to be performed at a value close to a constant size ⁇ .
- the expansion bitmap generator 1 or the contraction bitmap generator 11 performs the bitmap expansion operation (see the first embodiment) or the bitmap contraction operation (see the second embodiment), respectively.
- the expansion bitmap generator 1 generates a bitmap of the partition size calculated by the partition size calculator 21 . If the partition size calculator 21 calculates a partition size larger than the current partition size, the contraction bitmap generator 11 generates a bitmap of the partition size calculated by the partition size calculator 21 .
- the partition size calculator 21 thus receives the setting of N and R from a management interface of the virtual switch so that N and R are modified to optimum values in view of operational status.
- the virtual switch 300 of the third embodiment with at least one magnetic disk device connected thereto may be provided as a storage system.
- bitmap size is dynamically modified in accordance with the first through third embodiments.
- the following advantages are thus provided with the server continuously operating.
- the block size is appropriately adjusted to meet operational status.
- the copying operation is efficiently performed.
- contention with the copying operation is reduced, leading to performance improvement of the write I/O.
- the expansion of the bitmap size allows an unused control data area within the virtual switch to be efficiently used.
- the contraction of the bitmap size assures an area for data when the control data area is insufficient in the virtual switch.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims (12)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008-325318 | 2008-12-22 | ||
JP2008325318A JP4615595B2 (en) | 2008-12-22 | 2008-12-22 | Storage switch, storage system, and data copy method |
Publications (2)
Publication Number | Publication Date |
---|---|
US20100161924A1 US20100161924A1 (en) | 2010-06-24 |
US8180985B2 true US8180985B2 (en) | 2012-05-15 |
Family
ID=42267789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/637,409 Expired - Fee Related US8180985B2 (en) | 2008-12-22 | 2009-12-14 | Storage switch, storage system, and data copying method using bitmaps representing different sized regions |
Country Status (2)
Country | Link |
---|---|
US (1) | US8180985B2 (en) |
JP (1) | JP4615595B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014005261A1 (en) * | 2012-07-02 | 2014-01-09 | 杭州华为数字技术有限公司 | Storage expansion device and server |
JP6260384B2 (en) * | 2014-03-19 | 2018-01-17 | 富士通株式会社 | Storage control device, control program, and control method |
US11036752B2 (en) * | 2015-07-06 | 2021-06-15 | Oracle International Corporation | Optimizing incremental loading of warehouse data |
CN110413200B (en) * | 2018-04-28 | 2023-06-09 | 伊姆西Ip控股有限责任公司 | Method, apparatus and computer program product for data synchronization |
JP7309580B2 (en) * | 2019-11-14 | 2023-07-18 | 株式会社東芝 | Communication device, communication method and program |
CN113127151B (en) * | 2021-03-25 | 2023-03-21 | 山东英信计算机技术有限公司 | Real-time copying method, system and medium for data in virtualization environment |
US11886411B2 (en) * | 2021-05-24 | 2024-01-30 | Molecula Corp. | Data storage using roaring binary-tree format |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001166974A (en) | 1999-09-30 | 2001-06-22 | Fujitsu Ltd | Copy processing method between data areas of storage device and storage system and storage medium |
JP2002297455A (en) | 2001-03-29 | 2002-10-11 | Fujitsu Ltd | Reproducing method among data fields of memory device and memory system |
US6732245B2 (en) | 1999-09-30 | 2004-05-04 | Fujitsu Limited | Copying method between logical disks, disk-storage system and its storage medium |
US20080229038A1 (en) * | 2007-03-16 | 2008-09-18 | Kimura Hidehiko | Copy system and copy method |
US7873782B2 (en) * | 2004-11-05 | 2011-01-18 | Data Robotics, Inc. | Filesystem-aware block storage system, apparatus, and method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6728898B2 (en) * | 2002-03-06 | 2004-04-27 | Marathon Technologies Corporation | Producing a mirrored copy using incremental-divergence |
JP4439960B2 (en) * | 2004-03-22 | 2010-03-24 | 株式会社日立製作所 | Storage device |
JP2005301590A (en) * | 2004-04-09 | 2005-10-27 | Hitachi Ltd | Storage system and data copying method |
JP2006331100A (en) * | 2005-05-26 | 2006-12-07 | Hitachi Ltd | Difference bitmap management method, storage device, and information processing system |
JP5041860B2 (en) * | 2007-04-20 | 2012-10-03 | 株式会社日立製作所 | Storage device and management unit setting method |
-
2008
- 2008-12-22 JP JP2008325318A patent/JP4615595B2/en not_active Expired - Fee Related
-
2009
- 2009-12-14 US US12/637,409 patent/US8180985B2/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001166974A (en) | 1999-09-30 | 2001-06-22 | Fujitsu Ltd | Copy processing method between data areas of storage device and storage system and storage medium |
US6732245B2 (en) | 1999-09-30 | 2004-05-04 | Fujitsu Limited | Copying method between logical disks, disk-storage system and its storage medium |
US6757797B1 (en) | 1999-09-30 | 2004-06-29 | Fujitsu Limited | Copying method between logical disks, disk-storage system and its storage medium |
JP2002297455A (en) | 2001-03-29 | 2002-10-11 | Fujitsu Ltd | Reproducing method among data fields of memory device and memory system |
US6785791B2 (en) | 2001-03-29 | 2004-08-31 | Fujitsu Limited | Method for accessing data being copied between data regions before the copying is completed |
US7873782B2 (en) * | 2004-11-05 | 2011-01-18 | Data Robotics, Inc. | Filesystem-aware block storage system, apparatus, and method |
US20080229038A1 (en) * | 2007-03-16 | 2008-09-18 | Kimura Hidehiko | Copy system and copy method |
Also Published As
Publication number | Publication date |
---|---|
JP2010146450A (en) | 2010-07-01 |
US20100161924A1 (en) | 2010-06-24 |
JP4615595B2 (en) | 2011-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8180985B2 (en) | Storage switch, storage system, and data copying method using bitmaps representing different sized regions | |
US9361034B2 (en) | Transferring storage resources between snapshot storage pools and volume storage pools in a distributed network | |
US20060047926A1 (en) | Managing multiple snapshot copies of data | |
CN103098043B (en) | On demand virtual machine image streaming method and system | |
JP5976608B2 (en) | Memory device | |
JP6600698B2 (en) | Computer system | |
JP4884041B2 (en) | Storage system for issuing optimum I / O command to automatically expandable volume and control method thereof | |
US20040103104A1 (en) | Snapshot creating method and apparatus | |
US9047016B2 (en) | Storage system for controlling assignment of storage area to virtual volume storing specific pattern data | |
JP2007226596A (en) | Storage controller, and data migration method using storage controller | |
JP2007133471A (en) | Storage device, and method for restoring snapshot | |
US10277678B2 (en) | Method and an apparatus, and related computer-program products, for managing access request to one or more file systems | |
CN107957852B (en) | Method for improving performance consistency of solid state disk | |
US10846234B2 (en) | Storage control system and storage control method | |
WO2024113717A1 (en) | Zns ssd-based file system control method, apparatus and device | |
US7549029B2 (en) | Methods for creating hierarchical copies | |
CN107832097B (en) | Data loading method and device | |
US11269735B2 (en) | Methods and systems for performing data backups | |
US11176089B2 (en) | Systems and methods for implementing dynamic file systems | |
US10509567B2 (en) | System and method for migrating storage while in use | |
US8909875B1 (en) | Methods and apparatus for storing a new version of an object on a content addressable storage system | |
KR20190069134A (en) | Apparatus and method for file sharing between applications | |
CN114237903A (en) | Memory allocation optimization method, memory allocation optimization device, electronic equipment, memory allocation optimization medium and program product | |
JP2008129967A (en) | Volume transition program and method | |
US20200050388A1 (en) | Information system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: FUJITSU LIMITED,JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SASAGE, KOUTAROU;REEL/FRAME:023877/0468 Effective date: 20091204 Owner name: FUJITSU LIMITED, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SASAGE, KOUTAROU;REEL/FRAME:023877/0468 Effective date: 20091204 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20200515 |