Project

General

Profile

Bug #13156

import/export do not support snapshots

Added by bo cai about 4 years ago. Updated about 4 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/18/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

(1)I create a rbd block named abc;
rbd create abc --size 10

(2)then I create a snapshoot of abc;
rbd snap create --image abc --snap s1
rbd snap create --image abc --snap s2

(3)then I export abc in a local file;
rbd export abc local_file

(4)import local_file as a new rbd block;
rbd import local_file new_rbd;

(5)but the snapshoots(s1, s2) are disappear!
rbd snap ls new_rbd

Is this a bug or someting else?

History

#1 Updated by bo cai about 4 years ago

My team ask me to add a feature about "export rbd block with snapshoot info", I want to know more about this.
any suggestions would be appreciated.

#2 Updated by Sage Weil about 4 years ago

  • Project changed from Ceph to rbd
  • Subject changed from why all snapshoots disappear after export and import to import/expot does
  • Status changed from New to Won't Fix

import/export do not preserve snapshots.

#3 Updated by bo cai about 4 years ago

Sage Weil wrote:

import/export do not preserve snapshots.

but could I add a feature about "--with-snap", so it can preserve snapshots?

#4 Updated by bo cai about 4 years ago

I try to add a feature about this:
http://tracker.ceph.com/issues/13186

#5 Updated by Jason Dillaman about 4 years ago

export-diff / import-diff do preserve snapshots -- I think this is the tool you want to use.

#6 Updated by Nathan Cutler about 4 years ago

  • Subject changed from import/expot does to import/export do not support snapshots

Also available in: Atom PDF