发明名称 METHODS FOR MIGRATING DATA IN A SERVER THAT REMAINS SUBSTANTIALLY AVAILABLE FOR USE DURING SUCH MIGRATION
摘要 Methods and software are provided for “hot migration” of data an original storage unit for a target system to destination storage unit. In one embodiment, a virtual storage device is provided, having a control block mapped to both the original storage unit, as well as to the destination storage unit. The target system is stopped, the virtual storage device is substituted for the original storage unit, and the target system is restarted. The virtual storage device directs requests to the destination storage unit, and fulfills read requests from whichever of the two storage units has a valid copy of data requested (depending, e.g., on whether the data is as yet unchanged, has been re-written, or has been copied, during the migration process). Unchanged data blocks are copies from the original storage unit to the destination storage unit. The target system is stopped, the virtual storage device is disconnected from the target system, and the destination storage unit is connected in its place. Software may also be provided to automate these processes.
申请公布号 US2014223046(A1) 申请公布日期 2014.08.07
申请号 US201414251738 申请日期 2014.04.14
申请人 Liu Peter Chi-Hsiung 发明人 Liu Peter Chi-Hsiung
分类号 G06F3/06 主分类号 G06F3/06
代理机构 代理人
主权项 1. A method comprising: selecting or configuring a destination storage unit to have a size at least as large as a size of an original storage unit and to have a block size equal to a block size of the original storage unit; providing a virtual storage device having a size at least as large as the size of the original storage unit, a block size equal to the block size of the original storage unit, and a control block mappable to two storage units; thereafter, substituting the virtual storage device for the original storage unit on a target system and mapping the control block of the virtual storage device to both the original and the destination storage units; maintaining at the virtual storage device a flag for each of a plurality of data blocks associated by the target system with the original storage unit; receiving I/O requests at the virtual storage device, the I/O requests comprising block write requests and block read requests; directing each block write request to the destination storage unit instead of the original storage unit and setting the flag for each block written; directing each block read request to the original storage unit if the flag for the requested block is not set, and otherwise to the destination storage unit; concurrently with receiving the I/O requests, copying only allocated data blocks whose flags are not set from the original storage unit to the destination storage unit and setting the flag for each block copied; and thereafter, substituting the destination storage unit for the virtual storage device on the target system by unmapping the control block of the virtual storage device from the destination storage unit and mapping the destination storage unit to the target system.
地址 Paramus NJ US