[go: up one dir, main page]

CN100504799C - Method for disk snapshot by snapshot pointer - Google Patents

Method for disk snapshot by snapshot pointer Download PDF

Info

Publication number
CN100504799C
CN100504799C CNB2006101687257A CN200610168725A CN100504799C CN 100504799 C CN100504799 C CN 100504799C CN B2006101687257 A CNB2006101687257 A CN B2006101687257A CN 200610168725 A CN200610168725 A CN 200610168725A CN 100504799 C CN100504799 C CN 100504799C
Authority
CN
China
Prior art keywords
disk
data
capacity
volume
hard disk
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
Application number
CNB2006101687257A
Other languages
Chinese (zh)
Other versions
CN101206595A (en
Inventor
陈志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wang Juan
Original Assignee
Inventec Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CNB2006101687257A priority Critical patent/CN100504799C/en
Publication of CN101206595A publication Critical patent/CN101206595A/en
Application granted granted Critical
Publication of CN100504799C publication Critical patent/CN100504799C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供一种以快照指针进行磁盘快照的方法。该方法应用在服务器中,当服务器进行磁盘快照时,将硬盘所有磁盘区块规划为一磁盘卷册,另在硬盘中规划出第一部分及第二部分,且于存储器的内核空间中建立一快照指针,快照指针指向第一部分的起始位置,每当原始数据需要被修改时,先将其复制到第二部分的磁盘区块,并作为备份数据,再对原始数据进行修改,并作为修改数据,再于写入同步复制对照表写入对照信息,当服务器欲对磁盘卷册进行数据恢复时,自写入同步复制对照表读取对照信息,取得备份数据,及将备份数据覆盖到相应的磁盘区块,即可恢复磁盘卷册。通过本发明,可以解决内核空间耗尽所导致操作系统异常崩溃的问题。

Figure 200610168725

The present invention provides a method for taking a disk snapshot using a snapshot pointer. The method is applied in a server. When the server takes a disk snapshot, all disk blocks of the hard disk are planned as a disk volume, and a first part and a second part are planned in the hard disk. A snapshot pointer is established in the kernel space of the memory. The snapshot pointer points to the starting position of the first part. Whenever the original data needs to be modified, it is first copied to the disk block of the second part and used as backup data. The original data is then modified and used as modified data. Then, the comparison information is written into the write synchronous replication comparison table. When the server wants to restore data on the disk volume, the comparison information is read from the write synchronous replication comparison table, the backup data is obtained, and the backup data is overwritten to the corresponding disk block, so that the disk volume can be restored. The present invention can solve the problem of abnormal crash of the operating system caused by exhaustion of kernel space.

Figure 200610168725

Description

以快照指针进行磁盘快照的方法 How to take a disk snapshot with a snapshot pointer

技术领域 technical field

本发明关于服务器,特别关于一种以快照指针进行磁盘快照的方法。The invention relates to a server, in particular to a method for performing a disk snapshot with a snapshot pointer.

背景技术 Background technique

当前一般操作系统皆支持一种磁盘快照(Snapshot)技术,又可称作为磁盘区阴影复制服务(Volume Shadow Copy Services),所谓磁盘快照是属于一种档案系统(file system)的保留数据技术,不同于一般的数据备份技术需要复制的动作,磁盘快照是在任意时间点,将硬盘的磁盘卷册(磁盘卷册(Volume)是指硬盘目前有数据的磁盘区块(chunk))进行快速的档案系统备份,且当进行磁盘快照时,并不牵涉到任何档案复制动作。且将目前使用中的档案系统的数据结构中的整个目录结构保留下来。如此,以实时性地对硬盘建立不同时间点版本的磁盘卷册的磁盘快照,不仅可以弥补传统备份机制的不足,此外,即使硬盘发生损毁或中毒等意外,管理者可以选择发生损毁或中毒前的磁盘快照,取代原先的磁盘卷册(Volume)让损害降至最低。Currently, general operating systems support a disk snapshot (Snapshot) technology, which can also be called volume shadow copy services (Volume Shadow Copy Services). The so-called disk snapshot is a technology for retaining data in a file system. As the general data backup technology needs to copy the action, the disk snapshot is to quickly archive the disk volume of the hard disk (volume refers to the disk block (chunk) of the hard disk) at any point in time System backup, and when taking a disk snapshot, does not involve any file copying action. And the entire directory structure in the data structure of the file system currently in use is preserved. In this way, real-time creation of disk snapshots of disk volumes at different time points on the hard disk can not only make up for the shortcomings of the traditional backup mechanism, but also, even if the hard disk is damaged or poisoned, the administrator can choose to The disk snapshot replaces the original disk volume (Volume) to minimize the damage.

承上所述,当硬盘在进行磁盘快照时,并不会实际进行档案的复制动作,而是当磁盘卷册的磁盘区块有所变动时,先复制磁盘卷册的磁盘区块内的原始数据到硬盘中不属于磁盘卷册的其它可用的磁盘区块中,再修改磁盘卷册的磁盘区块内的原始数据成为修改数据,另在服务器的一存储器提供操作系统(如:Linux)内部核心(kernel)所使用的存储器空间(以下简称内核空间)中,建立一写入同步复制对照表(Copy-On-Write(简称:COW)Table),写入同步复制对照表记录每一个磁盘区块的原始数据被写入到硬盘中的那一个磁盘区块中的信息。而前述技术被称作为写入同步复制(Copy-On-Write,COW)技术。Based on the above, when the hard disk is taking a disk snapshot, it does not actually copy the file. Instead, when the disk block of the disk volume changes, the original file in the disk block of the disk volume is first copied. The data is sent to other available disk blocks in the hard disk that do not belong to the disk volume, and then the original data in the disk block of the disk volume is modified to become modified data, and a memory of the server is provided inside the operating system (such as: Linux) In the memory space used by the core (kernel) (hereinafter referred to as the kernel space), a copy-on-write table (Copy-On-Write (abbreviation: COW) Table) is established, and the copy-on-write table is written to record each disk area The information in which disk block in the hard disk the original data of the block is written to. The aforementioned technology is called Copy-On-Write (COW) technology.

然而,操作系统的核心的存储器空间有限,且不会因为系统存储器增加而变大,当磁盘卷册更动的磁盘区块越多时,写入同步复制对照表占用操作系统的核心的存储空间就越大。当磁盘卷册分别在不同的时间进行磁盘快照,或磁盘卷册的容量急速增加后,内核空间将会被大量的写入同步复制对照表所占用,使得内核空间被耗尽,进而导致操作系统异常崩溃。因此,如何设计出一种以快照指针进行磁盘快照的方法,以有效地解决上述的诸多问题,实乃目前刻不容缓而亟待解决的一重要课题。However, the core memory space of the operating system is limited and will not become larger due to the increase of the system memory. When more disk blocks are changed in the disk volume, the memory space occupied by the core of the operating system when writing the synchronous replication table bigger. When the disk volumes take disk snapshots at different times, or the capacity of the disk volume increases rapidly, the kernel space will be occupied by a large number of write synchronous replication comparison tables, which will exhaust the kernel space and cause the operating system to Exception crashes. Therefore, how to design a method for performing disk snapshots using snapshot pointers to effectively solve the above-mentioned problems is an important issue that needs to be solved urgently.

发明内容 Contents of the invention

有鉴于前述现有磁盘快照的诸多问题,发明人经过长久努力研究与实验,终于开发设计出本发明的一种以快照指针进行磁盘快照的方法,期通过本发明有效地解决内核空间耗尽所导致操作系统异常崩溃的问题。In view of the many problems of the aforementioned existing disk snapshots, the inventor has finally developed and designed a method for disk snapshots using snapshot pointers of the present invention after long-term hard research and experiments. A problem that causes the operating system to crash abnormally.

本发明的一目的,提供一种以快照指针进行磁盘快照的方法,该方法应用在一服务器中,服务器包含有一存储器及一硬盘,其中存储器至少规划出提供操作系统内部核心所使用的一内核空间,硬盘目前具有数据的所有磁盘区块(chunk)则规划为一磁盘卷册,当服务器对磁盘卷册进行磁盘快照时,于硬盘中规划出第一部分及第二部分,另于内核空间中建立一快照指针,快照指针指向第一部分的起始位置,此后,每当磁盘卷册的磁盘区块内的原始数据需要被修改时,先将原始数据复制到第二部分中作为备份数据,再将磁盘卷册的原始数据进行修改成修改数据,再于第一部分的写入同步复制对照表写入对照信息,而对照信息包含该备份数据地址及对应该备份数据的修改数据地址。An object of the present invention is to provide a method for performing disk snapshots with a snapshot pointer, the method is applied in a server, the server includes a memory and a hard disk, wherein the memory is at least planned to provide a kernel space used by the internal core of the operating system , all the disk blocks (chunks) that currently have data on the hard disk are planned as a disk volume. When the server takes a disk snapshot of the disk volume, the first part and the second part are planned in the hard disk, and they are created in the kernel space A snapshot pointer, the snapshot pointer points to the starting position of the first part, and thereafter, whenever the original data in the disk block of the disk volume needs to be modified, the original data is first copied to the second part as backup data, and then the The original data of the disk volume is modified into modified data, and then the comparison information is written in the first part of the write synchronous replication comparison table, and the comparison information includes the address of the backup data and the address of the modified data corresponding to the backup data.

其中,所述第一部分的容量,等于所述写入同步复制对照表的最大需求容量;所述写入同步复制对照表提供储存复数个对照信息;所述第二部分的容量大小,则等于磁盘卷册所有的磁盘区块的原始数据被复制到硬盘中作为备份数据所需的容量大小。Wherein, the capacity of the first part is equal to the maximum required capacity of the write synchronous replication comparison table; the write synchronous replication comparison table provides for storing a plurality of comparison information; the capacity of the second part is equal to the disk The original data of all the disk blocks of the volume is copied to the hard disk as the required capacity of the backup data.

对于所述的方法,其中,所述服务器在硬盘规划出第一部分及第二部分的步骤,包括:For the method, wherein, the step of planning the first part and the second part on the hard disk by the server includes:

根据所述磁盘卷册的容量大小,用以计算出所述写入同步复制对照表的最大需求容量大小;在所述硬盘中不属于所述磁盘卷册的剩余空间中规划出所述第一部分;及在所述硬盘中不属于所述磁盘卷册及所述第一部分的剩余空间中规划出所述第二部分。According to the capacity of the disk volume, it is used to calculate the maximum required capacity of the write synchronous replication comparison table; plan the first part in the remaining space of the hard disk that does not belong to the disk volume ; and planning the second part in the remaining space in the hard disk that does not belong to the disk volume and the first part.

其中,所述写入同步复制对照表的最大需求容量大小的计算方法包括:Wherein, the calculation method of the maximum required capacity written into the synchronous replication comparison table includes:

写入同步复制对照表的最大需求容量=磁盘卷册的磁盘区块数量×一个对照信息的容量大小;及磁盘区块数量=磁盘卷册的容量/磁盘区块容量。The maximum required capacity written in the synchronous replication lookup table=the number of disk blocks in the disk volume×the capacity of a comparison information; and the number of disk blocks=the capacity of the disk volume/the capacity of disk blocks.

另外,所述第一部分规划在所述硬盘中的位置在所述第二部分在所述硬盘中的位置之前;所述硬盘的所述第一部分最末端的部分,直接接续所述第二部分最前端的部分。In addition, the position of the first part planned in the hard disk is before the position of the second part in the hard disk; the last part of the first part of the hard disk is directly connected to the last part of the second part. the front part.

当所述服务器对所述磁盘卷册中已被写入所述修改数据的磁盘区块进行修改时,直接对所述修改数据的磁盘区块进行修改。When the server modifies the disk block in which the modified data has been written in the disk volume, it directly modifies the disk block of the modified data.

本发明的另一目的,当服务器对磁盘卷册进行数据恢复时,先自写入同步复制对照表读取对应该修改数据的对照信息,取得在第二部分的备份数据,及将备份数据覆盖到其原本储存的磁盘区块内,即可恢复磁盘卷册。Another object of the present invention is to read the comparison information corresponding to the modified data from the write synchronous replication comparison table first when the server restores the data on the disk volume, obtain the backup data in the second part, and overwrite the backup data You can restore the disk volume to the disk block where it was originally stored.

综上所述,由于地址指针仅占用内核空间极小部分的储存空间,而写入同步复制对照表被储存在储存容量远大于内核空间的硬盘中,使得内核空间不再被写入同步复制对照表所占用,即可达到节省内核空间的储存容量的目的,同时,服务器在进行磁盘快照时,不会导致服务器异常,用以达到稳定服务器的目的。To sum up, since the address pointer only occupies a very small part of the storage space of the kernel space, and the write synchronous replication comparison table is stored in a hard disk with a storage capacity much larger than the kernel space, the kernel space is no longer written into the synchronous replication comparison Table occupied, can achieve the purpose of saving the storage capacity of the kernel space, and at the same time, when the server takes a disk snapshot, it will not cause the server to be abnormal, so as to achieve the purpose of stabilizing the server.

附图说明 Description of drawings

图1是本发明的架构示意图;Fig. 1 is a schematic diagram of the architecture of the present invention;

图2是本发明进行磁盘快照的动作流程图;Fig. 2 is the action flowchart of the present invention carrying out disk snapshot;

图3是本发明在硬盘规划出第一部分及第二部分的动作流程图。FIG. 3 is a flow chart of the present invention for planning the first part and the second part on the hard disk.

主要元件符号说明:Description of main component symbols:

服务器.........5     存储器.........6Server.........5 Storage.............6

内核空间......60        硬盘.........7Kernel Space......60 Hard Disk......7

磁盘卷册......70        第一部分...72Disk Volume...70 Part One...72

第二部分......74Part II ...... 74

具体实施方式 Detailed ways

以下结合附图对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings.

本发明提供一种以快照指针进行磁盘快照的方法,请参阅图1、2所示,该方法应用在一服务器5中,该服务器5包含有至少一个存储器6及至少一个硬盘7,其中该存储器6规划出一内核空间60(Kernel Space),当服务器5对硬盘7进行磁盘快照时,依下列步骤进行处理:The present invention provides a method for performing disk snapshots with snapshot pointers. Please refer to FIGS. 6. Plan out a kernel space 60 (Kernel Space). When the server 5 performs a disk snapshot on the hard disk 7, it will be processed according to the following steps:

步骤1:硬盘7目前具有数据的所有磁盘区块(chunk)规划为一磁盘卷册70(Volume);Step 1: All the disk blocks (chunks) that the hard disk 7 currently has data are planned as a disk volume 70 (Volume);

步骤2:硬盘7中规划出第一部分72及第二部分74,其中第一部分72的容量,等于写入同步复制对照表(Copy-On-Write(简称:COW)Table)的最大需求容量,写入同步复制对照表包括复数个对照信息,每一个对照信息分别为包含备份数据地址及对应备份数据的修改数据地址,而第二部分74的容量大小,则等于磁盘卷册70所有的磁盘区块的原始数据被复制到硬盘7中作为备份数据所需的容量大小;在本发明的一实施例中,请参阅图3所示,服务器5在硬盘7规划出第一部分72及第二部分74的步骤,包括:Step 2: plan out the first part 72 and the second part 74 in the hard disk 7, wherein the capacity of the first part 72 is equal to the maximum required capacity of the Copy-On-Write (abbreviation: COW) Table written in synchronous replication, write The synchronous copy comparison table includes a plurality of comparison information, and each comparison information contains the backup data address and the modification data address of the corresponding backup data respectively, and the capacity of the second part 74 is equal to all the disk blocks of the disk volume 70 The original data is copied to the hard disk 7 as the required capacity of the backup data; in an embodiment of the present invention, please refer to shown in FIG. steps, including:

步骤20:先根据磁盘卷册70的容量大小,用以计算出磁盘卷册70所需的写入同步复制对照表的最大需求容量;而在本发明中,写入同步复制对照表的最大需求容量的计算方程式如下:Step 20: First, according to the capacity of the disk volume 70, it is used to calculate the maximum required capacity of the disk volume 70 for writing the synchronous replication comparison table; and in the present invention, the maximum demand for writing the synchronous replication comparison table The calculation formula of capacity is as follows:

写入同步复制对照表的最大需求容量=磁盘卷册70的磁盘区块数量×一个对照信息的容量大小...(公式1)The maximum required capacity written in the synchronous replication comparison table = the number of disk blocks in the disk volume 70 × the capacity of a comparison information... (Formula 1)

磁盘区块数量=磁盘卷册70的容量/磁盘区块容量...(公式2)The number of disk blocks=capacity of disk volume 70/capacity of disk blocks...(Formula 2)

其中,公式2中的“/”表示除号。Wherein, "/" in Formula 2 represents a division sign.

举例而言,假设磁盘卷册70的容量为100GB,磁盘卷册70的每一个磁盘区块的容量大小为64KB,写入同步复制对照表记录的每一个对照信息的容量大小为16byte,则写入同步复制对照表的最大需求容量即为(100GB/64KB)*16byte=25MB。For example, assuming that the capacity of the disk volume 70 is 100GB, the capacity of each disk block of the disk volume 70 is 64KB, and the capacity of each comparison information written in the synchronous replication comparison table is 16byte, then write The maximum required capacity for entering the synchronous replication comparison table is (100GB/64KB)*16byte=25MB.

步骤21:在硬盘7中不属于磁盘卷册70的剩余空间中规划出第一部分72;及Step 21: plan the first part 72 in the remaining space of the hard disk 7 that does not belong to the disk volume 70; and

步骤22:在硬盘7中不属于磁盘卷册70及第一部分72的剩余空间中规划出第二部分74,即结束。Step 22: Planning the second part 74 in the remaining space of the hard disk 7 that does not belong to the disk volume 70 and the first part 72, that is, the end.

另外,为了能提高在备份数据被读取的速度,在该实施例中,第一部分72规划在硬盘7的位置在第二部分74在硬盘7的位置之前,尤其是,在硬盘7的第一部分72最末端的部分,直接接续第二部分74最前端的部分,备份数据被读取的速度最快。In addition, in order to improve the speed at which the backup data is read, in this embodiment, the first part 72 is planned to be at the position of the hard disk 7 before the second part 74 is at the position of the hard disk 7, especially, at the first part of the hard disk 7 The endmost part of 72 is directly connected to the frontmost part of the second part 74, and the backup data can be read at the fastest speed.

步骤3:内核空间60中建立一快照指针,快照指针指向写入同步复制对照表在硬盘7中的起始地址,即第一部分72在硬盘7中的起始地址;及Step 3: set up a snapshot pointer in the kernel space 60, and the snapshot pointer points to the initial address of writing the synchronous replication comparison table in the hard disk 7, that is, the initial address of the first part 72 in the hard disk 7; and

步骤4:每当磁盘卷册70的任一个磁盘区块内的原始数据需要被修改时,先将原始数据复制到第二部分74中的其中一个磁盘区块中作为备份数据,再将磁盘卷册70的原始数据修改成为修改数据,并将包含备份数据地址及对应备份数据的修改数据地址的对照信息写入第一部分72的写入同步复制对照表中,即结束。Step 4: Whenever the original data in any disk block of the disk volume 70 needs to be modified, the original data is first copied to one of the disk blocks in the second part 74 as backup data, and then the disk volume The original data of booklet 70 is modified into modified data, and the comparison information including the backup data address and the modified data address corresponding to the backup data is written into the write synchronous replication comparison table of the first part 72, that is, the end.

由上述可知,硬盘7储存写入同步复制对照表,由于硬盘7的储存容量远大于内核空间60,因此,硬盘7将不会被写入同步复制对照表所占满,另一方面,内核空间60只储存地址指针,而地址指针通常只会占用到极小部分的储存空间,使得内核空间60不再被写入同步复制对照表所占用,即可达到节省内核空间60的储存容量的目的,同时,服务器5在进行磁盘快照时,写入同步复制对照表写在硬盘7中,使得服务器5不易发生异常,用以达到稳定服务器5的目的。As can be seen from the above, the hard disk 7 stores the write synchronous replication comparison table. Since the storage capacity of the hard disk 7 is much larger than the kernel space 60, the hard disk 7 will not be occupied by the write synchronous replication comparison table. On the other hand, the kernel space 60 only stores the address pointer, and the address pointer usually only occupies a very small part of the storage space, so that the kernel space 60 is no longer occupied by the write synchronous replication comparison table, and the purpose of saving the storage capacity of the kernel space 60 can be achieved. At the same time, when the server 5 performs a disk snapshot, the synchronous replication comparison table is written in the hard disk 7, so that the server 5 is not prone to abnormalities, and the purpose of stabilizing the server 5 is achieved.

在该实施例中,当服务器5欲对磁盘卷册70中已被写入修改数据的磁盘区块进行修改时,直接对已被写入修改数据的磁盘区块进行修改,并无需将修改数据储存到第二部分74中,藉以保留磁盘卷册70中已被写入修改数据的磁盘区块的备份数据,如此,当服务器5欲对磁盘卷册70进行数据恢复时,自写入同步复制对照表读取对应该修改数据的该对照信息,取得在第二部分74的备份数据,及将备份数据覆盖到该修改数据的磁盘区块,即可恢复磁盘卷册70。In this embodiment, when the server 5 intends to modify the disk blocks that have been written with modified data in the disk volume 70, it directly modifies the disk blocks that have been written with modified data without writing the modified data Stored in the second part 74, so as to keep the backup data of the disk blocks that have been written with modified data in the disk volume 70, so that when the server 5 intends to restore data to the disk volume 70, it will be copied synchronously from writing The comparison table reads the comparison information corresponding to the modified data, obtains the backup data in the second part 74, and overwrites the backup data to the disk block of the modified data, so that the disk volume 70 can be restored.

以上所述,仅为本发明的一具体实施例,然而本发明的特征并不局限于此,任何熟悉该项技艺者在本发明领域内,可轻易思及的变化或修饰,皆应涵盖在以下本发明的申请专利范围中。The above description is only a specific embodiment of the present invention, but the features of the present invention are not limited thereto, and any changes or modifications that can be easily conceived by those skilled in the art within the field of the present invention shall be included in the present invention. In the following patent scope of the present invention.

Claims (7)

1, a kind ofly carry out the method for disk snapshot with the snapshot pointer, be applied in the server, described server includes a storer and a hard disk, it is characterized in that, described storer is cooked up a kernel spacing, when server carries out disk snapshot to hard disk, handles according to the following step:
All disk block that described hard disk has data at present are planned to a disk volume;
Cook up a first and a second portion in the described hard disk, the capacity of described first, be equal to the write the greatest requirements capacity of the synchronization replication table of comparisons, the said write synchronization replication table of comparisons provides a plurality of contrast information that store, the amount of capacity of described second portion, the raw data that then equals all disk block of disk volume is copied in the hard disk as the required amount of capacity of Backup Data;
Set up a snapshot pointer in the described kernel spacing, the start address of the described first of described snapshot pointed in described hard disk; And
When the raw data in any disk block of described disk volume need be modified, earlier described raw data is copied in one of them disk block in the described second portion as a Backup Data, again described raw data is revised and become modification data, and, write writing in the synchronization replication table of comparisons of described first with a contrast information that comprises the modification data address of described Backup Data address and corresponding described Backup Data.
2, method according to claim 1 is characterized in that, described server is cooked up the step of first and second portion at hard disk, comprising:
According to the amount of capacity of described disk volume, in order to calculate the greatest requirements amount of capacity of the said write synchronization replication table of comparisons;
In described hard disk, do not belong in the remaining space of described disk volume and cook up described first; And
In described hard disk, do not belong in the remaining space of described disk volume and described first and cook up described second portion.
3, method according to claim 1 and 2 is characterized in that, the computing method of the greatest requirements amount of capacity of the said write synchronization replication table of comparisons comprise:
Write the amount of capacity of disk block quantity * contrast information of the greatest requirements capacity=disk volume of the synchronization replication table of comparisons; And
The capacity of disk block quantity=disk volume/disk block capacity.
4, method according to claim 2 is characterized in that, the described first position of planning in described hard disk is before the position of described second portion in described hard disk.
5, method according to claim 4 is characterized in that, the part of the described first least significant end of described hard disk, and described second portion part foremost directly continues.
6, method according to claim 1 is characterized in that, when the disk block that has been written into described modification data in to described disk volume when described server is made amendment, directly the disk block of described modification data is made amendment.
7, method according to claim 6, it is characterized in that, when described server desire is carried out the data recovery to described disk volume, read the contrast information of corresponding described modification data from the said write synchronization replication table of comparisons, obtain described Backup Data at described second portion, reach the disk block that described Backup Data is covered described modification data, can recover the disk volume.
CNB2006101687257A 2006-12-19 2006-12-19 Method for disk snapshot by snapshot pointer Expired - Fee Related CN100504799C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101687257A CN100504799C (en) 2006-12-19 2006-12-19 Method for disk snapshot by snapshot pointer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101687257A CN100504799C (en) 2006-12-19 2006-12-19 Method for disk snapshot by snapshot pointer

Publications (2)

Publication Number Publication Date
CN101206595A CN101206595A (en) 2008-06-25
CN100504799C true CN100504799C (en) 2009-06-24

Family

ID=39566826

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101687257A Expired - Fee Related CN100504799C (en) 2006-12-19 2006-12-19 Method for disk snapshot by snapshot pointer

Country Status (1)

Country Link
CN (1) CN100504799C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8416663B2 (en) * 2008-11-21 2013-04-09 International Business Machines Corporation Overwrite control for data in a tape recording apparatus
CN101814044B (en) * 2010-04-19 2013-03-20 中兴通讯股份有限公司 Method and device for processing metadata
CN102456354B (en) * 2010-10-22 2015-05-20 山东新北洋信息技术股份有限公司 Magnetic information recording method, device and magnetic ticket
CN103559103B (en) * 2013-11-06 2016-08-24 华为技术有限公司 Data copy method and device
CN103838647B (en) * 2014-02-17 2018-02-06 中国科学院计算技术研究所 A kind of method and system of the data mode conversion remapped based on snapshot
EP3198493A4 (en) * 2015-12-03 2017-08-09 Huawei Technologies Co., Ltd. A method a source storage device to send a source file and a clone file of the source file to a backup storage device, a source storage device and a backup storage device
CN107704332B (en) * 2017-09-28 2021-06-15 努比亚技术有限公司 Screen freezing solution method, mobile terminal and computer readable storage medium
CN110765036B (en) * 2018-07-27 2023-11-10 伊姆西Ip控股有限责任公司 Method and device for managing metadata at a control device
CN111324295B (en) * 2018-12-17 2023-09-19 中国移动通信集团四川有限公司 Data migration methods, devices, equipment and media
CN110008197B (en) * 2019-04-12 2020-07-07 苏州浪潮智能科技有限公司 Data processing method and system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040083345A1 (en) * 2002-10-24 2004-04-29 Kim Young Ho System and method of an efficient snapshot for shared large storage
EP1424632A2 (en) * 2002-11-27 2004-06-02 Hitachi, Ltd. Storage system snapshot creating method and apparatus
US20040133602A1 (en) * 2002-10-16 2004-07-08 Microsoft Corporation Optimizing defragmentation operations in a differential snapshotter
CN1682193A (en) * 2002-07-11 2005-10-12 维瑞泰斯操作公司 Storage services and systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1682193A (en) * 2002-07-11 2005-10-12 维瑞泰斯操作公司 Storage services and systems
US20040133602A1 (en) * 2002-10-16 2004-07-08 Microsoft Corporation Optimizing defragmentation operations in a differential snapshotter
US20040083345A1 (en) * 2002-10-24 2004-04-29 Kim Young Ho System and method of an efficient snapshot for shared large storage
EP1424632A2 (en) * 2002-11-27 2004-06-02 Hitachi, Ltd. Storage system snapshot creating method and apparatus

Also Published As

Publication number Publication date
CN101206595A (en) 2008-06-25

Similar Documents

Publication Publication Date Title
US10241873B2 (en) Headstart restore of first volume to a second volume
US8856469B2 (en) Apparatus and method for logging optimization using non-volatile memory
EP3519969B1 (en) Physical media aware spacially coupled journaling and replay
JP6026538B2 (en) Non-volatile media journaling of validated datasets
JP5047308B2 (en) Nonvolatile disk cache for data security
CN106354582B (en) A kind of continuous data protection method
US9239761B2 (en) Storage system format for transaction safe file system
US7970804B2 (en) Journaling FAT file system and accessing method thereof
CN100498796C (en) Logic log generation method, database backup/ restoration method and system
US20080177961A1 (en) Partial Backup and Restore with Backup Versioning
US9146928B1 (en) Techniques for storing metadata of a filesystem in persistent memory
CN107135662B (en) Differential data backup method, storage system and differential data backup device
CN102460401B (en) Change is utilized to follow the tracks of the technology of carrying out System recover
JP2007234026A (en) Data storage system including unique block pool manager and application in hierarchical storage device
US10852948B2 (en) System and method for data organization in shingled magnetic recording drive
US10521148B2 (en) Data storage device backup
US9886351B2 (en) Hybrid image backup of a source storage
US20080209132A1 (en) Disk snapshot acquisition method
CN103049539A (en) Method and device for storing file data in file system
CN100504799C (en) Method for disk snapshot by snapshot pointer
US10740189B2 (en) Distributed storage system
CN100504800C (en) Method for snapshot of magnetic disk
US7865472B1 (en) Methods and systems for restoring file systems
WO2013174166A1 (en) Method for high performance dump data set creation
CN102331953B (en) Disk partition fault repairing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Wang Juan

Inventor before: Chen Zhiwei

COR Change of bibliographic data
TR01 Transfer of patent right

Effective date of registration: 20170301

Address after: Tianjin City, Hongqiao, China Garden Water Garden 12-211-214

Patentee after: Wang Juan

Address before: Taipei City, Taiwan Chinese Shilin District Hougang Street No. 66

Patentee before: Inventec Corporation

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090624

Termination date: 20171219

CF01 Termination of patent right due to non-payment of annual fee