Hi,all:
1)I have cloned an image named "vm-win7" from snapshot named "template-win7_snapshot"
#rbd clone template-pool/template-win7@template-win7_snapshot template-pool/vm-win7
2) i want to copy the cloned rbd "vm-win7" to a new one
#rbd copy template-pool/vm-win7 template-pool/vm-win7_copy
3) I found vm-win7_copy doesn't include parent infomation while vm-win7 does!
#[root@host111 ~]# rbd info vm-win7_copy --pool template-pool
rbd image 'vm-win7_copy':
size 20480 MB in 5120 objects
order 22 (4096 kB objects)
block_name_prefix: rbd_data.858a6b8b4567
format: 2
features: layering
flags:
#[root@host111 ~]# rbd info vm-win7 --pool template-pool
rbd image 'vm-win7':
size 20480 MB in 5120 objects
order 22 (4096 kB objects)
block_name_prefix: rbd_data.85846b8b4567
format: 2
features: layering
flags:
parent: template-pool/template-win7@template-win7_snapshot
overlap: 20480 MB
so i want to know how to get a copy of a cloned rbd including its parent infomation?
maybe i should use another command except "rbd copy"?
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com