Cloning volume implementation method and device

The invention discloses a clone volume implementation method and device. The method comprises the following steps: creating clone based on a snapshot of a target block device volume to obtain a clone volume; establishing a mapping relationship between the target block device volume and the clone vol...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: DING LIN, KANG YUZHU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a clone volume implementation method and device. The method comprises the following steps: creating clone based on a snapshot of a target block device volume to obtain a clone volume; establishing a mapping relationship between the target block device volume and the clone volume, and storing the mapping relationship in the placement group; and traversing the placement group according to the mapping relation, and executing corresponding operation on the cloned volume according to the operation request. The technical problem of serious performance loss caused by multiple times of network transmission when the operation request is executed on the cloned volume in the prior art is solved. 本申请公开了一种克隆卷的实现方法及装置。其中,该方法包括:基于目标块设备卷的快照创建克隆,得到克隆卷;建立目标块设备卷和克隆卷的映射关系,其中,映射关系存储至置放群组内;依据映射关系遍历置放群组,按照操作请求对克隆卷执行相应操作。本申请解决了相关技术中对克隆卷执行操作请求时涉及多次网络传输,导致严重性能损耗的技术问题。