ceph rbd image에서 qcow2으로 변환하기
16:39 root@host:/root> rbd list openstack-data
volume-028b85e7-c200-4396-ab48-fa4dbd94bcd4
volume-0cf9c897-bcd6-43be-9cf5-8d3caa38c7fe
volume-5a0b8850-7b68-4fd2-8097-c5a41726511c
volume-60d7e068-a905-4fe7-b667-39344426cfa8
volume-7724c729-ce36-481f-adf2-e515c5b301fc
volume-900ff98c-2af3-459c-9c57-4dab6e3c6550
volume-a9d749b0-3949-4410-a64e-b02a80216dec
volume-e4629fe9-4c99-4709-964d-9a6045b541fa
volume-e6b8b617-278c-4929-bd0a-1e16028f1a26
volume-eccf0ca4-b19f-406d-b553-a6e0deeb835c
16:45 root@k3lab-101:/data/nfs/cinder> rbd info openstack-data/volume-5a0b8850-7b68-4fd2-8097-c5a41726511c
rbd image 'volume-5a0b8850-7b68-4fd2-8097-c5a41726511c':
size 80 GiB in 20480 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: 164fc28d4bd84
block_name_prefix: rbd_data.164fc28d4bd84
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Wed Apr 7 16:32:49 2021
access_timestamp: Mon Apr 26 16:15:38 2021
modify_timestamp: Mon Apr 26 16:44:41 2021
qemu-img convert -f raw rbd:openstack-data/volume-5a0b8850-7b68-4fd2-8097-c5a41726511c -O qcow2 volume-5a0b8850-7b68-4fd2-8097-c5a41726511c
qemu-img info volume-5a0b8850-7b68-4fd2-8097-c5a41726511c
댓글