Project

General

Profile

Actions

Bug #13156

closed

import/export do not support snapshots

Added by bo cai over 8 years ago. Updated over 8 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

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

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?

Actions #1

Updated by bo cai over 8 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.

Actions #2

Updated by Sage Weil over 8 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.

Actions #3

Updated by bo cai over 8 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?

Actions #4

Updated by bo cai over 8 years ago

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

Actions #5

Updated by Jason Dillaman over 8 years ago

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

Actions #6

Updated by Nathan Cutler over 8 years ago

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

Also available in: Atom PDF