Bug #13156
closedimport/export do not support snapshots
0%
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?
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.
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.
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?
Updated by bo cai over 8 years ago
I try to add a feature about this:
http://tracker.ceph.com/issues/13186
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.
Updated by Nathan Cutler over 8 years ago
- Subject changed from import/expot does to import/export do not support snapshots